# General

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

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

**Page:** 736

---

## [Mute messages overnight](https://discourse.nodered.org/t/mute-messages-overnight/28085)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 15\
**Last updated:** [10 June 2020 12:28 UTC](https://discourse.nodered.org/t/mute-messages-overnight/28085 "2020-06-10T12:28:10Z")

</div>

My search fu is sadly lacking as I feel this must have been talked about many times before :frowning: How do I stop messages passing thru a flow overnight (9pm to 9am in my case)? I just want to make sure that no messa…

---

## [Exec node timeout not working in 'exec' mode](https://discourse.nodered.org/t/exec-node-timeout-not-working-in-exec-mode/28040)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 33\
**Last updated:** [10 June 2020 09:27 UTC](https://discourse.nodered.org/t/exec-node-timeout-not-working-in-exec-mode/28040 "2020-06-10T09:27:05Z")

</div>

Following on from a recent post it seems that the Exec node Timeout feature does not work when configured for exec mode, though it does work for spawn mode. See the attached example flow. The exec node runs a 20 second …

---

## [Node Status - queries about text is null](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 3\
**Last updated:** [10 June 2020 08:26 UTC](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104 "2020-06-10T08:26:29Z")

</div>

Is it normal in case of 2, Node Status to block the whole flow ? Basically, if 'text' has the value null, the execution of the flow stops at that node. \[{"id":"f00e26a6.ac9408","type":"tab","label":"Message","disabled"…

---

## [How can i send a message every "X" time?](https://discourse.nodered.org/t/how-can-i-send-a-message-every-x-time/27935)

<div class="topic-metadata">

**Author:** [@DAVIDLL](https://discourse.nodered.org/u/DAVIDLL)\
**Replies:** 10\
**Last updated:** [10 June 2020 08:48 UTC](https://discourse.nodered.org/t/how-can-i-send-a-message-every-x-time/27935 "2020-06-10T08:48:14Z")

</div>

Hi! i'm working on Node Red and ESP32, i have my mqtt node at node red that receives values constantly, and keeping that values in a data base. I want to send the mqtt message to de DB every 5 minutes. I've tried using a…

---

## [Function node to keep same topic](https://discourse.nodered.org/t/function-node-to-keep-same-topic/28088)

<div class="topic-metadata">

**Author:** [@Giaitzoglou](https://discourse.nodered.org/u/Giaitzoglou)\
**Replies:** 8\
**Last updated:** [10 June 2020 08:16 UTC](https://discourse.nodered.org/t/function-node-to-keep-same-topic/28088 "2020-06-10T08:16:05Z")

</div>

hi so i want to do something relly basic change a string message that comes from mqtt from 0 to 1 and from 1 to 0 i tried to do it with a change node but i put both options inside but it only does one and not both so i…

---

## [Saving Array to Global](https://discourse.nodered.org/t/saving-array-to-global/28090)

<div class="topic-metadata">

**Author:** [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Replies:** 5\
**Last updated:** [10 June 2020 07:45 UTC](https://discourse.nodered.org/t/saving-array-to-global/28090 "2020-06-10T07:45:58Z")

</div>

I've saved an array to a global variable using global.set In another function, I used global.get to extract that array but only a few elements existed! Don't know what's happening at all... As you can see I saved it…

---

## [TCP/IP 3 way handshake](https://discourse.nodered.org/t/tcp-ip-3-way-handshake/28059)

<div class="topic-metadata">

**Author:** [@winnemd](https://discourse.nodered.org/u/winnemd)\
**Replies:** 7\
**Last updated:** [10 June 2020 05:09 UTC](https://discourse.nodered.org/t/tcp-ip-3-way-handshake/28059 "2020-06-10T05:09:31Z")

</div>

Hi everybody! I like to use Node-RED to power on my home cinema projector over TCP/IP. A so-called 3-way handshake is used to establish a connection and then a hex command must be sent. When I open the connection with…

---

## [Colour Sorting machine using Raspberry and Arduino in Node Red](https://discourse.nodered.org/t/colour-sorting-machine-using-raspberry-and-arduino-in-node-red/28094)

<div class="topic-metadata">

**Author:** [@limjing98](https://discourse.nodered.org/u/limjing98)\
**Replies:** 0\
**Last updated:** [10 June 2020 03:32 UTC](https://discourse.nodered.org/t/colour-sorting-machine-using-raspberry-and-arduino-in-node-red/28094 "2020-06-10T03:32:11Z")

</div>

I am new in node red I would like to know where I can refer or get idea from? My project is using node red to connect with my raspberry pi and arduino to sense colour for tomatoes and store as a data in node red or clo…

---

## [How do I set an array to a variable](https://discourse.nodered.org/t/how-do-i-set-an-array-to-a-variable/27997)

<div class="topic-metadata">

**Author:** [@gohyuheng02](https://discourse.nodered.org/u/gohyuheng02)\
**Replies:** 7\
**Last updated:** [10 June 2020 03:15 UTC](https://discourse.nodered.org/t/how-do-i-set-an-array-to-a-variable/27997 "2020-06-10T03:15:42Z")

</div>

For example in the given array; (array is updated with different value every sec) \[93,30,9\] I would like to indicate that 93 is humidity, 30 is temperature, 9 is x in JSON format. \[which look something like this ( "hum…

---

## [Tradfri WS lights color\_temp values](https://discourse.nodered.org/t/tradfri-ws-lights-color-temp-values/28092)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 0\
**Last updated:** [10 June 2020 03:08 UTC](https://discourse.nodered.org/t/tradfri-ws-lights-color-temp-values/28092 "2020-06-10T03:08:00Z")

</div>

Does anyone know what is the range of values for color temp of the Tradfri WS lights in this Javascript object: {"domain":"light","service":"turn\_on","data":{"transition":5,"entity\_id":"light.steve","color\_temp":10}}

---

## [New User Help for a Chemistry Flow](https://discourse.nodered.org/t/new-user-help-for-a-chemistry-flow/28024)

<div class="topic-metadata">

**Author:** [@Bryce](https://discourse.nodered.org/u/Bryce)\
**Replies:** 6\
**Last updated:** [10 June 2020 00:55 UTC](https://discourse.nodered.org/t/new-user-help-for-a-chemistry-flow/28024 "2020-06-10T00:55:05Z")

</div>

Hello, My name is Bryce and I have recently found that a fellow staff member was using Node-RED to code and control a system we have in our workplace, the hard thing is he has since left the company and this project has…

---

## [BASH help with messages](https://discourse.nodered.org/t/bash-help-with-messages/28087)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [10 June 2020 00:50 UTC](https://discourse.nodered.org/t/bash-help-with-messages/28087 "2020-06-10T00:50:11Z")

</div>

(If I've been here before, sorry. I can't remember.) I've got a problem where I may need to move files and fs-ops doesn't quite cut the mustard for doing it as it involves wild cards. So my dillema is this: This is …

---

## [RMB node pop ups](https://discourse.nodered.org/t/rmb-node-pop-ups/28083)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [9 June 2020 21:53 UTC](https://discourse.nodered.org/t/rmb-node-pop-ups/28083 "2020-06-09T21:53:41Z")

</div>

I've got NR 1.0.3 Not the latest, but....... I remember reading that one of the new releases offers RMB pop ups for nodes. So when I am in the edit screen rather than having to go to the left panel, I could RMB and a …

---

## [Just want to check on these three errors](https://discourse.nodered.org/t/just-want-to-check-on-these-three-errors/28039)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [9 June 2020 21:39 UTC](https://discourse.nodered.org/t/just-want-to-check-on-these-three-errors/28039 "2020-06-09T21:39:13Z")

</div>

I had to restart NR on a machine. Seeing these errors when it is starting: 9 Jun 19:56:11 - \[info\] Loading palette nodes Traceback (most recent call last): File "\<string\>", line 1, in \<module\> ImportError: No module …

---

## [JSONata help to extract valuefrom array then object](https://discourse.nodered.org/t/jsonata-help-to-extract-valuefrom-array-then-object/28065)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 4\
**Last updated:** [9 June 2020 20:55 UTC](https://discourse.nodered.org/t/jsonata-help-to-extract-valuefrom-array-then-object/28065 "2020-06-09T20:55:22Z")

</div>

I have a msg and I'd like to extract the value of col1 using JSONata and as usual - not being successful present (not working attempt) payload\[0\].col1

---

## [How to change the format of a message from a s7 node to the format of a telegram message?](https://discourse.nodered.org/t/how-to-change-the-format-of-a-message-from-a-s7-node-to-the-format-of-a-telegram-message/28079)

<div class="topic-metadata">

**Author:** [@osancleca](https://discourse.nodered.org/u/osancleca)\
**Replies:** 0\
**Last updated:** [9 June 2020 20:37 UTC](https://discourse.nodered.org/t/how-to-change-the-format-of-a-message-from-a-s7-node-to-the-format-of-a-telegram-message/28079 "2020-06-09T20:37:24Z")

</div>

Hi, I have a telegram chat bot with which I communicate without problem, the problem I have when trying to send the temperature that I read through a plc with node s7, and is that I do not know how to change the message …

---

## [Exec node + Python3 Script on Ubuntu resulting in \[Errno 13\] Permission denied](https://discourse.nodered.org/t/exec-node-python3-script-on-ubuntu-resulting-in-errno-13-permission-denied/28021)

<div class="topic-metadata">

**Author:** [@achirife](https://discourse.nodered.org/u/achirife)\
**Replies:** 5\
**Last updated:** [9 June 2020 20:17 UTC](https://discourse.nodered.org/t/exec-node-python3-script-on-ubuntu-resulting-in-errno-13-permission-denied/28021 "2020-06-09T20:17:13Z")

</div>

Hi all, New to Node-Red and Ubuntu but I was moving fine ... until i crashed! Hope that you can help me clarify an issue that has been torturing me for a couple of days: The Intended Flow that is not working: \[Inject…

---

## [Best strategy for Switch node?](https://discourse.nodered.org/t/best-strategy-for-switch-node/28077)

<div class="topic-metadata">

**Author:** [@ad-netafy](https://discourse.nodered.org/u/ad-netafy)\
**Replies:** 1\
**Last updated:** [9 June 2020 19:02 UTC](https://discourse.nodered.org/t/best-strategy-for-switch-node/28077 "2020-06-09T19:02:23Z")

</div>

Using the switch node, I want to provide a list of specific zip codes and say "if msg.example = any of these zip codes, go out pin 1". Is this possible, and if so which strategy is best? Am I able to say "if msg.example…

---

## [Node-Red restarts at some random points](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011)

<div class="topic-metadata">

**Author:** [@MeisterQ](https://discourse.nodered.org/u/MeisterQ)\
**Replies:** 5\
**Last updated:** [9 June 2020 18:50 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011 "2020-06-09T18:50:12Z")

</div>

Hello, since i updated my Node-Red to v1.0.6 with the installer script from the page, its restarting at some random points. The log shown in "node-red-log" shows me following: 8 Jun 22:34:43 - \[red\] Uncaught Exception…

---

## [Easy question: switch node from payload content](https://discourse.nodered.org/t/easy-question-switch-node-from-payload-content/28071)

<div class="topic-metadata">

**Author:** [@get-command](https://discourse.nodered.org/u/get-command)\
**Replies:** 3\
**Last updated:** [9 June 2020 18:43 UTC](https://discourse.nodered.org/t/easy-question-switch-node-from-payload-content/28071 "2020-06-09T18:43:35Z")

</div>

Hi, I need your help please. I have this payload-data in the dubug: i want this in a switch node. If presentValue: 1 then switch 1 / If presentValue: 2 then switch 2:. Like this: What i need to do? Thank your fo…

---

## [Array elements in new line](https://discourse.nodered.org/t/array-elements-in-new-line/28072)

<div class="topic-metadata">

**Author:** [@tanishagoyal1](https://discourse.nodered.org/u/tanishagoyal1)\
**Replies:** 1\
**Last updated:** [9 June 2020 17:48 UTC](https://discourse.nodered.org/t/array-elements-in-new-line/28072 "2020-06-09T17:48:07Z")

</div>

i want to print elements of array of msg.payload.output.text in new line

---

## [Exec node not working on windows server](https://discourse.nodered.org/t/exec-node-not-working-on-windows-server/28061)

<div class="topic-metadata">

**Author:** [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Replies:** 1\
**Last updated:** [9 June 2020 13:40 UTC](https://discourse.nodered.org/t/exec-node-not-working-on-windows-server/28061 "2020-06-09T13:40:51Z")

</div>

Hi all, I'm trying to use an exec node which works on a windows 10, but not on a windows server 2012. The response is : Command failed: "C:\\Program Files (x86)\\WinSCP\\WinSCP.exe" /log="D:\\IISDATA\\SITES\\wwwroot\\Meteo\_Vi…

---

## [JSONata: From Array of objects to array of array with appending data](https://discourse.nodered.org/t/jsonata-from-array-of-objects-to-array-of-array-with-appending-data/28033)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 3\
**Last updated:** [9 June 2020 13:27 UTC](https://discourse.nodered.org/t/jsonata-from-array-of-objects-to-array-of-array-with-appending-data/28033 "2020-06-09T13:27:35Z")

</div>

So there is this input array \[ { "time": 1591653600, "level": 100 }, { "time": 1591657200, "level": 110 } \] To each array content there should be appended { "t…

---

## [POST multipart/form-data](https://discourse.nodered.org/t/post-multipart-form-data/28058)

<div class="topic-metadata">

**Author:** [@oliver9523](https://discourse.nodered.org/u/oliver9523)\
**Replies:** 0\
**Last updated:** [9 June 2020 13:24 UTC](https://discourse.nodered.org/t/post-multipart-form-data/28058 "2020-06-09T13:24:10Z")

</div>

What's the best way to send POST multipart/form-data, basically replicate this python code in a NR module? session = requests.session() response = session.post(URL, verify=False, data={"username": user, "password": pwor…

---

## [COM connection over TCP](https://discourse.nodered.org/t/com-connection-over-tcp/28041)

<div class="topic-metadata">

**Author:** [@Sasko](https://discourse.nodered.org/u/Sasko)\
**Replies:** 4\
**Last updated:** [9 June 2020 12:07 UTC](https://discourse.nodered.org/t/com-connection-over-tcp/28041 "2020-06-09T12:07:57Z")

</div>

I want to read the data from a serial Port in the network from another PC, because it is not possible to connect my pc to the serial port directly. OS are both windows. How can I connect the two and read the data ?

---

## [Dropdown selection for Subflow Environment Variables](https://discourse.nodered.org/t/dropdown-selection-for-subflow-environment-variables/27971)

<div class="topic-metadata">

**Author:** [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Replies:** 5\
**Last updated:** [9 June 2020 11:17 UTC](https://discourse.nodered.org/t/dropdown-selection-for-subflow-environment-variables/27971 "2020-06-09T11:17:08Z")

</div>

Is it possible to create a dropdown selection for Subflow's Environment Variables? This would be extremely helpful feature.

---

## [How to start websocket server in node red stream](https://discourse.nodered.org/t/how-to-start-websocket-server-in-node-red-stream/28038)

<div class="topic-metadata">

**Author:** [@Shimu](https://discourse.nodered.org/u/Shimu)\
**Replies:** 2\
**Last updated:** [9 June 2020 10:35 UTC](https://discourse.nodered.org/t/how-to-start-websocket-server-in-node-red-stream/28038 "2020-06-09T10:35:23Z")

</div>

How to start websocket server in node red stream

---

## [Node-Red Flows in Wordpress](https://discourse.nodered.org/t/node-red-flows-in-wordpress/8363)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 7\
**Last updated:** [9 June 2020 10:11 UTC](https://discourse.nodered.org/t/node-red-flows-in-wordpress/8363 "2020-06-09T10:11:30Z")

</div>

I wonder if anyone has any ideas. I'm trying to publish one of llarger flows in my Wordpress blog - but no matter which way I try it I end up with a mess. I need a Wordpress plug-in that handles json format... I'm using …

---

## [A conundrum with exec node and kill](https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 8\
**Last updated:** [9 June 2020 10:06 UTC](https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981 "2020-06-09T10:06:44Z")

</div>

Can anyone explain what is going on here? If, in a terminal, I run sleep 10 and then hit Ctrl-C it interrupts the sleep. However, if I use an exec node to run the sleep and kill it with msg.kill set to SIGINT then the e…

---

## [Request, mqtt publish then read by the subscribe node](https://discourse.nodered.org/t/request-mqtt-publish-then-read-by-the-subscribe-node/27662)

<div class="topic-metadata">

**Author:** [@zsolttrenyik](https://discourse.nodered.org/u/zsolttrenyik)\
**Replies:** 14\
**Last updated:** [9 June 2020 09:49 UTC](https://discourse.nodered.org/t/request-mqtt-publish-then-read-by-the-subscribe-node/27662 "2020-06-09T09:49:17Z")

</div>

Dear Community, I have a HW config which consists of a Raspberry 3 (running the node-red and the mosquitto broker), and on the same network, I have an ESP8266, communicating via mqtt. To the ESP, there is a DHT11 temper…

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

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