# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=696

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 697

---

## [Raspberry pi - USB HID node error](https://discourse.nodered.org/t/raspberry-pi-usb-hid-node-error/19410)

<div class="topic-metadata">

**Author:** [@sense](https://discourse.nodered.org/u/sense)\
**Replies:** 13\
**Last updated:** [19 August 2020 15:28 UTC](https://discourse.nodered.org/t/raspberry-pi-usb-hid-node-error/19410 "2020-08-19T15:28:21Z")

</div>

Hello, been trying to install node/node-red-contrib-usbhid by following all the steps with no success. Through the Palette-Management i get the errors below (truncated) /home/pi/.cache/node-gyp/12.14.0/include/node/v8…

---

## [TypeError: msg.payload.slice is not a function](https://discourse.nodered.org/t/typeerror-msg-payload-slice-is-not-a-function/31703)

<div class="topic-metadata">

**Author:** [@BruceEmsworth](https://discourse.nodered.org/u/BruceEmsworth)\
**Replies:** 20\
**Last updated:** [19 August 2020 15:12 UTC](https://discourse.nodered.org/t/typeerror-msg-payload-slice-is-not-a-function/31703 "2020-08-19T15:12:31Z")

</div>

I am trying to use the Twitter node for the first time. As an initial trial I am feeding the output from an 18B20 temperature sensor (using "rpi-ds18b20") node to the "Twitter out" node. All on a Raspberry Pi 3B+ runnin…

---

## [The workspace contains some nodes that are not properly configured:](https://discourse.nodered.org/t/the-workspace-contains-some-nodes-that-are-not-properly-configured/31701)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 3\
**Last updated:** [19 August 2020 13:22 UTC](https://discourse.nodered.org/t/the-workspace-contains-some-nodes-that-are-not-properly-configured/31701 "2020-08-19T13:22:44Z")

</div>

Why am I getting this message all time? Even if i will create a new and empty "Flaw" and press the button "Deploy". I will get again same message! Few times I did reboot the "Node-red", doesn't help!

---

## [Changing state of input\_number in Function Node - is it possible?](https://discourse.nodered.org/t/changing-state-of-input-number-in-function-node-is-it-possible/31724)

<div class="topic-metadata">

**Author:** [@Boja](https://discourse.nodered.org/u/Boja)\
**Replies:** 6\
**Last updated:** [19 August 2020 13:18 UTC](https://discourse.nodered.org/t/changing-state-of-input-number-in-function-node-is-it-possible/31724 "2020-08-19T13:18:13Z")

</div>

One can read states with global.get ('homeassistant').homeAssistant.states\['input\_number.xyz'\].state; but it doesn't seem to have any effect if I use global.set. Is it at all possible to change these values from a fun…

---

## [Problem with node-red-contrib-ui-led not showing in pallete](https://discourse.nodered.org/t/problem-with-node-red-contrib-ui-led-not-showing-in-pallete/31547)

<div class="topic-metadata">

**Author:** [@uNodem](https://discourse.nodered.org/u/uNodem)\
**Replies:** 28\
**Last updated:** [19 August 2020 12:33 UTC](https://discourse.nodered.org/t/problem-with-node-red-contrib-ui-led-not-showing-in-pallete/31547 "2020-08-19T12:33:30Z")

</div>

Hello together, I would like to export a project and import it on another PC. Unfortunately, a new version of libraries is installed on the second computer, which prevents import. Is it possible to install an older vers…

---

## [Writing to multiple OPC items (UDT's)](https://discourse.nodered.org/t/writing-to-multiple-opc-items-udts/31725)

<div class="topic-metadata">

**Author:** [@SKleppe85](https://discourse.nodered.org/u/SKleppe85)\
**Replies:** 0\
**Last updated:** [19 August 2020 12:20 UTC](https://discourse.nodered.org/t/writing-to-multiple-opc-items-udts/31725 "2020-08-19T12:20:35Z")

</div>

Hi, I'm currently working on an application where I need to be able to write a bunch of parameters for different UDT's from a mySQL database. I have figured out how to read the values from the database, so the next ste…

---

## [N-RED server (raspberry ZW) still off after reconnect to wifi](https://discourse.nodered.org/t/n-red-server-raspberry-zw-still-off-after-reconnect-to-wifi/31693)

<div class="topic-metadata">

**Author:** [@danielbgc](https://discourse.nodered.org/u/danielbgc)\
**Replies:** 13\
**Last updated:** [19 August 2020 08:02 UTC](https://discourse.nodered.org/t/n-red-server-raspberry-zw-still-off-after-reconnect-to-wifi/31693 "2020-08-19T08:02:54Z")

</div>

In summary, I run a node-red server on a raspberry pi (zero w in desktop OS), almost everything works perfectly. My only problem is the internet at my house, sometimes it goes down and reconnects. After that happens and…

---

## [What is the best function to use on a relay](https://discourse.nodered.org/t/what-is-the-best-function-to-use-on-a-relay/31711)

<div class="topic-metadata">

**Author:** [@Doberman19](https://discourse.nodered.org/u/Doberman19)\
**Replies:** 5\
**Last updated:** [19 August 2020 07:16 UTC](https://discourse.nodered.org/t/what-is-the-best-function-to-use-on-a-relay/31711 "2020-08-19T07:16:56Z")

</div>

Hello everyone, I am new to node red and have a simple question.This probably sounds like a broken record for most of y’all. I’m attempting to build an aeroponics veggie garden and need some of y’alls expert help. I’m u…

---

## [Node-Red pallete fails to load due to syntax error in vendor.js](https://discourse.nodered.org/t/node-red-pallete-fails-to-load-due-to-syntax-error-in-vendor-js/31691)

<div class="topic-metadata">

**Author:** [@syedlnt](https://discourse.nodered.org/u/syedlnt)\
**Replies:** 1\
**Last updated:** [18 August 2020 21:03 UTC](https://discourse.nodered.org/t/node-red-pallete-fails-to-load-due-to-syntax-error-in-vendor-js/31691 "2020-08-18T21:03:43Z")

</div>

we found error while opening Node-red on Browser, that Its Pallets fails to load the below error occurs in browser Console vendor.js:16 Uncaught SyntaxError: Unexpected token ')' red.min.js:16 Uncaught ReferenceErr…

---

## [Taking a picture and sending it via telegram](https://discourse.nodered.org/t/taking-a-picture-and-sending-it-via-telegram/27905)

<div class="topic-metadata">

**Author:** [@Chenko](https://discourse.nodered.org/u/Chenko)\
**Replies:** 30\
**Last updated:** [18 August 2020 15:32 UTC](https://discourse.nodered.org/t/taking-a-picture-and-sending-it-via-telegram/27905 "2020-08-18T15:32:56Z")

</div>

hello everyone, good evening i have integrated telegram with my node red, i am able to send messages and get responds from node red. but now i am looking forward to requesting for a picture from node red and the picture …

---

## [Websocket Out node shows connected even when endpoint is gone/disabled](https://discourse.nodered.org/t/websocket-out-node-shows-connected-even-when-endpoint-is-gone-disabled/31690)

<div class="topic-metadata">

**Author:** [@timdonovan](https://discourse.nodered.org/u/timdonovan)\
**Replies:** 0\
**Last updated:** [18 August 2020 12:44 UTC](https://discourse.nodered.org/t/websocket-out-node-shows-connected-even-when-endpoint-is-gone-disabled/31690 "2020-08-18T12:44:33Z")

</div>

Hi, I have two NR instance running in docker on port 9883 and port 9884. On the first one (9883) I add a Websocket out node, to connect to the other instance, as below: On the second (9884) I add a Websocket in node…

---

## [Dashboard: filemanager](https://discourse.nodered.org/t/dashboard-filemanager/31687)

<div class="topic-metadata">

**Author:** [@ArneR](https://discourse.nodered.org/u/ArneR)\
**Replies:** 1\
**Last updated:** [18 August 2020 12:47 UTC](https://discourse.nodered.org/t/dashboard-filemanager/31687 "2020-08-18T12:47:04Z")

</div>

Hey I am looking for a possibility to display files on the 'dashboard'. These are files that are written out in the 'static folder' of the NR server (Windows). Currently they are not there, but it is not a problem if th…

---

## [NodeRed is not installed](https://discourse.nodered.org/t/nodered-is-not-installed/31562)

<div class="topic-metadata">

**Author:** [@rahuldhakate](https://discourse.nodered.org/u/rahuldhakate)\
**Replies:** 13\
**Last updated:** [18 August 2020 10:00 UTC](https://discourse.nodered.org/t/nodered-is-not-installed/31562 "2020-08-18T10:00:25Z")

</div>

Hello all, hope you are doing well and staying safe. I am working on installation of NodeRed by using nodejs. I am successfully installed nodejs, But i am facing a problem during installation of NodeRed on Command Win…

---

## [Node-red bacnet - read property multiple](https://discourse.nodered.org/t/node-red-bacnet-read-property-multiple/31339)

<div class="topic-metadata">

**Author:** [@mellis](https://discourse.nodered.org/u/mellis)\
**Replies:** 1\
**Last updated:** [18 August 2020 08:41 UTC](https://discourse.nodered.org/t/node-red-bacnet-read-property-multiple/31339 "2020-08-18T08:41:00Z")

</div>

Would anyone care to share a BACnet read property multiple sequence with me? I can read a single BACnet object no problem, but I want to read the present value of BinaryValue 1 - 33 in a single payload. Or in another I w…

---

## [JSONata and arrays in root of msg](https://discourse.nodered.org/t/jsonata-and-arrays-in-root-of-msg/17937)

<div class="topic-metadata">

**Author:** [@bohtho](https://discourse.nodered.org/u/bohtho)\
**Replies:** 17\
**Last updated:** [18 August 2020 07:21 UTC](https://discourse.nodered.org/t/jsonata-and-arrays-in-root-of-msg/17937 "2020-08-18T07:21:19Z")

</div>

Can anyone help me with why this JSONata, $$\[$number($now('\[h#1\]'))\].Price/10, won't give me the electricity price when I have this array in the payload with prices per hour in a day. The test of it works but all I get i…

---

## [In a defined time 2 payloads to pass](https://discourse.nodered.org/t/in-a-defined-time-2-payloads-to-pass/31660)

<div class="topic-metadata">

**Author:** [@Zyan](https://discourse.nodered.org/u/Zyan)\
**Replies:** 2\
**Last updated:** [18 August 2020 05:37 UTC](https://discourse.nodered.org/t/in-a-defined-time-2-payloads-to-pass/31660 "2020-08-18T05:37:20Z")

</div>

Hi guys how could I make a node that only pass data when in 3 seconds 2 times something comes in. I have an remote and on that I have an main switch for the entire apartment. And with that node I wanne avoid to press …

---

## [Settings.js file is not loading while node-red start](https://discourse.nodered.org/t/settings-js-file-is-not-loading-while-node-red-start/31669)

<div class="topic-metadata">

**Author:** [@DevanandBaipotu](https://discourse.nodered.org/u/DevanandBaipotu)\
**Replies:** 1\
**Last updated:** [17 August 2020 19:33 UTC](https://discourse.nodered.org/t/settings-js-file-is-not-loading-while-node-red-start/31669 "2020-08-17T19:33:26Z")

</div>

Actually, I am trying to do custom authentication in node-red. In settings.js file I made change like " adminAuth: require("./user-authentication"), " and created user-authentication.js file created in node-red folder.…

---

## [Sending Commands over TCP with a node only for USB](https://discourse.nodered.org/t/sending-commands-over-tcp-with-a-node-only-for-usb/18160)

<div class="topic-metadata">

**Author:** [@Observatory\_Gromme](https://discourse.nodered.org/u/Observatory_Gromme)\
**Replies:** 47\
**Last updated:** [17 August 2020 17:35 UTC](https://discourse.nodered.org/t/sending-commands-over-tcp-with-a-node-only-for-usb/18160 "2020-08-17T17:35:49Z")

</div>

Dear, I use equipment from a company called: National Control Devices. They produces relais systems etc etc. Also they are experiencing with NodeRED and have developed a node for controlling one of their favorite relai…

---

## [\[newbie\] Using message properties as the source for openweathermap settings](https://discourse.nodered.org/t/newbie-using-message-properties-as-the-source-for-openweathermap-settings/31612)

<div class="topic-metadata">

**Author:** [@hugocoolens](https://discourse.nodered.org/u/hugocoolens)\
**Replies:** 10\
**Last updated:** [17 August 2020 15:03 UTC](https://discourse.nodered.org/t/newbie-using-message-properties-as-the-source-for-openweathermap-settings/31612 "2020-08-17T15:03:13Z")

</div>

I was wondering whether it is possible to use a msg.payload from a node-red flow as the input of a field in the settings of a node. As an example I added a screenshot of the settings of an openweathermap-node. You can s…

---

## [Strings in data.json](https://discourse.nodered.org/t/strings-in-data-json/31103)

<div class="topic-metadata">

**Author:** [@lalo](https://discourse.nodered.org/u/lalo)\
**Replies:** 15\
**Last updated:** [17 August 2020 14:23 UTC](https://discourse.nodered.org/t/strings-in-data-json/31103 "2020-08-17T14:23:47Z")

</div>

Hi, guys I was trying to import my data from a json file that I use to save some data, but when I try it appears like this ... I check on my Raspberry the data and it is like this... some help to eliminate the " " …

---

## [Generate multiple messages with unique \_msgid](https://discourse.nodered.org/t/generate-multiple-messages-with-unique-msgid/31652)

<div class="topic-metadata">

**Author:** [@hjalte33](https://discourse.nodered.org/u/hjalte33)\
**Replies:** 15\
**Last updated:** [17 August 2020 14:16 UTC](https://discourse.nodered.org/t/generate-multiple-messages-with-unique-msgid/31652 "2020-08-17T14:16:01Z")

</div>

How can I in a function send multiple messages each with a unique \_msgid. So far if i make a loop and use node.send(myMsg). then all the messages have the same message id. I need each message to have it's own unique id. …

---

## [\[newbie\] How to improve this flow?](https://discourse.nodered.org/t/newbie-how-to-improve-this-flow/31602)

<div class="topic-metadata">

**Author:** [@hugocoolens](https://discourse.nodered.org/u/hugocoolens)\
**Replies:** 4\
**Last updated:** [17 August 2020 14:07 UTC](https://discourse.nodered.org/t/newbie-how-to-improve-this-flow/31602 "2020-08-17T14:07:54Z")

</div>

Can anyone here tell me how the "on\_or\_off function-node" could be merged with the "ChangeLightState template-node", leaving the ChangeLightState-node in its current position. Here is my flow: \[{"id":"85f4e1c9.1710d8…

---

## [Custom nodes removed after update?](https://discourse.nodered.org/t/custom-nodes-removed-after-update/31663)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 4\
**Last updated:** [17 August 2020 14:00 UTC](https://discourse.nodered.org/t/custom-nodes-removed-after-update/31663 "2020-08-17T14:00:07Z")

</div>

Chaps I'm pretty sure the last time I updated Node Red, the custom nodes I had previously installed had disappeared and I had to manually install them again. I once again would like to update Node Red to the latest vers…

---

## [Dynamic modification of time interval (Batch node)](https://discourse.nodered.org/t/dynamic-modification-of-time-interval-batch-node/31644)

<div class="topic-metadata">

**Author:** [@skoumo01](https://discourse.nodered.org/u/skoumo01)\
**Replies:** 6\
**Last updated:** [17 August 2020 09:58 UTC](https://discourse.nodered.org/t/dynamic-modification-of-time-interval-batch-node/31644 "2020-08-17T09:58:09Z")

</div>

Hello, I would like to ask whether it is possible to set up a Batch node in a way that it uses an externally defined time interval for grouping the received messages; e.g. using the value of a variable that gets updated …

---

## [Sending json data to serial and display in msg payload](https://discourse.nodered.org/t/sending-json-data-to-serial-and-display-in-msg-payload/31632)

<div class="topic-metadata">

**Author:** [@Wannahusna](https://discourse.nodered.org/u/Wannahusna)\
**Replies:** 1\
**Last updated:** [17 August 2020 09:37 UTC](https://discourse.nodered.org/t/sending-json-data-to-serial-and-display-in-msg-payload/31632 "2020-08-17T09:37:18Z")

</div>

Hi, i plan to sending json data to serial and display to msg. payload but didnt work. and for continue i want sending json data to serial and read by hc12 but didnt work i applied to software serial for tracer where par…

---

## [Thoughts on this new node? node-red-contrib-components](https://discourse.nodered.org/t/thoughts-on-this-new-node-node-red-contrib-components/30279)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [17 August 2020 08:50 UTC](https://discourse.nodered.org/t/thoughts-on-this-new-node-node-red-contrib-components/30279 "2020-08-17T08:50:56Z")

</div>

Components. It would seem it is an alternative to the sub-flow. My take is that it is, but in a different flavour of how it is done. But: I have been wrong before. So I am politely asking here other people's though…

---

## [Extract value from payload array](https://discourse.nodered.org/t/extract-value-from-payload-array/31640)

<div class="topic-metadata">

**Author:** [@Kunstflieger](https://discourse.nodered.org/u/Kunstflieger)\
**Replies:** 3\
**Last updated:** [17 August 2020 07:47 UTC](https://discourse.nodered.org/t/extract-value-from-payload-array/31640 "2020-08-17T07:47:25Z")

</div>

HI, I try to extract the temperature for each channel from the following payload: {"system":{"time":"1597405052","unit":"C","rssi":-69,"online":2},"channel":\[{"number":1,"name":"Kanal 1","typ":0,"temp":999.00,"min":10.…

---

## [An error \[ 404 - Thing not found \] while add flows](https://discourse.nodered.org/t/an-error-404-thing-not-found-while-add-flows/31638)

<div class="topic-metadata">

**Author:** [@motebus](https://discourse.nodered.org/u/motebus)\
**Replies:** 0\
**Last updated:** [17 August 2020 06:06 UTC](https://discourse.nodered.org/t/an-error-404-thing-not-found-while-add-flows/31638 "2020-08-17T06:06:20Z")

</div>

I have problem when I upload a new flow.

---

## [How to know all the collections of a database in mongodb using contrib-mongodb](https://discourse.nodered.org/t/how-to-know-all-the-collections-of-a-database-in-mongodb-using-contrib-mongodb/31622)

<div class="topic-metadata">

**Author:** [@miobox](https://discourse.nodered.org/u/miobox)\
**Replies:** 1\
**Last updated:** [17 August 2020 04:50 UTC](https://discourse.nodered.org/t/how-to-know-all-the-collections-of-a-database-in-mongodb-using-contrib-mongodb/31622 "2020-08-17T04:50:38Z")

</div>

I am trying to query all the collections of a database in mongo to later search for data in each of the collections, someone knows how I can get all the collections using node-contrib-mongodb.

---

## [Tablet usability changes planned?](https://discourse.nodered.org/t/tablet-usability-changes-planned/31343)

<div class="topic-metadata">

**Author:** [@halr9000](https://discourse.nodered.org/u/halr9000)\
**Replies:** 3\
**Last updated:** [17 August 2020 02:04 UTC](https://discourse.nodered.org/t/tablet-usability-changes-planned/31343 "2020-08-17T02:04:12Z")

</div>

I use an Android phone and iPad extremely often for computing tasks, especially after work hours, Not that it needs to matter, but I have poor vision, and mobile devices are an assistive tech for me and many others, of c…

[Previous page](https://discourse.nodered.org/c/general/7.md?page=695)

[Next page](https://discourse.nodered.org/c/general/7.md?page=697)
