# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=678

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

**Page:** 679

---

## ["Colour mapping" - help needed to create RGB value](https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [26 September 2020 09:08 UTC](https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364 "2020-09-26T09:08:43Z")

</div>

Today's quest I receive temperature values. 30 - 75 (example) I want to display that with a RGB LED. Say 30 - 36 --\> blue. Green starts to creep in then. 36 - 40 --\> Blue fades out and becomes green. Towards the 4…

---

## [Trying to send string to Denon Receiver. Inject works, Trigger doesn't](https://discourse.nodered.org/t/trying-to-send-string-to-denon-receiver-inject-works-trigger-doesnt/33363)

<div class="topic-metadata">

**Author:** [@NLCarrII](https://discourse.nodered.org/u/NLCarrII)\
**Replies:** 7\
**Last updated:** [26 September 2020 03:37 UTC](https://discourse.nodered.org/t/trying-to-send-string-to-denon-receiver-inject-works-trigger-doesnt/33363 "2020-09-26T03:37:40Z")

</div>

Title kind of says it all. I can successfully send and control a Denon Receiver with the inject node, but not the trigger node. The msg.payload in the debug output looks exactly the same. I have tried adding a carriag…

---

## [Reboot node red under Windows](https://discourse.nodered.org/t/reboot-node-red-under-windows/14260)

<div class="topic-metadata">

**Author:** [@Soft4](https://discourse.nodered.org/u/Soft4)\
**Replies:** 35\
**Last updated:** [26 September 2020 00:03 UTC](https://discourse.nodered.org/t/reboot-node-red-under-windows/14260 "2020-09-26T00:03:25Z")

</div>

How can I reboot node-red under windows with a button on my dashboard. I suspect with the exec node but I cannot find the correct command.

---

## [Install script failing on nodejs install](https://discourse.nodered.org/t/install-script-failing-on-nodejs-install/33358)

<div class="topic-metadata">

**Author:** [@liltux](https://discourse.nodered.org/u/liltux)\
**Replies:** 3\
**Last updated:** [25 September 2020 23:06 UTC](https://discourse.nodered.org/t/install-script-failing-on-nodejs-install/33358 "2020-09-25T23:06:47Z")

</div>

Trying to setup a test machine using an old Dell 64bit computer. I am familiar with Raspbian so I decided to give it a go on PC. Installed raspbian for PC. Now trying to install NodeRed. Script fails at installing No…

---

## [BigTimer does not turn off at Sunday midnight](https://discourse.nodered.org/t/bigtimer-does-not-turn-off-at-sunday-midnight/33134)

<div class="topic-metadata">

**Author:** [@zoltansz](https://discourse.nodered.org/u/zoltansz)\
**Replies:** 28\
**Last updated:** [25 September 2020 21:18 UTC](https://discourse.nodered.org/t/bigtimer-does-not-turn-off-at-sunday-midnight/33134 "2020-09-25T21:18:12Z")

</div>

Hi, does anyone else experience that BigTimer does not turn off at Sunday midnight? All other times and days are working fine for me. I could solve it by moving the OFF time to 23:45 and add a 15m Delay, but that's not …

---

## [In UI nodes, can use msg prefixed message properites but not flow prefixed properties?](https://discourse.nodered.org/t/in-ui-nodes-can-use-msg-prefixed-message-properites-but-not-flow-prefixed-properties/33357)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [25 September 2020 20:45 UTC](https://discourse.nodered.org/t/in-ui-nodes-can-use-msg-prefixed-message-properites-but-not-flow-prefixed-properties/33357 "2020-09-25T20:45:29Z")

</div>

So I can set the title of ui-button via {{msg.payload}}, and even {{msg.title}} for example. But I can't do {{flow.title}}? Just asking if this is expected to work, or not a valid option?

---

## [Media player - node red](https://discourse.nodered.org/t/media-player-node-red/33354)

<div class="topic-metadata">

**Author:** [@repomanz](https://discourse.nodered.org/u/repomanz)\
**Replies:** 0\
**Last updated:** [25 September 2020 17:36 UTC](https://discourse.nodered.org/t/media-player-node-red/33354 "2020-09-25T17:36:23Z")

</div>

Hello everyone, I have an alarm trigger flow setup in node-red but the final bit I can't get to work properly. Through HA this automation works fine; I just haven't figured out the proper node configuration I think i…

---

## [Delay in Round Robin Node](https://discourse.nodered.org/t/delay-in-round-robin-node/33277)

<div class="topic-metadata">

**Author:** [@sivawabco](https://discourse.nodered.org/u/sivawabco)\
**Replies:** 22\
**Last updated:** [25 September 2020 17:01 UTC](https://discourse.nodered.org/t/delay-in-round-robin-node/33277 "2020-09-25T17:01:53Z")

</div>

Hi All, I have been working on Fleet management solutions. Am using Node-red to listen the feed from the device and send it to my loadbalancer server. My flow like below: Listener -\> Round Robin Loadbalancer Node (2…

---

## [How to pass values for "ui\_switch" from Flow1 to Flow2?](https://discourse.nodered.org/t/how-to-pass-values-for-ui-switch-from-flow1-to-flow2/33327)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 5\
**Last updated:** [25 September 2020 15:04 UTC](https://discourse.nodered.org/t/how-to-pass-values-for-ui-switch-from-flow1-to-flow2/33327 "2020-09-25T15:04:52Z")

</div>

Could you advise me? I don't understand, i am beginner in node-red. I created an example. with two flows. In the first flow I created a global variable "Test". And in the second flow an "ui\_switch" which should to ch…

---

## [How to both reset & set delay in "delay node"](https://discourse.nodered.org/t/how-to-both-reset-set-delay-in-delay-node/14999)

<div class="topic-metadata">

**Author:** [@qqgg231](https://discourse.nodered.org/u/qqgg231)\
**Replies:** 15\
**Last updated:** [25 September 2020 13:39 UTC](https://discourse.nodered.org/t/how-to-both-reset-set-delay-in-delay-node/14999 "2020-09-25T13:39:22Z")

</div>

Hello, I am trying to send correctly two messages to "delay node" "reset" and "set delay" When I send only one it works ok, but when I send two only reset is executed How to both "reset" and "set" delay node? I need …

---

## [Reading Object in loop](https://discourse.nodered.org/t/reading-object-in-loop/33342)

<div class="topic-metadata">

**Author:** [@Ward](https://discourse.nodered.org/u/Ward)\
**Replies:** 5\
**Last updated:** [25 September 2020 12:22 UTC](https://discourse.nodered.org/t/reading-object-in-loop/33342 "2020-09-25T12:22:06Z")

</div>

Hi I'm trying to read every line in a object through a loop function. The object looks like this. So i tried the following code (also tried with '1'), and to read it directly msg.payload.1 doesn't works because it ex…

---

## [Is there any way to check msg.payload is a file or folder?](https://discourse.nodered.org/t/is-there-any-way-to-check-msg-payload-is-a-file-or-folder/33329)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 3\
**Last updated:** [25 September 2020 12:05 UTC](https://discourse.nodered.org/t/is-there-any-way-to-check-msg-payload-is-a-file-or-folder/33329 "2020-09-25T12:05:10Z")

</div>

I would like to check if msg.payload is a file or a directory without using the function node, is there a node that can check this? Please tell me! Thanks.

---

## [How to move folder and all the files inside it](https://discourse.nodered.org/t/how-to-move-folder-and-all-the-files-inside-it/33333)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 2\
**Last updated:** [25 September 2020 09:18 UTC](https://discourse.nodered.org/t/how-to-move-folder-and-all-the-files-inside-it/33333 "2020-09-25T09:18:40Z")

</div>

I would like to move the folder and all the files inside it to another folder. I use the fs ops move node that only moves files, is there any node that can move the folder? Please tell me! Thanks.

---

## [Need some basic example how tcp-client is setup](https://discourse.nodered.org/t/need-some-basic-example-how-tcp-client-is-setup/33170)

<div class="topic-metadata">

**Author:** [@JosephDe](https://discourse.nodered.org/u/JosephDe)\
**Replies:** 13\
**Last updated:** [25 September 2020 09:00 UTC](https://discourse.nodered.org/t/need-some-basic-example-how-tcp-client-is-setup/33170 "2020-09-25T09:00:14Z")

</div>

Hi! does anyone knows how to make tcp-client setup to listen to a specific address and port. My apology if this may be simple but I don't figured it out yet how to make it work. I got the module from this link https://fl…

---

## [How to use Jsonata on my case?](https://discourse.nodered.org/t/how-to-use-jsonata-on-my-case/33309)

<div class="topic-metadata">

**Author:** [@pierrelaurent](https://discourse.nodered.org/u/pierrelaurent)\
**Replies:** 8\
**Last updated:** [25 September 2020 08:57 UTC](https://discourse.nodered.org/t/how-to-use-jsonata-on-my-case/33309 "2020-09-25T08:57:25Z")

</div>

Hi everyone, I'm a Node-RED beginner, trying to use it in my company. On one of my project, i have to get data from a web service and draw a chart from it. This is what i have. \[ \[ \[ "01/09/2020", …

---

## [Node-red running on Windows accessing File on NAS](https://discourse.nodered.org/t/node-red-running-on-windows-accessing-file-on-nas/33292)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 2\
**Last updated:** [25 September 2020 08:55 UTC](https://discourse.nodered.org/t/node-red-running-on-windows-accessing-file-on-nas/33292 "2020-09-25T08:55:50Z")

</div>

I am saving chart data at midnight from a Raspi to my NAS (FRITZ-NAS) using samba client. Works perfectly. Now I want to load this chart data into my PC, also running node-red. My NAS has drive letter Y. Node-red throws…

---

## [Sub-flows - help with their settings and getting information from them](https://discourse.nodered.org/t/sub-flows-help-with-their-settings-and-getting-information-from-them/19884)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 24\
**Last updated:** [25 September 2020 08:36 UTC](https://discourse.nodered.org/t/sub-flows-help-with-their-settings-and-getting-information-from-them/19884 "2020-09-25T08:36:27Z")

</div>

Normally with function nodes, you can do a node-warn("message") and you see the message under the node. Alas that isn't possible with sub-flows. Well, it kind of it - I believe. With the status button ticked. But the…

---

## [Help using Xcomfort-SHC-Api](https://discourse.nodered.org/t/help-using-xcomfort-shc-api/33321)

<div class="topic-metadata">

**Author:** [@MMB](https://discourse.nodered.org/u/MMB)\
**Replies:** 1\
**Last updated:** [25 September 2020 08:31 UTC](https://discourse.nodered.org/t/help-using-xcomfort-shc-api/33321 "2020-09-25T08:31:21Z")

</div>

Hi there. I'm a beginner in using node-red and i need your help. I want to use Xcomfort APi https://github.com/oanylund/xcomfort-shc-api in Node-red dashboard and i don't know where to start and what to us…

---

## [PI-GPIO 1.2 doenst work](https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251)

<div class="topic-metadata">

**Author:** [@calberts](https://discourse.nodered.org/u/calberts)\
**Replies:** 2\
**Last updated:** [25 September 2020 06:36 UTC](https://discourse.nodered.org/t/pi-gpio-1-2-doenst-work/33251 "2020-09-25T06:36:59Z")

</div>

Gents have issue I have new install of mij Pi4 with node red, I use de PI relay board. For that i can use ○ Pin 7-\> Relay 4 ○ Pin 11-\>Relay 3 ○ Pin 13-\> Relay 2 ○ Pin 15-\> Relay 1 When 2 inject nodes (with payl…

---

## [Zigbee starter switch](https://discourse.nodered.org/t/zigbee-starter-switch/33323)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 1\
**Last updated:** [25 September 2020 05:05 UTC](https://discourse.nodered.org/t/zigbee-starter-switch/33323 "2020-09-25T05:05:17Z")

</div>

I have officially gone into sensory overload. I would like to turn off and on one light remotely. For complicated reasons this needs to be a " drop in" switch and not a esp module. After hours of googling it appears the…

---

## [Help - length (object)](https://discourse.nodered.org/t/help-length-object/33317)

<div class="topic-metadata">

**Author:** [@Ricardo-Miguel-Calde](https://discourse.nodered.org/u/Ricardo-Miguel-Calde)\
**Replies:** 2\
**Last updated:** [24 September 2020 23:46 UTC](https://discourse.nodered.org/t/help-length-object/33317 "2020-09-24T23:46:24Z")

</div>

I want to enum/count each item (object) in DEVICES but lenght does not work... Can I be missing something please? context.global.getDomainDevices = function(domain){ //Gets all devices from a specific domain n…

---

## [IFTTT replacement for google assistant](https://discourse.nodered.org/t/ifttt-replacement-for-google-assistant/33172)

<div class="topic-metadata">

**Author:** [@Gleneroo](https://discourse.nodered.org/u/Gleneroo)\
**Replies:** 1\
**Last updated:** [24 September 2020 22:55 UTC](https://discourse.nodered.org/t/ifttt-replacement-for-google-assistant/33172 "2020-09-24T22:55:04Z")

</div>

Hello fellow members I use a lot nodered with google assistant with several nodes to send to google home something to tell. I use IFTTT for getting inputs from home assistant with triggers like: " Say a phrase with a …

---

## [Keep the filename of an attachment when downloading it with the email node](https://discourse.nodered.org/t/keep-the-filename-of-an-attachment-when-downloading-it-with-the-email-node/33047)

<div class="topic-metadata">

**Author:** [@Laurent](https://discourse.nodered.org/u/Laurent)\
**Replies:** 16\
**Last updated:** [24 September 2020 21:42 UTC](https://discourse.nodered.org/t/keep-the-filename-of-an-attachment-when-downloading-it-with-the-email-node/33047 "2020-09-24T21:42:38Z")

</div>

Hello everyone, I have been discovering node-red on a Pi for a few months without any notion of programming. By helping me with the different forum posts, I managed to create a small process that allows me: to retriev…

---

## [How to "forbid" to user "ON"/"OFF" the "ui switch" if the variable is offline?](https://discourse.nodered.org/t/how-to-forbid-to-user-on-off-the-ui-switch-if-the-variable-is-offline/33305)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 3\
**Last updated:** [24 September 2020 20:17 UTC](https://discourse.nodered.org/t/how-to-forbid-to-user-on-off-the-ui-switch-if-the-variable-is-offline/33305 "2020-09-24T20:17:35Z")

</div>

Could you advise me? I get stuck, can't to find are solution, if the variable "connection\_cl" is not online, then the user has no possibility to switch "ON"/"OFF" the "ui\_switch". I made such a crutch, but I don't lik…

---

## [Lead node and switch control question](https://discourse.nodered.org/t/lead-node-and-switch-control-question/33284)

<div class="topic-metadata">

**Author:** [@murondo](https://discourse.nodered.org/u/murondo)\
**Replies:** 2\
**Last updated:** [24 September 2020 20:15 UTC](https://discourse.nodered.org/t/lead-node-and-switch-control-question/33284 "2020-09-24T20:15:35Z")

</div>

When you first switch on, you want to turn on the rest of the switches and LEDs, and when you turn off the other switches, how do you use a function to turn them off? \[{"id":"9258950d.6aefa8","type":"ui\_led","z":"1a0043…

---

## [Cannot read I2C Atlas Scientific PH EC sensor](https://discourse.nodered.org/t/cannot-read-i2c-atlas-scientific-ph-ec-sensor/31218)

<div class="topic-metadata">

**Author:** [@Sebchauvour](https://discourse.nodered.org/u/Sebchauvour)\
**Replies:** 2\
**Last updated:** [24 September 2020 20:11 UTC](https://discourse.nodered.org/t/cannot-read-i2c-atlas-scientific-ph-ec-sensor/31218 "2020-09-24T20:11:56Z")

</div>

Google translate Bonjour Hello Voici le projet que je veux utiliser : Here is the project I want to use : Après avoir installé tous les nodes est adapter certaine partie du programme. After having installed all …

---

## [Unable to save Google Configuration Node](https://discourse.nodered.org/t/unable-to-save-google-configuration-node/33308)

<div class="topic-metadata">

**Author:** [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Replies:** 0\
**Last updated:** [24 September 2020 19:42 UTC](https://discourse.nodered.org/t/unable-to-save-google-configuration-node/33308 "2020-09-24T19:42:05Z")

</div>

Hello: I am trying to set up node-red-node-google (v 0.2.2) and I cannot "save" the configuration node. I have gone through the steps and created the credentials, enabled Google+ API, added the redirect URI and modified…

---

## [Connect Node-RED Docker container to host OPC UA server](https://discourse.nodered.org/t/connect-node-red-docker-container-to-host-opc-ua-server/33281)

<div class="topic-metadata">

**Author:** [@om327](https://discourse.nodered.org/u/om327)\
**Replies:** 4\
**Last updated:** [24 September 2020 16:50 UTC](https://discourse.nodered.org/t/connect-node-red-docker-container-to-host-opc-ua-server/33281 "2020-09-24T16:50:57Z")

</div>

Hi, I've developed a Node-RED dashboard that connects to an OPC UA server. using the OPC UA nodes. I'd like to dockerise this so i've been following some tutorials to build my container and map the docker port to 1880 to…

---

## [Node-red-node-email FOLDERS](https://discourse.nodered.org/t/node-red-node-email-folders/33243)

<div class="topic-metadata">

**Author:** [@Ricardo-Miguel-Calde](https://discourse.nodered.org/u/Ricardo-Miguel-Calde)\
**Replies:** 4\
**Last updated:** [24 September 2020 16:28 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243 "2020-09-24T16:28:07Z")

</div>

How can we access SENT, TRASH or SPAM folder please? It works fine with inbox and some other folder but not those ones...

---

## [MySQL node not available](https://discourse.nodered.org/t/mysql-node-not-available/33295)

<div class="topic-metadata">

**Author:** [@Trocergian](https://discourse.nodered.org/u/Trocergian)\
**Replies:** 4\
**Last updated:** [24 September 2020 16:16 UTC](https://discourse.nodered.org/t/mysql-node-not-available/33295 "2020-09-24T16:16:51Z")

</div>

I am needing to add node-red-node-MySQL but it is not showing up in the list of nodes under manage palette. Any suggestions?

[Previous page](https://discourse.nodered.org/c/general/7.md?page=677)

[Next page](https://discourse.nodered.org/c/general/7.md?page=679)
