# Latest

**URL:** https://discourse.nodered.org/latest.md?page=505

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

**Page:** 506

---

## [Join outputs from two python scripts into one message](https://discourse.nodered.org/t/join-outputs-from-two-python-scripts-into-one-message/67042)

<div class="topic-metadata">

**Author:** [@ED209](https://discourse.nodered.org/u/ED209)\
**Replies:** 17\
**Last updated:** [3 September 2022 12:06 UTC](https://discourse.nodered.org/t/join-outputs-from-two-python-scripts-into-one-message/67042 "2022-09-03T12:06:30Z")

</div>

Hi, First time poster here so be gentle. I'm not a programmer and just dabbling in python and JS to try and learn a bit more. I have the Docker Pi Sensor Hub board for my Pi and the first script is the sensorhub.py scr…

---

## [Problem with multiple modbus clients](https://discourse.nodered.org/t/problem-with-multiple-modbus-clients/67278)

<div class="topic-metadata">

**Author:** [@Angin](https://discourse.nodered.org/u/Angin)\
**Replies:** 2\
**Last updated:** [3 September 2022 09:02 UTC](https://discourse.nodered.org/t/problem-with-multiple-modbus-clients/67278 "2022-09-03T09:02:05Z")

</div>

Hi all. I'm using node-red-contrib-modbus for the first time and I'm having a problem, I've spent the whole day looking for a solution but I haven't found the right answer yet. The problem is: If I have multiple modbus…

---

## [Bit Strip from Int](https://discourse.nodered.org/t/bit-strip-from-int/67221)

<div class="topic-metadata">

**Author:** [@HansZnarf](https://discourse.nodered.org/u/HansZnarf)\
**Replies:** 26\
**Last updated:** [3 September 2022 06:28 UTC](https://discourse.nodered.org/t/bit-strip-from-int/67221 "2022-09-03T06:28:56Z")

</div>

This should be a simple application but we are struggling. The least significant bit is to the right. Bit 1 = Input 1 Register read = 1 Bit 2 = Input 2 Register read = 2 Bit 3 = Input 3 Register read = 4 Bit 4 = Inp…

---

## [Bit handling in JavaScript](https://discourse.nodered.org/t/bit-handling-in-javascript/67271)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 0\
**Last updated:** [2 September 2022 21:37 UTC](https://discourse.nodered.org/t/bit-handling-in-javascript/67271 "2022-09-02T21:37:57Z")

</div>

Thank you @Colin, JavaScript is a very deep well. You learn something new every time. Not easy for C/C++ people. I'm going to switch from UINT32 datatype to Array of Boolean in my redPlc nodes.

---

## [How to convert 16 bits into a word / integer](https://discourse.nodered.org/t/how-to-convert-16-bits-into-a-word-integer/67263)

<div class="topic-metadata">

**Author:** [@HansZnarf](https://discourse.nodered.org/u/HansZnarf)\
**Replies:** 8\
**Last updated:** [2 September 2022 21:10 UTC](https://discourse.nodered.org/t/how-to-convert-16-bits-into-a-word-integer/67263 "2022-09-02T21:10:02Z")

</div>

Need the reverse of this so dashboard switches can effect a control device. Have looked - any ideas? Thanks - Hans

---

## [Asking for help with public MQTT brokers - which one?](https://discourse.nodered.org/t/asking-for-help-with-public-mqtt-brokers-which-one/66987)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 44\
**Last updated:** [2 September 2022 21:03 UTC](https://discourse.nodered.org/t/asking-for-help-with-public-mqtt-brokers-which-one/66987 "2022-09-02T21:03:53Z")

</div>

I am still a bit away from committing, but I may be in need of a public MQTT broker. Lowish traffic - once set up. But testing will be a bit laborious. I've seen hive and emqx. Just wanting to ask people's data on ho…

---

## [Bug? using \`change\` node (jsonata) to add non-existing flow/global variables generates no error](https://discourse.nodered.org/t/bug-using-change-node-jsonata-to-add-non-existing-flow-global-variables-generates-no-error/67148)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 12\
**Last updated:** [2 September 2022 17:53 UTC](https://discourse.nodered.org/t/bug-using-change-node-jsonata-to-add-non-existing-flow-global-variables-generates-no-error/67148 "2022-09-02T17:53:05Z")

</div>

NR v3.0.2 If you use use jsonata in a change node and try to add flow/global variables together and one of the flow/global variables does not exist, no error and no result is returned. Example flow: \[{"id":"1b34f2e…

---

## [Use Aqara hub E1 with node-RED](https://discourse.nodered.org/t/use-aqara-hub-e1-with-node-red/67250)

<div class="topic-metadata">

**Author:** [@Falfango](https://discourse.nodered.org/u/Falfango)\
**Replies:** 1\
**Last updated:** [2 September 2022 19:41 UTC](https://discourse.nodered.org/t/use-aqara-hub-e1-with-node-red/67250 "2022-09-02T19:41:30Z")

</div>

Has anyone experience with the zigbee Aqara hub E1 (https://www.aqara.com/us/product/hub-e1) to integrate it to node-red? I tried node-red-contrib-xiaomi-miio, but this crashes node-red 3.02.

---

## [Huemagic node install](https://discourse.nodered.org/t/huemagic-node-install/67267)

<div class="topic-metadata">

**Author:** [@wolfbastion](https://discourse.nodered.org/u/wolfbastion)\
**Replies:** 0\
**Last updated:** [2 September 2022 19:15 UTC](https://discourse.nodered.org/t/huemagic-node-install/67267 "2022-09-02T19:15:17Z")

</div>

Hello, i want to add button(hue) to my automations but couldnt find the propper node for it. i install Hue Magic and manage configure bridge but cant understand how to get items id to use as node

---

## [How to set an limit to the value entered in text input node](https://discourse.nodered.org/t/how-to-set-an-limit-to-the-value-entered-in-text-input-node/67050)

<div class="topic-metadata">

**Author:** [@Ganesh](https://discourse.nodered.org/u/Ganesh)\
**Replies:** 13\
**Last updated:** [2 September 2022 10:13 UTC](https://discourse.nodered.org/t/how-to-set-an-limit-to-the-value-entered-in-text-input-node/67050 "2022-09-02T10:13:37Z")

</div>

Hi I want to create an input box for my dashboard which has a limit of min = 0 and max = 100 value so only value within the limit can be entered I am using text input node but unable to set this min and max value Tha…

---

## [Help with routing messages based on unique identifiers](https://discourse.nodered.org/t/help-with-routing-messages-based-on-unique-identifiers/67257)

<div class="topic-metadata">

**Author:** [@Corey](https://discourse.nodered.org/u/Corey)\
**Replies:** 11\
**Last updated:** [2 September 2022 17:32 UTC](https://discourse.nodered.org/t/help-with-routing-messages-based-on-unique-identifiers/67257 "2022-09-02T17:32:49Z")

</div>

Hi all, Looking for some help in routing messages. I have a function node that is manipulating data pulled from an API every 60 seconds and doing some if/else statements to determine output and calculate when a relay sh…

---

## [I can't change theme of dasboard when put ui table](https://discourse.nodered.org/t/i-cant-change-theme-of-dasboard-when-put-ui-table/67254)

<div class="topic-metadata">

**Author:** [@joui](https://discourse.nodered.org/u/joui)\
**Replies:** 13\
**Last updated:** [2 September 2022 13:54 UTC](https://discourse.nodered.org/t/i-cant-change-theme-of-dasboard-when-put-ui-table/67254 "2022-09-02T13:54:57Z")

</div>

When i put the node ui-table, the color of the theme changes to default (white and blue) and eliminatess the tool thet i had in the dashboard and I only keep the UI-table. Thanks. Mi version of node-red is 3.0.2

---

## [Exec node isn't working correctly](https://discourse.nodered.org/t/exec-node-isnt-working-correctly/67256)

<div class="topic-metadata">

**Author:** [@JustinB](https://discourse.nodered.org/u/JustinB)\
**Replies:** 14\
**Last updated:** [2 September 2022 13:16 UTC](https://discourse.nodered.org/t/exec-node-isnt-working-correctly/67256 "2022-09-02T13:16:34Z")

</div>

Hello community, I wrote a script, which edits a file and copies it into another folder. If I execute it myself it works just fine and does its work but as long as Node-Red is executing it with the exec node, the files…

---

## [String to IEEE 754 Converter](https://discourse.nodered.org/t/string-to-ieee-754-converter/44124)

<div class="topic-metadata">

**Author:** [@rogier](https://discourse.nodered.org/u/rogier)\
**Replies:** 13\
**Last updated:** [2 September 2022 13:07 UTC](https://discourse.nodered.org/t/string-to-ieee-754-converter/44124 "2022-09-02T13:07:41Z")

</div>

For my Project to write with a dashdoard slider to my DDC controller i need to convert the Decimal value to a IEEE-754 Floating Point. On this site i found a correct working converter. IEEE-754 Floating Point Converter …

---

## [Node polling...is it wrong](https://discourse.nodered.org/t/node-polling-is-it-wrong/67245)

<div class="topic-metadata">

**Author:** [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Replies:** 3\
**Last updated:** [2 September 2022 12:46 UTC](https://discourse.nodered.org/t/node-polling-is-it-wrong/67245 "2022-09-02T12:46:07Z")

</div>

Is it deemed wrong to continually pole a node checking its state every second (does it use lots of bandwidth etc?). EG: I have a node waiting for a thermostate to turn off before it can turn on another device. If they ar…

---

## [How to store all contents of an Intel hex file it on sql server database?](https://discourse.nodered.org/t/how-to-store-all-contents-of-an-intel-hex-file-it-on-sql-server-database/67248)

<div class="topic-metadata">

**Author:** [@Nirajan](https://discourse.nodered.org/u/Nirajan)\
**Replies:** 5\
**Last updated:** [2 September 2022 12:06 UTC](https://discourse.nodered.org/t/how-to-store-all-contents-of-an-intel-hex-file-it-on-sql-server-database/67248 "2022-09-02T12:06:20Z")

</div>

Hi Everyone, I am reading an Intel hex file of size more than 60KB, using an 'file in' node, which gives output as 'a single Buffer object'. I have a table with a field of data type varbinary(max) in ms sql server. I …

---

## [Usage of buienradar rain prediction](https://discourse.nodered.org/t/usage-of-buienradar-rain-prediction/67218)

<div class="topic-metadata">

**Author:** [@Jos-77](https://discourse.nodered.org/u/Jos-77)\
**Replies:** 4\
**Last updated:** [2 September 2022 11:26 UTC](https://discourse.nodered.org/t/usage-of-buienradar-rain-prediction/67218 "2022-09-02T11:26:57Z")

</div>

I would like to use the Home Assistant Buienradar intergration to calculate the rainfall for 5 days. In HA there are rain 1d to rain 5d. if average is \<10 I want my irrigation to run on some days. And then I run into a…

---

## [Node Red Button in HA dashboard](https://discourse.nodered.org/t/node-red-button-in-ha-dashboard/67240)

<div class="topic-metadata">

**Author:** [@Abernus](https://discourse.nodered.org/u/Abernus)\
**Replies:** 1\
**Last updated:** [2 September 2022 09:13 UTC](https://discourse.nodered.org/t/node-red-button-in-ha-dashboard/67240 "2022-09-02T09:13:26Z")

</div>

Hi all, I have just started with Node-Red and I am on a big learning curve with it. I am just trying to create a simple flow that will turn selected lights off at a random time. However, I want a button or slider or som…

---

## [nodesDir crashes Node-RED 3.0?](https://discourse.nodered.org/t/nodesdir-crashes-node-red-3-0/67227)

<div class="topic-metadata">

**Author:** [@lhp](https://discourse.nodered.org/u/lhp)\
**Replies:** 7\
**Last updated:** [2 September 2022 08:46 UTC](https://discourse.nodered.org/t/nodesdir-crashes-node-red-3-0/67227 "2022-09-02T08:46:40Z")

</div>

Hello, I’m developing custom nodes in a directory specified with the nodesDir property in the settings.js file. This set-up used to work up to Node-RED 2.2.2. However, I’ve just upgraded to Node-RED 3.0.2 and now the se…

---

## [Wallbox-Energy-Chart](https://discourse.nodered.org/t/wallbox-energy-chart/67247)

<div class="topic-metadata">

**Author:** [@Pinky](https://discourse.nodered.org/u/Pinky)\
**Replies:** 2\
**Last updated:** [2 September 2022 08:44 UTC](https://discourse.nodered.org/t/wallbox-energy-chart/67247 "2022-09-02T08:44:00Z")

</div>

Hello everybody, I've got a question regarding storing Data in node-red. I have a Wallbox with an endpoint that delivers the amount of energy in kWh used. Every day this amount grows. I already thought about storing t…

---

## [Format data to INT\_16 for Modbus TCP](https://discourse.nodered.org/t/format-data-to-int-16-for-modbus-tcp/67238)

<div class="topic-metadata">

**Author:** [@telinal](https://discourse.nodered.org/u/telinal)\
**Replies:** 4\
**Last updated:** [2 September 2022 08:40 UTC](https://discourse.nodered.org/t/format-data-to-int-16-for-modbus-tcp/67238 "2022-09-02T08:40:55Z")

</div>

We are using the 1-wire node to read temperature from a 1-wire sensor. The node output msg.payload is as follows: {"payload":15.25,"topic":"","\_msgid":"dac51164c5a5ec03"} We need to write this temperature data (in this…

---

## [API - Json-variable - multiple request](https://discourse.nodered.org/t/api-json-variable-multiple-request/66895)

<div class="topic-metadata">

**Author:** [@Gus0711](https://discourse.nodered.org/u/Gus0711)\
**Replies:** 9\
**Last updated:** [2 September 2022 07:22 UTC](https://discourse.nodered.org/t/api-json-variable-multiple-request/66895 "2022-09-02T07:22:54Z")

</div>

Hello, I am using Node-red to perform API queries on modems. The steps are as follows: 1 – Request 1: Initialize the connection with the modem - \*\*\*It's OK! \*\*\* 2 – Request 2: Retrieve the token then send a second re…

---

## [Writing(Array Data) to OPC-UA server by using OPC-UA-IIOT node client](https://discourse.nodered.org/t/writing-array-data-to-opc-ua-server-by-using-opc-ua-iiot-node-client/67051)

<div class="topic-metadata">

**Author:** [@Ferdi84](https://discourse.nodered.org/u/Ferdi84)\
**Replies:** 3\
**Last updated:** [2 September 2022 06:39 UTC](https://discourse.nodered.org/t/writing-array-data-to-opc-ua-server-by-using-opc-ua-iiot-node-client/67051 "2022-09-02T06:39:07Z")

</div>

Array\_Write\_IIOT.json (3.2 KB) I am trying to write array of data through IIOT opc-UA client to OPC-UA PLC server. i could able to read/write single integer as well as reading of array of data too. but while writing ar…

---

## [Problem with global.get - it keeps returning a null value](https://discourse.nodered.org/t/problem-with-global-get-it-keeps-returning-a-null-value/67243)

<div class="topic-metadata">

**Author:** [@gadget](https://discourse.nodered.org/u/gadget)\
**Replies:** 1\
**Last updated:** [2 September 2022 05:44 UTC](https://discourse.nodered.org/t/problem-with-global-get-it-keeps-returning-a-null-value/67243 "2022-09-02T05:44:37Z")

</div>

I'm at a loss why this is happening. I have a current global context "totalvalue" per this: I'm accessing the context in a function node per the simple example flow shown below : However this returns a null value …

---

## [ESPresense Device Tracking](https://discourse.nodered.org/t/espresense-device-tracking/67222)

<div class="topic-metadata">

**Author:** [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Replies:** 5\
**Last updated:** [2 September 2022 05:15 UTC](https://discourse.nodered.org/t/espresense-device-tracking/67222 "2022-09-02T05:15:22Z")

</div>

Currently I am playing with ESPresense. At the moment i can see the information from the ESP32 in Nodered. Now i have to filter 2 different ID´s to read out the distance of the device. With this function it wont work: …

---

## [Separate a value from an object, capture information](https://discourse.nodered.org/t/separate-a-value-from-an-object-capture-information/67225)

<div class="topic-metadata">

**Author:** [@Alejoldu94](https://discourse.nodered.org/u/Alejoldu94)\
**Replies:** 4\
**Last updated:** [1 September 2022 23:00 UTC](https://discourse.nodered.org/t/separate-a-value-from-an-object-capture-information/67225 "2022-09-01T23:00:14Z")

</div>

I need to separate, or capture the value of the object, which I got from the database, I have no idea how to do it, any idea or programming code. i want to publish on a dashboard this value. in a gauge indicator

---

## [Condition if motion office was not active in last 5 minutes](https://discourse.nodered.org/t/condition-if-motion-office-was-not-active-in-last-5-minutes/67205)

<div class="topic-metadata">

**Author:** [@djseek](https://discourse.nodered.org/u/djseek)\
**Replies:** 9\
**Last updated:** [1 September 2022 21:10 UTC](https://discourse.nodered.org/t/condition-if-motion-office-was-not-active-in-last-5-minutes/67205 "2022-09-01T21:10:42Z")

</div>

Hello I'm having trouble having this is as a condition. Trigger says state is on or off. But you cannot do: was not on for X minutes What's the easiest way to do this ? Thanks so much

---

## [Cannot POST - Post raw data to a flow](https://discourse.nodered.org/t/cannot-post-post-raw-data-to-a-flow/66923)

<div class="topic-metadata">

**Author:** [@pacmanmt](https://discourse.nodered.org/u/pacmanmt)\
**Replies:** 1\
**Last updated:** [1 September 2022 19:05 UTC](https://discourse.nodered.org/t/cannot-post-post-raw-data-to-a-flow/66923 "2022-09-01T19:05:19Z")

</div>

Hi all, I am a newbie starting to work with Node-RED walking trough the many examples found here. I am using a Raspi 4B 8GB with SignalK vers. 1.44.0 and its Node-RED plugin ver. 2.1.6. Node version is 14.20.0. I have…

---

## [Opc-ua iiot vs contrib- opc ua node](https://discourse.nodered.org/t/opc-ua-iiot-vs-contrib-opc-ua-node/67188)

<div class="topic-metadata">

**Author:** [@BaconPancake](https://discourse.nodered.org/u/BaconPancake)\
**Replies:** 3\
**Last updated:** [1 September 2022 18:33 UTC](https://discourse.nodered.org/t/opc-ua-iiot-vs-contrib-opc-ua-node/67188 "2022-09-01T18:33:40Z")

</div>

Hello! the node red version i am using is 1.0.3 and unfortunately i am stuck with this (i cannot update it in any way). I got a project from a coworker using in which he was using node-red-contrib-opcua.Unfortunately t…

---

## [Dropdown list gets overwritten. Only one item in list](https://discourse.nodered.org/t/dropdown-list-gets-overwritten-only-one-item-in-list/67216)

<div class="topic-metadata">

**Author:** [@pat1](https://discourse.nodered.org/u/pat1)\
**Replies:** 3\
**Last updated:** [1 September 2022 14:10 UTC](https://discourse.nodered.org/t/dropdown-list-gets-overwritten-only-one-item-in-list/67216 "2022-09-01T14:10:32Z")

</div>

I'm trying to populate a dropdown with the options propery in the picture. A change-node gives me a few objects like the one above. The dropdown gets populated with the msg.options, but only last item is shown. So I …

[Previous page](https://discourse.nodered.org/latest.md?page=504)

[Next page](https://discourse.nodered.org/latest.md?page=506)
