# General

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

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

**Page:** 747

---

## [Modbus TCP / Modbus RTU Gateway](https://discourse.nodered.org/t/modbus-tcp-modbus-rtu-gateway/26967)

<div class="topic-metadata">

**Author:** [@Chris1](https://discourse.nodered.org/u/Chris1)\
**Replies:** 0\
**Last updated:** [20 May 2020 06:25 UTC](https://discourse.nodered.org/t/modbus-tcp-modbus-rtu-gateway/26967 "2020-05-20T06:25:16Z")

</div>

Hi I'm new to node-red. I need to boild a gateway for Modbus. My home control system has a Modbus TCP connector and my ventilation control system uses Modbus RTU with an RS232 interface. What works so far: Raspberry P…

---

## [\[Solved\] How to control a raspi with mqtt?](https://discourse.nodered.org/t/solved-how-to-control-a-raspi-with-mqtt/26950)

<div class="topic-metadata">

**Author:** [@Maximus1](https://discourse.nodered.org/u/Maximus1)\
**Replies:** 5\
**Last updated:** [20 May 2020 05:21 UTC](https://discourse.nodered.org/t/solved-how-to-control-a-raspi-with-mqtt/26950 "2020-05-20T05:21:07Z")

</div>

hi i have raspi 2 as ambilight controller and want to send commands like stop hyperion etc. to that machine. can you show me a best practise?

---

## [Sending Values from NodeRed to Grafana with SimpleJSON](https://discourse.nodered.org/t/sending-values-from-nodered-to-grafana-with-simplejson/26675)

<div class="topic-metadata">

**Author:** [@mtp211](https://discourse.nodered.org/u/mtp211)\
**Replies:** 38\
**Last updated:** [19 May 2020 23:11 UTC](https://discourse.nodered.org/t/sending-values-from-nodered-to-grafana-with-simplejson/26675 "2020-05-19T23:11:18Z")

</div>

Im trying to send the values of a sensor to Grafana via NodeRed with the help of SimpleJSON Plugin. This is my NodeRed Flow And my functions are 1st: tmp = \[\]; tmp.push(parseFloat(msg.payload)); tmp.push(parseInt(n…

---

## [New to Node Red - trying to decide which route?](https://discourse.nodered.org/t/new-to-node-red-trying-to-decide-which-route/26809)

<div class="topic-metadata">

**Author:** [@KevinH67](https://discourse.nodered.org/u/KevinH67)\
**Replies:** 40\
**Last updated:** [19 May 2020 22:35 UTC](https://discourse.nodered.org/t/new-to-node-red-trying-to-decide-which-route/26809 "2020-05-19T22:35:49Z")

</div>

Please (please) excuse my ignorance and brevity. I'm trying to decide between Node Red, Home Assistant and RPi Python. I used to machine code in the early 1980s but now in my middle 50s,coding is not so easy. But I am …

---

## [Running a Python Script in Node Red](https://discourse.nodered.org/t/running-a-python-script-in-node-red/26906)

<div class="topic-metadata">

**Author:** [@slogan87](https://discourse.nodered.org/u/slogan87)\
**Replies:** 5\
**Last updated:** [19 May 2020 22:30 UTC](https://discourse.nodered.org/t/running-a-python-script-in-node-red/26906 "2020-05-19T22:30:38Z")

</div>

Hi everyone, I am having issues with running a python script in Node Red. A bit of background into what I am trying to do: I have a Raspberry Pi that use to run CraftBeerPi which is a Python based brewing application. …

---

## [Modbus temperature sensor](https://discourse.nodered.org/t/modbus-temperature-sensor/26818)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.nodered.org/u/Luca)\
**Replies:** 4\
**Last updated:** [19 May 2020 16:27 UTC](https://discourse.nodered.org/t/modbus-temperature-sensor/26818 "2020-05-19T16:27:34Z")

</div>

Hi everyone, I'm trying to read temperature and humidity using my Raspberry pi4 form a Modbus sensor http://www.bizkit.ru/wp-content/uploads/2018/11/Temperature-and-humidity-transmitter-SHT20-sensor-Modbus-RS485.pdf us…

---

## [Iphone / android notification with pushback](https://discourse.nodered.org/t/iphone-android-notification-with-pushback/26431)

<div class="topic-metadata">

**Author:** [@Hjorth-Jensen](https://discourse.nodered.org/u/Hjorth-Jensen)\
**Replies:** 11\
**Last updated:** [19 May 2020 14:14 UTC](https://discourse.nodered.org/t/iphone-android-notification-with-pushback/26431 "2020-05-19T14:14:35Z")

</div>

Hello everyone Has anyone tried using pushback.io? It looks very interesting. It can be used to send notifications both to Andriod and Iphone, where you can reply back with multi reply options. There are several prog…

---

## [Trying to edit a xml file](https://discourse.nodered.org/t/trying-to-edit-a-xml-file/26908)

<div class="topic-metadata">

**Author:** [@Meneldil](https://discourse.nodered.org/u/Meneldil)\
**Replies:** 8\
**Last updated:** [19 May 2020 12:36 UTC](https://discourse.nodered.org/t/trying-to-edit-a-xml-file/26908 "2020-05-19T12:36:04Z")

</div>

Hello everyone, i'm a beginner with Node-RED and I would like to modify the value of all the "PORT" tags of a XML file that looks like this : \<SR\>\<STATE\>\<SYSERROR\>TRUE\</SYSERROR\>\<PLXR\>FALSE\</PLXR\>\<CHAMPWR\>ON\</CHAMPWR\>\<M…

---

## [Node-red-contrib-ui-artless-gauge - issue with iphone safari](https://discourse.nodered.org/t/node-red-contrib-ui-artless-gauge-issue-with-iphone-safari/26594)

<div class="topic-metadata">

**Author:** [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Replies:** 33\
**Last updated:** [19 May 2020 12:11 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-artless-gauge-issue-with-iphone-safari/26594 "2020-05-19T12:11:13Z")

</div>

Hello All, especially the creator of this fantastic node @hotNipi . I am using iphone safari, and it cannot present a page with 9 of this very nice gauges. With all the other browsers, safari desktop included it works …

---

## [What is handle as stream check box in split not does?](https://discourse.nodered.org/t/what-is-handle-as-stream-check-box-in-split-not-does/26913)

<div class="topic-metadata">

**Author:** [@ab73863](https://discourse.nodered.org/u/ab73863)\
**Replies:** 5\
**Last updated:** [19 May 2020 12:04 UTC](https://discourse.nodered.org/t/what-is-handle-as-stream-check-box-in-split-not-does/26913 "2020-05-19T12:04:22Z")

</div>

I was trying to understand the split node and I stumbled up on this option check box which mentions "handle as stream" for splitting a string. Could anyone share me an example for understanding this feature of split nod…

---

## [How to setting data continue](https://discourse.nodered.org/t/how-to-setting-data-continue/23939)

<div class="topic-metadata">

**Author:** [@sarawut](https://discourse.nodered.org/u/sarawut)\
**Replies:** 2\
**Last updated:** [19 May 2020 10:02 UTC](https://discourse.nodered.org/t/how-to-setting-data-continue/23939 "2020-05-19T10:02:18Z")

</div>

Now i get data like picture I want head columm still have only row1 and data continue to row 2,3,4,5 ... Don't want head columm row1 and row2 = data and row3 = head name row 4 = data 5 second later Please help me

---

## [Reliable Sydney Weather source?](https://discourse.nodered.org/t/reliable-sydney-weather-source/11992)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 8\
**Last updated:** [19 May 2020 09:21 UTC](https://discourse.nodered.org/t/reliable-sydney-weather-source/11992 "2020-05-19T09:21:19Z")

</div>

Guys, What are people from Sydney, Australia using as a reliable weather source ? I am using Darksky - but find that (for instance now) that it is telling me i have 100% cloud cover, whilst it is a bright sunny cloudles…

---

## [Invalid input: NaN using rpi gpio](https://discourse.nodered.org/t/invalid-input-nan-using-rpi-gpio/26842)

<div class="topic-metadata">

**Author:** [@bjo](https://discourse.nodered.org/u/bjo)\
**Replies:** 12\
**Last updated:** [19 May 2020 08:36 UTC](https://discourse.nodered.org/t/invalid-input-nan-using-rpi-gpio/26842 "2020-05-19T08:36:28Z")

</div>

Hi, I'm trying to get the following flow working. According to the debug output of "on" or "off", msg.payload is "1" or "0" as a number. But the status of pump says Invalid input: NaN and nrgpio python command not runni…

---

## [Google Home - Nora](https://discourse.nodered.org/t/google-home-nora/26772)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 2\
**Last updated:** [19 May 2020 08:24 UTC](https://discourse.nodered.org/t/google-home-nora/26772 "2020-05-19T08:24:37Z")

</div>

How do you connect a new node/device in Node-Red (NORA) to an existing Google Home device? When I add a new device (for example a socket in the living room) to my flow in node-red, even if I name it exactly the same as i…

---

## [Subflow environment variables issue (\_info, \_type)](https://discourse.nodered.org/t/subflow-environment-variables-issue-info-type/26894)

<div class="topic-metadata">

**Author:** [@offreal](https://discourse.nodered.org/u/offreal)\
**Replies:** 3\
**Last updated:** [19 May 2020 08:03 UTC](https://discourse.nodered.org/t/subflow-environment-variables-issue-info-type/26894 "2020-05-19T08:03:56Z")

</div>

Hi, I created simple subflow with one input, and one output. Subflow has 3 properties: unit\_test, unit\_type, unit\_tell. All of them are dropdowns with two options and string values. Inside subflow there are function, …

---

## [Read device by RS485 ASCII](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719)

<div class="topic-metadata">

**Author:** [@json\_lame](https://discourse.nodered.org/u/json_lame)\
**Replies:** 58\
**Last updated:** [19 May 2020 07:38 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719 "2020-05-19T07:38:46Z")

</div>

Hi everyone, First, I'm sorry for my english, I'm from Poland and technical language is little bit hard for me, but I will try to describe my problem very precisely. I got device, which shows current water flow and hav…

---

## [Secure credentials in subflow](https://discourse.nodered.org/t/secure-credentials-in-subflow/23736)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 5\
**Last updated:** [19 May 2020 07:23 UTC](https://discourse.nodered.org/t/secure-credentials-in-subflow/23736 "2020-05-19T07:23:30Z")

</div>

I want to include an e-mail node in a subflow and allow the credentials to be configurable via subflow env vars. However I obviously don't want the password appearing as plain text in the flows file. Is there a solutio…

---

## [Count array length](https://discourse.nodered.org/t/count-array-length/26865)

<div class="topic-metadata">

**Author:** [@pi642s](https://discourse.nodered.org/u/pi642s)\
**Replies:** 3\
**Last updated:** [19 May 2020 06:59 UTC](https://discourse.nodered.org/t/count-array-length/26865 "2020-05-19T06:59:43Z")

</div>

hi guys i'm using homeassistant and node red. i used a get-entities node to get an array of windows/doors left open. i'm trying to create a function node that counts the array length and join the friendly name attribu…

---

## [From Particle Photon to Node-RED](https://discourse.nodered.org/t/from-particle-photon-to-node-red/26890)

<div class="topic-metadata">

**Author:** [@blindner](https://discourse.nodered.org/u/blindner)\
**Replies:** 1\
**Last updated:** [19 May 2020 06:42 UTC](https://discourse.nodered.org/t/from-particle-photon-to-node-red/26890 "2020-05-19T06:42:37Z")

</div>

Hi there. So im using node red for my product design class and im basically brand new to it. Im trying to make a chart of values that are being generated by a particle photon. This will be a leader board for a game. What…

---

## [ELI5 NPM and JS](https://discourse.nodered.org/t/eli5-npm-and-js/26887)

<div class="topic-metadata">

**Author:** [@VinistoisR](https://discourse.nodered.org/u/VinistoisR)\
**Replies:** 3\
**Last updated:** [19 May 2020 06:36 UTC](https://discourse.nodered.org/t/eli5-npm-and-js/26887 "2020-05-19T06:36:31Z")

</div>

I'm a beginner with npm and Js. Can someone ELI5 a bit how it all works? If I find an npm module that is not written for node-red, can I do anything with it, in the context of node-red? For example, I've been working w…

---

## [Production Vs Dev environment config](https://discourse.nodered.org/t/production-vs-dev-environment-config/26844)

<div class="topic-metadata">

**Author:** [@Magnus](https://discourse.nodered.org/u/Magnus)\
**Replies:** 4\
**Last updated:** [19 May 2020 06:23 UTC](https://discourse.nodered.org/t/production-vs-dev-environment-config/26844 "2020-05-19T06:23:53Z")

</div>

Hi I'm about to use node-red as part of server/service monitoring project. I'm developing on my local machine and have http endpoints and mqtt server configurations (TLS certificates) etc all pointing to local/test data…

---

## [Raspberry Pi RS485 and MODBUS Read](https://discourse.nodered.org/t/raspberry-pi-rs485-and-modbus-read/2570)

<div class="topic-metadata">

**Author:** [@admintite](https://discourse.nodered.org/u/admintite)\
**Replies:** 6\
**Last updated:** [18 May 2020 23:59 UTC](https://discourse.nodered.org/t/raspberry-pi-rs485-and-modbus-read/2570 "2020-05-18T23:59:04Z")

</div>

TL;DR Can I read MODBUS registers (like these) directly from a device using Node Red using /dev/ttyUSB0? I just cant seem to make it work, mainly due to my very narrow scope of knowledge. My current setup is a raspberr…

---

## [Comparison of msg.payloads from the dashboard](https://discourse.nodered.org/t/comparison-of-msg-payloads-from-the-dashboard/26854)

<div class="topic-metadata">

**Author:** [@Joaovitor](https://discourse.nodered.org/u/Joaovitor)\
**Replies:** 7\
**Last updated:** [18 May 2020 22:44 UTC](https://discourse.nodered.org/t/comparison-of-msg-payloads-from-the-dashboard/26854 "2020-05-18T22:44:28Z")

</div>

I am developing an app for Iot from node red. In this app I need to compare a sensor value with maximum and minimum limits defined from the dashboard. It would have to work as follows: on the dashboard I would define t…

---

## [Another Sensor-to-Switch Thread](https://discourse.nodered.org/t/another-sensor-to-switch-thread/26705)

<div class="topic-metadata">

**Author:** [@mighkel](https://discourse.nodered.org/u/mighkel)\
**Replies:** 8\
**Last updated:** [18 May 2020 21:33 UTC](https://discourse.nodered.org/t/another-sensor-to-switch-thread/26705 "2020-05-18T21:33:43Z")

</div>

Problem: How do I get my temperature setpoints to activate my switch? (thermostat operation) I have a feeling it’s something stupid to connect that last dot. I’ve just been staring at this for so long, it’s time to b…

---

## [Button with selection menu option](https://discourse.nodered.org/t/button-with-selection-menu-option/26876)

<div class="topic-metadata">

**Author:** [@renlefche](https://discourse.nodered.org/u/renlefche)\
**Replies:** 2\
**Last updated:** [18 May 2020 21:24 UTC](https://discourse.nodered.org/t/button-with-selection-menu-option/26876 "2020-05-18T21:24:08Z")

</div>

I wanted to make a button with selection options just like the layer button on the top right. How can I add such a feature to a custom button?

---

## [Raspberry pi and sd card Write](https://discourse.nodered.org/t/raspberry-pi-and-sd-card-write/26129)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 19\
**Last updated:** [18 May 2020 21:20 UTC](https://discourse.nodered.org/t/raspberry-pi-and-sd-card-write/26129 "2020-05-18T21:20:01Z")

</div>

Running NodeRed on Pi 3B+. Raspbian version = 10 ("Buster") The flows on NodeRed are working. However we had a case where after about 1 week, the unit stopped working. We re-installed another new SD card with new image…

---

## [Progress bar or text field on worldmap](https://discourse.nodered.org/t/progress-bar-or-text-field-on-worldmap/26877)

<div class="topic-metadata">

**Author:** [@renlefche](https://discourse.nodered.org/u/renlefche)\
**Replies:** 1\
**Last updated:** [18 May 2020 20:44 UTC](https://discourse.nodered.org/t/progress-bar-or-text-field-on-worldmap/26877 "2020-05-18T20:44:23Z")

</div>

I'd like to add a progress bar or a text box to the worldmap that is not linked to a specific marker. What is the best way to do that?

---

## [Node-red disconnect every 30 sec](https://discourse.nodered.org/t/node-red-disconnect-every-30-sec/26867)

<div class="topic-metadata">

**Author:** [@soylant](https://discourse.nodered.org/u/soylant)\
**Replies:** 2\
**Last updated:** [18 May 2020 20:35 UTC](https://discourse.nodered.org/t/node-red-disconnect-every-30-sec/26867 "2020-05-18T20:35:24Z")

</div>

hey I am running node-red on my Home Assistant and have been running it for about a year now, but know it has started to disconnect all my entities every 30sec, and they come back connected after 5 sec. if i try to deplo…

---

## [Password protect the worldmap page](https://discourse.nodered.org/t/password-protect-the-worldmap-page/26875)

<div class="topic-metadata">

**Author:** [@renlefche](https://discourse.nodered.org/u/renlefche)\
**Replies:** 1\
**Last updated:** [18 May 2020 20:13 UTC](https://discourse.nodered.org/t/password-protect-the-worldmap-page/26875 "2020-05-18T20:13:06Z")

</div>

I have a worldmap with sensitive controls that I have to protect from being accessed by anyone who gets ahold of the worldmap URL. What would be the best way to add password protection for the worldmap page?

---

## [Modbus RTU Server](https://discourse.nodered.org/t/modbus-rtu-server/26825)

<div class="topic-metadata">

**Author:** [@cbodington](https://discourse.nodered.org/u/cbodington)\
**Replies:** 7\
**Last updated:** [18 May 2020 16:48 UTC](https://discourse.nodered.org/t/modbus-rtu-server/26825 "2020-05-18T16:48:17Z")

</div>

Hello. I am designing a panel that captures data from a sensor (temperatures, pressures, and vibrations), and this panel is capable of displaying all the information on the screen. However, now I need to make this panel…

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

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