# Latest

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

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

**Page:** 366

---

## [Error code in RTSP stream decoding](https://discourse.nodered.org/t/error-code-in-rtsp-stream-decoding/77192)

<div class="topic-metadata">

**Author:** [@lodv](https://discourse.nodered.org/u/lodv)\
**Replies:** 18\
**Last updated:** [5 April 2023 10:52 UTC](https://discourse.nodered.org/t/error-code-in-rtsp-stream-decoding/77192 "2023-04-05T10:52:43Z")

</div>

This is the code I use to decode my rtsp stream from an Sonoff camera (GK-200MP2-B): ffmpeg -f rtsp -i "rtsp://rtsp:xxxxxx@192.168.178.73:554/av\_stream/ch0" -f image2pipe pipe:1 xxxx = the code I received from the c…

---

## [How to get total duration of state?](https://discourse.nodered.org/t/how-to-get-total-duration-of-state/77245)

<div class="topic-metadata">

**Author:** [@ferdoo](https://discourse.nodered.org/u/ferdoo)\
**Replies:** 3\
**Last updated:** [5 April 2023 08:53 UTC](https://discourse.nodered.org/t/how-to-get-total-duration-of-state/77245 "2023-04-05T08:53:32Z")

</div>

Hi, I want to calculate machine running hours based on his state stored in influx DB. Question is how to retrive total duration of a value from influxDB with flux query? The grafana can nice show the state timeline \> g…

---

## [Blue background color forced by "template" node style rule](https://discourse.nodered.org/t/blue-background-color-forced-by-template-node-style-rule/77222)

<div class="topic-metadata">

**Author:** [@kansaandre](https://discourse.nodered.org/u/kansaandre)\
**Replies:** 3\
**Last updated:** [5 April 2023 08:16 UTC](https://discourse.nodered.org/t/blue-background-color-forced-by-template-node-style-rule/77222 "2023-04-05T08:16:09Z")

</div>

There is a rule being applied by the "template" node that is causing issues for me when exporting SVG code from draw.io and importing it to node-red into the template node. Issue is blue background color overwriting fil…

---

## [Splitting arrays from an accelerometer into small records for Influxdb](https://discourse.nodered.org/t/splitting-arrays-from-an-accelerometer-into-small-records-for-influxdb/77252)

<div class="topic-metadata">

**Author:** [@seismo](https://discourse.nodered.org/u/seismo)\
**Replies:** 3\
**Last updated:** [5 April 2023 07:04 UTC](https://discourse.nodered.org/t/splitting-arrays-from-an-accelerometer-into-small-records-for-influxdb/77252 "2023-04-05T07:04:10Z")

</div>

Hi, I am trying to convert the MQTT msg below into separate records for the ingest InfluxDB node: {"device\_id":"VEHIGE9820","sr":32,"device\_t":1680654643559, "x":\[324,294,358,230,279,332,385,490,381,362,290,336,328,275,…

---

## [Error: Module not allowed - UI Media](https://discourse.nodered.org/t/error-module-not-allowed-ui-media/77082)

<div class="topic-metadata">

**Author:** [@soerenbull](https://discourse.nodered.org/u/soerenbull)\
**Replies:** 9\
**Last updated:** [5 April 2023 06:00 UTC](https://discourse.nodered.org/t/error-module-not-allowed-ui-media/77082 "2023-04-05T06:00:17Z")

</div>

Hey. Newbie to Node-Red. After installation the UI Module for dashboard i get the following error in CMD \[error\] \[ui\_media:b29d1cdb02d2be5f\] Error: Module not allowed Tried both installaing by Palette and npm Any su…

---

## [How to access auth\_token](https://discourse.nodered.org/t/how-to-access-auth-token/77238)

<div class="topic-metadata">

**Author:** [@sabir](https://discourse.nodered.org/u/sabir)\
**Replies:** 2\
**Last updated:** [5 April 2023 04:03 UTC](https://discourse.nodered.org/t/how-to-access-auth-token/77238 "2023-04-05T04:03:24Z")

</div>

I saw this PR is merged Feature add: Store external token when authenticate if provided by ArFe · Pull Request #3460 · node-red/node-red · GitHub. Now I'm able to authenticate with external api and set the token which a…

---

## [Alternative to LED node](https://discourse.nodered.org/t/alternative-to-led-node/77224)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 19\
**Last updated:** [5 April 2023 01:38 UTC](https://discourse.nodered.org/t/alternative-to-led-node/77224 "2023-04-05T01:38:04Z")

</div>

I've been using the dashboard LED node for several of my flows but it lacks one feature... flashing. Does anyone know of a alternative node with the same features as the LED node but with the option of flashing?

---

## [Tabulator in ui-template issue with js from unpkg.com](https://discourse.nodered.org/t/tabulator-in-ui-template-issue-with-js-from-unpkg-com/77244)

<div class="topic-metadata">

**Author:** [@Vilnis\_R](https://discourse.nodered.org/u/Vilnis_R)\
**Replies:** 2\
**Last updated:** [4 April 2023 20:12 UTC](https://discourse.nodered.org/t/tabulator-in-ui-template-issue-with-js-from-unpkg-com/77244 "2023-04-04T20:12:08Z")

</div>

Hi! I am looking for an editable table where one column value can be selected from dropdown list which is populated from incoming msg. I was looking at node-red-contrib-ui-etable but it can handle only predefined values. …

---

## [How to secure Node-Red in Docker container?](https://discourse.nodered.org/t/how-to-secure-node-red-in-docker-container/77249)

<div class="topic-metadata">

**Author:** [@agentsmith1612](https://discourse.nodered.org/u/agentsmith1612)\
**Replies:** 3\
**Last updated:** [4 April 2023 18:56 UTC](https://discourse.nodered.org/t/how-to-secure-node-red-in-docker-container/77249 "2023-04-04T18:56:16Z")

</div>

Hello, I am running node-red in a docker container and want to make it secure in my network, in best case with user and password. I found a lot of "how to do..." and videos on youtube but it did not work for me because …

---

## [Flows and dashboard palette disappeared](https://discourse.nodered.org/t/flows-and-dashboard-palette-disappeared/77156)

<div class="topic-metadata">

**Author:** [@hary](https://discourse.nodered.org/u/hary)\
**Replies:** 26\
**Last updated:** [4 April 2023 19:01 UTC](https://discourse.nodered.org/t/flows-and-dashboard-palette-disappeared/77156 "2023-04-04T19:01:32Z")

</div>

Hi I'm running nodered on a headless RPi and my flows suddenly disappeared ! I was trying to setup mosquitto, then start nodered, and the connexion from remote machine at IP:1880 give me a blank flow. Also, the dashbo…

---

## [\[Announce\] Easy way of preview live data in your flows](https://discourse.nodered.org/t/announce-easy-way-of-preview-live-data-in-your-flows/52543)

<div class="topic-metadata">

**Author:** [@datdp](https://discourse.nodered.org/u/datdp)\
**Replies:** 7\
**Last updated:** [4 April 2023 17:10 UTC](https://discourse.nodered.org/t/announce-easy-way-of-preview-live-data-in-your-flows/52543 "2023-04-04T17:10:43Z")

</div>

Hello everybody, A version of node-red-contrib-datdp-data-review Show beautiful object in node status Show string split by \\n npm i @datdp88/node-red-contrib-datdp-data-review Have fun with it, DaTdP

---

## [PID Control with Limit // PV](https://discourse.nodered.org/t/pid-control-with-limit-pv/75733)

<div class="topic-metadata">

**Author:** [@Nick94](https://discourse.nodered.org/u/Nick94)\
**Replies:** 2\
**Last updated:** [4 April 2023 13:37 UTC](https://discourse.nodered.org/t/pid-control-with-limit-pv/75733 "2023-04-04T13:37:59Z")

</div>

Hi Guys, i want to do a Controller to heat my water with PV Energy when there is an "overflow". I grab the Data from my main meter and convert it to these numbers shown in the pictures. My Problem is, that i got low nu…

---

## [\[new node\] node-red-contrib-cip-ethernet-ip](https://discourse.nodered.org/t/new-node-node-red-contrib-cip-ethernet-ip/2251)

<div class="topic-metadata">

**Author:** [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Replies:** 39\
**Last updated:** [4 April 2023 13:15 UTC](https://discourse.nodered.org/t/new-node-node-red-contrib-cip-ethernet-ip/2251 "2023-04-04T13:15:36Z")

</div>

Hello @knolleary we published yesterday this new node for communication between node-red and Allen Bradley PLCs by using the "EtherNet/IP" protocol: https://www.npmjs.com/package/node-red-contrib-ethernet-ip Could you…

---

## [How to add custom nodes while running node-red inside docker? (without creating a npm package)](https://discourse.nodered.org/t/how-to-add-custom-nodes-while-running-node-red-inside-docker-without-creating-a-npm-package/76740)

<div class="topic-metadata">

**Author:** [@sabir](https://discourse.nodered.org/u/sabir)\
**Replies:** 3\
**Last updated:** [4 April 2023 12:19 UTC](https://discourse.nodered.org/t/how-to-add-custom-nodes-while-running-node-red-inside-docker-without-creating-a-npm-package/76740 "2023-04-04T12:19:43Z")

</div>

For locally running node-red I do cd ~/.node-red npm install ~/dev/node-red-contrib-example-lower-case Same things I want to achieve but inside docker node-red

---

## [Unable to install NODE-RED Linux Mint 21 XCFE](https://discourse.nodered.org/t/unable-to-install-node-red-linux-mint-21-xcfe/77203)

<div class="topic-metadata">

**Author:** [@vikingsraven](https://discourse.nodered.org/u/vikingsraven)\
**Replies:** 9\
**Last updated:** [4 April 2023 11:24 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-linux-mint-21-xcfe/77203 "2023-04-04T11:24:14Z")

</div>

HI, we are trying to put node red on a Intel NUC Core i3 device. Put Linux Mint 21 on there as base OS, tried to install using the Bash script and its refusing to install node-red core. got Node js 18.15.00 npm is v…

---

## [Request ENV variables to also be shown in the context menu](https://discourse.nodered.org/t/request-env-variables-to-also-be-shown-in-the-context-menu/77219)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [4 April 2023 09:04 UTC](https://discourse.nodered.org/t/request-env-variables-to-also-be-shown-in-the-context-menu/77219 "2023-04-04T09:04:27Z")

</div>

In the edit screen on the right there are options for showing either: information help debug config dashboard context and others. In the context menu you can select/see node flow and global values. But with…

---

## [Custom Auth is not working](https://discourse.nodered.org/t/custom-auth-is-not-working/77233)

<div class="topic-metadata">

**Author:** [@sabir](https://discourse.nodered.org/u/sabir)\
**Replies:** 0\
**Last updated:** [4 April 2023 07:57 UTC](https://discourse.nodered.org/t/custom-auth-is-not-working/77233 "2023-04-04T07:57:30Z")

</div>

I implemented the custom authentication, when I login with correct credentials It just refresh it and keep me to the login page /auth/token is responding with access token and token type http://localhost:1880/settings?…

---

## [Custom user authentication not working](https://discourse.nodered.org/t/custom-user-authentication-not-working/5984)

<div class="topic-metadata">

**Author:** [@jdiegosierra](https://discourse.nodered.org/u/jdiegosierra)\
**Replies:** 4\
**Last updated:** [4 April 2023 08:10 UTC](https://discourse.nodered.org/t/custom-user-authentication-not-working/5984 "2023-04-04T08:10:10Z")

</div>

I'm just trying to use Custom user authentication example. authenticate: function(username,password) { return new Promise(function(resolve) { // Do whatever work is needed to validate the username/password …

---

## [Exec node with async execution as well as stdin capability](https://discourse.nodered.org/t/exec-node-with-async-execution-as-well-as-stdin-capability/76606)

<div class="topic-metadata">

**Author:** [@sonntam](https://discourse.nodered.org/u/sonntam)\
**Replies:** 19\
**Last updated:** [4 April 2023 07:28 UTC](https://discourse.nodered.org/t/exec-node-with-async-execution-as-well-as-stdin-capability/76606 "2023-04-04T07:28:41Z")

</div>

Last year I had problems with the sqlite node making the whole node-red process unresponsive when accessing a large database file with complex SQL statements. I tinkered a bit and created a custom subflow-based exec nod…

---

## [Null value to join node](https://discourse.nodered.org/t/null-value-to-join-node/77226)

<div class="topic-metadata">

**Author:** [@Jhankhana](https://discourse.nodered.org/u/Jhankhana)\
**Replies:** 2\
**Last updated:** [4 April 2023 07:02 UTC](https://discourse.nodered.org/t/null-value-to-join-node/77226 "2023-04-04T07:02:57Z")

</div>

Hello there! Need help, I want to display data of 31 days on graph. Now, value 0 is also there. I have used change node to set topic for all the coming input value and then output of all change node is given to join no…

---

## [Disable nodes by using function node](https://discourse.nodered.org/t/disable-nodes-by-using-function-node/77212)

<div class="topic-metadata">

**Author:** [@Caroline](https://discourse.nodered.org/u/Caroline)\
**Replies:** 2\
**Last updated:** [4 April 2023 03:09 UTC](https://discourse.nodered.org/t/disable-nodes-by-using-function-node/77212 "2023-04-04T03:09:14Z")

</div>

I want to use the code to disable a specific nodes depends on its ID. For example node.id = '7465hjg' node.enable = false. I cannot find the right code for this task. Thanks in advance for any help.

---

## [Query string in HTTP Get Request](https://discourse.nodered.org/t/query-string-in-http-get-request/77218)

<div class="topic-metadata">

**Author:** [@sepdoce90](https://discourse.nodered.org/u/sepdoce90)\
**Replies:** 2\
**Last updated:** [4 April 2023 01:35 UTC](https://discourse.nodered.org/t/query-string-in-http-get-request/77218 "2023-04-04T01:35:32Z")

</div>

I'm trying to add a Query string the url from a payload response, but kind of stuck. Any help is much appreciated. object Response Debug \_msgid: "1db80dc515d48aaf" payload: object headers: object query: "var quer…

---

## [Fail to install tensorflow](https://discourse.nodered.org/t/fail-to-install-tensorflow/77114)

<div class="topic-metadata">

**Author:** [@amine1](https://discourse.nodered.org/u/amine1)\
**Replies:** 4\
**Last updated:** [4 April 2023 00:51 UTC](https://discourse.nodered.org/t/fail-to-install-tensorflow/77114 "2023-04-04T00:51:11Z")

</div>

hi, some one can help me to resolve this probleme when i try to install TENSORFLOW- NODE

---

## [Want to pause one audio until the second one done and restart the first one again](https://discourse.nodered.org/t/want-to-pause-one-audio-until-the-second-one-done-and-restart-the-first-one-again/77173)

<div class="topic-metadata">

**Author:** [@Caroline](https://discourse.nodered.org/u/Caroline)\
**Replies:** 1\
**Last updated:** [3 April 2023 23:55 UTC](https://discourse.nodered.org/t/want-to-pause-one-audio-until-the-second-one-done-and-restart-the-first-one-again/77173 "2023-04-03T23:55:03Z")

</div>

Hi, I am new to Node-red and want to create two ui-audio node with this conditions 1- First audio play in background. 2- when second audio start the first audio paused, 3- when the second audio finish, the first audio…

---

## [Tab env() not being seen when I try to read them](https://discourse.nodered.org/t/tab-env-not-being-seen-when-i-try-to-read-them/77215)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 1\
**Last updated:** [3 April 2023 23:15 UTC](https://discourse.nodered.org/t/tab-env-not-being-seen-when-i-try-to-read-them/77215 "2023-04-03T23:15:36Z")

</div>

I seem to be going in ever decreasing circles with this problem. So I have set two variables. FOO and blah. Ignore the debug stuff at this stage. That was from other tests. So Those are defined. I DEPLOY the fl…

---

## [How to save a value from a node to database](https://discourse.nodered.org/t/how-to-save-a-value-from-a-node-to-database/77129)

<div class="topic-metadata">

**Author:** [@kroonp](https://discourse.nodered.org/u/kroonp)\
**Replies:** 13\
**Last updated:** [3 April 2023 22:10 UTC](https://discourse.nodered.org/t/how-to-save-a-value-from-a-node-to-database/77129 "2023-04-03T22:10:49Z")

</div>

Hello all, I have a flow and in this flow a can save numbers in a sql database. I want te replace the numbers in the flow to dynamic numbers from sensor. I think a need tot do this with an array. I've tried different w…

---

## [$env() variables in normal flows - checking](https://discourse.nodered.org/t/env-variables-in-normal-flows-checking/76793)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [3 April 2023 21:54 UTC](https://discourse.nodered.org/t/env-variables-in-normal-flows-checking/76793 "2023-04-03T21:54:36Z")

</div>

(I'm a gluten for punishment.) I've decided to make more subflows. But while making them it is sometimes better to have them in the real world so I can watch what is going on in/with them. env$() that would be .....…

---

## [How can i change a variable with a payload](https://discourse.nodered.org/t/how-can-i-change-a-variable-with-a-payload/77188)

<div class="topic-metadata">

**Author:** [@DeWoAlliSeged7](https://discourse.nodered.org/u/DeWoAlliSeged7)\
**Replies:** 11\
**Last updated:** [3 April 2023 17:21 UTC](https://discourse.nodered.org/t/how-can-i-change-a-variable-with-a-payload/77188 "2023-04-03T17:21:15Z")

</div>

Hello I like to set a variable true or false if the payload from a device is true or false. In the moment I make the distinction in the python script. But I like to depend the message i send to the return message fr…

---

## [How do I create an account to use NODERED in Homematic CCU3?](https://discourse.nodered.org/t/how-do-i-create-an-account-to-use-nodered-in-homematic-ccu3/77161)

<div class="topic-metadata">

**Author:** [@Pemo](https://discourse.nodered.org/u/Pemo)\
**Replies:** 4\
**Last updated:** [3 April 2023 16:54 UTC](https://discourse.nodered.org/t/how-do-i-create-an-account-to-use-nodered-in-homematic-ccu3/77161 "2023-04-03T16:54:45Z")

</div>

No idea how to establish an account....

---

## [Drift simulation](https://discourse.nodered.org/t/drift-simulation/77202)

<div class="topic-metadata">

**Author:** [@arthurmouf](https://discourse.nodered.org/u/arthurmouf)\
**Replies:** 2\
**Last updated:** [3 April 2023 15:11 UTC](https://discourse.nodered.org/t/drift-simulation/77202 "2023-04-03T15:11:38Z")

</div>

Hi, My Node-red has a very strange behavior, and I would like to know if it's the case only for me or if someone else encounter this. I use a slider to simulate a drift on a given value. For the purpose of the exemple,…

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

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