# Latest

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

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

**Page:** 699

---

## [Node Red - R Pi sensor](https://discourse.nodered.org/t/node-red-r-pi-sensor/53116)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 20\
**Last updated:** [9 November 2021 14:30 UTC](https://discourse.nodered.org/t/node-red-r-pi-sensor/53116 "2021-11-09T14:30:07Z")

</div>

Hello, I am using Node-red over "Pi". I have the "dht21-AM2301" sensor. How can I communicate with node-red by connecting the sensor to the Pi.

---

## [MQTT LWT design philosphy question](https://discourse.nodered.org/t/mqtt-lwt-design-philosphy-question/53352)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 8\
**Last updated:** [9 November 2021 14:20 UTC](https://discourse.nodered.org/t/mqtt-lwt-design-philosphy-question/53352 "2021-11-09T14:20:03Z")

</div>

In polishing up some code I started using the MQTT LWT message to notify the flow of dropping connections. The code works and I think I understand the use of the LWT but...... in all examples I have looked at both on thi…

---

## [Installing Node.JS on Windows](https://discourse.nodered.org/t/installing-node-js-on-windows/53450)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 4\
**Last updated:** [9 November 2021 13:56 UTC](https://discourse.nodered.org/t/installing-node-js-on-windows/53450 "2021-11-09T13:56:05Z")

</div>

For those, like myself, who didn't know this. The official Windows installer for Node.JS now includes the required build tools. Therefore, npm install -g windows-build-tools should no longer be needed. I am about to te…

---

## [All my nodes and flows gone](https://discourse.nodered.org/t/all-my-nodes-and-flows-gone/1256)

<div class="topic-metadata">

**Author:** [@Andyk5](https://discourse.nodered.org/u/Andyk5)\
**Replies:** 27\
**Last updated:** [9 November 2021 13:55 UTC](https://discourse.nodered.org/t/all-my-nodes-and-flows-gone/1256 "2021-11-09T13:55:38Z")

</div>

Hi all Has anyone one had a problem like this. Node red been runni g on my rpi3 for few months no problem. I had download about ten other nodes and i have two flows funning. For some reason i lost conection to node …

---

## [Name resolution](https://discourse.nodered.org/t/name-resolution/53266)

<div class="topic-metadata">

**Author:** [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Replies:** 9\
**Last updated:** [9 November 2021 12:57 UTC](https://discourse.nodered.org/t/name-resolution/53266 "2021-11-09T12:57:13Z")

</div>

Hi, I am busy with an action to remove all ip-adresses from my code and use hostnames that are registrated in /etc/hosts. This works for lot of code and nodes , but not always.. Now the problem. I have a function nod…

---

## [Pizza-Kitchen monitoring (KDS) with NR?](https://discourse.nodered.org/t/pizza-kitchen-monitoring-kds-with-nr/53329)

<div class="topic-metadata">

**Author:** [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)\
**Replies:** 5\
**Last updated:** [9 November 2021 11:42 UTC](https://discourse.nodered.org/t/pizza-kitchen-monitoring-kds-with-nr/53329 "2021-11-09T11:42:57Z")

</div>

\[offtopic\] I just wonder, if you guys think it would be possible to create a dynamic dashboard that would run a ticket-system on some tablets + Raspberry Pi with 1-2 big Touch-screens? It would need to handle: click o…

---

## [Inject node - Use local time not UTC](https://discourse.nodered.org/t/inject-node-use-local-time-not-utc/11332)

<div class="topic-metadata">

**Author:** [@martin\_a](https://discourse.nodered.org/u/martin_a)\
**Replies:** 21\
**Last updated:** [9 November 2021 11:18 UTC](https://discourse.nodered.org/t/inject-node-use-local-time-not-utc/11332 "2021-11-09T11:18:20Z")

</div>

Hey! Is there any way to make the inject node use the local time and not UTC? While UTC might be fine for some applications, if I want to use timed triggers it's just wrong. Any way to change this behaviour? Best rega…

---

## [Load Balancing / Scaling Node-Red AWS instance](https://discourse.nodered.org/t/load-balancing-scaling-node-red-aws-instance/53406)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 0\
**Last updated:** [8 November 2021 22:20 UTC](https://discourse.nodered.org/t/load-balancing-scaling-node-red-aws-instance/53406 "2021-11-08T22:20:46Z")

</div>

Anyone familiar with load balancing and scaling of node-red (AWS) instances? I have a prototype platform I am developing with Node-Red, and I understand that the single (AWS T2.Small) instance I have it hosted on won't …

---

## [The worst software ever created. I HATE YOU](https://discourse.nodered.org/t/the-worst-software-ever-created-i-hate-you/53389)

<div class="topic-metadata">

**Author:** [@anon53275575](https://discourse.nodered.org/u/anon53275575)\
**Replies:** 13\
**Last updated:** [8 November 2021 22:08 UTC](https://discourse.nodered.org/t/the-worst-software-ever-created-i-hate-you/53389 "2021-11-08T22:08:51Z")

</div>

Ive spent 1000s of hours setting up flows and all of a sudden I can only access the first page. I can see all my other flows but they are no longer clickable. If I disable my first flow the second one works but no other…

---

## [Dashboard change screen with timer](https://discourse.nodered.org/t/dashboard-change-screen-with-timer/53402)

<div class="topic-metadata">

**Author:** [@RGebel](https://discourse.nodered.org/u/RGebel)\
**Replies:** 3\
**Last updated:** [8 November 2021 21:52 UTC](https://discourse.nodered.org/t/dashboard-change-screen-with-timer/53402 "2021-11-08T21:52:57Z")

</div>

I have dashboard running on a touch screen. The touch part went bad, is there a way to use a timer to change the active screen?

---

## [Cron plus -1 hour](https://discourse.nodered.org/t/cron-plus-1-hour/53381)

<div class="topic-metadata">

**Author:** [@dowermyr](https://discourse.nodered.org/u/dowermyr)\
**Replies:** 7\
**Last updated:** [8 November 2021 21:45 UTC](https://discourse.nodered.org/t/cron-plus-1-hour/53381 "2021-11-08T21:45:27Z")

</div>

Hi! Is there a way to make my cron plus activate an output minus 1 h ? This is how it is set up: \[{"id":"e4f20e150336f746","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"872eb42d0fb54709","type":"cron…

---

## [String to object conversion](https://discourse.nodered.org/t/string-to-object-conversion/53388)

<div class="topic-metadata">

**Author:** [@MarcW84](https://discourse.nodered.org/u/MarcW84)\
**Replies:** 2\
**Last updated:** [8 November 2021 19:44 UTC](https://discourse.nodered.org/t/string-to-object-conversion/53388 "2021-11-08T19:44:47Z")

</div>

Hi there, I am currently struggling with updating my Node Red intergration of Loxone and IKEA Tradfri Panel. I recently was able to get an array with brightness value and color temp out of my Loxone server but they now…

---

## [MQTT-Node doesn't save any data in my file](https://discourse.nodered.org/t/mqtt-node-doesnt-save-any-data-in-my-file/53379)

<div class="topic-metadata">

**Author:** [@crackl1ng](https://discourse.nodered.org/u/crackl1ng)\
**Replies:** 2\
**Last updated:** [8 November 2021 18:51 UTC](https://discourse.nodered.org/t/mqtt-node-doesnt-save-any-data-in-my-file/53379 "2021-11-08T18:51:43Z")

</div>

Hi community, I'm a beginner in node-red and javascript in general and tried to display my LoRaWAN temperature sensor in a .txt file on my Raspberry Pi. I tried out creating data with a timestamp, which worked fine and …

---

## [Push to git problem](https://discourse.nodered.org/t/push-to-git-problem/52526)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 6\
**Last updated:** [8 November 2021 18:14 UTC](https://discourse.nodered.org/t/push-to-git-problem/52526 "2021-11-08T18:14:21Z")

</div>

Trying to setup a push to git What i did enabled projects did project settings and credentials set git remote with https from hamburger menu settings\>Git config\>create ssh key copied ssh key to git page Deploy keys…

---

## [Can't Find Serial Node in Node-Red](https://discourse.nodered.org/t/cant-find-serial-node-in-node-red/53391)

<div class="topic-metadata">

**Author:** [@fajar.r.w](https://discourse.nodered.org/u/fajar.r.w)\
**Replies:** 1\
**Last updated:** [8 November 2021 17:35 UTC](https://discourse.nodered.org/t/cant-find-serial-node-in-node-red/53391 "2021-11-08T17:35:16Z")

</div>

Hello. I am very new to node-red and have a trouble finding the serial node (serial in, serial out, and serial request). I had searched them in the drawer in the left hand side but still couldn't find them. I tried to in…

---

## [A way to export the functions of your Node Red Flows to a .js file](https://discourse.nodered.org/t/a-way-to-export-the-functions-of-your-node-red-flows-to-a-js-file/53328)

<div class="topic-metadata">

**Author:** [@lstebe](https://discourse.nodered.org/u/lstebe)\
**Replies:** 4\
**Last updated:** [8 November 2021 16:20 UTC](https://discourse.nodered.org/t/a-way-to-export-the-functions-of-your-node-red-flows-to-a-js-file/53328 "2021-11-08T16:20:09Z")

</div>

Hello Folks, I am working on a bigger academic project atm and was looking for a way to export the code in my function Nodes to a .js file. Main Reasons: Easier Versioning external editing in e.g. VSC I am using bas…

---

## [Msg.payload in UI Template Node scope handling](https://discourse.nodered.org/t/msg-payload-in-ui-template-node-scope-handling/53385)

<div class="topic-metadata">

**Author:** [@IotDeveloper](https://discourse.nodered.org/u/IotDeveloper)\
**Replies:** 0\
**Last updated:** [8 November 2021 15:41 UTC](https://discourse.nodered.org/t/msg-payload-in-ui-template-node-scope-handling/53385 "2021-11-08T15:41:07Z")

</div>

Hello all, i want to create an upload file flow in Node-RED. The classic upload form is not displayed, because i want to use the standard buttons of Node-RED. Therfore i created a template nodes and one button node. …

---

## [How do I post downloadable files on the forum?](https://discourse.nodered.org/t/how-do-i-post-downloadable-files-on-the-forum/53370)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 2\
**Last updated:** [8 November 2021 14:55 UTC](https://discourse.nodered.org/t/how-do-i-post-downloadable-files-on-the-forum/53370 "2021-11-08T14:55:15Z")

</div>

Hi Y'all... Another newbie question... A zip file format seems to be blocked which would be ideal for sending a few ancillary files that are needed for some flows... (Yes, I am aware of the risk of viral content...) R…

---

## [Upgrading node.js and node-red for AWS EC2 ubuntu](https://discourse.nodered.org/t/upgrading-node-js-and-node-red-for-aws-ec2-ubuntu/53327)

<div class="topic-metadata">

**Author:** [@ThibautRuy](https://discourse.nodered.org/u/ThibautRuy)\
**Replies:** 2\
**Last updated:** [8 November 2021 14:30 UTC](https://discourse.nodered.org/t/upgrading-node-js-and-node-red-for-aws-ec2-ubuntu/53327 "2021-11-08T14:30:25Z")

</div>

Is this the right command for Upgrading node.js and node-red for AWS EC2 ubuntu: bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) I can't find the explan…

---

## [Reset Join Node](https://discourse.nodered.org/t/reset-join-node/53375)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 2\
**Last updated:** [8 November 2021 13:23 UTC](https://discourse.nodered.org/t/reset-join-node/53375 "2021-11-08T13:23:34Z")

</div>

Hi there, is there a way to reset a join node without sending the buffered messages? My case: the join node is set to manual: Send the message: After a number of message parts 5 There are 4 messages buffered and I w…

---

## [Extract values from Json Object](https://discourse.nodered.org/t/extract-values-from-json-object/52906)

<div class="topic-metadata">

**Author:** [@Mr.816](https://discourse.nodered.org/u/Mr.816)\
**Replies:** 6\
**Last updated:** [8 November 2021 12:58 UTC](https://discourse.nodered.org/t/extract-values-from-json-object/52906 "2021-11-08T12:58:50Z")

</div>

Hello, I'm using a great node to connect a universal robot to node red. The connection works finde and I'm getting Json Data from the robot. I would like to pick certain values from this json object and display them o…

---

## [State-Trail from database](https://discourse.nodered.org/t/state-trail-from-database/53164)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 11\
**Last updated:** [8 November 2021 12:51 UTC](https://discourse.nodered.org/t/state-trail-from-database/53164 "2021-11-08T12:51:55Z")

</div>

Continuing the discussion from State trail problem: can you please post how did you change string to array ?

---

## [Error in node-red-contrib-modbus installation in windows environment](https://discourse.nodered.org/t/error-in-node-red-contrib-modbus-installation-in-windows-environment/53371)

<div class="topic-metadata">

**Author:** [@migkikas](https://discourse.nodered.org/u/migkikas)\
**Replies:** 2\
**Last updated:** [8 November 2021 12:50 UTC](https://discourse.nodered.org/t/error-in-node-red-contrib-modbus-installation-in-windows-environment/53371 "2021-11-08T12:50:35Z")

</div>

Hello I tried to install node-red-contrib-modbus in node-red in windows machine and a got the following errors: node.js version is 14.4.0 LTS npm version is 6.14.5 Node-red version 2.0.6 C:\\Users\\energytop\\AppData\\…

---

## [Node-red-contrib-finite-statemachine nesting messages in FSM loops (warning + solution)](https://discourse.nodered.org/t/node-red-contrib-finite-statemachine-nesting-messages-in-fsm-loops-warning-solution/53374)

<div class="topic-metadata">

**Author:** [@OriolFM](https://discourse.nodered.org/u/OriolFM)\
**Replies:** 0\
**Last updated:** [8 November 2021 12:48 UTC](https://discourse.nodered.org/t/node-red-contrib-finite-statemachine-nesting-messages-in-fsm-loops-warning-solution/53374 "2021-11-08T12:48:02Z")

</div>

In a previous post about the issue, I didn't find any cause about node-red stopping the FSM loops after some time, but I've finally figured it out and already raised an issue in the NPM page of the node. As I pointed ou…

---

## [Rounding floats](https://discourse.nodered.org/t/rounding-floats/53369)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 7\
**Last updated:** [8 November 2021 11:55 UTC](https://discourse.nodered.org/t/rounding-floats/53369 "2021-11-08T11:55:41Z")

</div>

Hi, guys. Can anyone tell me what is the best way to ROUND a float with 6 decimals to for instance a float with 2 decimals. ".Precision()", has the disadvantage that it includes the number of digits before the comma.

---

## [Msg.topic previously set still appearing](https://discourse.nodered.org/t/msg-topic-previously-set-still-appearing/53364)

<div class="topic-metadata">

**Author:** [@geoffreydemaagd](https://discourse.nodered.org/u/geoffreydemaagd)\
**Replies:** 7\
**Last updated:** [8 November 2021 11:14 UTC](https://discourse.nodered.org/t/msg-topic-previously-set-still-appearing/53364 "2021-11-08T11:14:52Z")

</div>

The msg.topic seems to be stored in the node but what of you don't want this? But only pushing the topic received by a earlier node in the flow? When using for example a switch with topic = msg.topic, the topic set befo…

---

## [NRD to Influxdb-strings](https://discourse.nodered.org/t/nrd-to-influxdb-strings/53315)

<div class="topic-metadata">

**Author:** [@Fishy](https://discourse.nodered.org/u/Fishy)\
**Replies:** 4\
**Last updated:** [8 November 2021 10:50 UTC](https://discourse.nodered.org/t/nrd-to-influxdb-strings/53315 "2021-11-08T10:50:03Z")

</div>

Having the same trouble as many others have from my research, my data from NRD labelled as value is being sent as a string to influxdb and hence not recognised by Grafana. The set up is Atlas Scientific water sensors se…

---

## [Optimize js function to convert decimal to 8 outputs](https://discourse.nodered.org/t/optimize-js-function-to-convert-decimal-to-8-outputs/53305)

<div class="topic-metadata">

**Author:** [@xjust](https://discourse.nodered.org/u/xjust)\
**Replies:** 5\
**Last updated:** [8 November 2021 10:33 UTC](https://discourse.nodered.org/t/optimize-js-function-to-convert-decimal-to-8-outputs/53305 "2021-11-08T10:33:43Z")

</div>

I have 6 instances of snmp requests that converts the output (decimal value) to each of the 8 outputs (true/false) using the function below. All of these outputs go to switches inside dashboard. Anybody can help me mak…

---

## [Unable to load drop-down using payload values](https://discourse.nodered.org/t/unable-to-load-drop-down-using-payload-values/53359)

<div class="topic-metadata">

**Author:** [@ana1955](https://discourse.nodered.org/u/ana1955)\
**Replies:** 1\
**Last updated:** [8 November 2021 10:29 UTC](https://discourse.nodered.org/t/unable-to-load-drop-down-using-payload-values/53359 "2021-11-08T10:29:37Z")

</div>

Hello, I am using a template node to create UI page with 2 dropdowns. The option values are in 2 arrays. When the arrays are hardcoded inside the fill1st() and fill2nd() functions, the UI page works. Now, I want the opti…

---

## [Sending a message with a value to a ui-form node time field](https://discourse.nodered.org/t/sending-a-message-with-a-value-to-a-ui-form-node-time-field/53062)

<div class="topic-metadata">

**Author:** [@davec1001](https://discourse.nodered.org/u/davec1001)\
**Replies:** 6\
**Last updated:** [8 November 2021 10:23 UTC](https://discourse.nodered.org/t/sending-a-message-with-a-value-to-a-ui-form-node-time-field/53062 "2021-11-08T10:23:27Z")

</div>

Is this possible? Has anyone achieved it? I tried looking at the output from the time field (which is a date of 1/1/1970 plus the time) and then tried lots of ways of creating such a date for the time I wanted. I als…

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

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