# General

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

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

**Page:** 656

---

## [Npm install & update makes Editor unresponsive](https://discourse.nodered.org/t/npm-install-update-makes-editor-unresponsive/35046)

<div class="topic-metadata">

**Author:** [@fdiaz](https://discourse.nodered.org/u/fdiaz)\
**Replies:** 7\
**Last updated:** [10 November 2020 16:14 UTC](https://discourse.nodered.org/t/npm-install-update-makes-editor-unresponsive/35046 "2020-11-10T16:14:46Z")

</div>

Hello All! First time posting here so please excuse any wrongdoing or double posting. I am running into an issue where if I attempt to update packages/Nodes through the windows CMD using either: npm install or npm up…

---

## [Getting msg.payload string instead of msg.payload object](https://discourse.nodered.org/t/getting-msg-payload-string-instead-of-msg-payload-object/35672)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 2\
**Last updated:** [10 November 2020 15:43 UTC](https://discourse.nodered.org/t/getting-msg-payload-string-instead-of-msg-payload-object/35672 "2020-11-10T15:43:24Z")

</div>

\[{"id":"f73bbce9.98ce6","type":"tab","label":"Loop with IO Status","disabled":false,"info":""},{"id":"498c6c69.672984","type":"function","z":"f73bbce9.98ce6","name":"Simple array","func":"var StrIO = msg.payload // Strin…

---

## [CSV node outputs multiple identical lines](https://discourse.nodered.org/t/csv-node-outputs-multiple-identical-lines/35611)

<div class="topic-metadata">

**Author:** [@JCLeuvennink](https://discourse.nodered.org/u/JCLeuvennink)\
**Replies:** 5\
**Last updated:** [10 November 2020 14:49 UTC](https://discourse.nodered.org/t/csv-node-outputs-multiple-identical-lines/35611 "2020-11-10T14:49:00Z")

</div>

I have a problem with the CSV node. In my flow, I pass an array of objects, as the payload, to the CSV node. I expect the node to output a csv string containing a line for each object in the array. The node does output a…

---

## [NodeRed XML to MSSQL](https://discourse.nodered.org/t/nodered-xml-to-mssql/35667)

<div class="topic-metadata">

**Author:** [@s19k15](https://discourse.nodered.org/u/s19k15)\
**Replies:** 7\
**Last updated:** [10 November 2020 14:46 UTC](https://discourse.nodered.org/t/nodered-xml-to-mssql/35667 "2020-11-10T14:46:14Z")

</div>

I have created a Node-Red Flow that reads a huge XML file (Around 2.5GB) passes each line to a function which is looking about a specific tag and returns the value. Everything is fine when I try to visualize the values …

---

## [Redundancy Thoughts - MQTT and NR](https://discourse.nodered.org/t/redundancy-thoughts-mqtt-and-nr/35633)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 2\
**Last updated:** [10 November 2020 14:34 UTC](https://discourse.nodered.org/t/redundancy-thoughts-mqtt-and-nr/35633 "2020-11-10T14:34:06Z")

</div>

Like many of us I am using MQTT and NR combo to manage the lighting in my house. Lately the Pi that I have been using is starting to lock up. So I would like to replicate the MQTT/NR combo to another machine and have the…

---

## [Payload data problem](https://discourse.nodered.org/t/payload-data-problem/35658)

<div class="topic-metadata">

**Author:** [@Blaz](https://discourse.nodered.org/u/Blaz)\
**Replies:** 8\
**Last updated:** [10 November 2020 12:06 UTC](https://discourse.nodered.org/t/payload-data-problem/35658 "2020-11-10T12:06:14Z")

</div>

I am using a Multitech device which acts as LoraWAN server. Elsys.se sensors are connected fine and are delivering data. Now I have the problem in node-red the payload data does not look like useful data. E. g. the CO2 …

---

## [Chart timestamp on x-axis not accurate](https://discourse.nodered.org/t/chart-timestamp-on-x-axis-not-accurate/35309)

<div class="topic-metadata">

**Author:** [@rand](https://discourse.nodered.org/u/rand)\
**Replies:** 10\
**Last updated:** [10 November 2020 11:29 UTC](https://discourse.nodered.org/t/chart-timestamp-on-x-axis-not-accurate/35309 "2020-11-10T11:29:56Z")

</div>

Hi, I am having an issue displaying proper timing on my x-axis and was wondering if someone could please help. Here is my flow, please let me know if additional data is needed: \[{"id":"83afaffb.3b3b8","type":"tab","labe…

---

## [Crop image node-red-contrib-image-tools](https://discourse.nodered.org/t/crop-image-node-red-contrib-image-tools/35459)

<div class="topic-metadata">

**Author:** [@leeg77](https://discourse.nodered.org/u/leeg77)\
**Replies:** 2\
**Last updated:** [10 November 2020 11:23 UTC](https://discourse.nodered.org/t/crop-image-node-red-contrib-image-tools/35459 "2020-11-10T11:23:38Z")

</div>

Hi all, I am setting up a flow to take a photo and then crop to a certain size at a set point but I am not getting any output using the jimp-image node's crop function. I have used other flavours of function for this no…

---

## [Tasmota and AM2301 vs SI7120](https://discourse.nodered.org/t/tasmota-and-am2301-vs-si7120/35627)

<div class="topic-metadata">

**Author:** [@AD2TM](https://discourse.nodered.org/u/AD2TM)\
**Replies:** 2\
**Last updated:** [10 November 2020 11:00 UTC](https://discourse.nodered.org/t/tasmota-and-am2301-vs-si7120/35627 "2020-11-10T11:00:43Z")

</div>

I have several temperature sensors labeled AM2301 deployed. But, in Tasmota, I have to set GPIO 14 to SI7120 in order to get any reading from them. The readings I am getting seem to be fairly accurate. I am wondering if…

---

## [How to using http request for this case](https://discourse.nodered.org/t/how-to-using-http-request-for-this-case/35421)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 2\
**Last updated:** [10 November 2020 08:37 UTC](https://discourse.nodered.org/t/how-to-using-http-request-for-this-case/35421 "2020-11-10T08:37:32Z")

</div>

Hi, I have a Data folder containing zip files: Files data: C:\\Temp\\Data and 2 processing flows called Flow1 and Flow2: ■Flow1 will take care of moving all the zip files to the Move, Backup folder \[{"id":"8ede64f…

---

## [Docker to Docker ECONNREFUSED (Node-Red - to - SQL Server)](https://discourse.nodered.org/t/docker-to-docker-econnrefused-node-red-to-sql-server/35629)

<div class="topic-metadata">

**Author:** [@s19k15](https://discourse.nodered.org/u/s19k15)\
**Replies:** 4\
**Last updated:** [10 November 2020 07:23 UTC](https://discourse.nodered.org/t/docker-to-docker-econnrefused-node-red-to-sql-server/35629 "2020-11-10T07:23:09Z")

</div>

I have a Windows System. Inside the Windows System, I have Virtual Box with Ubuntu Inside the Ubuntu, I have installed Node-Red and SQL Server as dockers. While being inside the Ubuntu, I am able to work with Node-Re…

---

## [Modbus Flux connector issue](https://discourse.nodered.org/t/modbus-flux-connector-issue/35648)

<div class="topic-metadata">

**Author:** [@akhtar321h](https://discourse.nodered.org/u/akhtar321h)\
**Replies:** 0\
**Last updated:** [10 November 2020 05:52 UTC](https://discourse.nodered.org/t/modbus-flux-connector-issue/35648 "2020-11-10T05:52:48Z")

</div>

Hello Everyone, I am using @node-red-contrib-modbus nodes. In that one flux connector node is there for configuring the connector type, baud rate, slave id and so on. But, when i am passing parameters through function …

---

## [Ability to add custom config in passport.authenticate](https://discourse.nodered.org/t/ability-to-add-custom-config-in-passport-authenticate/35646)

<div class="topic-metadata">

**Author:** [@mrinalvirnave](https://discourse.nodered.org/u/mrinalvirnave)\
**Replies:** 0\
**Last updated:** [10 November 2020 04:34 UTC](https://discourse.nodered.org/t/ability-to-add-custom-config-in-passport-authenticate/35646 "2020-11-10T04:34:26Z")

</div>

I am using passport-azure-ad and have a need to add a "customState" option in the passport.authenticate() function here (and line 207) I can do it by just adding the customState option in the object as below in my own f…

---

## [Smart irrigation - Miflora plus 12v relay -](https://discourse.nodered.org/t/smart-irrigation-miflora-plus-12v-relay/35636)

<div class="topic-metadata">

**Author:** [@Sam\_uk](https://discourse.nodered.org/u/Sam_uk)\
**Replies:** 1\
**Last updated:** [9 November 2020 23:48 UTC](https://discourse.nodered.org/t/smart-irrigation-miflora-plus-12v-relay/35636 "2020-11-09T23:48:59Z")

</div>

So I'm building an irrigation system which turns on when the value received from a Miflora is \<20 So far I have: Pi connected to a relay and a Node-red flow that opens or closes the relays Miflora readings coming in f…

---

## [Troubles with node-red on Elementary OS involving Dashboard](https://discourse.nodered.org/t/troubles-with-node-red-on-elementary-os-involving-dashboard/35538)

<div class="topic-metadata">

**Author:** [@mudmanrv](https://discourse.nodered.org/u/mudmanrv)\
**Replies:** 18\
**Last updated:** [9 November 2020 23:18 UTC](https://discourse.nodered.org/t/troubles-with-node-red-on-elementary-os-involving-dashboard/35538 "2020-11-09T23:18:32Z")

</div>

All, I'm new to node-red, and I'm somewhat new to linux, as I am diving into it for IoT, and amateur radio. I have an older hp laptop running elementary os. I initially installed node-red via snap. I had to work a few…

---

## [How to create a color gradient for RGB bulbs](https://discourse.nodered.org/t/how-to-create-a-color-gradient-for-rgb-bulbs/35561)

<div class="topic-metadata">

**Author:** [@ToonMeynen](https://discourse.nodered.org/u/ToonMeynen)\
**Replies:** 1\
**Last updated:** [9 November 2020 20:12 UTC](https://discourse.nodered.org/t/how-to-create-a-color-gradient-for-rgb-bulbs/35561 "2020-11-09T20:12:26Z")

</div>

Hi, I'm looking for a method to go from one hex color to another in a gradient. I found this wonderful website which gives me an array of hex codes. That all together create a gradient from one color to the other. The …

---

## [Only Allowed 5 OPCUA-Client Nodes?](https://discourse.nodered.org/t/only-allowed-5-opcua-client-nodes/35630)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 0\
**Last updated:** [9 November 2020 20:11 UTC](https://discourse.nodered.org/t/only-allowed-5-opcua-client-nodes/35630 "2020-11-09T20:11:38Z")

</div>

Hello, I am creating a flow with multiple injections for different metrics which all point to their own OPCUA-Client node so that I can create individual gauges/charts for each of them on the UI page. For some reason, …

---

## [Decimal offset bufer.parser](https://discourse.nodered.org/t/decimal-offset-bufer-parser/35608)

<div class="topic-metadata">

**Author:** [@thecoder](https://discourse.nodered.org/u/thecoder)\
**Replies:** 7\
**Last updated:** [9 November 2020 19:18 UTC](https://discourse.nodered.org/t/decimal-offset-bufer-parser/35608 "2020-11-09T19:18:45Z")

</div>

Hi, The buffer parser node doesn't allow decimal values at box length and offset box. I need to get the value in group of bits smaller than 8 bits=1byte, in this example, 3 bits representation. How can I do it?

---

## [Dockerized EACCESS](https://discourse.nodered.org/t/dockerized-eaccess/35624)

<div class="topic-metadata">

**Author:** [@Chura](https://discourse.nodered.org/u/Chura)\
**Replies:** 0\
**Last updated:** [9 November 2020 18:23 UTC](https://discourse.nodered.org/t/dockerized-eaccess/35624 "2020-11-09T18:23:05Z")

</div>

I'm trying to install a module from the UI, I get this error which is not to informative. When doing this from the shell, using npm install, it is working, but for some reason not persist trough docker recycling. 9 Nov…

---

## [Convert MQTT-JSON to CSV](https://discourse.nodered.org/t/convert-mqtt-json-to-csv/35600)

<div class="topic-metadata">

**Author:** [@kf-netconnect](https://discourse.nodered.org/u/kf-netconnect)\
**Replies:** 1\
**Last updated:** [9 November 2020 17:04 UTC](https://discourse.nodered.org/t/convert-mqtt-json-to-csv/35600 "2020-11-09T17:04:02Z")

</div>

Hey Guys! i'm having trouble converting MQTT Messages to CSV format. my mqtt-in node delivers a parsed json object with this format: { "d":{ "ItemValue 1":100, "ItemValue 2":200, "ItemValue 3":300, "ItemValue 4":…

---

## [TCP out node port question](https://discourse.nodered.org/t/tcp-out-node-port-question/35618)

<div class="topic-metadata">

**Author:** [@KiwiTrinitrotoluene](https://discourse.nodered.org/u/KiwiTrinitrotoluene)\
**Replies:** 1\
**Last updated:** [9 November 2020 16:34 UTC](https://discourse.nodered.org/t/tcp-out-node-port-question/35618 "2020-11-09T16:34:33Z")

</div>

Hi all, i recently started using the tcp out node to send some simple packets to a client. So basically, i simply configure my node with ip and RX port of my client and then send my nice payloads to it. All is working f…

---

## [Node-red-contrib-google path parameters](https://discourse.nodered.org/t/node-red-contrib-google-path-parameters/35614)

<div class="topic-metadata">

**Author:** [@Frank-LR](https://discourse.nodered.org/u/Frank-LR)\
**Replies:** 0\
**Last updated:** [9 November 2020 16:19 UTC](https://discourse.nodered.org/t/node-red-contrib-google-path-parameters/35614 "2020-11-09T16:19:10Z")

</div>

Hi, I try to make a connection to my google cloud with node-red-contrib-google but can't find out how to pass path parameter example: in postman I can call (with OAuth 2) https://dialogflow.googleapis.com/v2/projects…

---

## [Mqtt - node-red - influxdb](https://discourse.nodered.org/t/mqtt-node-red-influxdb/34706)

<div class="topic-metadata">

**Author:** [@trombose009](https://discourse.nodered.org/u/trombose009)\
**Replies:** 23\
**Last updated:** [9 November 2020 15:53 UTC](https://discourse.nodered.org/t/mqtt-node-red-influxdb/34706 "2020-11-09T15:53:47Z")

</div>

Hello, I'M totally new to this stuff but I have set up a functional environement on a raspberry pi 4 containing mosquitto, grafana, node-red, influxdb and telegraf. I am able to send messages via mqtt (from, for exampl…

---

## [How do i address this object?](https://discourse.nodered.org/t/how-do-i-address-this-object/35610)

<div class="topic-metadata">

**Author:** [@Toontje](https://discourse.nodered.org/u/Toontje)\
**Replies:** 4\
**Last updated:** [9 November 2020 15:32 UTC](https://discourse.nodered.org/t/how-do-i-address-this-object/35610 "2020-11-09T15:32:59Z")

</div>

I want to parse the number of these objects in my function node. How do i address these objects?

---

## [Error when installing/removing nodes](https://discourse.nodered.org/t/error-when-installing-removing-nodes/35586)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 6\
**Last updated:** [9 November 2020 15:31 UTC](https://discourse.nodered.org/t/error-when-installing-removing-nodes/35586 "2020-11-09T15:31:52Z")

</div>

Whenever I add or remove any contrib nodes, I always get the error below. The directory /home/pi/.node-red/node\_modules/mdns does not exist, and mdns is not listed in my package.json The second 'warning' is something r…

---

## [Is there a maximum number of NORA nodes that can be deployed?](https://discourse.nodered.org/t/is-there-a-maximum-number-of-nora-nodes-that-can-be-deployed/35602)

<div class="topic-metadata">

**Author:** [@kes](https://discourse.nodered.org/u/kes)\
**Replies:** 0\
**Last updated:** [9 November 2020 14:06 UTC](https://discourse.nodered.org/t/is-there-a-maximum-number-of-nora-nodes-that-can-be-deployed/35602 "2020-11-09T14:06:00Z")

</div>

I had 17 NORA nodes deployed, and 9 or so of them connected sucessfully to the NORA server, intermittently. While at times all 17 nodes connected sucessfully, over time the number connecting varied, which rendered the …

---

## [Reference variable name in a loop](https://discourse.nodered.org/t/reference-variable-name-in-a-loop/35556)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 4\
**Last updated:** [9 November 2020 15:10 UTC](https://discourse.nodered.org/t/reference-variable-name-in-a-loop/35556 "2020-11-09T15:10:23Z")

</div>

Good evening I have a function looking at a string of 6 characters, my function uses a loop to look at each character in turn and if the value matches a temp value a event occurs. I have at the beginning of the functio…

---

## [Seeking Node-red mentors for a hackathon](https://discourse.nodered.org/t/seeking-node-red-mentors-for-a-hackathon/35603)

<div class="topic-metadata">

**Author:** [@ninjamoba](https://discourse.nodered.org/u/ninjamoba)\
**Replies:** 0\
**Last updated:** [9 November 2020 14:12 UTC](https://discourse.nodered.org/t/seeking-node-red-mentors-for-a-hackathon/35603 "2020-11-09T14:12:27Z")

</div>

Seeking node-red mentors to volunteer to help during hackathon. \*\* 12 - 13 November 2020\*\* teamjop.com (EU vs Virus Winner Biggest hackathon in the world) in cooperation with Digieduhack is hosting a challenge to be bui…

---

## [Problem with dashboard dropdown between node-red 1.1.3 and 1.2.2](https://discourse.nodered.org/t/problem-with-dashboard-dropdown-between-node-red-1-1-3-and-1-2-2/35416)

<div class="topic-metadata">

**Author:** [@DavidE1A](https://discourse.nodered.org/u/DavidE1A)\
**Replies:** 7\
**Last updated:** [9 November 2020 13:28 UTC](https://discourse.nodered.org/t/problem-with-dashboard-dropdown-between-node-red-1-1-3-and-1-2-2/35416 "2020-11-09T13:28:58Z")

</div>

Hi all. I'm having trouble with something that was (and still is) working fine on one machine running node-red 1.1.3, but not on a new installation on another machine that has 1.2.2 installed. I'm sending images from a …

---

## [Operate with hexadecimal](https://discourse.nodered.org/t/operate-with-hexadecimal/35503)

<div class="topic-metadata">

**Author:** [@thecoder](https://discourse.nodered.org/u/thecoder)\
**Replies:** 18\
**Last updated:** [9 November 2020 10:13 UTC](https://discourse.nodered.org/t/operate-with-hexadecimal/35503 "2020-11-09T10:13:45Z")

</div>

I would like to operate with hexadecimal values inside the function node. 1) convert integer to hexadecimal, 2) concatonate multiple hedecimal values and 3) convert them again to integer. Is it possible?

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

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