# General

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

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

**Page:** 490

---

## [Get msg.payload value in exec node](https://discourse.nodered.org/t/get-msg-payload-value-in-exec-node/51612)

<div class="topic-metadata">

**Author:** [@Nisha](https://discourse.nodered.org/u/Nisha)\
**Replies:** 11\
**Last updated:** [29 September 2021 09:55 UTC](https://discourse.nodered.org/t/get-msg-payload-value-in-exec-node/51612 "2021-09-29T09:55:04Z")

</div>

I wanted to get the output from http post method which is in msg.payload form to the exec node. How can get it?

---

## [mySQL parse error after update](https://discourse.nodered.org/t/mysql-parse-error-after-update/51661)

<div class="topic-metadata">

**Author:** [@OriolFM](https://discourse.nodered.org/u/OriolFM)\
**Replies:** 1\
**Last updated:** [29 September 2021 09:33 UTC](https://discourse.nodered.org/t/mysql-parse-error-after-update/51661 "2021-09-29T09:33:15Z")

</div>

Hello all, I'm using the mySQL node to generate a DB log for our mobile robots. I used prepared queries with named parameters, and it was running fine before the last update. After the update, I get the following error…

---

## [Twitter node starting before msg.payload is configured](https://discourse.nodered.org/t/twitter-node-starting-before-msg-payload-is-configured/51003)

<div class="topic-metadata">

**Author:** [@mbot](https://discourse.nodered.org/u/mbot)\
**Replies:** 1\
**Last updated:** [29 September 2021 09:13 UTC](https://discourse.nodered.org/t/twitter-node-starting-before-msg-payload-is-configured/51003 "2021-09-29T09:13:57Z")

</div>

Hello, I am using the twitter node. Previously I "hardcoded" the accounts in the "for" field of the Twitter node. That worked. Now I want to read the accounts from a file, which I do in an function node before calling …

---

## [Enable or disable selected nodes](https://discourse.nodered.org/t/enable-or-disable-selected-nodes/51655)

<div class="topic-metadata">

**Author:** [@wael5300](https://discourse.nodered.org/u/wael5300)\
**Replies:** 1\
**Last updated:** [29 September 2021 08:12 UTC](https://discourse.nodered.org/t/enable-or-disable-selected-nodes/51655 "2021-09-29T08:12:06Z")

</div>

How to Enable or disable selected nodes by one click? How to arranging some nodes under each other ?

---

## [Can anybody tell me what node i can use to switch on a relay for 3 seconds](https://discourse.nodered.org/t/can-anybody-tell-me-what-node-i-can-use-to-switch-on-a-relay-for-3-seconds/51653)

<div class="topic-metadata">

**Author:** [@sparky](https://discourse.nodered.org/u/sparky)\
**Replies:** 7\
**Last updated:** [29 September 2021 08:11 UTC](https://discourse.nodered.org/t/can-anybody-tell-me-what-node-i-can-use-to-switch-on-a-relay-for-3-seconds/51653 "2021-09-29T08:11:52Z")

</div>

good day can anybody tell me what node i can use to switch on a relay for 3 seconds

---

## [Filter strings and removing text from string](https://discourse.nodered.org/t/filter-strings-and-removing-text-from-string/51637)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 2\
**Last updated:** [28 September 2021 20:14 UTC](https://discourse.nodered.org/t/filter-strings-and-removing-text-from-string/51637 "2021-09-28T20:14:03Z")

</div>

Hello everyone, I get 4 strings from serial in node connected to an arduino: string1 "T1:24,32" string2 "HR1:41,5" string3 "T2:23,58" string4 "HR2:42,2" First I want to fiter the strings by type (T or HR) and b…

---

## [Node-red crash-Unable to open](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623)

<div class="topic-metadata">

**Author:** [@vishnupriya](https://discourse.nodered.org/u/vishnupriya)\
**Replies:** 7\
**Last updated:** [29 September 2021 04:32 UTC](https://discourse.nodered.org/t/node-red-crash-unable-to-open/51623 "2021-09-29T04:32:02Z")

</div>

when I'm trying to open my node red with command prompt im getting messages like "28 Sep 19:38:02 - \[error\] \[postgrestor:83fb247497bf5955\] Error: timeout exceeded when trying to connect", Please help me fix this, becaus…

---

## [Can someone look at this - is there a problem with the \`moment\` node?](https://discourse.nodered.org/t/can-someone-look-at-this-is-there-a-problem-with-the-moment-node/51521)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 26\
**Last updated:** [28 September 2021 21:12 UTC](https://discourse.nodered.org/t/can-someone-look-at-this-is-there-a-problem-with-the-moment-node/51521 "2021-09-28T21:12:12Z")

</div>

I was about to help someone and while writing a flow and using the moment node I noticed some weird happenings. Here is a working version: \[{"id":"b036bcbd7e968d27","type":"function","z":"65c9b63cb09879a0","name":"","f…

---

## [Node Red Email Delimiter for replys](https://discourse.nodered.org/t/node-red-email-delimiter-for-replys/51634)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 2\
**Last updated:** [28 September 2021 20:20 UTC](https://discourse.nodered.org/t/node-red-email-delimiter-for-replys/51634 "2021-09-28T20:20:17Z")

</div>

HI, Using a mustache template for HTML and PlainText I'm sending an email using the built in email. All working fine; I want to add a reply to delimiter so when someone replies they only add new contents and not edit i…

---

## [How to Calculate CRC-16 (XModem)?](https://discourse.nodered.org/t/how-to-calculate-crc-16-xmodem/51292)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 36\
**Last updated:** [28 September 2021 19:52 UTC](https://discourse.nodered.org/t/how-to-calculate-crc-16-xmodem/51292 "2021-09-28T19:52:13Z")

</div>

G'Day Y'all!! Does any kind soul perhaps have a function block written for the calculation of CRC-16 XModem checksum values? I have looked at https://discourse.nodered.org/t/how-to-calculate-crc-16-modbus/48955 and it …

---

## [Node-red crashes after a while and no html view -- please help -- SOLVED](https://discourse.nodered.org/t/node-red-crashes-after-a-while-and-no-html-view-please-help-solved/6502)

<div class="topic-metadata">

**Author:** [@Europino](https://discourse.nodered.org/u/Europino)\
**Replies:** 14\
**Last updated:** [28 September 2021 19:04 UTC](https://discourse.nodered.org/t/node-red-crashes-after-a-while-and-no-html-view-please-help-solved/6502 "2021-09-28T19:04:07Z")

</div>

I am using Node-red for some time, recently on Linux Mint. A few days ago it turned out that, while node-red was running and I did a deploy, rode-ned went into a kind of loop (deploy never finished), and didn't respond …

---

## [\[Help\] Funny npm errors that i have no idea how to fix](https://discourse.nodered.org/t/help-funny-npm-errors-that-i-have-no-idea-how-to-fix/51642)

<div class="topic-metadata">

**Author:** [@SamuelSauerSacK](https://discourse.nodered.org/u/SamuelSauerSacK)\
**Replies:** 2\
**Last updated:** [28 September 2021 19:02 UTC](https://discourse.nodered.org/t/help-funny-npm-errors-that-i-have-no-idea-how-to-fix/51642 "2021-09-28T19:02:41Z")

</div>

Hi! at the moment I'm trying unsuccessfully to install the node 'node-red-contrib-smartnora' for my Google Nest integration. NodeRed is running on version 2.0.6. Here is the log that is shown to me about the problem: …

---

## [HA Boolean input to switch function node](https://discourse.nodered.org/t/ha-boolean-input-to-switch-function-node/51619)

<div class="topic-metadata">

**Author:** [@d\_tech](https://discourse.nodered.org/u/d_tech)\
**Replies:** 1\
**Last updated:** [28 September 2021 15:50 UTC](https://discourse.nodered.org/t/ha-boolean-input-to-switch-function-node/51619 "2021-09-28T15:50:49Z")

</div>

Hi, I'm looking for an example of a function node (or other solution) to do the following Use 7 x boolean inputs from HA ( 1 for each day of the week) to include or skip a run sequence for solenoids for an irrigation…

---

## [Node-red-node-mysql - AWS](https://discourse.nodered.org/t/node-red-node-mysql-aws/51618)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 1\
**Last updated:** [28 September 2021 14:11 UTC](https://discourse.nodered.org/t/node-red-node-mysql-aws/51618 "2021-09-28T14:11:41Z")

</div>

Hi, Running node-red on a EC2 in AWS with a RDS database. I can not get the "node-red-node-mysql" to connect to the DB, I deploy the same flow via my PC at home an it connects. Also connect via Workbench the the DB and …

---

## [JSON Object node: SPLIT newbie question](https://discourse.nodered.org/t/json-object-node-split-newbie-question/51575)

<div class="topic-metadata">

**Author:** [@mcburnia](https://discourse.nodered.org/u/mcburnia)\
**Replies:** 4\
**Last updated:** [28 September 2021 13:55 UTC](https://discourse.nodered.org/t/json-object-node-split-newbie-question/51575 "2021-09-28T13:55:07Z")

</div>

Hi and apologies for what I am sure is a dumb newbie question. I am trying to insert the daily carbon intensity records into a database table one record at a time as the size of the JSON string returned from the API cal…

---

## [Share flows between instances](https://discourse.nodered.org/t/share-flows-between-instances/51607)

<div class="topic-metadata">

**Author:** [@Dunken](https://discourse.nodered.org/u/Dunken)\
**Replies:** 8\
**Last updated:** [28 September 2021 13:34 UTC](https://discourse.nodered.org/t/share-flows-between-instances/51607 "2021-09-28T13:34:19Z")

</div>

I have independent Node-RED instances deployed and running. I would like to add something like a library to share flows among NR instances. Can anyone help me get started with plugging in my own filesystem (e.g. S3 or E…

---

## [Nrlint does not allow subraction of Dates](https://discourse.nodered.org/t/nrlint-does-not-allow-subraction-of-dates/51621)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 2\
**Last updated:** [28 September 2021 13:22 UTC](https://discourse.nodered.org/t/nrlint-does-not-allow-subraction-of-dates/51621 "2021-09-28T13:22:02Z")

</div>

Using nrlint 1.0.2 the following code shows the error that the left hand side of an arithmetic operation must of type 'any', 'Number' ... The function does run ok (it subtracts the millisecond values). const d1 = new D…

---

## [Help with sending an array to a chart](https://discourse.nodered.org/t/help-with-sending-an-array-to-a-chart/51574)

<div class="topic-metadata">

**Author:** [@jhdgkss](https://discourse.nodered.org/u/jhdgkss)\
**Replies:** 15\
**Last updated:** [28 September 2021 12:13 UTC](https://discourse.nodered.org/t/help-with-sending-an-array-to-a-chart/51574 "2021-09-28T12:13:31Z")

</div>

Hi all i am a newbie :smile: This should be an easy one lol.. I am having trouble extracting the following data in the picture. I want to plot this data into a graph. The blue being the date and time, and in red is t…

---

## [Deploy from command line](https://discourse.nodered.org/t/deploy-from-command-line/15531)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 15\
**Last updated:** [28 September 2021 11:43 UTC](https://discourse.nodered.org/t/deploy-from-command-line/15531 "2021-09-28T11:43:05Z")

</div>

Hi! After a longer period the inputs from my pi stop reacting. Then i move a node and click deploy all and problem solved. Now thinking about a cron job to deploy every night to prevent problems. Is it possible to se…

---

## [Failed to remove icon from Deploy button](https://discourse.nodered.org/t/failed-to-remove-icon-from-deploy-button/51614)

<div class="topic-metadata">

**Author:** [@Roman](https://discourse.nodered.org/u/Roman)\
**Replies:** 1\
**Last updated:** [28 September 2021 10:44 UTC](https://discourse.nodered.org/t/failed-to-remove-icon-from-deploy-button/51614 "2021-09-28T10:44:44Z")

</div>

I want to customize Deploy button in Node-RED editor using custom theme. I have set to null editorTheme.deployButton.icon in settings.js according to documentation but it did not work. Am I missing something?

---

## ["No response object"](https://discourse.nodered.org/t/no-response-object/51461)

<div class="topic-metadata">

**Author:** [@Nisha](https://discourse.nodered.org/u/Nisha)\
**Replies:** 22\
**Last updated:** [28 September 2021 10:00 UTC](https://discourse.nodered.org/t/no-response-object/51461 "2021-09-28T10:00:20Z")

</div>

Hi there, I wanted to post the prediction value from python to template node but it says "No response object". Whenever I am trying to post, the python code take time to run and thus its not getting the value in temp…

---

## [No messages showing in mosquitto console](https://discourse.nodered.org/t/no-messages-showing-in-mosquitto-console/51553)

<div class="topic-metadata">

**Author:** [@lexieyyyy](https://discourse.nodered.org/u/lexieyyyy)\
**Replies:** 4\
**Last updated:** [28 September 2021 05:15 UTC](https://discourse.nodered.org/t/no-messages-showing-in-mosquitto-console/51553 "2021-09-28T05:15:29Z")

</div>

Hi all, I've build a NODE-RED flow with the following nodes: 1 node type http in 1 node type http response 1 none type MQTT out 1 node type debug the MQTT out node is showing "connected" however, when I run the fo…

---

## [Having trouble detecting if a portion of a response is undefined](https://discourse.nodered.org/t/having-trouble-detecting-if-a-portion-of-a-response-is-undefined/51594)

<div class="topic-metadata">

**Author:** [@cegan09](https://discourse.nodered.org/u/cegan09)\
**Replies:** 2\
**Last updated:** [27 September 2021 22:36 UTC](https://discourse.nodered.org/t/having-trouble-detecting-if-a-portion-of-a-response-is-undefined/51594 "2021-09-27T22:36:55Z")

</div>

I'm trying to parse an xml response and pull certain data, however sometimes the data simply isn't there, which returns a "TypeError: Cannot read property '0' of undefined" error. I've read a bunch of threads trying to f…

---

## [Building an ioT app with Apache Kafka + MQTT](https://discourse.nodered.org/t/building-an-iot-app-with-apache-kafka-mqtt/51578)

<div class="topic-metadata">

**Author:** [@kikocosta22](https://discourse.nodered.org/u/kikocosta22)\
**Replies:** 4\
**Last updated:** [27 September 2021 20:56 UTC](https://discourse.nodered.org/t/building-an-iot-app-with-apache-kafka-mqtt/51578 "2021-09-27T20:56:17Z")

</div>

Hello there, I would like some insights about the solution I am now implementing. My team is building an ioT app that monitors a certain industrial process. Our goal is to represent and show ioT information about sensor…

---

## [Maximum Number of serial connections?](https://discourse.nodered.org/t/maximum-number-of-serial-connections/51586)

<div class="topic-metadata">

**Author:** [@MonsieurBricolage](https://discourse.nodered.org/u/MonsieurBricolage)\
**Replies:** 1\
**Last updated:** [27 September 2021 19:12 UTC](https://discourse.nodered.org/t/maximum-number-of-serial-connections/51586 "2021-09-27T19:12:37Z")

</div>

I am trying to connect around 20 Arduinos via USB, interfacing Node-RED through Serial. I will extend the USB 2.0 range through Usb to Ethernet range extenders. How many Serial USB connections does Node-RED allow? Or is…

---

## [Multiple Input interfering PID controller?](https://discourse.nodered.org/t/multiple-input-interfering-pid-controller/51454)

<div class="topic-metadata">

**Author:** [@Marth](https://discourse.nodered.org/u/Marth)\
**Replies:** 8\
**Last updated:** [27 September 2021 18:57 UTC](https://discourse.nodered.org/t/multiple-input-interfering-pid-controller/51454 "2021-09-27T18:57:38Z")

</div>

The node-red-contrib-pid appears to only have 1 input, and potentially multiple ouputs. There's an example of an output of a Heater and a Cooler being used to control the input of Temperature. I'm wondering if anyone ha…

---

## [Handling split/join node logic when "losing" split msgs is expected](https://discourse.nodered.org/t/handling-split-join-node-logic-when-losing-split-msgs-is-expected/51362)

<div class="topic-metadata">

**Author:** [@utmostGrandPoobah](https://discourse.nodered.org/u/utmostGrandPoobah)\
**Replies:** 5\
**Last updated:** [27 September 2021 17:57 UTC](https://discourse.nodered.org/t/handling-split-join-node-logic-when-losing-split-msgs-is-expected/51362 "2021-09-27T17:57:05Z")

</div>

Use-case: I am split'ing an array of recordIds to make sequential API requests (YouTube endpoint) and then evaluating the JSON responses, specifically determining if an array has any items in it. If the array is empty, t…

---

## ["Is a CMS built using Node-red even a good idea?"](https://discourse.nodered.org/t/is-a-cms-built-using-node-red-even-a-good-idea/49497)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 3\
**Last updated:** [27 September 2021 11:16 UTC](https://discourse.nodered.org/t/is-a-cms-built-using-node-red-even-a-good-idea/49497 "2021-09-27T11:16:57Z")

</div>

I'm not here to bash on CMS platforms like WP cough, But I'd really like to have a seamless solution to implement in my node-red server: I understand the term CMS is fairly broad, so I'll refine the question to a simi…

---

## [I am trying to program a traffic light that is powered by OPC UA Data](https://discourse.nodered.org/t/i-am-trying-to-program-a-traffic-light-that-is-powered-by-opc-ua-data/50207)

<div class="topic-metadata">

**Author:** [@idk](https://discourse.nodered.org/u/idk)\
**Replies:** 6\
**Last updated:** [26 September 2021 21:20 UTC](https://discourse.nodered.org/t/i-am-trying-to-program-a-traffic-light-that-is-powered-by-opc-ua-data/50207 "2021-09-26T21:20:43Z")

</div>

Good day dear forum. I am trying to display OPC UA data as a traffic light, but I am not getting anywhere. My first try was to create a bulb that changes color with the ng-if statement via a set msg.payload. This works…

---

## [How to increase the X and Y limits of node-red](https://discourse.nodered.org/t/how-to-increase-the-x-and-y-limits-of-node-red/51543)

<div class="topic-metadata">

**Author:** [@beneditomarques](https://discourse.nodered.org/u/beneditomarques)\
**Replies:** 2\
**Last updated:** [26 September 2021 17:51 UTC](https://discourse.nodered.org/t/how-to-increase-the-x-and-y-limits-of-node-red/51543 "2021-09-26T17:51:36Z")

</div>

Hello, I have an flow (in an flow chart tool) that have so much components (nodes). While trying put this nodes in node-red, I've seen that the width is not suficient to acomodate the entire flow, what let me doing the f…

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

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