# Latest

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

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

**Page:** 316

---

## [Node-red username and password in docker](https://discourse.nodered.org/t/node-red-username-and-password-in-docker/80380)

<div class="topic-metadata">

**Author:** [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)\
**Replies:** 1\
**Last updated:** [7 August 2023 19:22 UTC](https://discourse.nodered.org/t/node-red-username-and-password-in-docker/80380 "2023-08-07T19:22:37Z")

</div>

Hello! I'm trying to put a username/password on my node-red that is installed on Docker. For that, I would need to generate the hash, but the command doesn't work. When I try to install node-red-admin it doesn't work e…

---

## [How to convert a msg. string object to boolean](https://discourse.nodered.org/t/how-to-convert-a-msg-string-object-to-boolean/20068)

<div class="topic-metadata">

**Author:** [@Palmhoej](https://discourse.nodered.org/u/Palmhoej)\
**Replies:** 10\
**Last updated:** [7 August 2023 16:49 UTC](https://discourse.nodered.org/t/how-to-convert-a-msg-string-object-to-boolean/20068 "2023-08-07T16:49:43Z")

</div>

First of i am new to node red, but have some experience from arduino. I am trying to controll my Phillips Hue lights with a Hue switch, that outputs the following when pressed (in this case the "on" button have been pus…

---

## [Exchange of information between 10 PLCs S7-1200](https://discourse.nodered.org/t/exchange-of-information-between-10-plcs-s7-1200/80287)

<div class="topic-metadata">

**Author:** [@ViniciusMilan](https://discourse.nodered.org/u/ViniciusMilan)\
**Replies:** 7\
**Last updated:** [7 August 2023 15:34 UTC](https://discourse.nodered.org/t/exchange-of-information-between-10-plcs-s7-1200/80287 "2023-08-07T15:34:27Z")

</div>

Hello, I'm new to node red, and I have a demand where I need to exchange information between 10 siemens 1200 plcs, the idea of ​​the project is to centralize some 9 clps variables in a db in a central clp to show the inf…

---

## [Cronplus node input settings dont work](https://discourse.nodered.org/t/cronplus-node-input-settings-dont-work/80371)

<div class="topic-metadata">

**Author:** [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Replies:** 19\
**Last updated:** [7 August 2023 15:02 UTC](https://discourse.nodered.org/t/cronplus-node-input-settings-dont-work/80371 "2023-08-07T15:02:42Z")

</div>

Hallo all Im trying to get "cronplus" node input to work. I have try to make a test setup, where I have a "inject" node whit msg.topic = msg.status, and a "cronplus" node there change evey 30 sec, from schedule1 to sch…

---

## [Debug window only works when refreshing cache in browser](https://discourse.nodered.org/t/debug-window-only-works-when-refreshing-cache-in-browser/80316)

<div class="topic-metadata">

**Author:** [@rvb](https://discourse.nodered.org/u/rvb)\
**Replies:** 21\
**Last updated:** [7 August 2023 14:59 UTC](https://discourse.nodered.org/t/debug-window-only-works-when-refreshing-cache-in-browser/80316 "2023-08-07T14:59:23Z")

</div>

My debug window only works when i refresh the cache in firefox with crtl+f5... how come?

---

## [Wrong Value in Array](https://discourse.nodered.org/t/wrong-value-in-array/80374)

<div class="topic-metadata">

**Author:** [@Phant0m-code](https://discourse.nodered.org/u/Phant0m-code)\
**Replies:** 8\
**Last updated:** [7 August 2023 14:41 UTC](https://discourse.nodered.org/t/wrong-value-in-array/80374 "2023-08-07T14:41:46Z")

</div>

Hello my dear friends, I need to create a small system where three input values of the power phase need to be summed. For this, I am using the "join" node to create an array. But the problem now is that the values from t…

---

## [Rf remote longpress](https://discourse.nodered.org/t/rf-remote-longpress/80291)

<div class="topic-metadata">

**Author:** [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Replies:** 1\
**Last updated:** [7 August 2023 10:14 UTC](https://discourse.nodered.org/t/rf-remote-longpress/80291 "2023-08-07T10:14:45Z")

</div>

Halle all I have now "Remote:Learn Command" in my homw assistant. I have a "Jysk Hoglo curtain" The remote have 3 commands. up, down and stop. And all works fine... Now to my problem. There are a memory function if…

---

## [Ansi to ascii or html](https://discourse.nodered.org/t/ansi-to-ascii-or-html/80364)

<div class="topic-metadata">

**Author:** [@nelgin](https://discourse.nodered.org/u/nelgin)\
**Replies:** 13\
**Last updated:** [7 August 2023 08:47 UTC](https://discourse.nodered.org/t/ansi-to-ascii-or-html/80364 "2023-08-07T08:47:43Z")

</div>

Hi all, I receive data that has ansi color coding and graphics and would like to translate it to make it somewhat more readable. Any suggestions on how I can do that without having to write my own function to translate …

---

## [Parsing and Formatting JSON Object for InfluxDB](https://discourse.nodered.org/t/parsing-and-formatting-json-object-for-influxdb/80325)

<div class="topic-metadata">

**Author:** [@thezfunk](https://discourse.nodered.org/u/thezfunk)\
**Replies:** 13\
**Last updated:** [7 August 2023 06:20 UTC](https://discourse.nodered.org/t/parsing-and-formatting-json-object-for-influxdb/80325 "2023-08-07T06:20:43Z")

</div>

Hi Everyone. I am new here and new to Node-Red and Influxdb for that matter. I had some intro programming courses 20 years ago and was never my favorite. With that being said, I am trying to take license plate data fr…

---

## [Request of public beanstalkd node (with sponsorship)](https://discourse.nodered.org/t/request-of-public-beanstalkd-node-with-sponsorship/80061)

<div class="topic-metadata">

**Author:** [@tolgaulas](https://discourse.nodered.org/u/tolgaulas)\
**Replies:** 5\
**Last updated:** [6 August 2023 22:33 UTC](https://discourse.nodered.org/t/request-of-public-beanstalkd-node-with-sponsorship/80061 "2023-08-06T22:33:56Z")

</div>

I am curious would anyone be interested if we sponsor a public repo in github for the endeavor of a beanstalkd nodes that can do the basic i/o to begin with.

---

## [Decrease vertical space and stop sorting](https://discourse.nodered.org/t/decrease-vertical-space-and-stop-sorting/80346)

<div class="topic-metadata">

**Author:** [@nelgin](https://discourse.nodered.org/u/nelgin)\
**Replies:** 5\
**Last updated:** [6 August 2023 20:20 UTC](https://discourse.nodered.org/t/decrease-vertical-space-and-stop-sorting/80346 "2023-08-06T20:20:26Z")

</div>

First, how do I decrease the vertical spacing between the output of a node? I want the text right under each other, not half an inch apart. Secondly, why is it sorting? I laid out my design in a specific order and I e…

---

## [Time & Timestamps not synced](https://discourse.nodered.org/t/time-timestamps-not-synced/80277)

<div class="topic-metadata">

**Author:** [@CJ10](https://discourse.nodered.org/u/CJ10)\
**Replies:** 2\
**Last updated:** [6 August 2023 18:28 UTC](https://discourse.nodered.org/t/time-timestamps-not-synced/80277 "2023-08-06T18:28:18Z")

</div>

Can someone start me off where/how I begin to resolve the time difference. I understand that Node-Red takes the time from the NTP server but it doesnt appear to be doing that. I set the time in Home Assistant, adding a…

---

## [Node-Red on TrueNAS Scale and functionGlobalContext](https://discourse.nodered.org/t/node-red-on-truenas-scale-and-functionglobalcontext/80351)

<div class="topic-metadata">

**Author:** [@wachcio](https://discourse.nodered.org/u/wachcio)\
**Replies:** 2\
**Last updated:** [6 August 2023 16:50 UTC](https://discourse.nodered.org/t/node-red-on-truenas-scale-and-functionglobalcontext/80351 "2023-08-06T16:50:03Z")

</div>

Hello I recently booted a computer with TrueNAS. I transfer the Node-Red configuration present on Synology NAS to it. On TrueNAS, Node-RED runs as a Docker container. The following are available externally: "flows.json …

---

## [EXEC Node and ./e3dcset](https://discourse.nodered.org/t/exec-node-and-e3dcset/80354)

<div class="topic-metadata">

**Author:** [@dancekid](https://discourse.nodered.org/u/dancekid)\
**Replies:** 2\
**Last updated:** [6 August 2023 16:47 UTC](https://discourse.nodered.org/t/exec-node-and-e3dcset/80354 "2023-08-06T16:47:37Z")

</div>

Good evening, i am a newbie to node-red trying to use EXEC-Node to start a program. simple run /home/e3dcset/e3dcset does not work changing directory to /home/e3dcset and simple type e3dcset does not work i need to s…

---

## [How to read database with function 0x03?](https://discourse.nodered.org/t/how-to-read-database-with-function-0x03/80355)

<div class="topic-metadata">

**Author:** [@Guudiin](https://discourse.nodered.org/u/Guudiin)\
**Replies:** 0\
**Last updated:** [6 August 2023 16:44 UTC](https://discourse.nodered.org/t/how-to-read-database-with-function-0x03/80355 "2023-08-06T16:44:16Z")

</div>

The modbus devices I'm testing use function 0x64. Like many SCADA software it does not work with this function, node-red is essential to send data at 0x64 and process that data. With that in mind, I created a routine th…

---

## [What happens to flows.json when I enable projects?](https://discourse.nodered.org/t/what-happens-to-flows-json-when-i-enable-projects/80345)

<div class="topic-metadata">

**Author:** [@AndreKR](https://discourse.nodered.org/u/AndreKR)\
**Replies:** 3\
**Last updated:** [6 August 2023 15:24 UTC](https://discourse.nodered.org/t/what-happens-to-flows-json-when-i-enable-projects/80345 "2023-08-06T15:24:43Z")

</div>

As I understand as long as you have a project open, the old flows.json isn't used at all? Is there a way to go back to it? Is it for users that don't have a project open? No, actually all users (including newly added o…

---

## [Advantech node-red](https://discourse.nodered.org/t/advantech-node-red/80323)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 11\
**Last updated:** [6 August 2023 14:08 UTC](https://discourse.nodered.org/t/advantech-node-red/80323 "2023-08-06T14:08:20Z")

</div>

i try to connect the adam-6017 to node-red in my laptop via Ethernet cable but i did not find any advantech nodes to communicate with . is there any other type to communicate with it via ip or tcp .

---

## [Flows missing after http securing](https://discourse.nodered.org/t/flows-missing-after-http-securing/80350)

<div class="topic-metadata">

**Author:** [@jiripaskov](https://discourse.nodered.org/u/jiripaskov)\
**Replies:** 1\
**Last updated:** [6 August 2023 13:29 UTC](https://discourse.nodered.org/t/flows-missing-after-http-securing/80350 "2023-08-06T13:29:33Z")

</div>

Hello, I created some flows in unsecured NodeRed. After I uncommented adminAuth and also httpNodeAuth. Now I must log in to edit Node Red which is OK. But, all my previous flows are away because now I´m logged as "admin…

---

## [What data type does Nodered export to MQTT?](https://discourse.nodered.org/t/what-data-type-does-nodered-export-to-mqtt/80154)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 12\
**Last updated:** [6 August 2023 10:44 UTC](https://discourse.nodered.org/t/what-data-type-does-nodered-export-to-mqtt/80154 "2023-08-06T10:44:17Z")

</div>

Hey All, I'm sending data to an esp8266 over mqtt and I need to know what kind of data is being sent from nodered. ascii? utf-8? or raw? or??? As far as I know I'm not declaring/defining these anywhere in my flows t…

---

## [Can a Change node access its own context?](https://discourse.nodered.org/t/can-a-change-node-access-its-own-context/80342)

<div class="topic-metadata">

**Author:** [@AndreKR](https://discourse.nodered.org/u/AndreKR)\
**Replies:** 2\
**Last updated:** [6 August 2023 08:14 UTC](https://discourse.nodered.org/t/can-a-change-node-access-its-own-context/80342 "2023-08-06T08:14:36Z")

</div>

In the configuration of the Change node I can access flow and global context by choosing flow. or global. from the dropdown. But can it not access its own context? There is no context. in the dropdown. For example I if…

---

## [Oracle Cloud problem ¨- SOLVED](https://discourse.nodered.org/t/oracle-cloud-problem-solved/80340)

<div class="topic-metadata">

**Author:** [@jiripaskov](https://discourse.nodered.org/u/jiripaskov)\
**Replies:** 10\
**Last updated:** [6 August 2023 08:14 UTC](https://discourse.nodered.org/t/oracle-cloud-problem-solved/80340 "2023-08-06T08:14:21Z")

</div>

Hello. I used this manual to install Nodered https://blogs.oracle.com/developers/post/installing-node-red-in-an-always-free-vm-on-oracle-cloud. Port 1880 is opened from internet on my public IP. sudo firewall-cmd --lis…

---

## [Store data variables after reboot](https://discourse.nodered.org/t/store-data-variables-after-reboot/80194)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 2\
**Last updated:** [6 August 2023 05:07 UTC](https://discourse.nodered.org/t/store-data-variables-after-reboot/80194 "2023-08-06T05:07:25Z")

</div>

Hi all I would like store data and variable in node red because until now all variable are lost after reboot. Can some one help me? Many thanks

---

## [Turn Light off if temperature drops within a specific time period](https://discourse.nodered.org/t/turn-light-off-if-temperature-drops-within-a-specific-time-period/80197)

<div class="topic-metadata">

**Author:** [@terminus](https://discourse.nodered.org/u/terminus)\
**Replies:** 2\
**Last updated:** [6 August 2023 04:59 UTC](https://discourse.nodered.org/t/turn-light-off-if-temperature-drops-within-a-specific-time-period/80197 "2023-08-06T04:59:50Z")

</div>

Hi guys, maybe you can help me. I want to turn off a light if a measured temperature changes a predefined interval within a given time period. E.G. if the temperature drops from 35° to 30° within 15 minutes, turn the li…

---

## [Dimmer to homeassistant via nodered](https://discourse.nodered.org/t/dimmer-to-homeassistant-via-nodered/80336)

<div class="topic-metadata">

**Author:** [@plekke](https://discourse.nodered.org/u/plekke)\
**Replies:** 3\
**Last updated:** [6 August 2023 04:33 UTC](https://discourse.nodered.org/t/dimmer-to-homeassistant-via-nodered/80336 "2023-08-06T04:33:49Z")

</div>

i hava a light fysicly that use , ant the brightnes i control it via rs232. i can make a flow in nodered , ant control it via my serial port ( light on , off , brighness , status , etc) . now i want in homeassistant th…

---

## [Projects: Do I need to create remote branches manually?](https://discourse.nodered.org/t/projects-do-i-need-to-create-remote-branches-manually/80343)

<div class="topic-metadata">

**Author:** [@AndreKR](https://discourse.nodered.org/u/AndreKR)\
**Replies:** 0\
**Last updated:** [6 August 2023 00:34 UTC](https://discourse.nodered.org/t/projects-do-i-need-to-create-remote-branches-manually/80343 "2023-08-06T00:34:27Z")

</div>

I'm playing around with the Projects feature and I quite like it. What confuses me a bit is the use of remote repositories. How do I push the local branch to the remote? Do I have to create the remote branch manually, t…

---

## [I don't understand why this is \*failing\* - subflow output. I've tried to understand it, but failed](https://discourse.nodered.org/t/i-dont-understand-why-this-is-failing-subflow-output-ive-tried-to-understand-it-but-failed/80330)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [5 August 2023 22:15 UTC](https://discourse.nodered.org/t/i-dont-understand-why-this-is-failing-subflow-output-ive-tried-to-understand-it-but-failed/80330 "2023-08-05T22:15:55Z")

</div>

Sorry folks, I've just spent a lot of time (some by mistake) chasing shadows to what is going on. I found some problems but not all. Now I've found the crux of the matter. To help I've supplied 3 versions. 1 working;…

---

## [To use framework or not?](https://discourse.nodered.org/t/to-use-framework-or-not/80302)

<div class="topic-metadata">

**Author:** [@orrinen](https://discourse.nodered.org/u/orrinen)\
**Replies:** 3\
**Last updated:** [5 August 2023 19:12 UTC](https://discourse.nodered.org/t/to-use-framework-or-not/80302 "2023-08-05T19:12:08Z")

</div>

What's the point in using frameworks like svelte or vue for uibuilder? What becomes easier? So far im ok without framework. But i suspect svelte/vue makes processes easier when making charts,forms and multiple pages. …

---

## [Env variable at runtime?](https://discourse.nodered.org/t/env-variable-at-runtime/80335)

<div class="topic-metadata">

**Author:** [@pacmanmt](https://discourse.nodered.org/u/pacmanmt)\
**Replies:** 6\
**Last updated:** [5 August 2023 18:55 UTC](https://discourse.nodered.org/t/env-variable-at-runtime/80335 "2023-08-05T18:55:12Z")

</div>

Maybe it is only a silly question due to my dumbness in programming. Is it possible to define an env variable inside a flow so that other flows can access it? Thank you in advance for helping out

---

## [Close and release serial Com ports from within flows](https://discourse.nodered.org/t/close-and-release-serial-com-ports-from-within-flows/80329)

<div class="topic-metadata">

**Author:** [@MadTooler](https://discourse.nodered.org/u/MadTooler)\
**Replies:** 9\
**Last updated:** [5 August 2023 12:46 UTC](https://discourse.nodered.org/t/close-and-release-serial-com-ports-from-within-flows/80329 "2023-08-05T12:46:44Z")

</div>

As I have seen others searching in a couple of older posts, I need to release the Serial Com port from within running flows for use by other software. My specific need is to release my rpi pico boards from communication…

---

## [Adding css to Template html script out put](https://discourse.nodered.org/t/adding-css-to-template-html-script-out-put/80328)

<div class="topic-metadata">

**Author:** [@vk4tux](https://discourse.nodered.org/u/vk4tux)\
**Replies:** 3\
**Last updated:** [5 August 2023 12:22 UTC](https://discourse.nodered.org/t/adding-css-to-template-html-script-out-put/80328 "2023-08-05T12:22:16Z")

</div>

I have a template node containing this html script \<!DOCTYPE html\> \<html lang=""\> \<head\> \<meta charset="utf-8"\> \<title\>\</title\> \</head\> \<body\> \<header\>\</header\> \<main\>\</main\> \<footer\>\</footer\> …

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

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