# Latest

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

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

**Page:** 615

---

## [Node-red with city 200 water installations. Possible?](https://discourse.nodered.org/t/node-red-with-city-200-water-installations-possible/59451)

<div class="topic-metadata">

**Author:** [@retegi](https://discourse.nodered.org/u/retegi)\
**Replies:** 4\
**Last updated:** [7 March 2022 00:54 UTC](https://discourse.nodered.org/t/node-red-with-city-200-water-installations-possible/59451 "2022-03-07T00:54:47Z")

</div>

Good afternoon. I am discovering node-red. I currently work in a city that has more than 200 water installations, with PLCs (automation devices) that send and receive data every 5 seconds. I would like to know if nodered…

---

## [Hue Wall Switch sends on and off status at every toggle](https://discourse.nodered.org/t/hue-wall-switch-sends-on-and-off-status-at-every-toggle/55856)

<div class="topic-metadata">

**Author:** [@pi1234](https://discourse.nodered.org/u/pi1234)\
**Replies:** 7\
**Last updated:** [6 March 2022 22:56 UTC](https://discourse.nodered.org/t/hue-wall-switch-sends-on-and-off-status-at-every-toggle/55856 "2022-03-06T22:56:58Z")

</div>

Hi, I am facing a strange problem and I have no idea how to solve this. If I toogle the Wall Switch Module I got 2 status messages, "left\_press" and "left\_press\_release", at the same time, every time. Since I got bot…

---

## [How can i get only the "true/false" value from array](https://discourse.nodered.org/t/how-can-i-get-only-the-true-false-value-from-array/59448)

<div class="topic-metadata">

**Author:** [@retegi](https://discourse.nodered.org/u/retegi)\
**Replies:** 3\
**Last updated:** [6 March 2022 21:41 UTC](https://discourse.nodered.org/t/how-can-i-get-only-the-true-false-value-from-array/59448 "2022-03-06T21:41:03Z")

</div>

How can i get only the "true/false" value from array to after send to Bomba1Marcha? I get an array, but i only need true false value. Thanks.

---

## [OPCUA server initialization](https://discourse.nodered.org/t/opcua-server-initialization/58027)

<div class="topic-metadata">

**Author:** [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Replies:** 1\
**Last updated:** [6 March 2022 19:51 UTC](https://discourse.nodered.org/t/opcua-server-initialization/58027 "2022-03-06T19:51:19Z")

</div>

Hi All, I'm using node-red-contrib-opcua nodes to create an opcua server on my application. Sometime, during server initialization (when server struct is created) I have an error like "ns=1,s=FolderName already registe…

---

## [OPCUA Client Action](https://discourse.nodered.org/t/opcua-client-action/58076)

<div class="topic-metadata">

**Author:** [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Replies:** 9\
**Last updated:** [6 March 2022 19:47 UTC](https://discourse.nodered.org/t/opcua-client-action/58076 "2022-03-06T19:47:43Z")

</div>

Hi All, I need some additional info related to client actions available in node-red-contrib-opcua nodes (see attached image). I need to know how paylod and topic have to be filled in depending on action selected. Does…

---

## [Unknown node - Flow does not start](https://discourse.nodered.org/t/unknown-node-flow-does-not-start/59329)

<div class="topic-metadata">

**Author:** [@KevinT](https://discourse.nodered.org/u/KevinT)\
**Replies:** 13\
**Last updated:** [6 March 2022 19:46 UTC](https://discourse.nodered.org/t/unknown-node-flow-does-not-start/59329 "2022-03-06T19:46:13Z")

</div>

Hi, I copied some flows from a friend to extract some functionalities. Unfortunately there are some unknown nodes included and Node-Red refuses to start. I would love to have these copied flows being ignored by Node-R…

---

## [Smappee API values missing](https://discourse.nodered.org/t/smappee-api-values-missing/59433)

<div class="topic-metadata">

**Author:** [@Olivia](https://discourse.nodered.org/u/Olivia)\
**Replies:** 2\
**Last updated:** [6 March 2022 18:05 UTC](https://discourse.nodered.org/t/smappee-api-values-missing/59433 "2022-03-06T18:05:23Z")

</div>

Hello everyone, i have a special question for you all and i dont know if anyone will know the answer... I am makeing a program to read values from an API from Smappee to plot them in the dashboard. The website where y…

---

## [Postgresql with nodered - Error: connect ECONNREFUSED 192.168.0.27:5432](https://discourse.nodered.org/t/postgresql-with-nodered-error-connect-econnrefused-192-168-0-27-5432/59408)

<div class="topic-metadata">

**Author:** [@retegi](https://discourse.nodered.org/u/retegi)\
**Replies:** 3\
**Last updated:** [6 March 2022 14:48 UTC](https://discourse.nodered.org/t/postgresql-with-nodered-error-connect-econnrefused-192-168-0-27-5432/59408 "2022-03-06T14:48:40Z")

</div>

Hi! I am trying to connect PostgreSQL with nodered, but: Error: connect ECONNREFUSED 192.168.0.27:5432 Nodered is inside a virtual machine (ip: 192.168.0.28) PostgreSQL isinside virtual machine (192.168.0.27) db\_ins…

---

## [Css and spacers](https://discourse.nodered.org/t/css-and-spacers/59421)

<div class="topic-metadata">

**Author:** [@paulalsmith1000](https://discourse.nodered.org/u/paulalsmith1000)\
**Replies:** 2\
**Last updated:** [6 March 2022 14:17 UTC](https://discourse.nodered.org/t/css-and-spacers/59421 "2022-03-06T14:17:55Z")

</div>

Good evening, Could someone possibly tell me how to force a certain layout on a tab? I would like to have a home icon on each tab which you can click on to go back to homepage (funnily enough). In the attached flow I …

---

## [IOT2040 node-red-contrib-fred](https://discourse.nodered.org/t/iot2040-node-red-contrib-fred/59435)

<div class="topic-metadata">

**Author:** [@KasiaM](https://discourse.nodered.org/u/KasiaM)\
**Replies:** 6\
**Last updated:** [6 March 2022 13:43 UTC](https://discourse.nodered.org/t/iot2040-node-red-contrib-fred/59435 "2022-03-06T13:43:08Z")

</div>

Hi, I am new to node red and IOT2040 and I am trying to connect my process with node-red fred cloud via Siemens IOT2040. I have installed node-red-contrib-fred on my IOT2040 using npm install -g node-red-contrib-fred …

---

## [Counting elapsed time](https://discourse.nodered.org/t/counting-elapsed-time/59432)

<div class="topic-metadata">

**Author:** [@PanK](https://discourse.nodered.org/u/PanK)\
**Replies:** 6\
**Last updated:** [6 March 2022 12:11 UTC](https://discourse.nodered.org/t/counting-elapsed-time/59432 "2022-03-06T12:11:53Z")

</div>

Hi, I need some help working on a project since I am not so familiar with JavaScript. What I need is the time between when the user on the emergency slider ON and OFF. The time also has to accumulate every time the stat…

---

## [Error using node-red-start script](https://discourse.nodered.org/t/error-using-node-red-start-script/59414)

<div class="topic-metadata">

**Author:** [@gjuecat](https://discourse.nodered.org/u/gjuecat)\
**Replies:** 7\
**Last updated:** [6 March 2022 11:00 UTC](https://discourse.nodered.org/t/error-using-node-red-start-script/59414 "2022-03-06T11:00:37Z")

</div>

I'm using node RED on Debian, installed it with npm and also installed the pi script. bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) If I start node RE…

---

## [How to triggers at event time coming](https://discourse.nodered.org/t/how-to-triggers-at-event-time-coming/59422)

<div class="topic-metadata">

**Author:** [@mrrobot](https://discourse.nodered.org/u/mrrobot)\
**Replies:** 14\
**Last updated:** [6 March 2022 10:43 UTC](https://discourse.nodered.org/t/how-to-triggers-at-event-time-coming/59422 "2022-03-06T10:43:13Z")

</div>

Hi Everyone, Anyone can help and advise how to triggers play mp3 at event time coming (e.g sunrise/sunset time). I need do trigger to play mp3 once event is coming. I can play mp3 to cast with inject manually. but i ca…

---

## [How to graph a table with date label](https://discourse.nodered.org/t/how-to-graph-a-table-with-date-label/59400)

<div class="topic-metadata">

**Author:** [@solarflor](https://discourse.nodered.org/u/solarflor)\
**Replies:** 1\
**Last updated:** [6 March 2022 08:52 UTC](https://discourse.nodered.org/t/how-to-graph-a-table-with-date-label/59400 "2022-03-06T08:52:57Z")

</div>

Hi, sorry, I'm new in Node-Red and to be honest I'm also new in Javascript but .... ... I want to learn. I would like to display in a dashboard some power values vs time. I have cretare a MariaDB table like the one b…

---

## [3D Buildings on worldmap](https://discourse.nodered.org/t/3d-buildings-on-worldmap/59246)

<div class="topic-metadata">

**Author:** [@Zak](https://discourse.nodered.org/u/Zak)\
**Replies:** 20\
**Last updated:** [5 March 2022 22:12 UTC](https://discourse.nodered.org/t/3d-buildings-on-worldmap/59246 "2022-03-05T22:12:36Z")

</div>

Hi there. i was checking the index3d.html in node red and after i have done my research i have found out that i require an API key from mapbox. i have created the API Key and created as well a style in mapbox, and i ha…

---

## [Advanced Blocker node (version 5)](https://discourse.nodered.org/t/advanced-blocker-node-version-5/59411)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [5 March 2022 21:23 UTC](https://discourse.nodered.org/t/advanced-blocker-node-version-5/59411 "2022-03-05T21:23:15Z")

</div>

After a few oops things locally this is now working a lot better and now does do what I wanted. Scope: You are getting messages and need to control their passage. There is the filter node (aka RBE) which does do a good…

---

## [Help this noob with this extremely simple JS function](https://discourse.nodered.org/t/help-this-noob-with-this-extremely-simple-js-function/59390)

<div class="topic-metadata">

**Author:** [@Anonimo\_Llopi](https://discourse.nodered.org/u/Anonimo_Llopi)\
**Replies:** 4\
**Last updated:** [5 March 2022 19:38 UTC](https://discourse.nodered.org/t/help-this-noob-with-this-extremely-simple-js-function/59390 "2022-03-05T19:38:44Z")

</div>

tl;dr: The only thing I actually need to know is how to separate 3 values from a string (they are separated by a enter) and also convert them into number (since they are numbers in string form) from the output of the joi…

---

## [What am I doing wrong? (multiple outputs from function)](https://discourse.nodered.org/t/what-am-i-doing-wrong-multiple-outputs-from-function/59406)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 3\
**Last updated:** [5 March 2022 18:54 UTC](https://discourse.nodered.org/t/what-am-i-doing-wrong-multiple-outputs-from-function/59406 "2022-03-05T18:54:11Z")

</div>

msg.payload = true; return \[ msg, null \]; Why does my function only have one output? Even with two message objects, I still only get one output: var msg1 = {}; var msg2 = {}; msg1 = true; msg2 = false; return \[msg1 …

---

## [XML page TO database INFLUXDB](https://discourse.nodered.org/t/xml-page-to-database-influxdb/59388)

<div class="topic-metadata">

**Author:** [@radiolinux](https://discourse.nodered.org/u/radiolinux)\
**Replies:** 13\
**Last updated:** [5 March 2022 16:39 UTC](https://discourse.nodered.org/t/xml-page-to-database-influxdb/59388 "2022-03-05T16:39:32Z")

</div>

Hello everybody. I started using node-red recently and I discovered that it is a very powerful application with which infinite automations can be created. I searched in this forum but without success, an example or sugg…

---

## [Goto local ip address and open page](https://discourse.nodered.org/t/goto-local-ip-address-and-open-page/59396)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 6\
**Last updated:** [5 March 2022 16:23 UTC](https://discourse.nodered.org/t/goto-local-ip-address-and-open-page/59396 "2022-03-05T16:23:22Z")

</div>

Hi, is there a way i can redirect to a local ip address for example http://192.168.0.152 and open the page for viewing from node red. the address displays my external camera. I am sure there is a way but not sure which…

---

## [Format for Alexa Applestrudel Custom Text Command?](https://discourse.nodered.org/t/format-for-alexa-applestrudel-custom-text-command/59382)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 11\
**Last updated:** [5 March 2022 15:41 UTC](https://discourse.nodered.org/t/format-for-alexa-applestrudel-custom-text-command/59382 "2022-03-05T15:41:41Z")

</div>

I am at a loss to figure out the JSON format for the Alexa Applestrudel node for a text command. I have it working for "speak" but just can't get it right for "text command".

---

## [Exec node is not responding](https://discourse.nodered.org/t/exec-node-is-not-responding/58740)

<div class="topic-metadata">

**Author:** [@SS-Akhilesh-Appala](https://discourse.nodered.org/u/SS-Akhilesh-Appala)\
**Replies:** 26\
**Last updated:** [5 March 2022 11:31 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740 "2022-03-05T11:31:36Z")

</div>

Hi Team, I have implemented a node-red flow and accessed the flow by exposing it through an API. API will trigger the Execute node through which the command will execute based on API params. Once I load the flow using…

---

## [How to auto detect list of Topics from Dynamic MQTT subscription](https://discourse.nodered.org/t/how-to-auto-detect-list-of-topics-from-dynamic-mqtt-subscription/59393)

<div class="topic-metadata">

**Author:** [@CheeKC](https://discourse.nodered.org/u/CheeKC)\
**Replies:** 7\
**Last updated:** [5 March 2022 11:30 UTC](https://discourse.nodered.org/t/how-to-auto-detect-list-of-topics-from-dynamic-mqtt-subscription/59393 "2022-03-05T11:30:02Z")

</div>

Hi, I am trying to use Dynamic Subscription on MQTT to read all the available published Topics from a MQTT broker. The reason is we don't know all the published Topic beforehand and need an automatic discovery method to…

---

## [MQTT node name formatting](https://discourse.nodered.org/t/mqtt-node-name-formatting/59391)

<div class="topic-metadata">

**Author:** [@sneakynuts](https://discourse.nodered.org/u/sneakynuts)\
**Replies:** 7\
**Last updated:** [5 March 2022 10:11 UTC](https://discourse.nodered.org/t/mqtt-node-name-formatting/59391 "2022-03-05T10:11:10Z")

</div>

Just curious as to why the spacing of naming the node is different between the mqtt in vs out? As you can see the unifi 'out' node is larger than the 'in' node, yet it they are the same character count.. It looks lik…

---

## [Can i use EXE file for deploy node red?](https://discourse.nodered.org/t/can-i-use-exe-file-for-deploy-node-red/59394)

<div class="topic-metadata">

**Author:** [@naveenpnk6](https://discourse.nodered.org/u/naveenpnk6)\
**Replies:** 2\
**Last updated:** [5 March 2022 08:55 UTC](https://discourse.nodered.org/t/can-i-use-exe-file-for-deploy-node-red/59394 "2022-03-05T08:55:42Z")

</div>

Can I create .exe file to automatically start the flow in command prompt and deploy node red?

---

## [Telegram and "receiver node"](https://discourse.nodered.org/t/telegram-and-receiver-node/59395)

<div class="topic-metadata">

**Author:** [@mimuncito](https://discourse.nodered.org/u/mimuncito)\
**Replies:** 0\
**Last updated:** [5 March 2022 08:34 UTC](https://discourse.nodered.org/t/telegram-and-receiver-node/59395 "2022-03-05T08:34:50Z")

</div>

The "Sonarr\_bot" is sending me periodically info about the new grabbed/uploaded episodes, it would be really useful for me to output this information from Telegram via a tts service. The "receiver" node was configured c…

---

## [How to pass dynamic influxdb query input filter?](https://discourse.nodered.org/t/how-to-pass-dynamic-influxdb-query-input-filter/59361)

<div class="topic-metadata">

**Author:** [@akashtalole](https://discourse.nodered.org/u/akashtalole)\
**Replies:** 6\
**Last updated:** [5 March 2022 07:41 UTC](https://discourse.nodered.org/t/how-to-pass-dynamic-influxdb-query-input-filter/59361 "2022-03-05T07:41:07Z")

</div>

I am using node-red-contrib-influxdb I want to pass dynamic deviceId selected from dashboard(coming in msg.deviceId) to below query field deviceId. How to achive this? msg.query=\`from(bucket: "localnrf") |\> range(sta…

---

## [Is it impossible to maintain a reliable 1-1 relationship between nodes and external entities?](https://discourse.nodered.org/t/is-it-impossible-to-maintain-a-reliable-1-1-relationship-between-nodes-and-external-entities/59380)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 3\
**Last updated:** [4 March 2022 23:43 UTC](https://discourse.nodered.org/t/is-it-impossible-to-maintain-a-reliable-1-1-relationship-between-nodes-and-external-entities/59380 "2022-03-04T23:43:14Z")

</div>

What I'm referring to is: you create a node in a flow a corresponding resource is created in some external system/service as you edit the flow, restart node-red, disable flows, re-enable flows, etc. the 1-1 relationshi…

---

## [Onkyo Eispc formatting](https://discourse.nodered.org/t/onkyo-eispc-formatting/59387)

<div class="topic-metadata">

**Author:** [@hengy77](https://discourse.nodered.org/u/hengy77)\
**Replies:** 0\
**Last updated:** [4 March 2022 23:39 UTC](https://discourse.nodered.org/t/onkyo-eispc-formatting/59387 "2022-03-04T23:39:34Z")

</div>

I’ve been able to add several controls for the onkyo eispc control. One issue I’m having is calling internet presets. I wonder if anyone can help me. The dialogue should look something like this but it doesn’t seem to w…

---

## [Unable to retrieve data from http request](https://discourse.nodered.org/t/unable-to-retrieve-data-from-http-request/59330)

<div class="topic-metadata">

**Author:** [@OllyB](https://discourse.nodered.org/u/OllyB)\
**Replies:** 4\
**Last updated:** [4 March 2022 22:20 UTC](https://discourse.nodered.org/t/unable-to-retrieve-data-from-http-request/59330 "2022-03-04T22:20:07Z")

</div>

Hello all, I am trying to retrieve data from an xml file on an ethernet-connected energy meter on my local network. When I connect to the meter using a browser (Chrome) at 192.168.1.60/readings.xml and use the Develope…

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

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