# General

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

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

**Page:** 618

---

## [Custom server side node changes not updating](https://discourse.nodered.org/t/custom-server-side-node-changes-not-updating/39582)

<div class="topic-metadata">

**Author:** [@justin](https://discourse.nodered.org/u/justin)\
**Replies:** 3\
**Last updated:** [22 January 2021 22:34 UTC](https://discourse.nodered.org/t/custom-server-side-node-changes-not-updating/39582 "2021-01-22T22:34:20Z")

</div>

So I have a project where I have custom nodes and some other node modules that support those, and I have used this source on another machine just fine. I installed using the debian script and everything across all machin…

---

## [Influxdb delete data](https://discourse.nodered.org/t/influxdb-delete-data/39581)

<div class="topic-metadata">

**Author:** [@bkenobi](https://discourse.nodered.org/u/bkenobi)\
**Replies:** 3\
**Last updated:** [22 January 2021 22:10 UTC](https://discourse.nodered.org/t/influxdb-delete-data/39581 "2021-01-22T22:10:19Z")

</div>

I was working on a flow and had a typo for where my data was going which resulted in combining 2 temperature sets. I noticed it pretty quickly so I have around 30 minutes of data where I need to clean things up. Fortun…

---

## [How to break data array into separate charts with data and labels](https://discourse.nodered.org/t/how-to-break-data-array-into-separate-charts-with-data-and-labels/39516)

<div class="topic-metadata">

**Author:** [@thebeardedgeek](https://discourse.nodered.org/u/thebeardedgeek)\
**Replies:** 11\
**Last updated:** [22 January 2021 20:46 UTC](https://discourse.nodered.org/t/how-to-break-data-array-into-separate-charts-with-data-and-labels/39516 "2021-01-22T20:46:40Z")

</div>

I am new to node-red and looking for some assistance here. I am running a SQL statement to get two fields returned from a table: customer (string) and storage size (integer). select trim(CUSTOMER) as "CUSTOMER",DISK\_SP…

---

## [Using custom png files with ui-switch node](https://discourse.nodered.org/t/using-custom-png-files-with-ui-switch-node/39489)

<div class="topic-metadata">

**Author:** [@khoihosi](https://discourse.nodered.org/u/khoihosi)\
**Replies:** 11\
**Last updated:** [22 January 2021 20:41 UTC](https://discourse.nodered.org/t/using-custom-png-files-with-ui-switch-node/39489 "2021-01-22T20:41:55Z")

</div>

Hi all, Currently I'm using a ui-switch node with standaard fa icons controlling my lights via mqtt this is the code: \[{"id":"19f45587.ec299a","type":"mqtt in","z":"48518d4f.6375e4","name":"Olive tree right","topic":"…

---

## [Save two different outputs into one message.payload . Status from PID to RC:1](https://discourse.nodered.org/t/save-two-different-outputs-into-one-message-payload-status-from-pid-to-rc-1/10062)

<div class="topic-metadata">

**Author:** [@xoani](https://discourse.nodered.org/u/xoani)\
**Replies:** 7\
**Last updated:** [22 January 2021 19:28 UTC](https://discourse.nodered.org/t/save-two-different-outputs-into-one-message-payload-status-from-pid-to-rc-1/10062 "2021-01-22T19:28:32Z")

</div>

Hello. Overview of the nodes in my flow: inject node -\> run python script with exec node-\> save into local file The output of my python script is current, voltage, power and energy values (every 5 seconds, which means …

---

## [Mosquitto MQTT Broker and Symantec](https://discourse.nodered.org/t/mosquitto-mqtt-broker-and-symantec/39570)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 4\
**Last updated:** [22 January 2021 18:17 UTC](https://discourse.nodered.org/t/mosquitto-mqtt-broker-and-symantec/39570 "2021-01-22T18:17:28Z")

</div>

I am trying to install Mosquitto MQTT Broker "mosquitto-2.0.5-install-windows-x64.exe" and SYMANTEC blocked it. Has anyone information on a hacking on the install? Or is this just a figment of Symantec's configuration? …

---

## [Securing flow file in production](https://discourse.nodered.org/t/securing-flow-file-in-production/39557)

<div class="topic-metadata">

**Author:** [@mizer666](https://discourse.nodered.org/u/mizer666)\
**Replies:** 4\
**Last updated:** [22 January 2021 18:04 UTC](https://discourse.nodered.org/t/securing-flow-file-in-production/39557 "2021-01-22T18:04:36Z")

</div>

Hi Everyone, I\`m looking for some advice on securely deploying node-red to production. I have a device running debian system with node-red running. My concern is that flows file can be accessed by anyone that would pu…

---

## [Gps tracker payload decoding for gps latitude and longitude](https://discourse.nodered.org/t/gps-tracker-payload-decoding-for-gps-latitude-and-longitude/39554)

<div class="topic-metadata">

**Author:** [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Replies:** 3\
**Last updated:** [22 January 2021 17:42 UTC](https://discourse.nodered.org/t/gps-tracker-payload-decoding-for-gps-latitude-and-longitude/39554 "2021-01-22T17:42:40Z")

</div>

Hello Everyone ,basically want help in decoding payload to get gps information like latitude and longitude. payload {"applicationID":"1","applicationName":"cloud","data":"YgAlYSgAHbo2AGR8QFocrwASACYD4gAC","devEUI":"f0…

---

## [Best practice for using projects within a container](https://discourse.nodered.org/t/best-practice-for-using-projects-within-a-container/39567)

<div class="topic-metadata">

**Author:** [@codename](https://discourse.nodered.org/u/codename)\
**Replies:** 0\
**Last updated:** [22 January 2021 15:49 UTC](https://discourse.nodered.org/t/best-practice-for-using-projects-within-a-container/39567 "2021-01-22T15:49:19Z")

</div>

Hello everyone, i was trying to run node red projects (connecting to azure devops) within a container (in kubernetes / k3s). I wasn't able to connect to the repository via GUI, so in the container I executed the command …

---

## [Http Request with etag Support](https://discourse.nodered.org/t/http-request-with-etag-support/2287)

<div class="topic-metadata">

**Author:** [@little.yoda](https://discourse.nodered.org/u/little.yoda)\
**Replies:** 2\
**Last updated:** [22 January 2021 15:32 UTC](https://discourse.nodered.org/t/http-request-with-etag-support/2287 "2021-01-22T15:32:36Z")

</div>

i wonder if there is an http request function with etag support. My goal is that the file will only be downloaded if the etag changes. in principle the node must save the etag value after the first download and then pe…

---

## [NCD IoT Edge, NCD Wireless Sensors, and ncd-red-wireless library](https://discourse.nodered.org/t/ncd-iot-edge-ncd-wireless-sensors-and-ncd-red-wireless-library/39566)

<div class="topic-metadata">

**Author:** [@spd](https://discourse.nodered.org/u/spd)\
**Replies:** 0\
**Last updated:** [22 January 2021 15:11 UTC](https://discourse.nodered.org/t/ncd-iot-edge-ncd-wireless-sensors-and-ncd-red-wireless-library/39566 "2021-01-22T15:11:45Z")

</div>

I am new to Node-Red while being simultaneously new to the NCD brand of Wireless Sensors and Gateways. I have an NCD Cellular Ethernet Wi-Fi IoT Edge Device that comes with it's own computer containing Node-Red. It came …

---

## [Data send from Modbus TCP to NR with ttl convertor rs485](https://discourse.nodered.org/t/data-send-from-modbus-tcp-to-nr-with-ttl-convertor-rs485/39555)

<div class="topic-metadata">

**Author:** [@Easy4M](https://discourse.nodered.org/u/Easy4M)\
**Replies:** 0\
**Last updated:** [22 January 2021 10:42 UTC](https://discourse.nodered.org/t/data-send-from-modbus-tcp-to-nr-with-ttl-convertor-rs485/39555 "2021-01-22T10:42:42Z")

</div>

Hello, i have little problem with receive data to NR from Modbus TCP with TTL convertor rs-485. I have disable BT and setted serial0 to AMA0. When i select AMA0 on NR this don't want connect to my device. I check the mod…

---

## [Can't get the rbe node to work](https://discourse.nodered.org/t/cant-get-the-rbe-node-to-work/39539)

<div class="topic-metadata">

**Author:** [@filikun](https://discourse.nodered.org/u/filikun)\
**Replies:** 7\
**Last updated:** [22 January 2021 10:07 UTC](https://discourse.nodered.org/t/cant-get-the-rbe-node-to-work/39539 "2021-01-22T10:07:23Z")

</div>

So I might be doing this wrong. I have a notify when my phone reaches 80%+ charging to disconnect it (some say this can save battery life) but ofc I get spammed where I would only need one notify. So I found out about th…

---

## [Help with a possible server problem](https://discourse.nodered.org/t/help-with-a-possible-server-problem/39438)

<div class="topic-metadata">

**Author:** [@SteveB](https://discourse.nodered.org/u/SteveB)\
**Replies:** 3\
**Last updated:** [22 January 2021 09:03 UTC](https://discourse.nodered.org/t/help-with-a-possible-server-problem/39438 "2021-01-22T09:03:28Z")

</div>

Hi, I’ve been using node red for around a year now with no problems at all and love ir This evening i found all my many flows had stopped working and when opening any server related node I am getting a list of messages…

---

## [Change HH:MM into seconds](https://discourse.nodered.org/t/change-hh-mm-into-seconds/39521)

<div class="topic-metadata">

**Author:** [@Mobile\_NR\_Env](https://discourse.nodered.org/u/Mobile_NR_Env)\
**Replies:** 4\
**Last updated:** [22 January 2021 08:30 UTC](https://discourse.nodered.org/t/change-hh-mm-into-seconds/39521 "2021-01-22T08:30:04Z")

</div>

Hello. Anyone help? How can I convert a time input of HH:MM (ie:07:30) into seconds (since midnight)? Cheers!

---

## [Create and download a CSV file](https://discourse.nodered.org/t/create-and-download-a-csv-file/39485)

<div class="topic-metadata">

**Author:** [@LucaCarminati](https://discourse.nodered.org/u/LucaCarminati)\
**Replies:** 3\
**Last updated:** [22 January 2021 01:28 UTC](https://discourse.nodered.org/t/create-and-download-a-csv-file/39485 "2021-01-22T01:28:28Z")

</div>

Hi to all, I am trying to create a CSV file from a UI\_Form present in the UI. I have tryed and modify a lot of example find in the web and in the forum, but no one works like I think. I'd like that there should be a "…

---

## [CPU hogging to 100%](https://discourse.nodered.org/t/cpu-hogging-to-100/2944)

<div class="topic-metadata">

**Author:** [@realjax](https://discourse.nodered.org/u/realjax)\
**Replies:** 20\
**Last updated:** [21 January 2021 23:05 UTC](https://discourse.nodered.org/t/cpu-hogging-to-100/2944 "2021-01-21T23:05:33Z")

</div>

I sometimes have NodeRed hog one of the cores to 100 % . It effectively blocks NodeRed entirely and I cannot access the dashboard anymore. There is nothing in the logs and the only way to get things working again is t…

---

## [RGB format error](https://discourse.nodered.org/t/rgb-format-error/39514)

<div class="topic-metadata">

**Author:** [@jeremy8810](https://discourse.nodered.org/u/jeremy8810)\
**Replies:** 2\
**Last updated:** [21 January 2021 21:40 UTC](https://discourse.nodered.org/t/rgb-format-error/39514 "2021-01-21T21:40:23Z")

</div>

Hi Guys, I've got this probably noob question. But I can't find how to get this format rigth. I need an output of: rgb:255,255,255 where the values are variables. This is my code now: var red = flow.get("red"); var …

---

## [Login Page for user](https://discourse.nodered.org/t/login-page-for-user/39492)

<div class="topic-metadata">

**Author:** [@HZB](https://discourse.nodered.org/u/HZB)\
**Replies:** 1\
**Last updated:** [21 January 2021 20:26 UTC](https://discourse.nodered.org/t/login-page-for-user/39492 "2021-01-21T20:26:35Z")

</div>

I am a newbee... so don't know a lot. I want to make login and password. if user enters correct password then user can access dashboard. I am using Node-RED IBM cloud. I am trying but don't know the correct way. Thank…

---

## [Zigbee CC2652RB stick](https://discourse.nodered.org/t/zigbee-cc2652rb-stick/39506)

<div class="topic-metadata">

**Author:** [@rsenden](https://discourse.nodered.org/u/rsenden)\
**Replies:** 3\
**Last updated:** [21 January 2021 19:39 UTC](https://discourse.nodered.org/t/zigbee-cc2652rb-stick/39506 "2021-01-21T19:39:59Z")

</div>

I should soon be receiving slaesh’s CC2652RB stick with zigbee2mqtt firmware. After reading up on the various possibilities, I think I have the following options to use Zigbee devices in NodeRED, correct? Install zigbe…

---

## [A lesson about using the \`traffic\` node for anyone using it](https://discourse.nodered.org/t/a-lesson-about-using-the-traffic-node-for-anyone-using-it/7784)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [21 January 2021 16:52 UTC](https://discourse.nodered.org/t/a-lesson-about-using-the-traffic-node-for-anyone-using-it/7784 "2021-01-21T16:52:50Z")

</div>

(This is posted with all honesty to be as helpful to people learning about writing flows. I have shot myself in the foot so many times with stupid mistakes REPEATEDLY! After a lot of wasted time because I didn't real…

---

## [Bluetooth devices scanner](https://discourse.nodered.org/t/bluetooth-devices-scanner/39496)

<div class="topic-metadata">

**Author:** [@Jotarod](https://discourse.nodered.org/u/Jotarod)\
**Replies:** 3\
**Last updated:** [21 January 2021 15:53 UTC](https://discourse.nodered.org/t/bluetooth-devices-scanner/39496 "2021-01-21T15:53:11Z")

</div>

Dear all, I am trying to do an application that be able of scanner each "x" second the devices around (vía Bluetooth), and then Get in a list all the devices finded. I am using a raspberry pi 4 with Ubuntu 20.04 and I…

---

## [Invalid field format](https://discourse.nodered.org/t/invalid-field-format/39494)

<div class="topic-metadata">

**Author:** [@chris35](https://discourse.nodered.org/u/chris35)\
**Replies:** 3\
**Last updated:** [21 January 2021 15:44 UTC](https://discourse.nodered.org/t/invalid-field-format/39494 "2021-01-21T15:44:33Z")

</div>

hello I've an error message for my "influxdb out node" however my previous debug node indicates that I enter a number for it, what happens? thanks a lot.

---

## [Push button 0/1 GPIO](https://discourse.nodered.org/t/push-button-0-1-gpio/20787)

<div class="topic-metadata">

**Author:** [@salguero98](https://discourse.nodered.org/u/salguero98)\
**Replies:** 8\
**Last updated:** [21 January 2021 14:52 UTC](https://discourse.nodered.org/t/push-button-0-1-gpio/20787 "2021-01-21T14:52:52Z")

</div>

Hello, can anyone help me? I need a function that allows me to change the state. what I want is to press the button and have the output to 1 and press again and output = 0 thanks

---

## [Dynamic Addition of Devices on Web-App MQTT](https://discourse.nodered.org/t/dynamic-addition-of-devices-on-web-app-mqtt/39344)

<div class="topic-metadata">

**Author:** [@quentinP](https://discourse.nodered.org/u/quentinP)\
**Replies:** 1\
**Last updated:** [21 January 2021 11:56 UTC](https://discourse.nodered.org/t/dynamic-addition-of-devices-on-web-app-mqtt/39344 "2021-01-21T11:56:38Z")

</div>

I have a bunch of devices that can connect to my Mosquitto Broker hosted on an Azure Virtual Machine. I have Node-RED running on a Azure Web-App. Using the UI Builder node I am buidling a user friendly website that allow…

---

## [Add topic to each array values, output JSON for MQTT?](https://discourse.nodered.org/t/add-topic-to-each-array-values-output-json-for-mqtt/39478)

<div class="topic-metadata">

**Author:** [@SaiQmon](https://discourse.nodered.org/u/SaiQmon)\
**Replies:** 3\
**Last updated:** [21 January 2021 11:27 UTC](https://discourse.nodered.org/t/add-topic-to-each-array-values-output-json-for-mqtt/39478 "2021-01-21T11:27:33Z")

</div>

Hi, I read 92 x values from heating controller via modbus TCP. Response payload is just array of values I have a list, what each value means. e.g. 3rd value name is "403". I don't use any database in Node Red, so the…

---

## [How to read a table with sensor data](https://discourse.nodered.org/t/how-to-read-a-table-with-sensor-data/39427)

<div class="topic-metadata">

**Author:** [@BenSch](https://discourse.nodered.org/u/BenSch)\
**Replies:** 3\
**Last updated:** [21 January 2021 11:04 UTC](https://discourse.nodered.org/t/how-to-read-a-table-with-sensor-data/39427 "2021-01-21T11:04:17Z")

</div>

Hey there, i want to read and display measuring data with dashboard nodes. How is it possible to read a table with already measured values (.csv or .txt) and use the gauge and chart function to simulate that the sensor…

---

## [iOS Push Notification with Image](https://discourse.nodered.org/t/ios-push-notification-with-image/39047)

<div class="topic-metadata">

**Author:** [@nuki47](https://discourse.nodered.org/u/nuki47)\
**Replies:** 1\
**Last updated:** [21 January 2021 10:53 UTC](https://discourse.nodered.org/t/ios-push-notification-with-image/39047 "2021-01-21T10:53:14Z")

</div>

Is there a way to send an iOS Push Notification with an Image (jpeg)? System: RaspberryPi

---

## [Why i'm getting NAN in debug of temp value](https://discourse.nodered.org/t/why-im-getting-nan-in-debug-of-temp-value/39477)

<div class="topic-metadata">

**Author:** [@arvind423](https://discourse.nodered.org/u/arvind423)\
**Replies:** 2\
**Last updated:** [21 January 2021 10:10 UTC](https://discourse.nodered.org/t/why-im-getting-nan-in-debug-of-temp-value/39477 "2021-01-21T10:10:22Z")

</div>

var temp1= msg.payload\[6\]-48; var temp2= msg.payload\[7\]-48; var temp3= msg.payload\[9\]-48; var temp4= msg.payload\[10\]-48; var result = (temp1\*1000)+ (temp2\*100) + (temp3\*10) + temp4; result = result/100; var result1 = …

---

## [How would you approach this design?](https://discourse.nodered.org/t/how-would-you-approach-this-design/39475)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 4\
**Last updated:** [21 January 2021 07:36 UTC](https://discourse.nodered.org/t/how-would-you-approach-this-design/39475 "2021-01-21T07:36:48Z")

</div>

Hey Guys, As part of our home automation and energy consumption we are trying to make everything a little smarter and use more of our "free" solar energy. We currently have 15KW of panels on our house and during Summer…

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

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