# General

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

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

**Page:** 393

---

## [Exec Node /n issue in spawn mode](https://discourse.nodered.org/t/exec-node-n-issue-in-spawn-mode/61158)

<div class="topic-metadata">

**Author:** [@VicBos](https://discourse.nodered.org/u/VicBos)\
**Replies:** 2\
**Last updated:** [12 April 2022 09:23 UTC](https://discourse.nodered.org/t/exec-node-n-issue-in-spawn-mode/61158 "2022-04-12T09:23:27Z")

</div>

Hi. I'm using the Exec node to run python scripts. When the spawn mode is selected (-u python command to disable buffering is included) I randomly get msg.payload that isn't terminated with /n. The missing /n will the…

---

## [Modbus tcp node red](https://discourse.nodered.org/t/modbus-tcp-node-red/61146)

<div class="topic-metadata">

**Author:** [@Ivan27](https://discourse.nodered.org/u/Ivan27)\
**Replies:** 1\
**Last updated:** [12 April 2022 08:35 UTC](https://discourse.nodered.org/t/modbus-tcp-node-red/61146 "2022-04-12T08:35:05Z")

</div>

Buenas tardes tengo un problema con la librería modbus estoy leyendo datos del un plc micro800 Allen bradley todo marcha bien en valores boleanos y enteros pero para leer datos con con punto flotante solo me aparecen val…

---

## [ControlTimer sometimes does not pause](https://discourse.nodered.org/t/controltimer-sometimes-does-not-pause/61149)

<div class="topic-metadata">

**Author:** [@steerage250](https://discourse.nodered.org/u/steerage250)\
**Replies:** 1\
**Last updated:** [12 April 2022 08:13 UTC](https://discourse.nodered.org/t/controltimer-sometimes-does-not-pause/61149 "2022-04-12T08:13:07Z")

</div>

I have a common event that is fed into a Change node where the output is set to PAUSE. The output of that Change node is then sent to about 10 controltimers and they should all pause. (A similar common Change node ou…

---

## [TypeError: Cannot read properties of undefined (reading 'notification')](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-notification/60995)

<div class="topic-metadata">

**Author:** [@Mannshoch](https://discourse.nodered.org/u/Mannshoch)\
**Replies:** 4\
**Last updated:** [11 April 2022 21:26 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-notification/60995 "2022-04-11T21:26:07Z")

</div>

On a function I have this two Ifs: if (typeof msg.payload.notification !== 'undefined') {...} if (typeof msg.payload.data.data.item.title !== 'undefined') {...} But I get the Error TypeError: Cannot read properties of…

---

## [How to bring data from MySQL to Node red in a dashboard](https://discourse.nodered.org/t/how-to-bring-data-from-mysql-to-node-red-in-a-dashboard/61141)

<div class="topic-metadata">

**Author:** [@22JES](https://discourse.nodered.org/u/22JES)\
**Replies:** 1\
**Last updated:** [11 April 2022 21:23 UTC](https://discourse.nodered.org/t/how-to-bring-data-from-mysql-to-node-red-in-a-dashboard/61141 "2022-04-11T21:23:52Z")

</div>

I already have the database ready and it registers everything but I want it to be shown on my dashboard

---

## [Integration shelly](https://discourse.nodered.org/t/integration-shelly/61082)

<div class="topic-metadata">

**Author:** [@jordirt75](https://discourse.nodered.org/u/jordirt75)\
**Replies:** 5\
**Last updated:** [11 April 2022 18:21 UTC](https://discourse.nodered.org/t/integration-shelly/61082 "2022-04-11T18:21:43Z")

</div>

google translation Good morning. I don't know what happens to my assistant man but there is no way I can integrate any device. i tried to integrate a shelly and can't find it, i watched videos on youtube, i followed the …

---

## [Generic sensor processing code](https://discourse.nodered.org/t/generic-sensor-processing-code/60421)

<div class="topic-metadata">

**Author:** [@bkenobi](https://discourse.nodered.org/u/bkenobi)\
**Replies:** 51\
**Last updated:** [11 April 2022 16:48 UTC](https://discourse.nodered.org/t/generic-sensor-processing-code/60421 "2022-04-11T16:48:11Z")

</div>

I use rtl\_433 to convert my Acurite sensors into MQTT that NR utilizes. The packets are transmitted one data type at a time so my Acurite 592TXR towers result in several MQTT messages each time they transmit though I re…

---

## [Can't open node-red](https://discourse.nodered.org/t/cant-open-node-red/60014)

<div class="topic-metadata">

**Author:** [@shidqinaf](https://discourse.nodered.org/u/shidqinaf)\
**Replies:** 3\
**Last updated:** [11 April 2022 15:29 UTC](https://discourse.nodered.org/t/cant-open-node-red/60014 "2022-04-11T15:29:25Z")

</div>

Hello, I want to open node red locally, but every time I start it closes itself. Anyone can help me to fix this?

---

## [Comparing two payload at new message but keeping last value if not refreshed](https://discourse.nodered.org/t/comparing-two-payload-at-new-message-but-keeping-last-value-if-not-refreshed/61123)

<div class="topic-metadata">

**Author:** [@ch-zacmo](https://discourse.nodered.org/u/ch-zacmo)\
**Replies:** 3\
**Last updated:** [11 April 2022 15:19 UTC](https://discourse.nodered.org/t/comparing-two-payload-at-new-message-but-keeping-last-value-if-not-refreshed/61123 "2022-04-11T15:19:34Z")

</div>

Hi, First post here. For the context, I'm receiving a temperature from a KNX node and I would like to compare it with a set value to trigger a Reset Set gate. What I would like my flow to do is : If temperature is bi…

---

## [Calculate timeinterval between two signals](https://discourse.nodered.org/t/calculate-timeinterval-between-two-signals/61108)

<div class="topic-metadata">

**Author:** [@Node01](https://discourse.nodered.org/u/Node01)\
**Replies:** 12\
**Last updated:** [11 April 2022 14:54 UTC](https://discourse.nodered.org/t/calculate-timeinterval-between-two-signals/61108 "2022-04-11T14:54:58Z")

</div>

Hello everyone I have following problem, I want to calculate an interval between two different signals. For example I want save timestamp from a first signal and compare it with timestamp from second signal. But i don…

---

## [Access remote NR instance behind firewall with proxy server?](https://discourse.nodered.org/t/access-remote-nr-instance-behind-firewall-with-proxy-server/61124)

<div class="topic-metadata">

**Author:** [@bbartling](https://discourse.nodered.org/u/bbartling)\
**Replies:** 1\
**Last updated:** [11 April 2022 15:09 UTC](https://discourse.nodered.org/t/access-remote-nr-instance-behind-firewall-with-proxy-server/61124 "2022-04-11T15:09:22Z")

</div>

Hopefully this isn't a silly question, but for work I use an electrical meter called an egauge to log data for research projects and it has an easy configuration interface via a web browser. What I think is really slick…

---

## [Trigger an alarm at a certain time off day a couple of times at a certain time interval](https://discourse.nodered.org/t/trigger-an-alarm-at-a-certain-time-off-day-a-couple-of-times-at-a-certain-time-interval/59966)

<div class="topic-metadata">

**Author:** [@SplitSecComp](https://discourse.nodered.org/u/SplitSecComp)\
**Replies:** 5\
**Last updated:** [11 April 2022 13:33 UTC](https://discourse.nodered.org/t/trigger-an-alarm-at-a-certain-time-off-day-a-couple-of-times-at-a-certain-time-interval/59966 "2022-04-11T13:33:35Z")

</div>

Hi. I need a timer to trigger an alarm at a certain time off day a couple of times at a certain time interval. i need to be able to change the time and interval with function node or a message. I have tried ezitmer but…

---

## [Dates not handled correctly](https://discourse.nodered.org/t/dates-not-handled-correctly/61091)

<div class="topic-metadata">

**Author:** [@killahbee](https://discourse.nodered.org/u/killahbee)\
**Replies:** 2\
**Last updated:** [11 April 2022 09:37 UTC](https://discourse.nodered.org/t/dates-not-handled-correctly/61091 "2022-04-11T09:37:51Z")

</div>

Trying to get something done based on the date. In this example the collection date is the 13th and today is the 10th, but for some reason it's is marking the if statement as true. var now = new Date().getDate() var co…

---

## [Node Red Http In timeout or fails after 2 mins](https://discourse.nodered.org/t/node-red-http-in-timeout-or-fails-after-2-mins/61094)

<div class="topic-metadata">

**Author:** [@AmalRichwin](https://discourse.nodered.org/u/AmalRichwin)\
**Replies:** 4\
**Last updated:** [11 April 2022 08:55 UTC](https://discourse.nodered.org/t/node-red-http-in-timeout-or-fails-after-2-mins/61094 "2022-04-11T08:55:35Z")

</div>

The http in node, the request fails after 2 mins when hitting the endpoint through postman, but the flow is executing even after 2 mins, Node Red Version: 1.2.9 Error response

---

## [Script to trigger flow library update after npm publish?](https://discourse.nodered.org/t/script-to-trigger-flow-library-update-after-npm-publish/61075)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 13\
**Last updated:** [11 April 2022 06:50 UTC](https://discourse.nodered.org/t/script-to-trigger-flow-library-update-after-npm-publish/61075 "2022-04-11T06:50:56Z")

</div>

Has someone written a script to trigger a flow library update after publishing a module to npm? The npm part is fully automated on git push and I routinely forget to manually go to the flow library, find my module, log …

---

## [How to div Values from in multiple output function arrary](https://discourse.nodered.org/t/how-to-div-values-from-in-multiple-output-function-arrary/60978)

<div class="topic-metadata">

**Author:** [@VANAJAKSHI](https://discourse.nodered.org/u/VANAJAKSHI)\
**Replies:** 5\
**Last updated:** [11 April 2022 05:37 UTC](https://discourse.nodered.org/t/how-to-div-values-from-in-multiple-output-function-arrary/60978 "2022-04-11T05:37:47Z")

</div>

I have Written a code in function ( Multiple output ) as below which receives the data through modbus var msg0 = {payload:(msg.payload\[0\]\<\<16) + msg.payload\[1\]}; var msg1 = {payload:(msg.payload\[2\]\<\<16) + msg.payload\[3…

---

## [MQTT Broker Not working](https://discourse.nodered.org/t/mqtt-broker-not-working/61073)

<div class="topic-metadata">

**Author:** [@ae2213](https://discourse.nodered.org/u/ae2213)\
**Replies:** 10\
**Last updated:** [11 April 2022 04:52 UTC](https://discourse.nodered.org/t/mqtt-broker-not-working/61073 "2022-04-11T04:52:15Z")

</div>

What is wrong with Aedes broker?

---

## [Data transfer from the dust sensor DSM501 and their processing.](https://discourse.nodered.org/t/data-transfer-from-the-dust-sensor-dsm501-and-their-processing/61050)

<div class="topic-metadata">

**Author:** [@tsuratolya](https://discourse.nodered.org/u/tsuratolya)\
**Replies:** 7\
**Last updated:** [11 April 2022 04:09 UTC](https://discourse.nodered.org/t/data-transfer-from-the-dust-sensor-dsm501-and-their-processing/61050 "2022-04-11T04:09:20Z")

</div>

Data transfer from the DSM501 sensor and their processing. I have an air quality sensor. It sends me 2 values ​​via MQTT. I want from values ​​#1 - values ​​#2. But there is a feature which is this. Data from values ​​N…

---

## [Setting a variable value in msg.delay of a trigger node](https://discourse.nodered.org/t/setting-a-variable-value-in-msg-delay-of-a-trigger-node/61046)

<div class="topic-metadata">

**Author:** [@paradisgaston](https://discourse.nodered.org/u/paradisgaston)\
**Replies:** 11\
**Last updated:** [10 April 2022 21:15 UTC](https://discourse.nodered.org/t/setting-a-variable-value-in-msg-delay-of-a-trigger-node/61046 "2022-04-10T21:15:03Z")

</div>

When my lock become unlocked, I would like to use a trigger node that will relock the door after a certain number of minutes. I would like the msg.dealy to do so. The delay (in minutes) is store in a input.number helper …

---

## [Need help or example of Node-Red + SmartThings temperature flow](https://discourse.nodered.org/t/need-help-or-example-of-node-red-smartthings-temperature-flow/61084)

<div class="topic-metadata">

**Author:** [@real007](https://discourse.nodered.org/u/real007)\
**Replies:** 2\
**Last updated:** [10 April 2022 21:02 UTC](https://discourse.nodered.org/t/need-help-or-example-of-node-red-smartthings-temperature-flow/61084 "2022-04-10T21:02:54Z")

</div>

I am new to NR. I have setup a NR server along with Smartthings and was able to create a flow to turn on a Smartthings light switch. I am trying to set a temperature via NR and ST, but everything I try, nothing shows up …

---

## [Flow returns blank line between readings](https://discourse.nodered.org/t/flow-returns-blank-line-between-readings/61071)

<div class="topic-metadata">

**Author:** [@darius.curt](https://discourse.nodered.org/u/darius.curt)\
**Replies:** 1\
**Last updated:** [10 April 2022 15:42 UTC](https://discourse.nodered.org/t/flow-returns-blank-line-between-readings/61071 "2022-04-10T15:42:23Z")

</div>

Hello, I have a simple flow which receives the temperature readings of an Arduino in the form of T1=20.55. The Arduino is coded as such in order to print the value: Serial.println("T1=" + (String)temp1); Now I have no…

---

## [Mikroc for pic 18f4550 communicating with nokia 5110](https://discourse.nodered.org/t/mikroc-for-pic-18f4550-communicating-with-nokia-5110/61067)

<div class="topic-metadata">

**Author:** [@Henry1989](https://discourse.nodered.org/u/Henry1989)\
**Replies:** 1\
**Last updated:** [10 April 2022 14:25 UTC](https://discourse.nodered.org/t/mikroc-for-pic-18f4550-communicating-with-nokia-5110/61067 "2022-04-10T14:25:45Z")

</div>

Hello i'm trying to communicate pic 18f4550 with nokia 5110 display without using libraries using SPI communication Does anyone have an example of how to do it?

---

## [Start program on time (schedule tasks)](https://discourse.nodered.org/t/start-program-on-time-schedule-tasks/61066)

<div class="topic-metadata">

**Author:** [@Bonsi](https://discourse.nodered.org/u/Bonsi)\
**Replies:** 2\
**Last updated:** [10 April 2022 14:00 UTC](https://discourse.nodered.org/t/start-program-on-time-schedule-tasks/61066 "2022-04-10T14:00:02Z")

</div>

Hey, i have two programs in my homematic ip: "set heating normal" and "set to energy saving" - both change the temperatures to some levels (holiday home). Now i want to shedule tasks via the dashboard, e.G. a small dat…

---

## [I need help for subtraction 2numbers output result](https://discourse.nodered.org/t/i-need-help-for-subtraction-2numbers-output-result/61061)

<div class="topic-metadata">

**Author:** [@etmomoabc](https://discourse.nodered.org/u/etmomoabc)\
**Replies:** 5\
**Last updated:** [10 April 2022 12:58 UTC](https://discourse.nodered.org/t/i-need-help-for-subtraction-2numbers-output-result/61061 "2022-04-10T12:58:01Z")

</div>

\[{"id":"6b3775681e84575b","type":"server-state-changed","z":"4d1e24cc7a676365","name":"curren temp","server":"771a2737.fb6358","version":4,"exposeToHomeAssistant":false,"haConfig":\[{"property":"name","value":"温度"},{"prop…

---

## [Function notification sending the whole payload instead of the message by email](https://discourse.nodered.org/t/function-notification-sending-the-whole-payload-instead-of-the-message-by-email/61038)

<div class="topic-metadata">

**Author:** [@peterblue22](https://discourse.nodered.org/u/peterblue22)\
**Replies:** 6\
**Last updated:** [9 April 2022 21:05 UTC](https://discourse.nodered.org/t/function-notification-sending-the-whole-payload-instead-of-the-message-by-email/61038 "2022-04-09T21:05:07Z")

</div>

Hello! I want to send a notification by email but I'm receiving the whole payload by email instead of the message I wrote in the function. If the alarm = 1 then send the email notification. The else part should do nothi…

---

## [How can I change the default $HOME/.node-red folder location from the source code?](https://discourse.nodered.org/t/how-can-i-change-the-default-home-node-red-folder-location-from-the-source-code/61037)

<div class="topic-metadata">

**Author:** [@raylight](https://discourse.nodered.org/u/raylight)\
**Replies:** 1\
**Last updated:** [9 April 2022 20:03 UTC](https://discourse.nodered.org/t/how-can-i-change-the-default-home-node-red-folder-location-from-the-source-code/61037 "2022-04-09T20:03:12Z")

</div>

I like to install multiple instances of Node-RED with a single user on Linux. For doing that, I used to get Node-RED source code from GitHub and then using Visual Studio I substituted all .node-red words inside its sourc…

---

## [Trigger Alarm If Element Zero in Array is Less Than -3](https://discourse.nodered.org/t/trigger-alarm-if-element-zero-in-array-is-less-than-3/61018)

<div class="topic-metadata">

**Author:** [@peterblue22](https://discourse.nodered.org/u/peterblue22)\
**Replies:** 11\
**Last updated:** [9 April 2022 18:58 UTC](https://discourse.nodered.org/t/trigger-alarm-if-element-zero-in-array-is-less-than-3/61018 "2022-04-09T18:58:33Z")

</div>

Hello All, I need to trigger an alert if the element zero in the array is less than -3, I created a function but it is not displaying the alert. What I'm doing wrong? Thank you all. \[ { "id": "181547422299f…

---

## [JSONATA for chart](https://discourse.nodered.org/t/jsonata-for-chart/61005)

<div class="topic-metadata">

**Author:** [@rex](https://discourse.nodered.org/u/rex)\
**Replies:** 7\
**Last updated:** [9 April 2022 18:52 UTC](https://discourse.nodered.org/t/jsonata-for-chart/61005 "2022-04-09T18:52:37Z")

</div>

I’m working with charts. The acquired data return three measures for each reading. This is a sample of some of these. \[ { "m\_devID": 1, "m\_time": "2022-04-04T13:48:11.000Z", "temperature": "17.65", "c…

---

## [Question about permissions to reproduce Node-RED](https://discourse.nodered.org/t/question-about-permissions-to-reproduce-node-red/61034)

<div class="topic-metadata">

**Author:** [@bburd](https://discourse.nodered.org/u/bburd)\
**Replies:** 4\
**Last updated:** [9 April 2022 16:33 UTC](https://discourse.nodered.org/t/question-about-permissions-to-reproduce-node-red/61034 "2022-04-09T16:33:26Z")

</div>

I'm co-authoring a book on IoT in which Node-RED is featured. We've read the general terms about reproducing Node-RED screenshots and other artifacts, but we want to make sure that we're not misinterpreting them. Aside f…

---

## [Node-red-contrib-syno](https://discourse.nodered.org/t/node-red-contrib-syno/61028)

<div class="topic-metadata">

**Author:** [@JBB666](https://discourse.nodered.org/u/JBB666)\
**Replies:** 1\
**Last updated:** [9 April 2022 15:45 UTC](https://discourse.nodered.org/t/node-red-contrib-syno/61028 "2022-04-09T15:45:50Z")

</div>

Hi, i am discovering NodeRed, and this tools is so powerfull. I Just discover the node-red-contrib-syno that seem to be used with synology API But i really can't make it working, is there any exemple to see what are th…

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

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