# Latest

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

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

**Page:** 268

---

## [Initial condition of node at startup](https://discourse.nodered.org/t/initial-condition-of-node-at-startup/83401)

<div class="topic-metadata">

**Author:** [@engmoh321](https://discourse.nodered.org/u/engmoh321)\
**Replies:** 2\
**Last updated:** [3 December 2023 13:12 UTC](https://discourse.nodered.org/t/initial-condition-of-node-at-startup/83401 "2023-12-03T13:12:34Z")

</div>

hi i have this flow: \[ { "id": "9d5dc986aaaa790c", "type": "tab", "label": "serial\_write", "disabled": false, "info": "created by mohammed shady", "env": \[\] }, …

---

## [Unable to update text field on just one session using msg.socketid](https://discourse.nodered.org/t/unable-to-update-text-field-on-just-one-session-using-msg-socketid/83373)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 6\
**Last updated:** [3 December 2023 11:24 UTC](https://discourse.nodered.org/t/unable-to-update-text-field-on-just-one-session-using-msg-socketid/83373 "2023-12-03T11:24:27Z")

</div>

I thought I should be able to update a text or text input field in just one of the connected sessions by including msg.socketid but I cannot get it to work. I am using a ui\_control node to detect the opening of a dashbo…

---

## [MODBUS RS485 Sensor read](https://discourse.nodered.org/t/modbus-rs485-sensor-read/83399)

<div class="topic-metadata">

**Author:** [@gumue](https://discourse.nodered.org/u/gumue)\
**Replies:** 1\
**Last updated:** [3 December 2023 10:36 UTC](https://discourse.nodered.org/t/modbus-rs485-sensor-read/83399 "2023-12-03T10:36:24Z")

</div>

I am not familiar with Modbus RTU / RS485, but I need to integrate a multi-parameter sensor in Node-Red flow that can be read out with Modbus RTU. In the supplied sensor software I can record a log of the communication v…

---

## [Easy way to send 4-bit string to 4 separate GPIO out pins](https://discourse.nodered.org/t/easy-way-to-send-4-bit-string-to-4-separate-gpio-out-pins/83379)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 12\
**Last updated:** [3 December 2023 10:03 UTC](https://discourse.nodered.org/t/easy-way-to-send-4-bit-string-to-4-separate-gpio-out-pins/83379 "2023-12-03T10:03:14Z")

</div>

I have one of the old Energenie transmitter boards (which is not supported by contrib-energenie-ener314rt). The board has 6 inputs: protocol OOK/FSK, modulator enable and 4 data pins for setting a 4-bit sata string. Ther…

---

## [Detecting Arlo motion and sending to Echo Show](https://discourse.nodered.org/t/detecting-arlo-motion-and-sending-to-echo-show/83391)

<div class="topic-metadata">

**Author:** [@Plain\_Bill](https://discourse.nodered.org/u/Plain_Bill)\
**Replies:** 2\
**Last updated:** [3 December 2023 05:59 UTC](https://discourse.nodered.org/t/detecting-arlo-motion-and-sending-to-echo-show/83391 "2023-12-03T05:59:51Z")

</div>

I'm currently using Alexa routines to detect motion on my Arlo cameras, open the camera in the Echo Show, WAIT two minutes, close the camera window. This is somewhat limited though, as the camera does not always open fu…

---

## [Dynamic electricity supplier output in table format](https://discourse.nodered.org/t/dynamic-electricity-supplier-output-in-table-format/83365)

<div class="topic-metadata">

**Author:** [@KistK](https://discourse.nodered.org/u/KistK)\
**Replies:** 3\
**Last updated:** [2 December 2023 22:06 UTC](https://discourse.nodered.org/t/dynamic-electricity-supplier-output-in-table-format/83365 "2023-12-02T22:06:36Z")

</div>

Hi, I need some help. I'm relatively new to Node-RED. I found a flow that would be perfect for me. You can find it here: https://flows.nodered.org/flow/df892f62326e5dce5708b7512213ce24 This flow should output the hour…

---

## [\[Feature Request\]Add ability to use buffer type in switch node](https://discourse.nodered.org/t/feature-request-add-ability-to-use-buffer-type-in-switch-node/83385)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 10\
**Last updated:** [2 December 2023 22:30 UTC](https://discourse.nodered.org/t/feature-request-add-ability-to-use-buffer-type-in-switch-node/83385 "2023-12-02T22:30:33Z")

</div>

I'm sending 3 byte RGB buffers down a flow and wanted to detect \[0,0,0\] and was surprised to find that the switch node doesn't seem to be able to do this I tried a bit of JSONata but wasn't successful with that Could…

---

## [NMOS IS-04 & IS-05 nodes](https://discourse.nodered.org/t/nmos-is-04-is-05-nodes/83323)

<div class="topic-metadata">

**Author:** [@5UP3RR3D](https://discourse.nodered.org/u/5UP3RR3D)\
**Replies:** 10\
**Last updated:** [2 December 2023 21:29 UTC](https://discourse.nodered.org/t/nmos-is-04-is-05-nodes/83323 "2023-12-02T21:29:45Z")

</div>

Hi! Is anyone developing NMOS nodes for node-red? Looks like it'll be the new broadcast standard when it comes to ST2110-20/30/40 AVoverIP streaming, routing & orchestration in mid-sized AV networks. Thanks!

---

## [Send time value via MQTT](https://discourse.nodered.org/t/send-time-value-via-mqtt/83380)

<div class="topic-metadata">

**Author:** [@x\_dadu](https://discourse.nodered.org/u/x_dadu)\
**Replies:** 12\
**Last updated:** [2 December 2023 17:06 UTC](https://discourse.nodered.org/t/send-time-value-via-mqtt/83380 "2023-12-02T17:06:59Z")

</div>

what is the simplest method to send MQTT from nodered time values ? I need it in the form: "17:37:02 02.12.2023 SUN" I want the last 3 characters to be the day of the week. I have several esp8266 devices that display t…

---

## [Pi install script](https://discourse.nodered.org/t/pi-install-script/83369)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 6\
**Last updated:** [2 December 2023 15:57 UTC](https://discourse.nodered.org/t/pi-install-script/83369 "2023-12-02T15:57:58Z")

</div>

Ok. Upgrading to 3.1.1 and was going to run bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) I am on nodejs 16 and wanted to move to 18. All I have to do…

---

## [GPIO-Out node to accept topics](https://discourse.nodered.org/t/gpio-out-node-to-accept-topics/83381)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 0\
**Last updated:** [2 December 2023 15:52 UTC](https://discourse.nodered.org/t/gpio-out-node-to-accept-topics/83381 "2023-12-02T15:52:47Z")

</div>

If the GPIO-out node would accept topic, then you could send msg.topic=GPIO22 msg.payload=high. It would then need a message out pin to send to debug to monitor GPIO status.

---

## [GPIO get/read/display node?](https://discourse.nodered.org/t/gpio-get-read-display-node/83374)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 10\
**Last updated:** [2 December 2023 15:48 UTC](https://discourse.nodered.org/t/gpio-get-read-display-node/83374 "2023-12-02T15:48:58Z")

</div>

Is there a node which can display the status of a GPIO pin? I'm trying to debug a program and need a visual display of GPIO high/low status. I imagine a node which looks like the GPIO In node, but refreshed regularly (i…

---

## [My mqtt-in node cannot received data from broker](https://discourse.nodered.org/t/my-mqtt-in-node-cannot-received-data-from-broker/83372)

<div class="topic-metadata">

**Author:** [@CCF](https://discourse.nodered.org/u/CCF)\
**Replies:** 16\
**Last updated:** [2 December 2023 09:49 UTC](https://discourse.nodered.org/t/my-mqtt-in-node-cannot-received-data-from-broker/83372 "2023-12-02T09:49:32Z")

</div>

Hi. I have created my custom mqtt broker using python. Now I have issue that my node-red mqtt-in node cannot receive data from my custom broker. My scenario is I have one esp32 which connected with dht 22 sensor coding b…

---

## [BUG: Opening the switch node has strange behavior](https://discourse.nodered.org/t/bug-opening-the-switch-node-has-strange-behavior/83320)

<div class="topic-metadata">

**Author:** [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Replies:** 23\
**Last updated:** [2 December 2023 09:45 UTC](https://discourse.nodered.org/t/bug-opening-the-switch-node-has-strange-behavior/83320 "2023-12-02T09:45:33Z")

</div>

When I open the switch node I have strange behavior: Works on Chrome but not on Safari (v17.1) Node-RED v3.1.1

---

## [Corrupt flow export?](https://discourse.nodered.org/t/corrupt-flow-export/83368)

<div class="topic-metadata">

**Author:** [@WillPickering](https://discourse.nodered.org/u/WillPickering)\
**Replies:** 2\
**Last updated:** [2 December 2023 09:28 UTC](https://discourse.nodered.org/t/corrupt-flow-export/83368 "2023-12-02T09:28:07Z")

</div>

Hi, I had a pi die, and was attempting to restore my last node-red export. It seems that the export didn't format correctly and is missing the delimiters. Anyone have an easy fix, or should I start creating a macro to…

---

## [Colour codes in debug panel](https://discourse.nodered.org/t/colour-codes-in-debug-panel/83306)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 21\
**Last updated:** [2 December 2023 08:51 UTC](https://discourse.nodered.org/t/colour-codes-in-debug-panel/83306 "2023-12-02T08:51:09Z")

</div>

Background Debug has a couple of special tricks: When it displays a 6 digit hex code eg #7FFF00, it also shows a little colour swatch. When it displays a date or timestamp, clicking on the value cycles through diffe…

---

## [How to add error handling to all node-red requests](https://discourse.nodered.org/t/how-to-add-error-handling-to-all-node-red-requests/82901)

<div class="topic-metadata">

**Author:** [@tnrich](https://discourse.nodered.org/u/tnrich)\
**Replies:** 5\
**Last updated:** [1 December 2023 21:15 UTC](https://discourse.nodered.org/t/how-to-add-error-handling-to-all-node-red-requests/82901 "2023-12-01T21:15:53Z")

</div>

Hi there, I have an app where we fire off http requests to a node-red server. Some of the node-red flows/endpoints we've made and some are user created. As expected there are sometimes unexpected exceptions that occur w…

---

## [Queuing message and timing. (text to voice stuff)](https://discourse.nodered.org/t/queuing-message-and-timing-text-to-voice-stuff/83270)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 21\
**Last updated:** [1 December 2023 19:38 UTC](https://discourse.nodered.org/t/queuing-message-and-timing-text-to-voice-stuff/83270 "2023-12-01T19:38:08Z")

</div>

(Sod's law says if I don't ask I won't think of the answer ITMT) I'm playing with voice messages being played. Usually they are short messages and I have a rate limit node set to limit them to 1 message per 10 5 second…

---

## [Tutoring on Node-RED development for disadvantage students](https://discourse.nodered.org/t/tutoring-on-node-red-development-for-disadvantage-students/83359)

<div class="topic-metadata">

**Author:** [@josepancho](https://discourse.nodered.org/u/josepancho)\
**Replies:** 2\
**Last updated:** [1 December 2023 17:58 UTC](https://discourse.nodered.org/t/tutoring-on-node-red-development-for-disadvantage-students/83359 "2023-12-01T17:58:43Z")

</div>

I am new here but thought this is perhaps one of the better places to get help. I am looking for some help from a one or two persons willing to teach (perhaps 2-3 hours per week) some students on using Node-Red. I am de…

---

## [Error: EPERM: operation not permitted, unlink 'E:\\nodeRedflows\\.flow.json.backup'](https://discourse.nodered.org/t/error-eperm-operation-not-permitted-unlink-e-noderedflows-flow-json-backup/83356)

<div class="topic-metadata">

**Author:** [@LucasPeluso](https://discourse.nodered.org/u/LucasPeluso)\
**Replies:** 4\
**Last updated:** [1 December 2023 17:16 UTC](https://discourse.nodered.org/t/error-eperm-operation-not-permitted-unlink-e-noderedflows-flow-json-backup/83356 "2023-12-01T17:16:00Z")

</div>

Hello, I was runnig a process in node red and node red stop working. Since then I couldn´t start up node red from TaskScheduler. I have to start up with powershell manually. As if it weren't all I can´t deploy anithing. …

---

## [Node red crashes/restarts when doorbird events happen (motion,ring)](https://discourse.nodered.org/t/node-red-crashes-restarts-when-doorbird-events-happen-motion-ring/83355)

<div class="topic-metadata">

**Author:** [@WernerM96](https://discourse.nodered.org/u/WernerM96)\
**Replies:** 7\
**Last updated:** [1 December 2023 16:49 UTC](https://discourse.nodered.org/t/node-red-crashes-restarts-when-doorbird-events-happen-motion-ring/83355 "2023-12-01T16:49:01Z")

</div>

Hey to all of you, i have good a strange behaviour with the door bird api. Since my upgrade to node red 3 (before 1.x) and node.js 20 (before node.js 14) i have got an restart of the node red service after every motion,…

---

## [Snmp data visualization](https://discourse.nodered.org/t/snmp-data-visualization/83147)

<div class="topic-metadata">

**Author:** [@cef](https://discourse.nodered.org/u/cef)\
**Replies:** 36\
**Last updated:** [1 December 2023 16:12 UTC](https://discourse.nodered.org/t/snmp-data-visualization/83147 "2023-12-01T16:12:49Z")

</div>

Hello, I'm new here and I'm not a profesional using Node Red, but I is very useful for my project. I have installed in several computers but it is not working well in all of them. I can't see the same result using the …

---

## [Function node no negative values](https://discourse.nodered.org/t/function-node-no-negative-values/83349)

<div class="topic-metadata">

**Author:** [@bestquaker](https://discourse.nodered.org/u/bestquaker)\
**Replies:** 6\
**Last updated:** [1 December 2023 16:08 UTC](https://discourse.nodered.org/t/function-node-no-negative-values/83349 "2023-12-01T16:08:21Z")

</div>

Hello together, I have the problem that my values in this case the variable "spd\_diff" cant become negative. HEre is my code: context.temp = context.temp || 0.0; context.compspd = context.compspd || 0; context.compspd\_…

---

## [Time function as trigger in a flow](https://discourse.nodered.org/t/time-function-as-trigger-in-a-flow/82732)

<div class="topic-metadata">

**Author:** [@wbravin](https://discourse.nodered.org/u/wbravin)\
**Replies:** 21\
**Last updated:** [1 December 2023 15:59 UTC](https://discourse.nodered.org/t/time-function-as-trigger-in-a-flow/82732 "2023-12-01T15:59:22Z")

</div>

Hello all although i extemly new to node red and i'm not an it guy i want to learn how to build automation in node red within Home Assistant. I have contracted 4 flows that cover lights climate control geofencing and …

---

## [Graph when no data is received](https://discourse.nodered.org/t/graph-when-no-data-is-received/83331)

<div class="topic-metadata">

**Author:** [@Tomi](https://discourse.nodered.org/u/Tomi)\
**Replies:** 4\
**Last updated:** [1 December 2023 15:17 UTC](https://discourse.nodered.org/t/graph-when-no-data-is-received/83331 "2023-12-01T15:17:23Z")

</div>

Hello Is there a way to hide the graph when the dashboard is not receiving data?

---

## [Change node brain fart](https://discourse.nodered.org/t/change-node-brain-fart/83203)

<div class="topic-metadata">

**Author:** [@eerke2021](https://discourse.nodered.org/u/eerke2021)\
**Replies:** 9\
**Last updated:** [1 December 2023 15:12 UTC](https://discourse.nodered.org/t/change-node-brain-fart/83203 "2023-12-01T15:12:46Z")

</div>

My device puts out this. A debug node says this is a string. {"endpoint":{"serial\_number":"142d41fffe3842f9"},"payload":{"temperature":{"temperature":12.1}}} I can send it in/out MQTT and extract the number with a chan…

---

## [Home Assistant - Octopus Energy Event](https://discourse.nodered.org/t/home-assistant-octopus-energy-event/83347)

<div class="topic-metadata">

**Author:** [@leacho73](https://discourse.nodered.org/u/leacho73)\
**Replies:** 0\
**Last updated:** [1 December 2023 13:02 UTC](https://discourse.nodered.org/t/home-assistant-octopus-energy-event/83347 "2023-12-01T13:02:58Z")

</div>

Hi All, I'm looking to create a flow based on some event data which I get out of my Octopus Energy integration. Every so often, we get cheap electric for a period of time - and I see this information in home assistant -…

---

## [How to delay only true messages](https://discourse.nodered.org/t/how-to-delay-only-true-messages/83337)

<div class="topic-metadata">

**Author:** [@mrDal666](https://discourse.nodered.org/u/mrDal666)\
**Replies:** 10\
**Last updated:** [1 December 2023 14:30 UTC](https://discourse.nodered.org/t/how-to-delay-only-true-messages/83337 "2023-12-01T14:30:27Z")

</div>

Hi, i need some help. i want to delay only a true message for 1 hour and not the false. how do i do that? been searching for a week now zo please help. i tryed somting like this but its not working. \[{"id":"3a512d1f…

---

## [I cannot create a username and password](https://discourse.nodered.org/t/i-cannot-create-a-username-and-password/83324)

<div class="topic-metadata">

**Author:** [@emrerdogan](https://discourse.nodered.org/u/emrerdogan)\
**Replies:** 11\
**Last updated:** [1 December 2023 14:16 UTC](https://discourse.nodered.org/t/i-cannot-create-a-username-and-password/83324 "2023-12-01T14:16:15Z")

</div>

I cannot create a username and password. I follow the instructions on the installation page, but I cannot get positive results. the problem command : settings.js node-red version: v3.1.0 macOs

---

## [BUG: With version 3.1.1 in NodeRed I have an error using the switch node](https://discourse.nodered.org/t/bug-with-version-3-1-1-in-nodered-i-have-an-error-using-the-switch-node/83346)

<div class="topic-metadata">

**Author:** [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Replies:** 2\
**Last updated:** [1 December 2023 13:28 UTC](https://discourse.nodered.org/t/bug-with-version-3-1-1-in-nodered-i-have-an-error-using-the-switch-node/83346 "2023-12-01T13:28:12Z")

</div>

I opened an issue - as i have a problem with my switch node - which was correctly working in version 3.1.0 but no longer in version 3.1.1. I get an error of a incorrect configured node when I use the possibility if the …

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

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