# Latest

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

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

**Page:** 585

---

## [Two motion sensors for one lamp](https://discourse.nodered.org/t/two-motion-sensors-for-one-lamp/60980)

<div class="topic-metadata">

**Author:** [@Leopoll](https://discourse.nodered.org/u/Leopoll)\
**Replies:** 17\
**Last updated:** [21 April 2022 21:14 UTC](https://discourse.nodered.org/t/two-motion-sensors-for-one-lamp/60980 "2022-04-21T21:14:39Z")

</div>

There are two (or more?) motion sensors and one lamp in one room. How to make the lamp turn off only if both sensors do not detect movement? But it may be that only one sensor will see the movement. So from the second se…

---

## [Dashboard Button Keeping Appearance when Changing Tabs](https://discourse.nodered.org/t/dashboard-button-keeping-appearance-when-changing-tabs/61607)

<div class="topic-metadata">

**Author:** [@rotycha](https://discourse.nodered.org/u/rotycha)\
**Replies:** 9\
**Last updated:** [21 April 2022 18:59 UTC](https://discourse.nodered.org/t/dashboard-button-keeping-appearance-when-changing-tabs/61607 "2022-04-21T18:59:11Z")

</div>

Hello, I have three buttons that when pushed change their color and text. The issue is if you switch tabs then come back, the buttons only keep their color and data. You cannot see the text unless you completely refres…

---

## [JSONata vs JavaScript](https://discourse.nodered.org/t/jsonata-vs-javascript/61595)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 7\
**Last updated:** [21 April 2022 15:46 UTC](https://discourse.nodered.org/t/jsonata-vs-javascript/61595 "2022-04-21T15:46:02Z")

</div>

Is there a good reason why the behavior of JSONata $number(value) is different than Javascript Number(value)? e.g. $number(".5") will fail to cast as a number where as Number(".5") will cast to the numeric value of 0.5 …

---

## [Raspberry Pi Sense hat](https://discourse.nodered.org/t/raspberry-pi-sense-hat/61571)

<div class="topic-metadata">

**Author:** [@Dwanga](https://discourse.nodered.org/u/Dwanga)\
**Replies:** 1\
**Last updated:** [21 April 2022 15:41 UTC](https://discourse.nodered.org/t/raspberry-pi-sense-hat/61571 "2022-04-21T15:41:55Z")

</div>

Hi, I noticed the topic was closed for the error " \[node-red-node-pi-sense-hat/sensehat\] Error: Can't find Sense HAT python libraries. Run sudo apt-get install sense-hat" Has anyone made any progress with this? I have se…

---

## [Find config node users](https://discourse.nodered.org/t/find-config-node-users/61509)

<div class="topic-metadata">

**Author:** [@cloud-rocket](https://discourse.nodered.org/u/cloud-rocket)\
**Replies:** 4\
**Last updated:** [21 April 2022 14:49 UTC](https://discourse.nodered.org/t/find-config-node-users/61509 "2022-04-21T14:49:34Z")

</div>

I am developing a config node X that needs to find a list of other nodes that uses it. This list is needed during config node initialization. Any convenient way to do it? Thanks

---

## [Special character issues - Url link update in dashboard and database - Postgresql](https://discourse.nodered.org/t/special-character-issues-url-link-update-in-dashboard-and-database-postgresql/61532)

<div class="topic-metadata">

**Author:** [@learnobyte](https://discourse.nodered.org/u/learnobyte)\
**Replies:** 6\
**Last updated:** [21 April 2022 14:05 UTC](https://discourse.nodered.org/t/special-character-issues-url-link-update-in-dashboard-and-database-postgresql/61532 "2022-04-21T14:05:48Z")

</div>

hi all, i am updating the url link in database through ui-text input node and postgresql, displaying ui-table. example: http://localhost:3000/d/oJ65LywGk/dashboard-oee-1?orgId=1 this is the url, after updating, in the u…

---

## [Implementing Socket.io Server with node-red-contrib-socketio-server](https://discourse.nodered.org/t/implementing-socket-io-server-with-node-red-contrib-socketio-server/61585)

<div class="topic-metadata">

**Author:** [@LeFish](https://discourse.nodered.org/u/LeFish)\
**Replies:** 12\
**Last updated:** [21 April 2022 13:47 UTC](https://discourse.nodered.org/t/implementing-socket-io-server-with-node-red-contrib-socketio-server/61585 "2022-04-21T13:47:15Z")

</div>

Hello everyone, I am trying to implement a Socket.io Server within NodeRed with node-red-contrib-socketio-server on NodeRed v2.2.2 In my simple test setup the following works: Connect to server instance on port i.e. …

---

## [Accessing USB based HID RFID Reader in Node-red](https://discourse.nodered.org/t/accessing-usb-based-hid-rfid-reader-in-node-red/61597)

<div class="topic-metadata">

**Author:** [@anilsagar](https://discourse.nodered.org/u/anilsagar)\
**Replies:** 0\
**Last updated:** [21 April 2022 12:49 UTC](https://discourse.nodered.org/t/accessing-usb-based-hid-rfid-reader-in-node-red/61597 "2022-04-21T12:49:35Z")

</div>

Have been trying hard all day to get input from an USB based HID RFID reader into node-red. Have achieved some success which I want to share with others. https://flows.nodered.org/node/node-red-contrib-usbhid has gotten…

---

## [Nodered environment with mutiple urls](https://discourse.nodered.org/t/nodered-environment-with-mutiple-urls/60246)

<div class="topic-metadata">

**Author:** [@DJDev](https://discourse.nodered.org/u/DJDev)\
**Replies:** 6\
**Last updated:** [21 April 2022 12:45 UTC](https://discourse.nodered.org/t/nodered-environment-with-mutiple-urls/60246 "2022-04-21T12:45:38Z")

</div>

Hi, If there are multiple urls(different domains) configured to the same nodered environment, what would be the best way to retrieve the url in NodeRed? The same applies to added params in the url. I have to know this b…

---

## [Output when two different inputs are true simoultaneusly](https://discourse.nodered.org/t/output-when-two-different-inputs-are-true-simoultaneusly/61594)

<div class="topic-metadata">

**Author:** [@mauog1](https://discourse.nodered.org/u/mauog1)\
**Replies:** 1\
**Last updated:** [21 April 2022 12:15 UTC](https://discourse.nodered.org/t/output-when-two-different-inputs-are-true-simoultaneusly/61594 "2022-04-21T12:15:31Z")

</div>

I placed two motions sensors intercepting the motion around a door. I used two sensors to limit the false positive events caused by one sensor only. I would like to obtain an output only when the two inputs are simultane…

---

## [Help with how to manage messages - timing](https://discourse.nodered.org/t/help-with-how-to-manage-messages-timing/61574)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 18\
**Last updated:** [21 April 2022 09:35 UTC](https://discourse.nodered.org/t/help-with-how-to-manage-messages-timing/61574 "2022-04-21T09:35:50Z")

</div>

Scenario: Every n seconds I scan visible WAPs. I then create a list and look for mine. If it isn't seen, I want to be informed. I have some rough - and problematic - code/nodes but I am seeing a problem. Repeatedly I…

---

## [Css, layout, efficient building](https://discourse.nodered.org/t/css-layout-efficient-building/61320)

<div class="topic-metadata">

**Author:** [@rxdeath](https://discourse.nodered.org/u/rxdeath)\
**Replies:** 5\
**Last updated:** [21 April 2022 08:34 UTC](https://discourse.nodered.org/t/css-layout-efficient-building/61320 "2022-04-21T08:34:47Z")

</div>

after spending a disgusting amount of time trying to work with gtk,qt,codesys, etc i stumbled across node red, and was appauled and amazed at how much better it was than anything else. not to mention it is my favorite p…

---

## [Disabling nodes from dashboard](https://discourse.nodered.org/t/disabling-nodes-from-dashboard/61319)

<div class="topic-metadata">

**Author:** [@rxdeath](https://discourse.nodered.org/u/rxdeath)\
**Replies:** 7\
**Last updated:** [21 April 2022 08:25 UTC](https://discourse.nodered.org/t/disabling-nodes-from-dashboard/61319 "2022-04-21T08:25:01Z")

</div>

is there a way to disable/enable nodes from the dashboard? this is a solution to my problem but i think its not possible. here is what i'm trying to accomplish: i want to be able to get the serial stream coming from …

---

## [Help with loop in a function](https://discourse.nodered.org/t/help-with-loop-in-a-function/61579)

<div class="topic-metadata">

**Author:** [@sokomm](https://discourse.nodered.org/u/sokomm)\
**Replies:** 2\
**Last updated:** [21 April 2022 07:45 UTC](https://discourse.nodered.org/t/help-with-loop-in-a-function/61579 "2022-04-21T07:45:29Z")

</div>

How can I loop through all IDs? This is an example I found on the net and tried to modify. let id1 = 111111111; //dejan let id2 = 22222222; //lepi let id3 = 33333333; //milos let id4 = 44444444; //recepcija let id5 = 5…

---

## [Nodered on older windows server?](https://discourse.nodered.org/t/nodered-on-older-windows-server/61582)

<div class="topic-metadata">

**Author:** [@tomasenskede](https://discourse.nodered.org/u/tomasenskede)\
**Replies:** 1\
**Last updated:** [21 April 2022 07:40 UTC](https://discourse.nodered.org/t/nodered-on-older-windows-server/61582 "2022-04-21T07:40:23Z")

</div>

I have an old Windows Server for some eHome-applications... I was planning to look into Nodered but I cant find an compatible version for my old windows server... I have two servers available, 2008 R2 and one Home Serve…

---

## [Using TLS-PSK with MQTT](https://discourse.nodered.org/t/using-tls-psk-with-mqtt/59872)

<div class="topic-metadata">

**Author:** [@dktcl](https://discourse.nodered.org/u/dktcl)\
**Replies:** 7\
**Last updated:** [21 April 2022 07:32 UTC](https://discourse.nodered.org/t/using-tls-psk-with-mqtt/59872 "2022-04-21T07:32:33Z")

</div>

Good Morning, I need to communicate with a 3rd party MQTT Broker using TLS-PSK, however I'm struggling to figure out if and how to achieve with Node-Red. If I were using mosquito sub, I would use the command line optio…

---

## [How to save single flow in my local database](https://discourse.nodered.org/t/how-to-save-single-flow-in-my-local-database/61315)

<div class="topic-metadata">

**Author:** [@weber\_j](https://discourse.nodered.org/u/weber_j)\
**Replies:** 10\
**Last updated:** [21 April 2022 03:47 UTC](https://discourse.nodered.org/t/how-to-save-single-flow-in-my-local-database/61315 "2022-04-21T03:47:14Z")

</div>

i want to save every single flow (tab\`s flow) into my local database, how can i do or what plugin can i use? Thank to help

---

## [Anyone used htmx with node red?](https://discourse.nodered.org/t/anyone-used-htmx-with-node-red/61564)

<div class="topic-metadata">

**Author:** [@Riekus](https://discourse.nodered.org/u/Riekus)\
**Replies:** 1\
**Last updated:** [20 April 2022 22:58 UTC](https://discourse.nodered.org/t/anyone-used-htmx-with-node-red/61564 "2022-04-20T22:58:16Z")

</div>

On mobile, but just stumbled upon the htmx library, seems like a perfect fit for UI building with node red, pushing html templates to specific html element in an html way. Any thoughts?

---

## [Is it possible to configure a single Inject node to connect and subscribe to an MQTT broker using Dynamic Connections?](https://discourse.nodered.org/t/is-it-possible-to-configure-a-single-inject-node-to-connect-and-subscribe-to-an-mqtt-broker-using-dynamic-connections/61560)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 1\
**Last updated:** [20 April 2022 21:59 UTC](https://discourse.nodered.org/t/is-it-possible-to-configure-a-single-inject-node-to-connect-and-subscribe-to-an-mqtt-broker-using-dynamic-connections/61560 "2022-04-20T21:59:54Z")

</div>

I am getting to grips with the concept of Dynamic MQTT connections and related Pub/Sub. However I am curious as to whether it would be possible to use the same Inject Node to do the following: Force connect to an MQTT …

---

## [Long code in function node...how to wrap](https://discourse.nodered.org/t/long-code-in-function-node-how-to-wrap/61514)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 11\
**Last updated:** [20 April 2022 21:49 UTC](https://discourse.nodered.org/t/long-code-in-function-node-how-to-wrap/61514 "2022-04-20T21:49:31Z")

</div>

Noob question here....I have a very long string of code within a function node that is difficult to read and cannot figure out how to "wrap" the code inside the window without breaking the functionality. For instance...…

---

## [UDP instream limit](https://discourse.nodered.org/t/udp-instream-limit/61546)

<div class="topic-metadata">

**Author:** [@lroman](https://discourse.nodered.org/u/lroman)\
**Replies:** 1\
**Last updated:** [20 April 2022 20:08 UTC](https://discourse.nodered.org/t/udp-instream-limit/61546 "2022-04-20T20:08:41Z")

</div>

Hi, Is there a max number of edge devices that can send data to a UDP-IN node. For instance, a gateway running node-red and it listens for incoming UDP packets and the number of UDP messages is proportional to the numbe…

---

## [Multiple JSON message into one Function Node](https://discourse.nodered.org/t/multiple-json-message-into-one-function-node/61524)

<div class="topic-metadata">

**Author:** [@antsals](https://discourse.nodered.org/u/antsals)\
**Replies:** 3\
**Last updated:** [20 April 2022 19:46 UTC](https://discourse.nodered.org/t/multiple-json-message-into-one-function-node/61524 "2022-04-20T19:46:53Z")

</div>

I'm sure this is really simple; I'm new to all this. I had a string from a link node and I have re-defined as a JSON message through a function; with msg.payload = { "OPC\_Tag": msg.topic, "Value": msg.payload } ret…

---

## [Editor Runtime Split](https://discourse.nodered.org/t/editor-runtime-split/26)

<div class="topic-metadata">

**Author:** [@towynlin](https://discourse.nodered.org/u/towynlin)\
**Replies:** 19\
**Last updated:** [20 April 2022 16:31 UTC](https://discourse.nodered.org/t/editor-runtime-split/26 "2022-04-20T16:31:55Z")

</div>

Let's discuss the split of the editor and the runtime! The WIP spec is in the github wiki: Editor Runtime API As of late April 2018 there's also a runtime-api branch for the work in the repo. And here's a quick quote …

---

## [Honeywell UDC 3500, control, logging and sms](https://discourse.nodered.org/t/honeywell-udc-3500-control-logging-and-sms/13125)

<div class="topic-metadata">

**Author:** [@netwingduck](https://discourse.nodered.org/u/netwingduck)\
**Replies:** 2\
**Last updated:** [20 April 2022 15:41 UTC](https://discourse.nodered.org/t/honeywell-udc-3500-control-logging-and-sms/13125 "2022-04-20T15:41:26Z")

</div>

I made a flow that can communicate with 4 UDC's simultaneously, it does read writes to almost every register (FC20 not supported in contrib modbus), it logs to MySQL, it has a historian, and it uses Twilio to send alarms…

---

## [New editor event when all nodes have been loaded](https://discourse.nodered.org/t/new-editor-event-when-all-nodes-have-been-loaded/60314)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 4\
**Last updated:** [20 April 2022 15:19 UTC](https://discourse.nodered.org/t/new-editor-event-when-all-nodes-have-been-loaded/60314 "2022-04-20T15:19:21Z")

</div>

Hi folks, Every time I need to develop a sidebar panel in the flow editor, I am struggling to initialize its content. Because the html content of the sidebar panel is being constructed in the onpaletteadd event (of the…

---

## [Timestamp an hour out](https://discourse.nodered.org/t/timestamp-an-hour-out/61538)

<div class="topic-metadata">

**Author:** [@antsals](https://discourse.nodered.org/u/antsals)\
**Replies:** 3\
**Last updated:** [20 April 2022 14:38 UTC](https://discourse.nodered.org/t/timestamp-an-hour-out/61538 "2022-04-20T14:38:22Z")

</div>

Afternoon all I've used this in a function block to timestamp a JSON message:- var timestamp = new Date() This returns the dare and time but is an hour out. Based in the UK. Is there a way it can be matched to the PC…

---

## [InfluxDB error on node-red](https://discourse.nodered.org/t/influxdb-error-on-node-red/61547)

<div class="topic-metadata">

**Author:** [@mayelle.26](https://discourse.nodered.org/u/mayelle.26)\
**Replies:** 2\
**Last updated:** [20 April 2022 14:34 UTC](https://discourse.nodered.org/t/influxdb-error-on-node-red/61547 "2022-04-20T14:34:36Z")

</div>

Hello, I would like to put my TTN data via node-red on influxDB to use Grafana eventually. However I can't configure node-red-contrib-influxdb in the feed: I get the following error messages: \[error\] \[influxdb out:…

---

## [Form node / class](https://discourse.nodered.org/t/form-node-class/61464)

<div class="topic-metadata">

**Author:** [@agmacedo](https://discourse.nodered.org/u/agmacedo)\
**Replies:** 4\
**Last updated:** [20 April 2022 13:25 UTC](https://discourse.nodered.org/t/form-node-class/61464 "2022-04-20T13:25:04Z")

</div>

I need to create a form node to data entry. Something like a database access with a list of records on a table and buttons to add, delete and update. I know it is possible to use the form node in the dashboard, but has v…

---

## [UDP in IPv6 weird behaviour](https://discourse.nodered.org/t/udp-in-ipv6-weird-behaviour/61533)

<div class="topic-metadata">

**Author:** [@Stelios](https://discourse.nodered.org/u/Stelios)\
**Replies:** 5\
**Last updated:** [20 April 2022 12:53 UTC](https://discourse.nodered.org/t/udp-in-ipv6-weird-behaviour/61533 "2022-04-20T12:53:28Z")

</div>

Hi all! I've been using NR as an orchestrator (i hope im using that term properly) in the company I work for, for the last year. Recently we started exploring NB-IoT technology which communicates using UDP packets. I …

---

## [If i add another image to svg graphics the first one will be deleted](https://discourse.nodered.org/t/if-i-add-another-image-to-svg-graphics-the-first-one-will-be-deleted/61526)

<div class="topic-metadata">

**Author:** [@bilel](https://discourse.nodered.org/u/bilel)\
**Replies:** 5\
**Last updated:** [20 April 2022 12:17 UTC](https://discourse.nodered.org/t/if-i-add-another-image-to-svg-graphics-the-first-one-will-be-deleted/61526 "2022-04-20T12:17:56Z")

</div>

cant add two image to svg graphics any solution ( it maybe about the expert mode)

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

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