# Latest

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

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

**Page:** 771

---

## [Newbie: convert modbus float \[array\] register to float value](https://discourse.nodered.org/t/newbie-convert-modbus-float-array-register-to-float-value/20293)

<div class="topic-metadata">

**Author:** [@PPz](https://discourse.nodered.org/u/PPz)\
**Replies:** 24\
**Last updated:** [20 July 2021 06:09 UTC](https://discourse.nodered.org/t/newbie-convert-modbus-float-array-register-to-float-value/20293 "2021-07-20T06:09:10Z")

</div>

Hi, I have problems to convert float and 32b (signed/unsigned) registers to obtain a result able to be sent to MQTT broker. The modbus device is a semaphore/Servelec Tbox unit. I use node-red modbustcp Example: I have …

---

## [How to trigger this function via an internal node](https://discourse.nodered.org/t/how-to-trigger-this-function-via-an-internal-node/48610)

<div class="topic-metadata">

**Author:** [@lei1](https://discourse.nodered.org/u/lei1)\
**Replies:** 1\
**Last updated:** [20 July 2021 05:30 UTC](https://discourse.nodered.org/t/how-to-trigger-this-function-via-an-internal-node/48610 "2021-07-20T05:30:15Z")

</div>

In the top right corner

---

## [Multi-switch switching](https://discourse.nodered.org/t/multi-switch-switching/48579)

<div class="topic-metadata">

**Author:** [@Ahamster13](https://discourse.nodered.org/u/Ahamster13)\
**Replies:** 11\
**Last updated:** [20 July 2021 04:42 UTC](https://discourse.nodered.org/t/multi-switch-switching/48579 "2021-07-20T04:42:44Z")

</div>

Hey there. I’m almost setup with home assistant now. Have one automation which I cannot figure out. I have deta 2,3&4 gang switches using tuya local. I have two switches, one 3 gang hall and one 3 gang studio. With the …

---

## [RPI + Sensors for agricultural equipment](https://discourse.nodered.org/t/rpi-sensors-for-agricultural-equipment/48609)

<div class="topic-metadata">

**Author:** [@AusCoraJase](https://discourse.nodered.org/u/AusCoraJase)\
**Replies:** 3\
**Last updated:** [20 July 2021 03:37 UTC](https://discourse.nodered.org/t/rpi-sensors-for-agricultural-equipment/48609 "2021-07-20T03:37:44Z")

</div>

Hi, I have a small project and looking for some assistance/advice. I have a background in IT but am new to Node Red and this type of hardware. What I am attempting to do is create a monitor/control panel for a piece of …

---

## [Pv Overload with batterystorage ( if then else)](https://discourse.nodered.org/t/pv-overload-with-batterystorage-if-then-else/48572)

<div class="topic-metadata">

**Author:** [@Dosepower](https://discourse.nodered.org/u/Dosepower)\
**Replies:** 4\
**Last updated:** [19 July 2021 21:51 UTC](https://discourse.nodered.org/t/pv-overload-with-batterystorage-if-then-else/48572 "2021-07-19T21:51:23Z")

</div>

Hey im new to node red and have some questions about if then. i only coded some scripts in auto it v3. can maybe someone correct my function. if msg.carpluged = 1 & msg.socvartabattery \> 75% & msg.PVoverload = 1 then i…

---

## [How to convert a snmp-returned mac address?](https://discourse.nodered.org/t/how-to-convert-a-snmp-returned-mac-address/48196)

<div class="topic-metadata">

**Author:** [@zubenubi](https://discourse.nodered.org/u/zubenubi)\
**Replies:** 12\
**Last updated:** [19 July 2021 22:10 UTC](https://discourse.nodered.org/t/how-to-convert-a-snmp-returned-mac-address/48196 "2021-07-19T22:10:34Z")

</div>

Hi, I am using an snmp node to query a network device. One node returns a value that shows in a debug node as 'OctetString'. Is there a node object I can use to convert this to an ascii string? Thanks

---

## [Running parallel nodes with asynchronous code](https://discourse.nodered.org/t/running-parallel-nodes-with-asynchronous-code/48588)

<div class="topic-metadata">

**Author:** [@louislefevre](https://discourse.nodered.org/u/louislefevre)\
**Replies:** 5\
**Last updated:** [19 July 2021 21:31 UTC](https://discourse.nodered.org/t/running-parallel-nodes-with-asynchronous-code/48588 "2021-07-19T21:31:12Z")

</div>

I'm trying to run asynchronous code within nodes that run in parallel, where the following is an example of a flow which does this. The important parts are the Async 1 and Async 2 nodes. These Async nodes are of the …

---

## [Help creating re-usable subflows (or nodes ?)](https://discourse.nodered.org/t/help-creating-re-usable-subflows-or-nodes/48605)

<div class="topic-metadata">

**Author:** [@RaptorUK](https://discourse.nodered.org/u/RaptorUK)\
**Replies:** 4\
**Last updated:** [19 July 2021 21:11 UTC](https://discourse.nodered.org/t/help-creating-re-usable-subflows-or-nodes/48605 "2021-07-19T21:11:12Z")

</div>

Hi folks, I'm looking for a little advice, I'm trying to make some re-usable code for a project I'm working on, it's a RS485 comms library which is used to talk to a bespoke bit of hardware The comms takes the form of …

---

## [Preventing phone rotate for Dashboard](https://discourse.nodered.org/t/preventing-phone-rotate-for-dashboard/48596)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 6\
**Last updated:** [19 July 2021 21:03 UTC](https://discourse.nodered.org/t/preventing-phone-rotate-for-dashboard/48596 "2021-07-19T21:03:55Z")

</div>

Generally my pretty standard Android 10 Poco X3 mobile needs auto-rotate on - for late night Youtube viewing, but I NEVER want anything but portrait view for Dashboard - any idea how to make this fixed for Dashboard alon…

---

## [Saving variables from a JSON object](https://discourse.nodered.org/t/saving-variables-from-a-json-object/48600)

<div class="topic-metadata">

**Author:** [@mafify](https://discourse.nodered.org/u/mafify)\
**Replies:** 12\
**Last updated:** [19 July 2021 20:11 UTC](https://discourse.nodered.org/t/saving-variables-from-a-json-object/48600 "2021-07-19T20:11:35Z")

</div>

Hello, I am working on finding a way to do something in an easy way and also run in less amount of time. I have a function that return a msg.payload in JSON format. It sends totally different messages but they are uniq…

---

## [Weather icons - please help why some aren't loaded](https://discourse.nodered.org/t/weather-icons-please-help-why-some-arent-loaded/48562)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 61\
**Last updated:** [19 July 2021 18:25 UTC](https://discourse.nodered.org/t/weather-icons-please-help-why-some-arent-loaded/48562 "2021-07-19T18:25:07Z")

</div>

I have probably asked before and it was never resolved. I am working on my weather code and the unusual condition of SNOW happened. I hadn't put it in as it is that infrequent. So it happened and so I put in the code. …

---

## [Dynamic smtp server configuration to send mails](https://discourse.nodered.org/t/dynamic-smtp-server-configuration-to-send-mails/48597)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 1\
**Last updated:** [19 July 2021 16:11 UTC](https://discourse.nodered.org/t/dynamic-smtp-server-configuration-to-send-mails/48597 "2021-07-19T16:11:03Z")

</div>

I want to dynamically provide the SMTP-Server information on a send-mail-node server, port, user-id, password, ssl and tls ... the whole package I read a few threads stating there is no direct way but since those are …

---

## [Send data to node red via gsm module and arduino](https://discourse.nodered.org/t/send-data-to-node-red-via-gsm-module-and-arduino/48535)

<div class="topic-metadata">

**Author:** [@abdosml](https://discourse.nodered.org/u/abdosml)\
**Replies:** 5\
**Last updated:** [19 July 2021 15:48 UTC](https://discourse.nodered.org/t/send-data-to-node-red-via-gsm-module-and-arduino/48535 "2021-07-19T15:48:05Z")

</div>

hello Community, I am a beginner in the field of iot I need to carry out a project which requires an external expansion so I need to initiate a gprs connection to send the information taken by the sensors connected with …

---

## [Disable access to ENV vars](https://discourse.nodered.org/t/disable-access-to-env-vars/48589)

<div class="topic-metadata">

**Author:** [@Bulduper](https://discourse.nodered.org/u/Bulduper)\
**Replies:** 9\
**Last updated:** [19 July 2021 14:22 UTC](https://discourse.nodered.org/t/disable-access-to-env-vars/48589 "2021-07-19T14:22:34Z")

</div>

Hi, I need to disable the access to env variables from my flows/nodes. For instance I want the env.get('PASSWORD') to be inaccesible from the function core node. I work on Linux Ubuntu and I cannot find the directory/f…

---

## [Using node.js module in node-red](https://discourse.nodered.org/t/using-node-js-module-in-node-red/48582)

<div class="topic-metadata">

**Author:** [@pmknowles](https://discourse.nodered.org/u/pmknowles)\
**Replies:** 6\
**Last updated:** [19 July 2021 14:15 UTC](https://discourse.nodered.org/t/using-node-js-module-in-node-red/48582 "2021-07-19T14:15:12Z")

</div>

I have a node.js module which I can read a smartcard UID - I'm running on Windows so none of the NFC/PCSC modules seem to work. I have seen that I can add the module in settings.js to refer to it in node-red but I'm not …

---

## [How to copy a group on a dashboard](https://discourse.nodered.org/t/how-to-copy-a-group-on-a-dashboard/48574)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [19 July 2021 11:57 UTC](https://discourse.nodered.org/t/how-to-copy-a-group-on-a-dashboard/48574 "2021-07-19T11:57:53Z")

</div>

Say I have a group with many things in it that works. I want to duplicate it. Given some things change. Can I select that group and copy it?

---

## [Error: Cannot find module 'mqtt'](https://discourse.nodered.org/t/error-cannot-find-module-mqtt/48581)

<div class="topic-metadata">

**Author:** [@Xecu114](https://discourse.nodered.org/u/Xecu114)\
**Replies:** 3\
**Last updated:** [19 July 2021 11:44 UTC](https://discourse.nodered.org/t/error-cannot-find-module-mqtt/48581 "2021-07-19T11:44:01Z")

</div>

Hello, i try to create a custom node and use the mqtt js library (is also used by the mqtt nodes from node-red). The big problem is: "Cannot find module 'mqtt'" I tried following things: npm install mqtt --save npm…

---

## [Convert 2 bytes in a buffer to integer](https://discourse.nodered.org/t/convert-2-bytes-in-a-buffer-to-integer/48354)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 4\
**Last updated:** [16 July 2021 08:34 UTC](https://discourse.nodered.org/t/convert-2-bytes-in-a-buffer-to-integer/48354 "2021-07-16T08:34:37Z")

</div>

Please inquire about converting numbers. Here is the buffered value. \[1,3,10,1,4\] \> msg.payload Create a new buffer and truncate the item located at \[3\],\[4\] var pay1= Buffer.alloc(2); pay1\[0\]=msg.payload\[3\].slice(0,…

---

## [How to fix this language TCP](https://discourse.nodered.org/t/how-to-fix-this-language-tcp/48565)

<div class="topic-metadata">

**Author:** [@ohmsouak](https://discourse.nodered.org/u/ohmsouak)\
**Replies:** 8\
**Last updated:** [19 July 2021 09:03 UTC](https://discourse.nodered.org/t/how-to-fix-this-language-tcp/48565 "2021-07-19T09:03:57Z")

</div>

i want to sent data from sensor but data received it doesn't know what language. have idea for me thank you.

---

## [Geting eTtable data without clicking or editing](https://discourse.nodered.org/t/geting-ettable-data-without-clicking-or-editing/48568)

<div class="topic-metadata">

**Author:** [@Tadahiro](https://discourse.nodered.org/u/Tadahiro)\
**Replies:** 2\
**Last updated:** [19 July 2021 08:25 UTC](https://discourse.nodered.org/t/geting-ettable-data-without-clicking-or-editing/48568 "2021-07-19T08:25:21Z")

</div>

Dear everyone, Does anyone know how to force the values of eTable (node-red-contrib-ui-etable) data to be forwarded to a next connected node after eTable? Because I would like to acquire eTable data without clicking or…

---

## [Trigger node expected behavior](https://discourse.nodered.org/t/trigger-node-expected-behavior/48563)

<div class="topic-metadata">

**Author:** [@andrei-tatar](https://discourse.nodered.org/u/andrei-tatar)\
**Replies:** 6\
**Last updated:** [19 July 2021 07:28 UTC](https://discourse.nodered.org/t/trigger-node-expected-behavior/48563 "2021-07-19T07:28:09Z")

</div>

Hey, I'm having a problem with the trigger node and I'm not quite sure if it's the way it's meant to work or a bug. The functionality I'm trying to achieve is: forward all messages if no message has arrived for 5 min…

---

## [Deep learning result in json format](https://discourse.nodered.org/t/deep-learning-result-in-json-format/48560)

<div class="topic-metadata">

**Author:** [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Replies:** 5\
**Last updated:** [19 July 2021 07:04 UTC](https://discourse.nodered.org/t/deep-learning-result-in-json-format/48560 "2021-07-19T07:04:03Z")

</div>

\[{"id":"22700825.3f9d38","type":"tab","label":"Flow 5","disabled":false,"info":""},{"id":"98922031.33529","type":"cocossd","z":"22700825.3f9d38","name":"","x":390,"y":200,"wires":\[\["f13b7b29.1af548","54a7b73a.b97128"\]\]},…

---

## [Is there a way to click a button in relation to a specific page?](https://discourse.nodered.org/t/is-there-a-way-to-click-a-button-in-relation-to-a-specific-page/48483)

<div class="topic-metadata">

**Author:** [@Athurian](https://discourse.nodered.org/u/Athurian)\
**Replies:** 24\
**Last updated:** [19 July 2021 07:03 UTC](https://discourse.nodered.org/t/is-there-a-way-to-click-a-button-in-relation-to-a-specific-page/48483 "2021-07-19T07:03:29Z")

</div>

Is there any way to click a button for a specific page? for example I wish there was a way to automatically click the red box in the picture by a message received. Any examples or simple way?

---

## [Error: listen EADDRNOTAVAIL: address not available](https://discourse.nodered.org/t/error-listen-eaddrnotavail-address-not-available/48566)

<div class="topic-metadata">

**Author:** [@PNWw](https://discourse.nodered.org/u/PNWw)\
**Replies:** 8\
**Last updated:** [19 July 2021 06:59 UTC](https://discourse.nodered.org/t/error-listen-eaddrnotavail-address-not-available/48566 "2021-07-19T06:59:26Z")

</div>

Hi, How do I fix it. I'm very new to Node red and now I can't open to node red.

---

## [Sankey chart in node-red](https://discourse.nodered.org/t/sankey-chart-in-node-red/48385)

<div class="topic-metadata">

**Author:** [@muhammad\_mikail\_j](https://discourse.nodered.org/u/muhammad_mikail_j)\
**Replies:** 3\
**Last updated:** [19 July 2021 02:48 UTC](https://discourse.nodered.org/t/sankey-chart-in-node-red/48385 "2021-07-19T02:48:03Z")

</div>

Dear All, Hope you are doing well :slight\_smile: Anybody have reference for creating Sankey chart in node-red ? or maybe there are some tutorial for different type of chart visualization in node-red. Thank you

---

## [Creating the node that can load my model.json](https://discourse.nodered.org/t/creating-the-node-that-can-load-my-model-json/48541)

<div class="topic-metadata">

**Author:** [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Replies:** 2\
**Last updated:** [19 July 2021 00:12 UTC](https://discourse.nodered.org/t/creating-the-node-that-can-load-my-model-json/48541 "2021-07-19T00:12:59Z")

</div>

Hi Does anyone of you know how to load my own deep learning model in json format in node red?

---

## [How to auto detect payload using UI template](https://discourse.nodered.org/t/how-to-auto-detect-payload-using-ui-template/47980)

<div class="topic-metadata">

**Author:** [@Hichem](https://discourse.nodered.org/u/Hichem)\
**Replies:** 13\
**Last updated:** [18 July 2021 23:48 UTC](https://discourse.nodered.org/t/how-to-auto-detect-payload-using-ui-template/47980 "2021-07-18T23:48:45Z")

</div>

Hello, I'm using node-red UI template, I have created a web page in wish I send a msg.payload and a msg.topic that should be displayed on my web page. the probleme is when I click a button to send a new payload, the w…

---

## [HTTP request and curl - basic question](https://discourse.nodered.org/t/http-request-and-curl-basic-question/48557)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 1\
**Last updated:** [18 July 2021 22:38 UTC](https://discourse.nodered.org/t/http-request-and-curl-basic-question/48557 "2021-07-18T22:38:29Z")

</div>

What am I doing wrong? Here's my HTTP In node: If I enter this into command line: curl.exe http://10.1.1.37:1880/red/UPS?message=hellothere It works nicely. But if I enter this: curl.exe -d "message=hello there"…

---

## [\[New Major Release\] node-red-contrib-uibuilder - v4.0.1](https://discourse.nodered.org/t/new-major-release-node-red-contrib-uibuilder-v4-0-1/48547)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 4\
**Last updated:** [18 July 2021 21:54 UTC](https://discourse.nodered.org/t/new-major-release-node-red-contrib-uibuilder-v4-0-1/48547 "2021-07-18T21:54:32Z")

</div>

Well, finally it is here! Lots more fixes and code improvements so that we can keep the improvements coming. A major release though because I'm afraid that there are a couple of potentially breaking changes. The most i…

---

## [Show errors in ACE and Monaco editor](https://discourse.nodered.org/t/show-errors-in-ace-and-monaco-editor/48529)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 12\
**Last updated:** [18 July 2021 20:59 UTC](https://discourse.nodered.org/t/show-errors-in-ace-and-monaco-editor/48529 "2021-07-18T20:59:11Z")

</div>

Hi folks, When javascript syntax errors are generated in the blockly node (which shouldn't happen...): Then I would like the editor to show those errors. But I'm not sure how to do that at the moment... @Steve-Mcl …

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

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