# Latest

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

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

**Page:** 561

---

## [How to make a button do the action ONLY if the the switch is switched on?](https://discourse.nodered.org/t/how-to-make-a-button-do-the-action-only-if-the-the-switch-is-switched-on/63290)

<div class="topic-metadata">

**Author:** [@lumanga](https://discourse.nodered.org/u/lumanga)\
**Replies:** 5\
**Last updated:** [31 May 2022 16:40 UTC](https://discourse.nodered.org/t/how-to-make-a-button-do-the-action-only-if-the-the-switch-is-switched-on/63290 "2022-05-31T16:40:38Z")

</div>

Hi All, I'm in trouble with this project. I just wanto to have a Switch, plus a Button. I want that pressing the button, the button do the action ONLY if the the switch is switched on! (Is a kind of safety) I try in …

---

## [Debug Node don't show output](https://discourse.nodered.org/t/debug-node-dont-show-output/63141)

<div class="topic-metadata">

**Author:** [@BearGrillz](https://discourse.nodered.org/u/BearGrillz)\
**Replies:** 18\
**Last updated:** [31 May 2022 16:34 UTC](https://discourse.nodered.org/t/debug-node-dont-show-output/63141 "2022-05-31T16:34:09Z")

</div>

Hi, im trying to build a simple flow: An AWS Lambda Function that just return a value An input node that on trigger execute a Function Node that use AWS SDK in Js to simply invoke my function and save the message in ms…

---

## [Issue with ui\_text\_input](https://discourse.nodered.org/t/issue-with-ui-text-input/63281)

<div class="topic-metadata">

**Author:** [@aitor](https://discourse.nodered.org/u/aitor)\
**Replies:** 2\
**Last updated:** [31 May 2022 14:47 UTC](https://discourse.nodered.org/t/issue-with-ui-text-input/63281 "2022-05-31T14:47:01Z")

</div>

Hello there, I'm facing an issue with ui\_test\_input nodes. My goal is to set a default value for the dashboard user in these nodes. I configured the text\_input node as "datetime picker" so I inject a datetime value in …

---

## [New smart wifi radiator valves from Shelly](https://discourse.nodered.org/t/new-smart-wifi-radiator-valves-from-shelly/55876)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 143\
**Last updated:** [31 May 2022 14:42 UTC](https://discourse.nodered.org/t/new-smart-wifi-radiator-valves-from-shelly/55876 "2022-05-31T14:42:08Z")

</div>

Hi folks I pauzed my node developments temporarily to be able to work on my own home automation. And I must admit that my Shelly plug S switches work very smooth, and are very easy to integrate into Node-RED. So I star…

---

## [Wrong ui-page when deploy](https://discourse.nodered.org/t/wrong-ui-page-when-deploy/63303)

<div class="topic-metadata">

**Author:** [@RuneStone](https://discourse.nodered.org/u/RuneStone)\
**Replies:** 1\
**Last updated:** [31 May 2022 14:08 UTC](https://discourse.nodered.org/t/wrong-ui-page-when-deploy/63303 "2022-05-31T14:08:54Z")

</div>

I am using some pages from node red ui embedded on another system(2) using iframe. I made a script that reloads the page every 60s so the iframe does not cache.. My problem now is that when i change anything in node re…

---

## [Odd \`exec\` node result using \`amixer -v'](https://discourse.nodered.org/t/odd-exec-node-result-using-amixer-v/62963)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 7\
**Last updated:** [31 May 2022 13:28 UTC](https://discourse.nodered.org/t/odd-exec-node-result-using-amixer-v/62963 "2022-05-31T13:28:35Z")

</div>

Node-RED running on a Pi Zero W v1.1 Raspbian GNU/Linux 11 (bullseye) desktop version Node-RED version: v2.2.2 Node.js version: v14.19.1 accessing NR from Mac Mini Safari Using the exec node and sending the command…

---

## [How to insert a delay between rules in a function node?](https://discourse.nodered.org/t/how-to-insert-a-delay-between-rules-in-a-function-node/63301)

<div class="topic-metadata">

**Author:** [@g00r](https://discourse.nodered.org/u/g00r)\
**Replies:** 1\
**Last updated:** [31 May 2022 13:04 UTC](https://discourse.nodered.org/t/how-to-insert-a-delay-between-rules-in-a-function-node/63301 "2022-05-31T13:04:42Z")

</div>

Hi all, I'm using Node Red to control devices around my home based on time of day Solar production Price of electricity How much energy I'm exporting. While the rules themselves are working as expected, the issue I'm…

---

## [Changing the name of a class name?](https://discourse.nodered.org/t/changing-the-name-of-a-class-name/63300)

<div class="topic-metadata">

**Author:** [@Safouene28](https://discourse.nodered.org/u/Safouene28)\
**Replies:** 0\
**Last updated:** [31 May 2022 12:31 UTC](https://discourse.nodered.org/t/changing-the-name-of-a-class-name/63300 "2022-05-31T12:31:58Z")

</div>

Good Morning, I'm trying to change the class name like below in a template node I'm sure that something is missing , so my question it is possible to do something like that ? Greetings

---

## [Creating two lines in chart](https://discourse.nodered.org/t/creating-two-lines-in-chart/63298)

<div class="topic-metadata">

**Author:** [@Razz](https://discourse.nodered.org/u/Razz)\
**Replies:** 2\
**Last updated:** [31 May 2022 11:47 UTC](https://discourse.nodered.org/t/creating-two-lines-in-chart/63298 "2022-05-31T11:47:23Z")

</div>

Hi everyone, I am trying to log two registers from a modbus simulator onto a line chart. I am only able to get 1 line graph out so far, and i did some research saying that i would have to label them under different topi…

---

## [Error: ER\_BAD\_FIELD\_ERROR: Unknown column 'RND0508A03A' in 'field list'](https://discourse.nodered.org/t/error-er-bad-field-error-unknown-column-rnd0508a03a-in-field-list/63052)

<div class="topic-metadata">

**Author:** [@Show74](https://discourse.nodered.org/u/Show74)\
**Replies:** 21\
**Last updated:** [31 May 2022 11:44 UTC](https://discourse.nodered.org/t/error-er-bad-field-error-unknown-column-rnd0508a03a-in-field-list/63052 "2022-05-31T11:44:13Z")

</div>

Currently I have been working on a project where I need to transfer string data from PLC to MySQL through Node-Red. I created the database columns in MySQL(phpMyAdmin) and node flows in Node-Red . But while debugging…

---

## [Flow credentials cannot be decrypted](https://discourse.nodered.org/t/flow-credentials-cannot-be-decrypted/63059)

<div class="topic-metadata">

**Author:** [@cbcliff47](https://discourse.nodered.org/u/cbcliff47)\
**Replies:** 8\
**Last updated:** [31 May 2022 11:41 UTC](https://discourse.nodered.org/t/flow-credentials-cannot-be-decrypted/63059 "2022-05-31T11:41:07Z")

</div>

Hi, Do you know why when I open node red the following appears? Blockquote Credentials could not be decrypted The flow credential file is encrypted, but the project's encryption key is missing or invalid. The flow…

---

## [NODE-RED KEEP CRASHING while using MODBUS-SERVER](https://discourse.nodered.org/t/node-red-keep-crashing-while-using-modbus-server/62956)

<div class="topic-metadata">

**Author:** [@Theodros](https://discourse.nodered.org/u/Theodros)\
**Replies:** 13\
**Last updated:** [31 May 2022 11:29 UTC](https://discourse.nodered.org/t/node-red-keep-crashing-while-using-modbus-server/62956 "2022-05-31T11:29:32Z")

</div>

Hi guys, I'm trying to run a modbus server with an IP address that is not used by Node-Red but it keeps crashing and putting me this error. And this is valid for a large number of IP address. The problem is that I need …

---

## [Node-red not is not commiting to git /AzureDevOps](https://discourse.nodered.org/t/node-red-not-is-not-commiting-to-git-azuredevops/63289)

<div class="topic-metadata">

**Author:** [@noob69](https://discourse.nodered.org/u/noob69)\
**Replies:** 0\
**Last updated:** [31 May 2022 09:22 UTC](https://discourse.nodered.org/t/node-red-not-is-not-commiting-to-git-azuredevops/63289 "2022-05-31T09:22:35Z")

</div>

I was trying to commit a file using node-red project to the github. But It is not working. It never ask me to insert the password when created the branch. The loading will continuously going for forever as following scre…

---

## [Ui-media node and ui-control](https://discourse.nodered.org/t/ui-media-node-and-ui-control/63246)

<div class="topic-metadata">

**Author:** [@Manu77](https://discourse.nodered.org/u/Manu77)\
**Replies:** 2\
**Last updated:** [31 May 2022 08:59 UTC](https://discourse.nodered.org/t/ui-media-node-and-ui-control/63246 "2022-05-31T08:59:02Z")

</div>

Hi I need your help. I have a video, on the pc and I wanted to put it on the dashboard to run automatically. I'm using , node ui-media for the video and I'm also using ui-control to automatically switch between tabs (I…

---

## [Acceed Heroku postgresql db](https://discourse.nodered.org/t/acceed-heroku-postgresql-db/63272)

<div class="topic-metadata">

**Author:** [@Otabiel](https://discourse.nodered.org/u/Otabiel)\
**Replies:** 4\
**Last updated:** [31 May 2022 08:27 UTC](https://discourse.nodered.org/t/acceed-heroku-postgresql-db/63272 "2022-05-31T08:27:09Z")

</div>

Hi community, I am using node-red v2.2.2 and node.js v14.19.3. I making a small project, and I'm trying to acceed my data stored on an Heroku postgres app. My environnement of work is a web site using Next.js and prism…

---

## [What is the execution sequence when one node has multi wires to other nodes?](https://discourse.nodered.org/t/what-is-the-execution-sequence-when-one-node-has-multi-wires-to-other-nodes/63278)

<div class="topic-metadata">

**Author:** [@DaisyLoveU](https://discourse.nodered.org/u/DaisyLoveU)\
**Replies:** 7\
**Last updated:** [31 May 2022 08:00 UTC](https://discourse.nodered.org/t/what-is-the-execution-sequence-when-one-node-has-multi-wires-to-other-nodes/63278 "2022-05-31T08:00:31Z")

</div>

I am so confused, like this pic, one input, four wires, what is the order of node 1, 2, 3, 4?

---

## [Stuck on objects of objects to object](https://discourse.nodered.org/t/stuck-on-objects-of-objects-to-object/63261)

<div class="topic-metadata">

**Author:** [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Replies:** 9\
**Last updated:** [31 May 2022 07:39 UTC](https://discourse.nodered.org/t/stuck-on-objects-of-objects-to-object/63261 "2022-05-31T07:39:30Z")

</div>

Hi everyone, I am getting stuck on creating an object from an object of objects. Of each msg.payload.vessels I want to grab MMSI, Speed etc, but my function node is not doing what I expected it to do, besides perhaps c…

---

## [Securing node-red with budibase](https://discourse.nodered.org/t/securing-node-red-with-budibase/63248)

<div class="topic-metadata">

**Author:** [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Replies:** 2\
**Last updated:** [31 May 2022 07:37 UTC](https://discourse.nodered.org/t/securing-node-red-with-budibase/63248 "2022-05-31T07:37:07Z")

</div>

I just integrated my node-red to budibase in the same docker-compose, but I would like to add security to my node-red with some users created in budibase. For those who do not control budibase, they have a simple user a…

---

## [Dashboard and a webpage](https://discourse.nodered.org/t/dashboard-and-a-webpage/63266)

<div class="topic-metadata">

**Author:** [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Replies:** 8\
**Last updated:** [30 May 2022 23:10 UTC](https://discourse.nodered.org/t/dashboard-and-a-webpage/63266 "2022-05-30T23:10:34Z")

</div>

This may have been asked , but im not really sure how to word it in the search bar. Dashboard is not secure, and if i want someone else to be able to use my dashboard they have to know my ip address and this leaves a do…

---

## [Reset message arrival on delay and trigger node, timing problem](https://discourse.nodered.org/t/reset-message-arrival-on-delay-and-trigger-node-timing-problem/63199)

<div class="topic-metadata">

**Author:** [@iamhermes](https://discourse.nodered.org/u/iamhermes)\
**Replies:** 6\
**Last updated:** [30 May 2022 23:21 UTC](https://discourse.nodered.org/t/reset-message-arrival-on-delay-and-trigger-node-timing-problem/63199 "2022-05-30T23:21:40Z")

</div>

I need help to fix an unwanted situation in my flow (one button LED RGBW light control). description for the flow There is one input button (pressed and released state). if pressed a 1 is send, released a zero is send …

---

## [Tuya Device not connect](https://discourse.nodered.org/t/tuya-device-not-connect/55049)

<div class="topic-metadata">

**Author:** [@pinie\_pinie](https://discourse.nodered.org/u/pinie_pinie)\
**Replies:** 20\
**Last updated:** [30 May 2022 21:53 UTC](https://discourse.nodered.org/t/tuya-device-not-connect/55049 "2022-05-30T21:53:27Z")

</div>

Hi there, I want to evaluate and control a Duya thermostat via Node Red. It works via the APP. I have created a project on the Tuya platform and can find the thermostat and control it (e.g. temperature). I installed a…

---

## [Need help - Cannot install palette SQLITE on v2.2.2 on ARMV6 (RPi)](https://discourse.nodered.org/t/need-help-cannot-install-palette-sqlite-on-v2-2-2-on-armv6-rpi/63213)

<div class="topic-metadata">

**Author:** [@championc](https://discourse.nodered.org/u/championc)\
**Replies:** 15\
**Last updated:** [30 May 2022 21:04 UTC](https://discourse.nodered.org/t/need-help-cannot-install-palette-sqlite-on-v2-2-2-on-armv6-rpi/63213 "2022-05-30T21:04:47Z")

</div>

Hi all, I urgently need help. I have had Node-Red running perfectly for about a year. I suddenly got an issue with Aedes "Flows Stopped due to missing node types". I couldn't resolve and ended up now doing a full re-…

---

## [Authenticate using keycloak](https://discourse.nodered.org/t/authenticate-using-keycloak/63270)

<div class="topic-metadata">

**Author:** [@CBianca](https://discourse.nodered.org/u/CBianca)\
**Replies:** 0\
**Last updated:** [30 May 2022 20:06 UTC](https://discourse.nodered.org/t/authenticate-using-keycloak/63270 "2022-05-30T20:06:25Z")

</div>

Hello comunity! I have set up an app for students. These students need to login using their university credentials. My University is using a SSO that they won't give me access to and told me to use keycloack for demonst…

---

## [UIBuilder Webpages Can't Be Opened](https://discourse.nodered.org/t/uibuilder-webpages-cant-be-opened/63249)

<div class="topic-metadata">

**Author:** [@adamt](https://discourse.nodered.org/u/adamt)\
**Replies:** 1\
**Last updated:** [30 May 2022 20:18 UTC](https://discourse.nodered.org/t/uibuilder-webpages-cant-be-opened/63249 "2022-05-30T20:18:38Z")

</div>

Hey all I'm having a challenge which hopefully is a simple one to fix, for those in the know... I've recently installed UIBuilder and am failing to open any generated webpages, as I'm greeted with this error on a white…

---

## [Write only different data to csv](https://discourse.nodered.org/t/write-only-different-data-to-csv/63267)

<div class="topic-metadata">

**Author:** [@bparra](https://discourse.nodered.org/u/bparra)\
**Replies:** 3\
**Last updated:** [30 May 2022 19:43 UTC](https://discourse.nodered.org/t/write-only-different-data-to-csv/63267 "2022-05-30T19:43:02Z")

</div>

Hi, How can I write only different data to csv? The way it is now the data is written over and over again. \[{"id":"9e249964.310998","type":"tab","label":"Flow 10","disabled":false,"info":""},{"id":"235666f3.69cdaa","t…

---

## [A way to retrieve the dashboard tab and group from within a flow?](https://discourse.nodered.org/t/a-way-to-retrieve-the-dashboard-tab-and-group-from-within-a-flow/63227)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 6\
**Last updated:** [30 May 2022 18:18 UTC](https://discourse.nodered.org/t/a-way-to-retrieve-the-dashboard-tab-and-group-from-within-a-flow/63227 "2022-05-30T18:18:17Z")

</div>

A way to retrieve the dashboard tab and group from within a flow? In various development APIs there are reflective or inspection methods for doing this type of thing, so wonder if something similar in NR?

---

## [Getting started with FRED](https://discourse.nodered.org/t/getting-started-with-fred/63255)

<div class="topic-metadata">

**Author:** [@viziosfizio](https://discourse.nodered.org/u/viziosfizio)\
**Replies:** 2\
**Last updated:** [30 May 2022 16:01 UTC](https://discourse.nodered.org/t/getting-started-with-fred/63255 "2022-05-30T16:01:36Z")

</div>

Hello everyone, i'm learning how to use FRED and thingspeak, basically i'm trying to publish on two thingspeak datastreams two fields from a json file that i'm getting from a weather site. What i'm unable to do is writin…

---

## [Node-red docker is running but not showing on browser](https://discourse.nodered.org/t/node-red-docker-is-running-but-not-showing-on-browser/63235)

<div class="topic-metadata">

**Author:** [@noob69](https://discourse.nodered.org/u/noob69)\
**Replies:** 8\
**Last updated:** [30 May 2022 15:26 UTC](https://discourse.nodered.org/t/node-red-docker-is-running-but-not-showing-on-browser/63235 "2022-05-30T15:26:08Z")

</div>

Hi I've installed node-red on docker using port number as 1881 . When I click the run on docker GUI it shows node-red has started. But when I browse the localhost:1881 it shows nothing. I have test the port number by run…

---

## [Detect when context's variable changes its value](https://discourse.nodered.org/t/detect-when-contexts-variable-changes-its-value/1698)

<div class="topic-metadata">

**Author:** [@PKGeorgiev](https://discourse.nodered.org/u/PKGeorgiev)\
**Replies:** 21\
**Last updated:** [30 May 2022 14:36 UTC](https://discourse.nodered.org/t/detect-when-contexts-variable-changes-its-value/1698 "2022-05-30T14:36:10Z")

</div>

I'm working on a new node that will output a message when a variable receives new value. The format of the message will be similar to: { variable: "the name of the variable", oldValue: theOldValue, newValue: theNe…

---

## [How set Plotly values using msg.payload](https://discourse.nodered.org/t/how-set-plotly-values-using-msg-payload/63259)

<div class="topic-metadata">

**Author:** [@NicoloToscani](https://discourse.nodered.org/u/NicoloToscani)\
**Replies:** 0\
**Last updated:** [30 May 2022 14:23 UTC](https://discourse.nodered.org/t/how-set-plotly-values-using-msg-payload/63259 "2022-05-30T14:23:55Z")

</div>

Hi, I need to set values of a chart using msg.payload in ui\_template node. For example, I need to set link:value using msg.payload.some\_values link: { source: \[0,2,1,1\], target: \[1,3,2,1\], value: \[5,4,10,…

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

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