# General

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

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

**Page:** 800

---

## [Show operating conditions in a pie chart](https://discourse.nodered.org/t/show-operating-conditions-in-a-pie-chart/21235)

<div class="topic-metadata">

**Author:** [@Maigo](https://discourse.nodered.org/u/Maigo)\
**Replies:** 6\
**Last updated:** [4 February 2020 12:53 UTC](https://discourse.nodered.org/t/show-operating-conditions-in-a-pie-chart/21235 "2020-02-04T12:53:43Z")

</div>

Hello, I want to show the conditions (like machine on, machine off, fault, prepare) of our machine in a pie chart. How can I realize this? The signals of every condition is boolean (0 or 1).

---

## [Converting buffer to string](https://discourse.nodered.org/t/converting-buffer-to-string/21244)

<div class="topic-metadata">

**Author:** [@mfabdul01](https://discourse.nodered.org/u/mfabdul01)\
**Replies:** 7\
**Last updated:** [4 February 2020 12:38 UTC](https://discourse.nodered.org/t/converting-buffer-to-string/21244 "2020-02-04T12:38:51Z")

</div>

Hi, I am trying to convert a buffer data to string data Buffer data i am pushing in as follows, \[123,34,100,97,116,97,34,58,34,52,49,49,48,48,52,34,44,32,34,112,111,114,116,34,58,50,44,32,34,116,105,109,101,34,58,34,…

---

## [A catch with persistent file stores](https://discourse.nodered.org/t/a-catch-with-persistent-file-stores/21062)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 53\
**Last updated:** [4 February 2020 11:17 UTC](https://discourse.nodered.org/t/a-catch-with-persistent-file-stores/21062 "2020-02-04T11:17:56Z")

</div>

I expect I'm being thick or just tired but I am having a problem with persistent context stores. No, I'm not being thick, I can see the problem happening. It is because there is a delay of around 30 seconds before persi…

---

## [Modbus-contrib tcp/ip fails](https://discourse.nodered.org/t/modbus-contrib-tcp-ip-fails/21163)

<div class="topic-metadata">

**Author:** [@iTzMentats](https://discourse.nodered.org/u/iTzMentats)\
**Replies:** 3\
**Last updated:** [4 February 2020 09:49 UTC](https://discourse.nodered.org/t/modbus-contrib-tcp-ip-fails/21163 "2020-02-04T09:49:12Z")

</div>

Hi everyone :slight\_smile: first of all sorry if my english is not going to be perfect, but I'm from Italy. I'm having some troubles with modbus-contrib by @bianco-royal . Basically, the connection to the server is ok…

---

## [How to read the previous state of the pins after restart or deploy on raspberry](https://discourse.nodered.org/t/how-to-read-the-previous-state-of-the-pins-after-restart-or-deploy-on-raspberry/21196)

<div class="topic-metadata">

**Author:** [@devifast](https://discourse.nodered.org/u/devifast)\
**Replies:** 5\
**Last updated:** [4 February 2020 04:43 UTC](https://discourse.nodered.org/t/how-to-read-the-previous-state-of-the-pins-after-restart-or-deploy-on-raspberry/21196 "2020-02-04T04:43:59Z")

</div>

After deploy output pin change state. Why? How to make sure this doesn't happen After deploy. \[{"id":"7bbf6c01.b26624","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"407a809e.71686","type":"rpi-gpio …

---

## [I18n messages files with multiple custom nodes](https://discourse.nodered.org/t/i18n-messages-files-with-multiple-custom-nodes/21219)

<div class="topic-metadata">

**Author:** [@acoulson2000](https://discourse.nodered.org/u/acoulson2000)\
**Replies:** 1\
**Last updated:** [3 February 2020 23:28 UTC](https://discourse.nodered.org/t/i18n-messages-files-with-multiple-custom-nodes/21219 "2020-02-03T23:28:00Z")

</div>

I have a single custom module, node-red-contrib-sbi, that contains multiple custom nodes. I've organized node files under subdirectories to keep the project manageable. So my package.json looks like: "node-red": { …

---

## [Apache2 + node-red + proxypass NO DEBUG DATA](https://discourse.nodered.org/t/apache2-node-red-proxypass-no-debug-data/21064)

<div class="topic-metadata">

**Author:** [@Zaborejszyn](https://discourse.nodered.org/u/Zaborejszyn)\
**Replies:** 7\
**Last updated:** [3 February 2020 22:21 UTC](https://discourse.nodered.org/t/apache2-node-red-proxypass-no-debug-data/21064 "2020-02-03T22:21:54Z")

</div>

using v1.0.3 on rpi 4b newest rassbian lite over internet (https + password) i have got set my domain on duckdns org everything works like a charm when i am connecting to my node-red through https://example.duckdns.…

---

## [Creating a new node issue](https://discourse.nodered.org/t/creating-a-new-node-issue/21181)

<div class="topic-metadata">

**Author:** [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Replies:** 3\
**Last updated:** [3 February 2020 20:23 UTC](https://discourse.nodered.org/t/creating-a-new-node-issue/21181 "2020-02-03T20:23:20Z")

</div>

Hello, I had created a new node with the help of the creating node tutorials, but it is giving error as package.json file is not found, while installing my custom node I'm getting this error. Please help me out......

---

## [Context.flow vs flow.set](https://discourse.nodered.org/t/context-flow-vs-flow-set/21210)

<div class="topic-metadata">

**Author:** [@spyder0552](https://discourse.nodered.org/u/spyder0552)\
**Replies:** 2\
**Last updated:** [3 February 2020 19:29 UTC](https://discourse.nodered.org/t/context-flow-vs-flow-set/21210 "2020-02-03T19:29:30Z")

</div>

Just a question as both appear to work. What is the recommended way of setting a variable? Should I use the flow.set('myVariable') or does context.flow.myvariable work. Just trying to understand the correct and support…

---

## [Controlling Servos and LEDS on LoRa nodes through RAK831 gateway from Nodered UI](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209)

<div class="topic-metadata">

**Author:** [@cherechi](https://discourse.nodered.org/u/cherechi)\
**Replies:** 3\
**Last updated:** [3 February 2020 19:28 UTC](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209 "2020-02-03T19:28:30Z")

</div>

Hello, I am currently working on a project with LoRa nodes, gateway and Node-Red. I built the system to have four nodes collecting voltage and current from power sources and sending to the RAK 831 LoRa gateway. I trapp…

---

## [Admin Authentication stops Node-RED](https://discourse.nodered.org/t/admin-authentication-stops-node-red/15209)

<div class="topic-metadata">

**Author:** [@TheSauce](https://discourse.nodered.org/u/TheSauce)\
**Replies:** 3\
**Last updated:** [3 February 2020 18:46 UTC](https://discourse.nodered.org/t/admin-authentication-stops-node-red/15209 "2020-02-03T18:46:21Z")

</div>

I have a Node-RED system that has been running as a service on Windows 10 for a year or so now and have had admin authentication enabled this whole time. Yesterday, I was unable to log in. I used "node-red-admin hash-p…

---

## [I need help with node red and a temp sensor](https://discourse.nodered.org/t/i-need-help-with-node-red-and-a-temp-sensor/20999)

<div class="topic-metadata">

**Author:** [@ikke68](https://discourse.nodered.org/u/ikke68)\
**Replies:** 18\
**Last updated:** [3 February 2020 16:49 UTC](https://discourse.nodered.org/t/i-need-help-with-node-red-and-a-temp-sensor/20999 "2020-02-03T16:49:14Z")

</div>

Hi Guys / Girls, I'm running NodeRed on Home Assistant, i want a flashed sonoff (tasmota) to turn on when the temperature sensor see's its below 10 degrees and turn off when its above 17 degrees. Can anybody please hel…

---

## [Node-Red + HID device on RPB4](https://discourse.nodered.org/t/node-red-hid-device-on-rpb4/21204)

<div class="topic-metadata">

**Author:** [@T4H](https://discourse.nodered.org/u/T4H)\
**Replies:** 1\
**Last updated:** [3 February 2020 16:02 UTC](https://discourse.nodered.org/t/node-red-hid-device-on-rpb4/21204 "2020-02-03T16:02:06Z")

</div>

Hey, I currently try get the „node-red-contrib-usbhid“ running on my RPB4. Why? I want to read / write RFID Tags with my RFID Reader. I managed to get the node-red running but somehow when I want to install the usbhid …

---

## [How to read a 32bit signed on ModBus](https://discourse.nodered.org/t/how-to-read-a-32bit-signed-on-modbus/21079)

<div class="topic-metadata">

**Author:** [@TheMisterA](https://discourse.nodered.org/u/TheMisterA)\
**Replies:** 14\
**Last updated:** [3 February 2020 15:56 UTC](https://discourse.nodered.org/t/how-to-read-a-32bit-signed-on-modbus/21079 "2020-02-03T15:56:58Z")

</div>

Hi everyone ! I have a problem with a Socomec I31. It send me a DWord Signed on ModBus and I can't add the two Word for make a Decimal Value. How I can read my S32 in decimal ? Thank you !

---

## [How to create function on rpi node red with two gpio - if gpio1 == 1 && gpio2 ==0 then gpio3=1](https://discourse.nodered.org/t/how-to-create-function-on-rpi-node-red-with-two-gpio-if-gpio1-1-gpio2-0-then-gpio3-1/20406)

<div class="topic-metadata">

**Author:** [@devifast](https://discourse.nodered.org/u/devifast)\
**Replies:** 27\
**Last updated:** [3 February 2020 12:03 UTC](https://discourse.nodered.org/t/how-to-create-function-on-rpi-node-red-with-two-gpio-if-gpio1-1-gpio2-0-then-gpio3-1/20406 "2020-02-03T12:03:41Z")

</div>

how to create function on rpi node red with two gpio - if gpio1 == 1 && gpio2 ==0 then gpio3=1 or if gpio1 == 0 && gpio2 ==1 then gpio3=0 im very new to node red. Thanks. Sorry for bad english.

---

## [Influx DB data insertion](https://discourse.nodered.org/t/influx-db-data-insertion/21185)

<div class="topic-metadata">

**Author:** [@neelanjan](https://discourse.nodered.org/u/neelanjan)\
**Replies:** 9\
**Last updated:** [3 February 2020 11:13 UTC](https://discourse.nodered.org/t/influx-db-data-insertion/21185 "2020-02-03T11:13:44Z")

</div>

Hi, I want to parse the tag value=tag key pair and field value=field key pair from the payload and insert it influxdb measurement. Can anyone help me. Thanks

---

## [Service on Node-RED Starter does not start](https://discourse.nodered.org/t/service-on-node-red-starter-does-not-start/21180)

<div class="topic-metadata">

**Author:** [@morim](https://discourse.nodered.org/u/morim)\
**Replies:** 3\
**Last updated:** [3 February 2020 10:43 UTC](https://discourse.nodered.org/t/service-on-node-red-starter-does-not-start/21180 "2020-02-03T10:43:27Z")

</div>

Hi! I am mori. I have a question about Node-RED Starter on Cloud Foundry application on IBM cloud. We configured the name of "sysbot-TST-NR" on IBM cloud, it worked properly. Two-three days ago I will start service o…

---

## [About node-red-node-email v1.7.6](https://discourse.nodered.org/t/about-node-red-node-email-v1-7-6/21192)

<div class="topic-metadata">

**Author:** [@okhiroyuki](https://discourse.nodered.org/u/okhiroyuki)\
**Replies:** 2\
**Last updated:** [3 February 2020 09:57 UTC](https://discourse.nodered.org/t/about-node-red-node-email-v1-7-6/21192 "2020-02-03T09:57:56Z")

</div>

Hi, I want to know about node-red-node-email. The npm package has v1.7.6, but the github code is v1.7.4. npm: https://www.npmjs.com/package/node-red-node-email github: What fixes are included in v1.7.6? Thank you…

---

## [Disarmed alarm at time](https://discourse.nodered.org/t/disarmed-alarm-at-time/21189)

<div class="topic-metadata">

**Author:** [@wifi75](https://discourse.nodered.org/u/wifi75)\
**Replies:** 0\
**Last updated:** [3 February 2020 08:12 UTC](https://discourse.nodered.org/t/disarmed-alarm-at-time/21189 "2020-02-03T08:12:09Z")

</div>

Hello, i want disarmed my alarm at 6:43 AM from Monday to Friday, but only when the alarm it is amed.home. I tryed to make flow, it work but whrn i armed\_home my alarm it return Disarmed automatically. why? this is my c…

---

## [Aggregate MQTT sensor values into influxdb](https://discourse.nodered.org/t/aggregate-mqtt-sensor-values-into-influxdb/21085)

<div class="topic-metadata">

**Author:** [@Jonathan95](https://discourse.nodered.org/u/Jonathan95)\
**Replies:** 4\
**Last updated:** [3 February 2020 05:17 UTC](https://discourse.nodered.org/t/aggregate-mqtt-sensor-values-into-influxdb/21085 "2020-02-03T05:17:29Z")

</div>

Hi all, Ive managed to sort of format the data to something influxdb can take but its not seemingly getting any of the other values I am joining together but only passing one of them? I have it I believe in an array? …

---

## [Initiate new connections](https://discourse.nodered.org/t/initiate-new-connections/6774)

<div class="topic-metadata">

**Author:** [@RickW](https://discourse.nodered.org/u/RickW)\
**Replies:** 11\
**Last updated:** [3 February 2020 00:01 UTC](https://discourse.nodered.org/t/initiate-new-connections/6774 "2020-02-03T00:01:01Z")

</div>

I have tried searching but haven't found anything along the lines of my question. Is there a node that can be used to trigger a fresh initiation of external connections? Making a small physical move of even a comment …

---

## [Modbustcp vs modbus?](https://discourse.nodered.org/t/modbustcp-vs-modbus/21171)

<div class="topic-metadata">

**Author:** [@PPz](https://discourse.nodered.org/u/PPz)\
**Replies:** 1\
**Last updated:** [2 February 2020 22:20 UTC](https://discourse.nodered.org/t/modbustcp-vs-modbus/21171 "2020-02-02T22:20:41Z")

</div>

I read modbus (TCP) plc's addresses through modbustcp contrib. I put the IP address, the port and I read registers. Fine (except some time-out errors). I installed also the modbus contrib and it seems that I can reach a…

---

## [BME280 Output Object Splitting](https://discourse.nodered.org/t/bme280-output-object-splitting/15867)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 12\
**Last updated:** [2 February 2020 22:05 UTC](https://discourse.nodered.org/t/bme280-output-object-splitting/15867 "2020-02-02T22:05:26Z")

</div>

I am setting up a BME280 to read pressure. It has three outputs in the Object as follows: I used a split and a switch to pull out the pressure by setting the switch to output values greater than 800. That worked onl…

---

## [Stuck using Serial Node](https://discourse.nodered.org/t/stuck-using-serial-node/21145)

<div class="topic-metadata">

**Author:** [@BobD](https://discourse.nodered.org/u/BobD)\
**Replies:** 22\
**Last updated:** [2 February 2020 21:44 UTC](https://discourse.nodered.org/t/stuck-using-serial-node/21145 "2020-02-02T21:44:25Z")

</div>

Hi All, I am trying to use a serial flow to drive a relay box via serial over a USB/RS485 device. I tried to import dedicated RS485 nodes, but they will not load. When I send using a standard serial node, I get a resp…

---

## [How to access the dashboard from Android without Wi-Fi connection](https://discourse.nodered.org/t/how-to-access-the-dashboard-from-android-without-wi-fi-connection/21128)

<div class="topic-metadata">

**Author:** [@IgnatiusSJ](https://discourse.nodered.org/u/IgnatiusSJ)\
**Replies:** 8\
**Last updated:** [2 February 2020 20:07 UTC](https://discourse.nodered.org/t/how-to-access-the-dashboard-from-android-without-wi-fi-connection/21128 "2020-02-02T20:07:46Z")

</div>

Hi. I've been using Node-Red for a while and one of the things I'm testing is like watching the dashboard from my Android phone. I have no problem using Wi-Fi on my local network but when I try to access it through the d…

---

## [Node Red Unraid Docker - Backup and Restore Config and Plugins](https://discourse.nodered.org/t/node-red-unraid-docker-backup-and-restore-config-and-plugins/21172)

<div class="topic-metadata">

**Author:** [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Replies:** 2\
**Last updated:** [2 February 2020 15:59 UTC](https://discourse.nodered.org/t/node-red-unraid-docker-backup-and-restore-config-and-plugins/21172 "2020-02-02T15:59:13Z")

</div>

Hi, I have installed long time ago a Node Red Docker on my Unraid Server. Now I noticed that the Version is outdated, still at v0.20.8 There is a new Docker available for UnRaid which is up2date. How can I move my wor…

---

## [Error when re-starting flows - could not find state with entity\_id](https://discourse.nodered.org/t/error-when-re-starting-flows-could-not-find-state-with-entity-id/20419)

<div class="topic-metadata">

**Author:** [@michaelparsche](https://discourse.nodered.org/u/michaelparsche)\
**Replies:** 3\
**Last updated:** [2 February 2020 14:30 UTC](https://discourse.nodered.org/t/error-when-re-starting-flows-could-not-find-state-with-entity-id/20419 "2020-02-02T14:30:22Z")

</div>

Whenever I restart Node-Red or Redeploy, I get a series of errors that all say "could not find state with entity\_id". This occurs for a number of nodes from Home Assistant. 15 Jan 21:35:54 - \[error\] \[poll-state:26f19c7…

---

## [Extract a special value from a message](https://discourse.nodered.org/t/extract-a-special-value-from-a-message/21170)

<div class="topic-metadata">

**Author:** [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Replies:** 1\
**Last updated:** [2 February 2020 13:51 UTC](https://discourse.nodered.org/t/extract-a-special-value-from-a-message/21170 "2020-02-02T13:51:01Z")

</div>

Hi, I want to get Webhooks from my Cisco Webex Teams Account without exposing my Node Red installation. Therefore I registered to node-red-contrib-webhookrelay and I am already receiving messages. {"id":"Y2lzY29zcGFya…

---

## [Nodered is abruptly terminate while connecting with cratedb and fetching data from it](https://discourse.nodered.org/t/nodered-is-abruptly-terminate-while-connecting-with-cratedb-and-fetching-data-from-it/21168)

<div class="topic-metadata">

**Author:** [@hitesh6666k](https://discourse.nodered.org/u/hitesh6666k)\
**Replies:** 1\
**Last updated:** [2 February 2020 11:58 UTC](https://discourse.nodered.org/t/nodered-is-abruptly-terminate-while-connecting-with-cratedb-and-fetching-data-from-it/21168 "2020-02-02T11:58:21Z")

</div>

Hi all, i am trying to connect nodered with cratedb node and fetching data from it. But nodered is abruptly terminated. Below is the logs: 2 Feb 17:04:00 - \[red\] Uncaught Exception: 2 Feb 17:04:00 - Error: connect E…

---

## [Combining data in a change node](https://discourse.nodered.org/t/combining-data-in-a-change-node/21165)

<div class="topic-metadata">

**Author:** [@khfischbach](https://discourse.nodered.org/u/khfischbach)\
**Replies:** 4\
**Last updated:** [2 February 2020 11:51 UTC](https://discourse.nodered.org/t/combining-data-in-a-change-node/21165 "2020-02-02T11:51:28Z")

</div>

Hi, I have stored in a change node my msg.payload to flow.xxx. Now I would like to set msg.payload.content with a String - say "This is my string: " followed by the content of flow.xxx I have tried a JSONata element s…

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

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