# Latest

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

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

**Page:** 691

---

## [Modbus unsigned int 16](https://discourse.nodered.org/t/modbus-unsigned-int-16/53319)

<div class="topic-metadata">

**Author:** [@Migs74](https://discourse.nodered.org/u/Migs74)\
**Replies:** 10\
**Last updated:** [19 November 2021 10:41 UTC](https://discourse.nodered.org/t/modbus-unsigned-int-16/53319 "2021-11-19T10:41:01Z")

</div>

Hi Guys this is my first post, i have read all the post on modbus RTU and i have made a 95% there with the flows (8).json (398 Bytes) flow just by reading and testing The issue i have is the 16 bit true or false or 1 …

---

## [How to convert analog input value to int16 to forward with opc ua](https://discourse.nodered.org/t/how-to-convert-analog-input-value-to-int16-to-forward-with-opc-ua/53879)

<div class="topic-metadata">

**Author:** [@DerD74](https://discourse.nodered.org/u/DerD74)\
**Replies:** 2\
**Last updated:** [19 November 2021 09:55 UTC](https://discourse.nodered.org/t/how-to-convert-analog-input-value-to-int16-to-forward-with-opc-ua/53879 "2021-11-19T09:55:04Z")

</div>

Hi, I am trying to send Temperature Value from analog Input of Galileo Board with opcua to server. My Problem is that I get error if I connect function Block to opcua node. Could Anyone help ms to find my fault? \[ …

---

## [Avoid concatenation of arrays in Jsonata](https://discourse.nodered.org/t/avoid-concatenation-of-arrays-in-jsonata/53980)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [19 November 2021 09:36 UTC](https://discourse.nodered.org/t/avoid-concatenation-of-arrays-in-jsonata/53980 "2021-11-19T09:36:04Z")

</div>

Hi folks, I started using Jsonata today, but already struggling with arrays. This is my input: { "payload": \[ {"someArray": \[1,2,3\]}, {"someArray": \[4,5,6\]}, {"someArray": \[7,8,9\]} \] } When I …

---

## [How to optimize a circuit with motion sensor and light timer](https://discourse.nodered.org/t/how-to-optimize-a-circuit-with-motion-sensor-and-light-timer/53961)

<div class="topic-metadata">

**Author:** [@Cavekeeper](https://discourse.nodered.org/u/Cavekeeper)\
**Replies:** 1\
**Last updated:** [19 November 2021 08:45 UTC](https://discourse.nodered.org/t/how-to-optimize-a-circuit-with-motion-sensor-and-light-timer/53961 "2021-11-19T08:45:34Z")

</div>

I have a circuit to switch 3 light groups with a motion detector. Each lighting group has a timer to switch off again after a defined time. The special thing is, that the timer only switches off the lighting group, that …

---

## [High throughput examples (for arguing for the platform)](https://discourse.nodered.org/t/high-throughput-examples-for-arguing-for-the-platform/53651)

<div class="topic-metadata">

**Author:** [@werkstrom](https://discourse.nodered.org/u/werkstrom)\
**Replies:** 31\
**Last updated:** [19 November 2021 07:18 UTC](https://discourse.nodered.org/t/high-throughput-examples-for-arguing-for-the-platform/53651 "2021-11-19T07:18:34Z")

</div>

Hi, Does anyone have examples, use cases where NodeRED is handling alot of transactions/messages. I just need it for "ammunition" as conceptual proof the platform can handle a higher load. I fully understand there is a …

---

## [Monaco editor for muggles](https://discourse.nodered.org/t/monaco-editor-for-muggles/53947)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [19 November 2021 06:56 UTC](https://discourse.nodered.org/t/monaco-editor-for-muggles/53947 "2021-11-19T06:56:16Z")

</div>

Is there any advantage to us muggles using the Monaco editor or is it just for JS wizards?

---

## [\`msg.payload.split\` is not a function. Help](https://discourse.nodered.org/t/msg-payload-split-is-not-a-function-help/53974)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [19 November 2021 05:52 UTC](https://discourse.nodered.org/t/msg-payload-split-is-not-a-function-help/53974 "2021-11-19T05:52:33Z")

</div>

I am seeing this error: {"message":"TypeError: msg.payload.split is not a function","source":{"id":"3445206e.094b08","type":"function","name":"ADD values","count":1}} Ok.... Just before this node is a change node: \[{…

---

## [OSC Error: Can't infer OSC argument type](https://discourse.nodered.org/t/osc-error-cant-infer-osc-argument-type/53898)

<div class="topic-metadata">

**Author:** [@warddem](https://discourse.nodered.org/u/warddem)\
**Replies:** 9\
**Last updated:** [19 November 2021 05:45 UTC](https://discourse.nodered.org/t/osc-error-cant-infer-osc-argument-type/53898 "2021-11-19T05:45:10Z")

</div>

I'm trying to parse a JSON and send it via OSC but get the error below. Do I need to format my data in another way to send it via osc? Error: Can't infer OSC argument type for value: { "symbol": "POWRUSDT", "price":…

---

## [Expanding/Randomizing Output of Template Node](https://discourse.nodered.org/t/expanding-randomizing-output-of-template-node/53940)

<div class="topic-metadata">

**Author:** [@rlongfield](https://discourse.nodered.org/u/rlongfield)\
**Replies:** 2\
**Last updated:** [19 November 2021 03:59 UTC](https://discourse.nodered.org/t/expanding-randomizing-output-of-template-node/53940 "2021-11-19T03:59:53Z")

</div>

I don't know enough to know if this is possible and I'm not even sure how to even start looking into this, so I'm hoping someone can send me in the right direction. With some amazing help I've been able to create a few …

---

## [How to add topic in received payload array](https://discourse.nodered.org/t/how-to-add-topic-in-received-payload-array/53927)

<div class="topic-metadata">

**Author:** [@TROJAN053](https://discourse.nodered.org/u/TROJAN053)\
**Replies:** 18\
**Last updated:** [19 November 2021 02:47 UTC](https://discourse.nodered.org/t/how-to-add-topic-in-received-payload-array/53927 "2021-11-19T02:47:32Z")

</div>

Hello, I am receiving an array of 16, with values. I wanted to replace 0 ,1... with some topic name with values received and return in the same array format. How could I, please help.

---

## [Node-red Beginner](https://discourse.nodered.org/t/node-red-beginner/53970)

<div class="topic-metadata">

**Author:** [@ibramk23](https://discourse.nodered.org/u/ibramk23)\
**Replies:** 10\
**Last updated:** [19 November 2021 01:52 UTC](https://discourse.nodered.org/t/node-red-beginner/53970 "2021-11-19T01:52:04Z")

</div>

hello, i need to create an rgb color picker using node-red. I know some stuff with the software, however im having trouble for this assignment. Not sure where i would start with the RGB color picker using a string? star…

---

## [Ingesting and digesting API best practice](https://discourse.nodered.org/t/ingesting-and-digesting-api-best-practice/53966)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 3\
**Last updated:** [18 November 2021 21:35 UTC](https://discourse.nodered.org/t/ingesting-and-digesting-api-best-practice/53966 "2021-11-18T21:35:34Z")

</div>

It is looking like I will need to start working with a number of APIs. I have not worked with APIs with NR. I was just looking for some best practices. The API interfaces will have to do both reads and updates. Thanks

---

## [Editor Text Size](https://discourse.nodered.org/t/editor-text-size/53944)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 8\
**Last updated:** [18 November 2021 19:11 UTC](https://discourse.nodered.org/t/editor-text-size/53944 "2021-11-18T19:11:52Z")

</div>

I searched to see if this was addressed yet however I did not find any relative content (which kinda surprised me).. When I size my browser screen such that the tabs and flows (and most importantly, the Dashboard) are c…

---

## [Subscribe to topics like in iobroker VIS](https://discourse.nodered.org/t/subscribe-to-topics-like-in-iobroker-vis/53963)

<div class="topic-metadata">

**Author:** [@Schmtterfliege](https://discourse.nodered.org/u/Schmtterfliege)\
**Replies:** 0\
**Last updated:** [18 November 2021 19:06 UTC](https://discourse.nodered.org/t/subscribe-to-topics-like-in-iobroker-vis/53963 "2021-11-18T19:06:49Z")

</div>

Hi, I'm trying to convert everything I had (scripts and visualization) in IoBroker to Node-RED. But somehow I can't find a good way to "subscribe" to my datapoints. The iobroker-get node needs to be triggered "manuall…

---

## [Modbus tcp IP HOST from msg](https://discourse.nodered.org/t/modbus-tcp-ip-host-from-msg/53436)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 3\
**Last updated:** [18 November 2021 18:38 UTC](https://discourse.nodered.org/t/modbus-tcp-ip-host-from-msg/53436 "2021-11-18T18:38:32Z")

</div>

How to configure IP HOST from msg

---

## [Add an object in the toolbar of each nodered page](https://discourse.nodered.org/t/add-an-object-in-the-toolbar-of-each-nodered-page/53952)

<div class="topic-metadata">

**Author:** [@Giu-seppe](https://discourse.nodered.org/u/Giu-seppe)\
**Replies:** 0\
**Last updated:** [18 November 2021 16:49 UTC](https://discourse.nodered.org/t/add-an-object-in-the-toolbar-of-each-nodered-page/53952 "2021-11-18T16:49:14Z")

</div>

Hi all, I need to insert a dynamic component inside the node red top toolbar. I found this as an example done very well Node-red-dashboard dynamic element in toolbar. Unfortunately the automatic update only works on th…

---

## [Homey-Bridge or alternatives for a new (to be) build house](https://discourse.nodered.org/t/homey-bridge-or-alternatives-for-a-new-to-be-build-house/53869)

<div class="topic-metadata">

**Author:** [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Replies:** 3\
**Last updated:** [18 November 2021 16:43 UTC](https://discourse.nodered.org/t/homey-bridge-or-alternatives-for-a-new-to-be-build-house/53869 "2021-11-18T16:43:17Z")

</div>

Hello everyone, The decision is made to build our own house. That, for me, means we can make an awesome automated home. My idea is to use wireless switches (think hue switches or alike) Zigbee light bulbs, and a bunch …

---

## [Using a flow variable in the home assistant call service node](https://discourse.nodered.org/t/using-a-flow-variable-in-the-home-assistant-call-service-node/53948)

<div class="topic-metadata">

**Author:** [@Crabsticks](https://discourse.nodered.org/u/Crabsticks)\
**Replies:** 4\
**Last updated:** [18 November 2021 16:20 UTC](https://discourse.nodered.org/t/using-a-flow-variable-in-the-home-assistant-call-service-node/53948 "2021-11-18T16:20:39Z")

</div>

Hi, I need some help with the correct syntax to use. I am trying to set my thermostat to a value I have stored in a flow variable - the variable is called TargetHigh - I have tried using the following but get an error -…

---

## [Compare two numbers](https://discourse.nodered.org/t/compare-two-numbers/53935)

<div class="topic-metadata">

**Author:** [@Crabsticks](https://discourse.nodered.org/u/Crabsticks)\
**Replies:** 5\
**Last updated:** [18 November 2021 16:00 UTC](https://discourse.nodered.org/t/compare-two-numbers/53935 "2021-11-18T16:00:42Z")

</div>

Hello, A very basic noob question that I'm struggling to figure out. I have 2 payloads with numeric values and I need to compare them to find out which is larger at any given time. I think this is done with the functi…

---

## [How to Digital twin on my dashboard?](https://discourse.nodered.org/t/how-to-digital-twin-on-my-dashboard/53941)

<div class="topic-metadata">

**Author:** [@traderjoe](https://discourse.nodered.org/u/traderjoe)\
**Replies:** 1\
**Last updated:** [18 November 2021 15:26 UTC](https://discourse.nodered.org/t/how-to-digital-twin-on-my-dashboard/53941 "2021-11-18T15:26:25Z")

</div>

I'm reading in status of a device over modbus. That part works. So when I put my device into ready mode(not from the dash), my dash shows ready. But now I want to use the dash to put my device into ready mode. I unde…

---

## [Correct syntax for SQL select query in template node](https://discourse.nodered.org/t/correct-syntax-for-sql-select-query-in-template-node/53850)

<div class="topic-metadata">

**Author:** [@mortentj](https://discourse.nodered.org/u/mortentj)\
**Replies:** 5\
**Last updated:** [18 November 2021 15:14 UTC](https://discourse.nodered.org/t/correct-syntax-for-sql-select-query-in-template-node/53850 "2021-11-18T15:14:36Z")

</div>

Hi, I wan't to query my postgres database (just a simple select query), but I can't figure out the syntax in my template node. The debug windows shows: "Error: msg.payload must be an array of queries" Any idea how to w…

---

## [Throttle reset or alternative way of limiting to first message](https://discourse.nodered.org/t/throttle-reset-or-alternative-way-of-limiting-to-first-message/53559)

<div class="topic-metadata">

**Author:** [@unclebob](https://discourse.nodered.org/u/unclebob)\
**Replies:** 9\
**Last updated:** [18 November 2021 14:57 UTC](https://discourse.nodered.org/t/throttle-reset-or-alternative-way-of-limiting-to-first-message/53559 "2021-11-18T14:57:42Z")

</div>

Hi All, I am looking to setup a flow as follows. Every minute, get two values from a database, if value target is lower then last\_reading, then turn on the hot water, When it gets to a preset value (60 in my case) the…

---

## [Node-red is somehow mutating normal Object so I can't pass it into Firestore setDoc() function](https://discourse.nodered.org/t/node-red-is-somehow-mutating-normal-object-so-i-cant-pass-it-into-firestore-setdoc-function/53893)

<div class="topic-metadata">

**Author:** [@Sulomus](https://discourse.nodered.org/u/Sulomus)\
**Replies:** 10\
**Last updated:** [18 November 2021 14:27 UTC](https://discourse.nodered.org/t/node-red-is-somehow-mutating-normal-object-so-i-cant-pass-it-into-firestore-setdoc-function/53893 "2021-11-18T14:27:30Z")

</div>

I am using Firebase SDK's within Node-red (as specified in NPM docs they can be used for IoT devices with NODE.js). I can use all of the CRUD methods with Firebase RealtimeDatabase. With Firebase Firestore I can only u…

---

## [Auto-Name Debug Node with some serialization, with an option to override the name](https://discourse.nodered.org/t/auto-name-debug-node-with-some-serialization-with-an-option-to-override-the-name/53926)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 2\
**Last updated:** [18 November 2021 13:36 UTC](https://discourse.nodered.org/t/auto-name-debug-node-with-some-serialization-with-an-option-to-override-the-name/53926 "2021-11-18T13:36:17Z")

</div>

When a debug node is drawn to the editor panel, it should automatically give a unique name to the Debug node like Debug 1, Debug 2, Debug 3, etc. instead of msg.payload for every debug node. (Similar to excel creating di…

---

## [Html parse value](https://discourse.nodered.org/t/html-parse-value/53916)

<div class="topic-metadata">

**Author:** [@steinerma](https://discourse.nodered.org/u/steinerma)\
**Replies:** 6\
**Last updated:** [18 November 2021 12:53 UTC](https://discourse.nodered.org/t/html-parse-value/53916 "2021-11-18T12:53:49Z")

</div>

Hi, I would like to parse the value of the frequency (currently 50.011 Hz) from the website https://www.netzfrequenz.info/. Unfortunately I don't have a idea how to do that. I have set the following: Do you have a …

---

## [UI\_StateTrail Timeline inconsistency](https://discourse.nodered.org/t/ui-statetrail-timeline-inconsistency/53922)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 3\
**Last updated:** [18 November 2021 11:30 UTC](https://discourse.nodered.org/t/ui-statetrail-timeline-inconsistency/53922 "2021-11-18T11:30:14Z")

</div>

Hi, I have a number of state trails configured to track the status of machines, running or stopped based on inputs from the machine for every minute. if count is more than 1, then running and if not stopped. that is wor…

---

## [Inserting data in chart](https://discourse.nodered.org/t/inserting-data-in-chart/53930)

<div class="topic-metadata">

**Author:** [@Jesse052002](https://discourse.nodered.org/u/Jesse052002)\
**Replies:** 3\
**Last updated:** [18 November 2021 11:20 UTC](https://discourse.nodered.org/t/inserting-data-in-chart/53930 "2021-11-18T11:20:58Z")

</div>

Heyy, I got a question about my node red project. The project requires to pull data from a MYSQL database. Right know I can pull the data and show it in my debug and system console. (see the pics) But i cant show it i…

---

## [I can't format the a timestamp from my database](https://discourse.nodered.org/t/i-cant-format-the-a-timestamp-from-my-database/53925)

<div class="topic-metadata">

**Author:** [@evanic14](https://discourse.nodered.org/u/evanic14)\
**Replies:** 2\
**Last updated:** [18 November 2021 09:37 UTC](https://discourse.nodered.org/t/i-cant-format-the-a-timestamp-from-my-database/53925 "2021-11-18T09:37:01Z")

</div>

Hi, I want to get a timestamp from my database but it doesn't format it properly. this is the data i get from the database: This is how it is displayed in the dashboard: i want to see the date: DD-MM-YYYY and the …

---

## [Upgrading Node-Red (not forklifing)](https://discourse.nodered.org/t/upgrading-node-red-not-forklifing/53901)

<div class="topic-metadata">

**Author:** [@cabh](https://discourse.nodered.org/u/cabh)\
**Replies:** 5\
**Last updated:** [18 November 2021 09:24 UTC](https://discourse.nodered.org/t/upgrading-node-red-not-forklifing/53901 "2021-11-18T09:24:21Z")

</div>

I am attempting to upgrade. All of the upgrades are really reinstallations that wipe out prior configs and flows. I am attempting to upgrade Node-Red to the latest version from v1.2.9 running on Ubuntu. I am using vmware…

---

## [Dashboard Site settings Import/export](https://discourse.nodered.org/t/dashboard-site-settings-import-export/53808)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 2\
**Last updated:** [18 November 2021 07:45 UTC](https://discourse.nodered.org/t/dashboard-site-settings-import-export/53808 "2021-11-18T07:45:55Z")

</div>

Is it possible to export the node-red project along with dashboard site settings ? sorry I tried hard to find the topic if already exists but could not find. Seems very basic requirement feature must be there. i just don…

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

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