# General

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

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

**Page:** 266

---

## [Working with arrays](https://discourse.nodered.org/t/working-with-arrays/73487)

<div class="topic-metadata">

**Author:** [@IngoKnito](https://discourse.nodered.org/u/IngoKnito)\
**Replies:** 6\
**Last updated:** [10 January 2023 19:05 UTC](https://discourse.nodered.org/t/working-with-arrays/73487 "2023-01-10T19:05:25Z")

</div>

Possible Noob-question :slight\_smile: - yes i have seached in the docu and have found not an answer. I create a msg with: var num = msg.payload; msg.payload = \[{ "Test": parseFloat(num) }\]; return msg; Now i want to r…

---

## [Modbus-getter working but flex-getter not working](https://discourse.nodered.org/t/modbus-getter-working-but-flex-getter-not-working/73485)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 1\
**Last updated:** [10 January 2023 17:33 UTC](https://discourse.nodered.org/t/modbus-getter-working-but-flex-getter-not-working/73485 "2023-01-10T17:33:31Z")

</div>

I am trying to rebuild a project that I have that;s running correctly on a second rpi 3b+ The underlying software on both boards are the same as far as I know. Here some data: I managed to use modbus-flex-connection…

---

## [structuredClone() not supported in Function nodes](https://discourse.nodered.org/t/structuredclone-not-supported-in-function-nodes/73425)

<div class="topic-metadata">

**Author:** [@omrid](https://discourse.nodered.org/u/omrid)\
**Replies:** 4\
**Last updated:** [10 January 2023 16:27 UTC](https://discourse.nodered.org/t/structuredclone-not-supported-in-function-nodes/73425 "2023-01-10T16:27:12Z")

</div>

Hi, I tried to use structuredClone() for deep-copy of objects within Function nodes, but get a runtime error: Does anyone have a clue? This method works well in my developed custom nodes and seems cleaner than the JS…

---

## [Button home kit node red](https://discourse.nodered.org/t/button-home-kit-node-red/73478)

<div class="topic-metadata">

**Author:** [@orelio](https://discourse.nodered.org/u/orelio)\
**Replies:** 0\
**Last updated:** [10 January 2023 15:34 UTC](https://discourse.nodered.org/t/button-home-kit-node-red/73478 "2023-01-10T15:34:49Z")

</div>

hey heb een vraagje ken niets van programmeren maar had graag een tegeldrukknop dashboard ui gehad zoals in homekit voor verlichting aan uit een drukknop aan uit een drukknop aan uit met dimmer functie knop rolluik op…

---

## [How to push data to csv and excel?](https://discourse.nodered.org/t/how-to-push-data-to-csv-and-excel/73447)

<div class="topic-metadata">

**Author:** [@kelvin](https://discourse.nodered.org/u/kelvin)\
**Replies:** 7\
**Last updated:** [10 January 2023 14:49 UTC](https://discourse.nodered.org/t/how-to-push-data-to-csv-and-excel/73447 "2023-01-10T14:49:48Z")

</div>

Hi, May i know how to push the data through the csv file to Excel file or just push data to Excel? \[{"id":"67e160d143a67534","type":"tab","label":"Flow 11","disabled":false,"info":"","env":\[\]},{"id":"9d4b3531.391338","…

---

## [Error with 'node-red-contrib-salesforce'](https://discourse.nodered.org/t/error-with-node-red-contrib-salesforce/73466)

<div class="topic-metadata">

**Author:** [@inniss](https://discourse.nodered.org/u/inniss)\
**Replies:** 2\
**Last updated:** [10 January 2023 14:16 UTC](https://discourse.nodered.org/t/error-with-node-red-contrib-salesforce/73466 "2023-01-10T14:16:56Z")

</div>

Hi, I am using the Node 'node-red-contrib-salesforce and am having issues with the 'DML' node. I am creating a msg.payload that contains what I believe to be the correct formatted data, but the resultant nod gives the …

---

## [Receive IPv6 UDP messages](https://discourse.nodered.org/t/receive-ipv6-udp-messages/73420)

<div class="topic-metadata">

**Author:** [@michaelAeOST](https://discourse.nodered.org/u/michaelAeOST)\
**Replies:** 6\
**Last updated:** [10 January 2023 13:33 UTC](https://discourse.nodered.org/t/receive-ipv6-udp-messages/73420 "2023-01-10T13:33:41Z")

</div>

I am trying to receive UDP messages via IPv6. My Node-RED is in a docker where I activated IPv6. I am able to receive UDP messages via IPv4 but not via IPv6. I tried following command for port forwarding without success…

---

## [Set ID's in the input number and use it inside the template with buffer.from](https://discourse.nodered.org/t/set-ids-in-the-input-number-and-use-it-inside-the-template-with-buffer-from/73462)

<div class="topic-metadata">

**Author:** [@Guudiin](https://discourse.nodered.org/u/Guudiin)\
**Replies:** 0\
**Last updated:** [10 January 2023 12:43 UTC](https://discourse.nodered.org/t/set-ids-in-the-input-number-and-use-it-inside-the-template-with-buffer-from/73462 "2023-01-10T12:43:44Z")

</div>

Sorry for bad English. I'm trying to create a dashboard to command 60 ID's via TPC/IP. But I need help to set values ​​from 1 to 60, without having to keep changing the tamplate. Is there any way? Ex: msg.payload = B…

---

## [SNMP get: RangeError: Read integer 3560610201 is outside the signed 32-bit range](https://discourse.nodered.org/t/snmp-get-rangeerror-read-integer-3560610201-is-outside-the-signed-32-bit-range/73459)

<div class="topic-metadata">

**Author:** [@Sergii](https://discourse.nodered.org/u/Sergii)\
**Replies:** 0\
**Last updated:** [10 January 2023 12:14 UTC](https://discourse.nodered.org/t/snmp-get-rangeerror-read-integer-3560610201-is-outside-the-signed-32-bit-range/73459 "2023-01-10T12:14:07Z")

</div>

I use node-red-node-snmp 1.0.5 for reading SMART SSD. Parameter "Total\_LBAs\_Written" equals 12150544793, over time, it can increase by one more digit in the number. What are the ways to read the value?

---

## [Looking for function that can use for my application](https://discourse.nodered.org/t/looking-for-function-that-can-use-for-my-application/73392)

<div class="topic-metadata">

**Author:** [@kelvin](https://discourse.nodered.org/u/kelvin)\
**Replies:** 11\
**Last updated:** [10 January 2023 08:15 UTC](https://discourse.nodered.org/t/looking-for-function-that-can-use-for-my-application/73392 "2023-01-10T08:15:58Z")

</div>

Hi, My application is using "OPCOM II" using analog input ( the product picture below) so the problem that i facing is got any function can hold for 10 sec after 10 sec the data come in 2 sec then turn to low for…

---

## [Error on opening node-red on cmd](https://discourse.nodered.org/t/error-on-opening-node-red-on-cmd/73394)

<div class="topic-metadata">

**Author:** [@Vaibhavi27](https://discourse.nodered.org/u/Vaibhavi27)\
**Replies:** 4\
**Last updated:** [10 January 2023 05:23 UTC](https://discourse.nodered.org/t/error-on-opening-node-red-on-cmd/73394 "2023-01-10T05:23:20Z")

</div>

Hello, Initially I was using node-red which work absolutely smooth. But since I have downloaded a pallate which has blocked me to go to node-red page. As I enter node-red command it gives me an local host address. Er…

---

## [How to solve HTTP - Request error - ERR\_GOT\_REQUEST\_ERROR](https://discourse.nodered.org/t/how-to-solve-http-request-error-err-got-request-error/73428)

<div class="topic-metadata">

**Author:** [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Replies:** 3\
**Last updated:** [10 January 2023 04:59 UTC](https://discourse.nodered.org/t/how-to-solve-http-request-error-err-got-request-error/73428 "2023-01-10T04:59:45Z")

</div>

Hi everyone, I am facing a issue with a http simple request. Doing a request to external websites it works perfectly but doing the same request internally i got a RequestError: Bad response: 503, statusCode: "ERR\_GOT\_R…

---

## [FlexDash- DateTime in Title Bar](https://discourse.nodered.org/t/flexdash-datetime-in-title-bar/73438)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 2\
**Last updated:** [10 January 2023 02:29 UTC](https://discourse.nodered.org/t/flexdash-datetime-in-title-bar/73438 "2023-01-10T02:29:19Z")

</div>

I have many Tabs in the FlexDash Dashboard, and in every tab it is required to show current date and time including seconds. DD-MM-YYYY HH:mm:ss format. i achieve the same by displaying using inject/datetime widget combo…

---

## [Create web page dynamically, depending on clients HTTP request](https://discourse.nodered.org/t/create-web-page-dynamically-depending-on-clients-http-request/73347)

<div class="topic-metadata">

**Author:** [@koerri](https://discourse.nodered.org/u/koerri)\
**Replies:** 17\
**Last updated:** [9 January 2023 21:01 UTC](https://discourse.nodered.org/t/create-web-page-dynamically-depending-on-clients-http-request/73347 "2023-01-09T21:01:29Z")

</div>

Hi, total Node-RED newbie here. I've got a PIR sensor, which upon detecting motion is waking a ESP8266 from deep sleep. The ESP is connecting to Wifi, then sending an HTTP request to the (Node-RED) web server, then goin…

---

## [Uibuilder Uncaught TypeError: Vue is not a constructor](https://discourse.nodered.org/t/uibuilder-uncaught-typeerror-vue-is-not-a-constructor/73407)

<div class="topic-metadata">

**Author:** [@KarolisL](https://discourse.nodered.org/u/KarolisL)\
**Replies:** 4\
**Last updated:** [9 January 2023 20:55 UTC](https://discourse.nodered.org/t/uibuilder-uncaught-typeerror-vue-is-not-a-constructor/73407 "2023-01-09T20:55:25Z")

</div>

I've followed steps from Uibuilder: Getting Started Walkthrough - #4 by HaroldPetersInskipp, initial uibtest flow works fine, but I'm stuck when I tried this flow: https://flows.nodered.org/flow/bbe6803d9daebda5c991336…

---

## [If not equal to "string" and equal to number - function node](https://discourse.nodered.org/t/if-not-equal-to-string-and-equal-to-number-function-node/73423)

<div class="topic-metadata">

**Author:** [@jakobgabriel](https://discourse.nodered.org/u/jakobgabriel)\
**Replies:** 3\
**Last updated:** [9 January 2023 16:43 UTC](https://discourse.nodered.org/t/if-not-equal-to-string-and-equal-to-number-function-node/73423 "2023-01-09T16:43:37Z")

</div>

Hello NodeRED Community, i have a quite bad issue which i can not solve out of the box: Currently i have a function node which has this function that is not working: var valueSensorMode = msg.payload.valueSensorMode v…

---

## [Resetting an input from MQTT](https://discourse.nodered.org/t/resetting-an-input-from-mqtt/73231)

<div class="topic-metadata">

**Author:** [@JHScen](https://discourse.nodered.org/u/JHScen)\
**Replies:** 12\
**Last updated:** [9 January 2023 15:11 UTC](https://discourse.nodered.org/t/resetting-an-input-from-mqtt/73231 "2023-01-09T15:11:58Z")

</div>

Hi - thanks in advance if anyone has any ideas.. I am using MQTT to pull some data into node red. The data is a count. Adding and subtracting whenever necessary. Sometimes just adding or subtracting 1, other times addin…

---

## [How to add double quotes to msg.payload](https://discourse.nodered.org/t/how-to-add-double-quotes-to-msg-payload/73022)

<div class="topic-metadata">

**Author:** [@Aurgelme](https://discourse.nodered.org/u/Aurgelme)\
**Replies:** 7\
**Last updated:** [9 January 2023 14:35 UTC](https://discourse.nodered.org/t/how-to-add-double-quotes-to-msg-payload/73022 "2023-01-09T14:35:28Z")

</div>

I have a function node that send msg.payload to a terminal program for communication with a 4G modem. How can I put " " so that the outgoing 'meg.payload +text' looks like "value my text " and not just like, value-my-…

---

## [Struggling to start Node-red in windows](https://discourse.nodered.org/t/struggling-to-start-node-red-in-windows/73393)

<div class="topic-metadata">

**Author:** [@hyena](https://discourse.nodered.org/u/hyena)\
**Replies:** 4\
**Last updated:** [9 January 2023 13:50 UTC](https://discourse.nodered.org/t/struggling-to-start-node-red-in-windows/73393 "2023-01-09T13:50:51Z")

</div>

if i want to open node-red in chrome node-red can't display flow and dashboard i am already reinstall node red, but the problem still occurs

---

## [MQTT 3D Printer Management with Node-Red and OctoPrint](https://discourse.nodered.org/t/mqtt-3d-printer-management-with-node-red-and-octoprint/72889)

<div class="topic-metadata">

**Author:** [@toniii](https://discourse.nodered.org/u/toniii)\
**Replies:** 15\
**Last updated:** [9 January 2023 10:51 UTC](https://discourse.nodered.org/t/mqtt-3d-printer-management-with-node-red-and-octoprint/72889 "2023-01-09T10:51:48Z")

</div>

Hello, does anyone know how @nicedevil did the dashboard in this thread (thread link here) using MQTT with 3D printer data, controls and uploading of STL from the dashboard to the 3D printer to start printing?

---

## [Manual Node Install Dietpi](https://discourse.nodered.org/t/manual-node-install-dietpi/72682)

<div class="topic-metadata">

**Author:** [@Ianszh](https://discourse.nodered.org/u/Ianszh)\
**Replies:** 16\
**Last updated:** [9 January 2023 10:28 UTC](https://discourse.nodered.org/t/manual-node-install-dietpi/72682 "2023-01-09T10:28:47Z")

</div>

Hello, I tried to manually install npm install --global node-red-contrib-blynk-iot in the /mnt/dietpi\_userdata/node-red folder as the node is still in beta and there is no easy install version. After a reboot and check…

---

## [Failed to start server:](https://discourse.nodered.org/t/failed-to-start-server/73373)

<div class="topic-metadata">

**Author:** [@CESLBM](https://discourse.nodered.org/u/CESLBM)\
**Replies:** 5\
**Last updated:** [9 January 2023 10:19 UTC](https://discourse.nodered.org/t/failed-to-start-server/73373 "2023-01-09T10:19:14Z")

</div>

Hello, I am having this problem with node red after not using it for a longtime, how can I fix it? I am grateful that you answer my question!! Welcome to Node-RED 8 Jan 16:43:30 - \[info\] Node-RED version: v3.0.2 8 Jan …

---

## [Problem with dynamic MQTT subscription: receiving messages from another topic!](https://discourse.nodered.org/t/problem-with-dynamic-mqtt-subscription-receiving-messages-from-another-topic/73301)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 22\
**Last updated:** [9 January 2023 10:18 UTC](https://discourse.nodered.org/t/problem-with-dynamic-mqtt-subscription-receiving-messages-from-another-topic/73301 "2023-01-09T10:18:40Z")

</div>

\[{"id":"c60b2dd0aed70159","type":"mqtt out","z":"fec3a58f1cc8836e","name":"","topic":"RGL/221600001/up","qos":"1","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"846ddbe9b23…

---

## [Node Red socketcan output frame received problem](https://discourse.nodered.org/t/node-red-socketcan-output-frame-received-problem/73297)

<div class="topic-metadata">

**Author:** [@David321](https://discourse.nodered.org/u/David321)\
**Replies:** 5\
**Last updated:** [9 January 2023 08:51 UTC](https://discourse.nodered.org/t/node-red-socketcan-output-frame-received-problem/73297 "2023-01-09T08:51:41Z")

</div>

Hello, I am working on a node red project that uses sockectcan out. I have a problem when receiving a frame. I receive a data frame containing 2 separate bytes, example "0x1004". When I receive it, I get 0x104, which …

---

## [Why doesn't a flow work and another does, being the same?](https://discourse.nodered.org/t/why-doesnt-a-flow-work-and-another-does-being-the-same/72645)

<div class="topic-metadata">

**Author:** [@Phrana](https://discourse.nodered.org/u/Phrana)\
**Replies:** 10\
**Last updated:** [9 January 2023 08:48 UTC](https://discourse.nodered.org/t/why-doesnt-a-flow-work-and-another-does-being-the-same/72645 "2023-01-09T08:48:36Z")

</div>

Hello, I have a flow that I have copied (changing the entities) and although the zones are the same, it does not work in one. I thought that the switch or the presence sensor would be bad, but I have verified that they …

---

## [Email error "Error: Invalid HELO. response=501 5.5.4 Invalid domain name"](https://discourse.nodered.org/t/email-error-error-invalid-helo-response-501-5-5-4-invalid-domain-name/73334)

<div class="topic-metadata">

**Author:** [@ianh33](https://discourse.nodered.org/u/ianh33)\
**Replies:** 14\
**Last updated:** [9 January 2023 07:50 UTC](https://discourse.nodered.org/t/email-error-error-invalid-helo-response-501-5-5-4-invalid-domain-name/73334 "2023-01-09T07:50:24Z")

</div>

Node red v3.0.2 enabled via PM2 on a Mac Mini running OSX Monterey I have installed node-red-node-email (v1.18.4). My email node is configured as follows: To: myemail@me.com Server: smtp.office365.com Port: 5887 …

---

## [Graphing temp and humidity from MariaDB](https://discourse.nodered.org/t/graphing-temp-and-humidity-from-mariadb/72402)

<div class="topic-metadata">

**Author:** [@HobbyFarmer](https://discourse.nodered.org/u/HobbyFarmer)\
**Replies:** 2\
**Last updated:** [9 January 2023 05:32 UTC](https://discourse.nodered.org/t/graphing-temp-and-humidity-from-mariadb/72402 "2023-01-09T05:32:25Z")

</div>

As some of my other posts mentioned I am stepping my way through a smart home build. Currently I have Arduinos sending temp and humidity to MariaDB on my Pi. I am pulling it back into NR and graphing it. However I would …

---

## [MQTT-in node produces undefined](https://discourse.nodered.org/t/mqtt-in-node-produces-undefined/73381)

<div class="topic-metadata">

**Author:** [@Vilnis\_R](https://discourse.nodered.org/u/Vilnis_R)\
**Replies:** 4\
**Last updated:** [8 January 2023 20:25 UTC](https://discourse.nodered.org/t/mqtt-in-node-produces-undefined/73381 "2023-01-08T20:25:34Z")

</div>

Hi there! I came across the weird behavior of mqqt node. I made new espboard that publishes to mqtt and made new flow with mqqt-in node. This node in debug node shows "undefined". I tried various scenarios and got the s…

---

## [Ask for help with debug in node red](https://discourse.nodered.org/t/ask-for-help-with-debug-in-node-red/73324)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 2\
**Last updated:** [8 January 2023 20:20 UTC](https://discourse.nodered.org/t/ask-for-help-with-debug-in-node-red/73324 "2023-01-08T20:20:10Z")

</div>

hi evryone can anyone help me with this : i wana simulate code can control a system {pump-low start and stop by switch after pump-low start the pump-décolorant and pump-scalaut starting after 2 sec also pump-high start …

---

## [Trying to hide URL parameters from http GET by reposting using http POST](https://discourse.nodered.org/t/trying-to-hide-url-parameters-from-http-get-by-reposting-using-http-post/73384)

<div class="topic-metadata">

**Author:** [@knowledgeshark](https://discourse.nodered.org/u/knowledgeshark)\
**Replies:** 0\
**Last updated:** [8 January 2023 20:01 UTC](https://discourse.nodered.org/t/trying-to-hide-url-parameters-from-http-get-by-reposting-using-http-post/73384 "2023-01-08T20:01:58Z")

</div>

I've been using the http GET where parameters are passed, and then I create a custom web page (after grabbing information from the database assuming the username and password are valid). The issue I've had is that the U…

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

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