# General

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

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

**Page:** 265

---

## [Error ERR\_OUT\_OF\_RANGE](https://discourse.nodered.org/t/error-err-out-of-range/73367)

<div class="topic-metadata">

**Author:** [@Avellanas](https://discourse.nodered.org/u/Avellanas)\
**Replies:** 2\
**Last updated:** [12 January 2023 13:59 UTC](https://discourse.nodered.org/t/error-err-out-of-range/73367 "2023-01-12T13:59:41Z")

</div>

Hello, I have this error in syslog and I can't find how to fix it. Can you help me? \*Jan 6 14:44:21 iot2050\[298\]: 6 Jan 14:44:21 - \[red\] Uncaught Exception:\* \*Jan 6 14:44:21 iot2050\[298\]: 6 Jan 14:44:21 - RangeError…

---

## [Locate an element in an array array](https://discourse.nodered.org/t/locate-an-element-in-an-array-array/73547)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 8\
**Last updated:** [12 January 2023 13:56 UTC](https://discourse.nodered.org/t/locate-an-element-in-an-array-array/73547 "2023-01-12T13:56:56Z")

</div>

Hello everyone, I have an array of elements. Each element is an array of elements. \[{"id":"4fc7389b1ee3ce61","type":"function","z":"22872ad18901ecfc","name":"find element","func":"\\n// recupere le msg.payload : array…

---

## [Add a value to payload](https://discourse.nodered.org/t/add-a-value-to-payload/73552)

<div class="topic-metadata">

**Author:** [@Rhysgh](https://discourse.nodered.org/u/Rhysgh)\
**Replies:** 7\
**Last updated:** [12 January 2023 13:15 UTC](https://discourse.nodered.org/t/add-a-value-to-payload/73552 "2023-01-12T13:15:33Z")

</div>

Hi, I'm looking to use arithmetic in payloads. For example, take a payload of 5 and put out 10. I have been messing with a change node but cannot seem to find the correct expression.

---

## [Node red connection to remote mysql](https://discourse.nodered.org/t/node-red-connection-to-remote-mysql/73582)

<div class="topic-metadata">

**Author:** [@sahar](https://discourse.nodered.org/u/sahar)\
**Replies:** 6\
**Last updated:** [12 January 2023 12:22 UTC](https://discourse.nodered.org/t/node-red-connection-to-remote-mysql/73582 "2023-01-12T12:22:53Z")

</div>

Hi , I am using node red at my windows 10 , and my database is located at different server with www.lifeandb.com domain ,now I try to connect to that DB with MySQL node with my db. information to send sensors data , bu…

---

## [Can you ignore flow-manager-nodes-order.json in .gitignore?](https://discourse.nodered.org/t/can-you-ignore-flow-manager-nodes-order-json-in-gitignore/73572)

<div class="topic-metadata">

**Author:** [@watadarkstar](https://discourse.nodered.org/u/watadarkstar)\
**Replies:** 1\
**Last updated:** [12 January 2023 09:46 UTC](https://discourse.nodered.org/t/can-you-ignore-flow-manager-nodes-order-json-in-gitignore/73572 "2023-01-12T09:46:58Z")

</div>

Hi, We are using node-red-contrib-flow-manager to split up our flow to make version handling of the flows more manageable. However the file "flow-manager-nodes-order.json" generated by the library just contain an array…

---

## [How to rebuild array](https://discourse.nodered.org/t/how-to-rebuild-array/73556)

<div class="topic-metadata">

**Author:** [@ritech](https://discourse.nodered.org/u/ritech)\
**Replies:** 7\
**Last updated:** [12 January 2023 09:26 UTC](https://discourse.nodered.org/t/how-to-rebuild-array/73556 "2023-01-12T09:26:04Z")

</div>

original \[ { "deviceuid": "704F08017964", "zoneNum": 0, "historyMusic": { "isLocal": false, "localPath": "", "singerId": "", "musicId": "699345…

---

## [MQTT in randomly disconnect](https://discourse.nodered.org/t/mqtt-in-randomly-disconnect/72574)

<div class="topic-metadata">

**Author:** [@Sets](https://discourse.nodered.org/u/Sets)\
**Replies:** 30\
**Last updated:** [12 January 2023 07:25 UTC](https://discourse.nodered.org/t/mqtt-in-randomly-disconnect/72574 "2023-01-12T07:25:46Z")

</div>

Hi, I have recently came across an issue with the MQTT nodes on node Red. The node red server is set up on an AWS server, since 2 months I have a problem that MQTT node every now and then (once every 4 days, every 5 d…

---

## [Run node-red with multiple instances](https://discourse.nodered.org/t/run-node-red-with-multiple-instances/73533)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 0\
**Last updated:** [11 January 2023 12:26 UTC](https://discourse.nodered.org/t/run-node-red-with-multiple-instances/73533 "2023-01-11T12:26:33Z")

</div>

To run the NR Runtime for a specific "Project" and to further work on another project with the NR Editor, I found Steves instruction at Installing and Starting Node-Red - Steves Node-Red Guide with node-red -p 1881 -u u…

---

## [My (new) approach to managing state (encapsulation using groups)](https://discourse.nodered.org/t/my-new-approach-to-managing-state-encapsulation-using-groups/73532)

<div class="topic-metadata">

**Author:** [@prof7bit](https://discourse.nodered.org/u/prof7bit)\
**Replies:** 8\
**Last updated:** [11 January 2023 20:44 UTC](https://discourse.nodered.org/t/my-new-approach-to-managing-state-encapsulation-using-groups/73532 "2023-01-11T20:44:34Z")

</div>

I am using Node-RED exclusively for home automation, specifically as an add-on to Home Assistant. In this use case I am not so much dealing with complex contents of messages and their transformation, but rather with the…

---

## [Convert mqtt temp to post](https://discourse.nodered.org/t/convert-mqtt-temp-to-post/73562)

<div class="topic-metadata">

**Author:** [@montyfert](https://discourse.nodered.org/u/montyfert)\
**Replies:** 2\
**Last updated:** [11 January 2023 21:08 UTC](https://discourse.nodered.org/t/convert-mqtt-temp-to-post/73562 "2023-01-11T21:08:10Z")

</div>

i have an mqtt temperature sensor coming into node red and i want it to send the temperature out every 10 minutes with Eg- http://192.168.0.93/cm?cmnd=DisplayText 15°C but for the life of me cannot figure it out any …

---

## [Help with switch node expression](https://discourse.nodered.org/t/help-with-switch-node-expression/73145)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 4\
**Last updated:** [11 January 2023 18:56 UTC](https://discourse.nodered.org/t/help-with-switch-node-expression/73145 "2023-01-11T18:56:20Z")

</div>

I have a property that is a string. I only want to let the message thorugh the switch node if the number after the second dash - is 1. A string that would pass looks like this: PP-12345-1 A string that would not pass …

---

## [Reaching a Linked Docker Container from NR](https://discourse.nodered.org/t/reaching-a-linked-docker-container-from-nr/73548)

<div class="topic-metadata">

**Author:** [@guillad](https://discourse.nodered.org/u/guillad)\
**Replies:** 0\
**Last updated:** [11 January 2023 16:36 UTC](https://discourse.nodered.org/t/reaching-a-linked-docker-container-from-nr/73548 "2023-01-11T16:36:44Z")

</div>

Hi all, I'm following the Linking Containers tutorial to link NR with another container, within the docker runtime. It partially works, a new bridge is created, called simply bridge docker network create bridge docker …

---

## [SQL procedure outputs columns in totally different order](https://discourse.nodered.org/t/sql-procedure-outputs-columns-in-totally-different-order/73540)

<div class="topic-metadata">

**Author:** [@milner236](https://discourse.nodered.org/u/milner236)\
**Replies:** 1\
**Last updated:** [11 January 2023 15:18 UTC](https://discourse.nodered.org/t/sql-procedure-outputs-columns-in-totally-different-order/73540 "2023-01-11T15:18:10Z")

</div>

Hello everyone, I have a procedure in SQL that outputs a table that includes columns of different types. When I run it, I receive a perfectly normal output. However, when I run the same exact procedure with node-red u…

---

## [Send payload with notify](https://discourse.nodered.org/t/send-payload-with-notify/73523)

<div class="topic-metadata">

**Author:** [@kroonp](https://discourse.nodered.org/u/kroonp)\
**Replies:** 9\
**Last updated:** [11 January 2023 14:03 UTC](https://discourse.nodered.org/t/send-payload-with-notify/73523 "2023-01-11T14:03:26Z")

</div>

I have a inject node with the numeric value 40. In notify I want to send the payload from the inject node. ''' { "message":"test"+ {{msg.payload}},"title":"10.Test" } ''' Can you help me with the correct syntax. …

---

## [PID regulator problem](https://discourse.nodered.org/t/pid-regulator-problem/70228)

<div class="topic-metadata">

**Author:** [@Leopoll](https://discourse.nodered.org/u/Leopoll)\
**Replies:** 13\
**Last updated:** [11 January 2023 13:24 UTC](https://discourse.nodered.org/t/pid-regulator-problem/70228 "2023-01-11T13:24:44Z")

</div>

I am trying to use a PID node. Node-red-node-pidcontol works weird. If you change the setpoint using msg.setpoint, then although the value on the dashboard changes, but in fact the PID works with the previous setpoint. …

---

## [Data Logging In PC](https://discourse.nodered.org/t/data-logging-in-pc/73441)

<div class="topic-metadata">

**Author:** [@ganeshiac](https://discourse.nodered.org/u/ganeshiac)\
**Replies:** 6\
**Last updated:** [11 January 2023 11:35 UTC](https://discourse.nodered.org/t/data-logging-in-pc/73441 "2023-01-11T11:35:56Z")

</div>

Hi Everyone, I need clarification about how to logs Data in .csv file format in Local Computer or Laptop. Is there any work flow (Function Flow) available, can you explained briefly or share any video. Like file path …

---

## [Lines over a picture (edit picture) cont](https://discourse.nodered.org/t/lines-over-a-picture-edit-picture-cont/73500)

<div class="topic-metadata">

**Author:** [@magnusso](https://discourse.nodered.org/u/magnusso)\
**Replies:** 3\
**Last updated:** [11 January 2023 11:23 UTC](https://discourse.nodered.org/t/lines-over-a-picture-edit-picture-cont/73500 "2023-01-11T11:23:52Z")

</div>

As a continuation to https://discourse.nodered.org/t/lines-over-a-picture-edit-picture/32567, in node-red-contrib-image-tools is there some straightforward way to draw a diagonal line from a point x1,y1 to x2, y2?

---

## [Shelly TRV & Boiler Control](https://discourse.nodered.org/t/shelly-trv-boiler-control/73290)

<div class="topic-metadata">

**Author:** [@BouldBadger](https://discourse.nodered.org/u/BouldBadger)\
**Replies:** 17\
**Last updated:** [11 January 2023 11:12 UTC](https://discourse.nodered.org/t/shelly-trv-boiler-control/73290 "2023-01-11T11:12:12Z")

</div>

Hi all, Is there anyone using node red to control their heating using shelly TRVs? I have a sheely relay controlling the boiler. I have it working kind of but I need to refine my flow as it's not working well and would …

---

## [Connecting Gigabit Ethernet Camera to node Red!](https://discourse.nodered.org/t/connecting-gigabit-ethernet-camera-to-node-red/73516)

<div class="topic-metadata">

**Author:** [@ingroth](https://discourse.nodered.org/u/ingroth)\
**Replies:** 2\
**Last updated:** [11 January 2023 10:43 UTC](https://discourse.nodered.org/t/connecting-gigabit-ethernet-camera-to-node-red/73516 "2023-01-11T10:43:41Z")

</div>

Hello everyone, i am trying to connect a Gigabit Ethernet Camera from Basler to Node Red. The Camera model is a: Basler a2A1920-51gcBAS GigE Vision Kamera ace2 Does anyone have an idea how to connect it to node red? T…

---

## [JSONata: Using the result of an Object Function to reference a Message Property in a Change Node](https://discourse.nodered.org/t/jsonata-using-the-result-of-an-object-function-to-reference-a-message-property-in-a-change-node/73505)

<div class="topic-metadata">

**Author:** [@simon.ingham](https://discourse.nodered.org/u/simon.ingham)\
**Replies:** 5\
**Last updated:** [11 January 2023 10:16 UTC](https://discourse.nodered.org/t/jsonata-using-the-result-of-an-object-function-to-reference-a-message-property-in-a-change-node/73505 "2023-01-11T10:16:49Z")

</div>

Hello all, I'm new to Node-RED and have been struggling with using JSONata to set nested object properties with the Change Node. I have the following scenario where I need to access a particular property's value in a n…

---

## [Problem with the use of the "switch" node](https://discourse.nodered.org/t/problem-with-the-use-of-the-switch-node/73490)

<div class="topic-metadata">

**Author:** [@Acii](https://discourse.nodered.org/u/Acii)\
**Replies:** 16\
**Last updated:** [11 January 2023 09:50 UTC](https://discourse.nodered.org/t/problem-with-the-use-of-the-switch-node/73490 "2023-01-11T09:50:25Z")

</div>

I have a little problem with the "swicth" node, I think I don't quite understand how to use it, my payload\["1"\] is an array of strings so for me the "swicth" node I pasted above should check if the array contains th…

---

## [UIbuilder showing 0.0.0.0:1880](https://discourse.nodered.org/t/uibuilder-showing-0-0-0-0-1880/73506)

<div class="topic-metadata">

**Author:** [@ralbright-wa](https://discourse.nodered.org/u/ralbright-wa)\
**Replies:** 2\
**Last updated:** [11 January 2023 09:06 UTC](https://discourse.nodered.org/t/uibuilder-showing-0-0-0-0-1880/73506 "2023-01-11T09:06:41Z")

</div>

Welcome to Node-RED =================== 10 Jan 18:46:47 - \[info\] Node-RED version: v3.0.0 10 Jan 18:46:47 - \[info\] Node.js version: v16.19.0 10 Jan 18:46:47 - \[info\] Linux 5.15.0-57-generic x64 LE 10 Jan 18:46:47 - \[i…

---

## [Daemon.log increasing constantly](https://discourse.nodered.org/t/daemon-log-increasing-constantly/73474)

<div class="topic-metadata">

**Author:** [@megamarco83](https://discourse.nodered.org/u/megamarco83)\
**Replies:** 4\
**Last updated:** [11 January 2023 08:59 UTC](https://discourse.nodered.org/t/daemon-log-increasing-constantly/73474 "2023-01-11T08:59:09Z")

</div>

hello, i have nodered 2.1.4 installed on my RPI 3 (buster) and i'm using google home contrib: i see my daemon.log populated like below: Jan 10 11:56:41 raspberrypi Node-RED\[317\]: #033\[0mPOST /smarthome #033\[32m200#03…

---

## [Ui template toggle switches](https://discourse.nodered.org/t/ui-template-toggle-switches/71580)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 25\
**Last updated:** [17 December 2022 10:46 UTC](https://discourse.nodered.org/t/ui-template-toggle-switches/71580 "2022-12-17T10:46:57Z")

</div>

Is there an example of ui template toggle switch implementation - true/false toggle button (not radio) with css color change to indicate state? Thanks.

---

## [Nodered resets if trying to use Modbus RTU](https://discourse.nodered.org/t/nodered-resets-if-trying-to-use-modbus-rtu/73492)

<div class="topic-metadata">

**Author:** [@PakkoB](https://discourse.nodered.org/u/PakkoB)\
**Replies:** 8\
**Last updated:** [10 January 2023 21:56 UTC](https://discourse.nodered.org/t/nodered-resets-if-trying-to-use-modbus-rtu/73492 "2023-01-10T21:56:53Z")

</div>

I´m breaking my head against a wall with this problem. The flows attached have been working for more than a year using RTU server. Suddenly, last december, RTU stopped working. Thinking it was a hardware problem, I bega…

---

## [Rerun the flows after a power outage](https://discourse.nodered.org/t/rerun-the-flows-after-a-power-outage/73470)

<div class="topic-metadata">

**Author:** [@agassparkle](https://discourse.nodered.org/u/agassparkle)\
**Replies:** 8\
**Last updated:** [10 January 2023 21:11 UTC](https://discourse.nodered.org/t/rerun-the-flows-after-a-power-outage/73470 "2023-01-10T21:11:12Z")

</div>

Hello, This is an example i have, after the power outage if the light was on due to the time of the day is it possible to rerun the flows ? thanks in advance \[{"id":"f5d1dd1f18c12d12","type":"tab","label":"Flow 5","d…

---

## [How to copy pairs of values from json into to the SQL](https://discourse.nodered.org/t/how-to-copy-pairs-of-values-from-json-into-to-the-sql/73464)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 4\
**Last updated:** [10 January 2023 21:25 UTC](https://discourse.nodered.org/t/how-to-copy-pairs-of-values-from-json-into-to-the-sql/73464 "2023-01-10T21:25:38Z")

</div>

Dear all, With the help of Garmin API I successfully get my Hear rate data into the json file. In JSON file there are pairs of values: EPOCH date/time along with heart rate. My idea is to import this pairs into the SQL. …

---

## [Node Red service masked?](https://discourse.nodered.org/t/node-red-service-masked/73498)

<div class="topic-metadata">

**Author:** [@Jibun-no-Kage](https://discourse.nodered.org/u/Jibun-no-Kage)\
**Replies:** 2\
**Last updated:** [10 January 2023 20:03 UTC](https://discourse.nodered.org/t/node-red-service-masked/73498 "2023-01-10T20:03:29Z")

</div>

I installed node red on Pi 3B latest, current Pi OS 11 64 bit lite, no desktop. $ bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) I then just wanted to …

---

## [Node-red on iot2050 not working](https://discourse.nodered.org/t/node-red-on-iot2050-not-working/73476)

<div class="topic-metadata">

**Author:** [@vu.vo\_dtt.tt.18](https://discourse.nodered.org/u/vu.vo_dtt.tt.18)\
**Replies:** 8\
**Last updated:** [10 January 2023 20:02 UTC](https://discourse.nodered.org/t/node-red-on-iot2050-not-working/73476 "2023-01-10T20:02:05Z")

</div>

Hi, I am working on a student project involve using iot2050 and Node-red to poll data. So I connected my laptop to the iot2050 with an ethernet cable.I try to poll some number from a slave simulation program ( Modbus S…

---

## [How to transfer images from a dahua ANPR ip camera to node-red with FTP?](https://discourse.nodered.org/t/how-to-transfer-images-from-a-dahua-anpr-ip-camera-to-node-red-with-ftp/73496)

<div class="topic-metadata">

**Author:** [@Alvarum](https://discourse.nodered.org/u/Alvarum)\
**Replies:** 0\
**Last updated:** [10 January 2023 19:10 UTC](https://discourse.nodered.org/t/how-to-transfer-images-from-a-dahua-anpr-ip-camera-to-node-red-with-ftp/73496 "2023-01-10T19:10:26Z")

</div>

Hello! I'm new to node-red and was trying to figure out myself how to solve this, but there isn't much documentation on it. I have a Dahua ANPR ip camera, it has the option to transfer images of the car's plates with F…

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

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