# Latest

**URL:** https://discourse.nodered.org/latest.md?no_subcategories=false&page=431

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

**Page:** 432

---

## [Trying to control many Philips Hue using Hue Magic individually, but fail in passing the id as a json](https://discourse.nodered.org/t/trying-to-control-many-philips-hue-using-hue-magic-individually-but-fail-in-passing-the-id-as-a-json/72457)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 1\
**Last updated:** [27 December 2022 18:10 UTC](https://discourse.nodered.org/t/trying-to-control-many-philips-hue-using-hue-magic-individually-but-fail-in-passing-the-id-as-a-json/72457 "2022-12-27T18:10:31Z")

</div>

Hi. I'm trying to design a control system based on Node-RED and 20 Philips Hue. I want to control them individually via JSON. From the \[documentation\](https://You can also apply settings in universal mode to a specifi…

---

## [Node Red Flow - trigger Python function in a Python script on the Raspberry Pi](https://discourse.nodered.org/t/node-red-flow-trigger-python-function-in-a-python-script-on-the-raspberry-pi/72617)

<div class="topic-metadata">

**Author:** [@staebchen0](https://discourse.nodered.org/u/staebchen0)\
**Replies:** 15\
**Last updated:** [27 December 2022 17:07 UTC](https://discourse.nodered.org/t/node-red-flow-trigger-python-function-in-a-python-script-on-the-raspberry-pi/72617 "2022-12-27T17:07:58Z")

</div>

Hi everyone, I have a python script running on the raspberry pi and I want certain code parts to only be executed if the value true comes from a Node Red Flow. Red Node is already running on the raspberry pi Does anyo…

---

## [Flexdash - Uninstall - reinstall](https://discourse.nodered.org/t/flexdash-uninstall-reinstall/72759)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 7\
**Last updated:** [27 December 2022 12:10 UTC](https://discourse.nodered.org/t/flexdash-uninstall-reinstall/72759 "2022-12-27T12:10:30Z")

</div>

How do i do a complete uninstall and reinstall of flexdash ? I have removed all the widgets from the flow in the manage pallete, i can see remove but when i click that i get an error message and the log shows only belo…

---

## [OPC UA Server security not working](https://discourse.nodered.org/t/opc-ua-server-security-not-working/72764)

<div class="topic-metadata">

**Author:** [@vali](https://discourse.nodered.org/u/vali)\
**Replies:** 0\
**Last updated:** [27 December 2022 11:17 UTC](https://discourse.nodered.org/t/opc-ua-server-security-not-working/72764 "2022-12-27T11:17:19Z")

</div>

Hello, I am using the OPC UA Server (Compact Server) and I have some issues with the security part. How can I remove the Security mode "None" ? Also, I can connect with any user and password.

---

## [Node-red-node-discovery](https://discourse.nodered.org/t/node-red-node-discovery/8413)

<div class="topic-metadata">

**Author:** [@fabnavigator](https://discourse.nodered.org/u/fabnavigator)\
**Replies:** 25\
**Last updated:** [27 December 2022 10:56 UTC](https://discourse.nodered.org/t/node-red-node-discovery/8413 "2022-12-27T10:56:46Z")

</div>

Anyone using node-red-node-discovery? I wasn't able to install it on my Debian Pi system. Got all sorts of errors I don't understand. The docs mentioned a dependency that I needed, and that installed just fine.

---

## [Extract same data from different objects](https://discourse.nodered.org/t/extract-same-data-from-different-objects/72755)

<div class="topic-metadata">

**Author:** [@Statler](https://discourse.nodered.org/u/Statler)\
**Replies:** 4\
**Last updated:** [27 December 2022 09:47 UTC](https://discourse.nodered.org/t/extract-same-data-from-different-objects/72755 "2022-12-27T09:47:42Z")

</div>

Hi all, Nodered subscribes to a topic of a Zbridge which delivers Sensor data in its message: {"ZbReceived":{"0xB342":{"Device":"0xB342","Name":"OFIC","Temperature":24.57,"Humidity":83.39,"Endpoint":1,"LinkQuality":81}…

---

## [OPC UA Multiple Interval settings while using Subscription](https://discourse.nodered.org/t/opc-ua-multiple-interval-settings-while-using-subscription/71739)

<div class="topic-metadata">

**Author:** [@Manikandan](https://discourse.nodered.org/u/Manikandan)\
**Replies:** 5\
**Last updated:** [27 December 2022 09:35 UTC](https://discourse.nodered.org/t/opc-ua-multiple-interval-settings-while-using-subscription/71739 "2022-12-27T09:35:47Z")

</div>

hi, In my project, I was trying to set the OPC UA Subscription with two intervals using specific variable value \[ true \] from the read information received from the opc ua Client.and as soon as the value of variable cha…

---

## [Kostal Plenticore MODBUS LE Code to start charge from grid code](https://discourse.nodered.org/t/kostal-plenticore-modbus-le-code-to-start-charge-from-grid-code/72601)

<div class="topic-metadata">

**Author:** [@Gutein](https://discourse.nodered.org/u/Gutein)\
**Replies:** 3\
**Last updated:** [27 December 2022 08:50 UTC](https://discourse.nodered.org/t/kostal-plenticore-modbus-le-code-to-start-charge-from-grid-code/72601 "2022-12-27T08:50:59Z")

</div>

Hi there. Im trying to figure out how I can start and stop charg 5000w from grid to send a Little-endian in json and run it in Nod-Red to my BYD battery. Any suggestions? Here is a jason code that works in BE but not…

---

## [Read the contents of a folder](https://discourse.nodered.org/t/read-the-contents-of-a-folder/694)

<div class="topic-metadata">

**Author:** [@ThanosMel](https://discourse.nodered.org/u/ThanosMel)\
**Replies:** 10\
**Last updated:** [27 December 2022 07:38 UTC](https://discourse.nodered.org/t/read-the-contents-of-a-folder/694 "2022-12-27T07:38:55Z")

</div>

I have a local folder with uknown number of xml files. I want to take the xml files convert them to json and make a new folder with the json files. Is it possible with node - red. (I know how to convert xml to json)

---

## [Node red stops right after reboot and node-red "auto-start"](https://discourse.nodered.org/t/node-red-stops-right-after-reboot-and-node-red-auto-start/72625)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 23\
**Last updated:** [27 December 2022 07:29 UTC](https://discourse.nodered.org/t/node-red-stops-right-after-reboot-and-node-red-auto-start/72625 "2022-12-27T07:29:47Z")

</div>

I am trying to make a clean install of node red on a raspberry pi 3B+. Almost looks to turn out very well. Only I have a weird behavior. When I reboot the device. Then directly after node red has started it stops. When…

---

## [(on a side note) Suggestions offered when starting a new thread](https://discourse.nodered.org/t/on-a-side-note-suggestions-offered-when-starting-a-new-thread/72752)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [27 December 2022 03:18 UTC](https://discourse.nodered.org/t/on-a-side-note-suggestions-offered-when-starting-a-new-thread/72752 "2022-12-27T03:18:46Z")

</div>

Ok, nothing is perfect. But some of the offerings suggested...... Just saying. When I am writing a new thread - asking for help - and I see some of the offerings it is somewhat interesting how the AI picks the threads…

---

## [Small core bug found](https://discourse.nodered.org/t/small-core-bug-found/72745)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 1\
**Last updated:** [26 December 2022 23:12 UTC](https://discourse.nodered.org/t/small-core-bug-found/72745 "2022-12-26T23:12:32Z")

</div>

GMT express deprecated res.status("200"): use res.status(200) instead at node\_modules/@node-red/nodes/core/network/21-httpin.js:328:34

---

## [Node-red-node-email - Sender E-Mail Address](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699)

<div class="topic-metadata">

**Author:** [@thomas-hn](https://discourse.nodered.org/u/thomas-hn)\
**Replies:** 3\
**Last updated:** [26 December 2022 21:49 UTC](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699 "2022-12-26T21:49:39Z")

</div>

Hi, the E-Mail server I use with node-red-node-email requires the username only (not the e-mail address) in the User-ID field. This causes that the sender of my Node Red e-mails is not shown correctly at the receiver. I…

---

## [Average by unknown numbers of messages and unknown time period](https://discourse.nodered.org/t/average-by-unknown-numbers-of-messages-and-unknown-time-period/72663)

<div class="topic-metadata">

**Author:** [@Crashy77](https://discourse.nodered.org/u/Crashy77)\
**Replies:** 5\
**Last updated:** [26 December 2022 20:44 UTC](https://discourse.nodered.org/t/average-by-unknown-numbers-of-messages-and-unknown-time-period/72663 "2022-12-26T20:44:43Z")

</div>

Hi. I want to make averages for COP´s of my heatpump. Actually I´m sending them every 10 seconds to influxDB, but it´s looking terrible in Grafana. The problem is, that the consumption time is always different for heat…

---

## [Icon suggestion - looking for an icon](https://discourse.nodered.org/t/icon-suggestion-looking-for-an-icon/72746)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [26 December 2022 20:21 UTC](https://discourse.nodered.org/t/icon-suggestion-looking-for-an-icon/72746 "2022-12-26T20:21:07Z")

</div>

Following on my yesterday's post about MQTT. Be it FA or MD (or any other, but they are the two with which I am familiar): What is a good icon for the status of MQTT? For now I have fa-map-signs which kind of works. …

---

## [NR + Docker: Installation of new module leads to crash (dbus error)](https://discourse.nodered.org/t/nr-docker-installation-of-new-module-leads-to-crash-dbus-error/72579)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 3\
**Last updated:** [26 December 2022 20:09 UTC](https://discourse.nodered.org/t/nr-docker-installation-of-new-module-leads-to-crash-dbus-error/72579 "2022-12-26T20:09:22Z")

</div>

Hiho folks :slight\_smile: I use Node Red in Docker and ported it from Raspberry Pi to WSL Docker x86 for performance reasons. Everything works fine since I try to install a new node module. I tried ui\_etable and some o…

---

## [Flexdash Bar Chart](https://discourse.nodered.org/t/flexdash-bar-chart/72654)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 19\
**Last updated:** [26 December 2022 18:33 UTC](https://discourse.nodered.org/t/flexdash-bar-chart/72654 "2022-12-26T18:33:59Z")

</div>

I tried to create a column chart/bar chart but unable to get around how to , i am able to generate a line chart with example given. would you please help in a demo flow for the same. also i need some help in getting the…

---

## [Transform data from array](https://discourse.nodered.org/t/transform-data-from-array/72733)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 10\
**Last updated:** [26 December 2022 18:19 UTC](https://discourse.nodered.org/t/transform-data-from-array/72733 "2022-12-26T18:19:45Z")

</div>

How do i transform the below data from this format \[\[a,b,c,d\],\[1,2,3,4\],\[10,20,30,40\]\] to \[\[a,1,10\],\[b,2,20\],\[c,3,30\],\[d,4,40\]\] i have got some examples on forum for converting static data from one form to another b…

---

## [Trying to trigger a switch on this error message from a Shelly node](https://discourse.nodered.org/t/trying-to-trigger-a-switch-on-this-error-message-from-a-shelly-node/72727)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 2\
**Last updated:** [26 December 2022 17:59 UTC](https://discourse.nodered.org/t/trying-to-trigger-a-switch-on-this-error-message-from-a-shelly-node/72727 "2022-12-26T17:59:08Z")

</div>

I would like to trigger a switch when a Shelly node times out. I tried msg.string contains timeout, but that doesnt work. It looks as if it is just msg ? But I cannot set that in a switch edit I am not sure this is…

---

## [How to add data to a message with different send times?](https://discourse.nodered.org/t/how-to-add-data-to-a-message-with-different-send-times/72731)

<div class="topic-metadata">

**Author:** [@namexx](https://discourse.nodered.org/u/namexx)\
**Replies:** 1\
**Last updated:** [26 December 2022 17:32 UTC](https://discourse.nodered.org/t/how-to-add-data-to-a-message-with-different-send-times/72731 "2022-12-26T17:32:36Z")

</div>

Hello I have to send a msg.payload that I need to add data with different send times. Because i send data to server every 3 seconds and i need include all data in one message. Example: message1 ="hi1"; //this message…

---

## [Reading value from ML PLC using modbus serial RS232 in nodered](https://discourse.nodered.org/t/reading-value-from-ml-plc-using-modbus-serial-rs232-in-nodered/72726)

<div class="topic-metadata">

**Author:** [@akshayjain](https://discourse.nodered.org/u/akshayjain)\
**Replies:** 3\
**Last updated:** [26 December 2022 17:09 UTC](https://discourse.nodered.org/t/reading-value-from-ml-plc-using-modbus-serial-rs232-in-nodered/72726 "2022-12-26T17:09:06Z")

</div>

Hi There, as @Steve-Mcl was telling me why i am using code not the node the reason is this, This is a working example from a guy who helped me well enough but now he is not there and i have to read data from PLC as he ma…

---

## [How to detect unused flow (missing mqtt input)](https://discourse.nodered.org/t/how-to-detect-unused-flow-missing-mqtt-input/72710)

<div class="topic-metadata">

**Author:** [@AndKe](https://discourse.nodered.org/u/AndKe)\
**Replies:** 3\
**Last updated:** [26 December 2022 16:59 UTC](https://discourse.nodered.org/t/how-to-detect-unused-flow-missing-mqtt-input/72710 "2022-12-26T16:59:58Z")

</div>

Some MQTT devices battery die, then there is no mqtt-in input. What is the proper way to cause some action - when a input/mqtt-in has not seen data(been used) for x hours?

---

## [TypeError: Cannot read properties of undefined (reading 'temperature')](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-temperature/72738)

<div class="topic-metadata">

**Author:** [@AndKe](https://discourse.nodered.org/u/AndKe)\
**Replies:** 3\
**Last updated:** [26 December 2022 16:58 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-temperature/72738 "2022-12-26T16:58:27Z")

</div>

Please see the global variables and function below. I hope you can find out why this fails.(error in post subject) I can only assume this is happening at line 6 or 8.

---

## [Trying to get some data from a website](https://discourse.nodered.org/t/trying-to-get-some-data-from-a-website/72597)

<div class="topic-metadata">

**Author:** [@ignalonso](https://discourse.nodered.org/u/ignalonso)\
**Replies:** 5\
**Last updated:** [26 December 2022 16:54 UTC](https://discourse.nodered.org/t/trying-to-get-some-data-from-a-website/72597 "2022-12-26T16:54:27Z")

</div>

hello. I´m trying to get one specific data from a website but I receive the msg empty. Can someone help me ? I let here my flow. \[ { "id": "bd6a2a896ca035da", "type": "tab", "label": "Flow 5", "disabled": false, …

---

## [Sorting a string](https://discourse.nodered.org/t/sorting-a-string/72739)

<div class="topic-metadata">

**Author:** [@ignalonso](https://discourse.nodered.org/u/ignalonso)\
**Replies:** 1\
**Last updated:** [26 December 2022 16:52 UTC](https://discourse.nodered.org/t/sorting-a-string/72739 "2022-12-26T16:52:01Z")

</div>

I´m getting this value: 0.20607 €/kWh but i just want the numerical part. 0.20607 How can i get it ?

---

## [Is a flow considered to be dirty/modified if one of its wires is cut?](https://discourse.nodered.org/t/is-a-flow-considered-to-be-dirty-modified-if-one-of-its-wires-is-cut/72732)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 0\
**Last updated:** [26 December 2022 15:19 UTC](https://discourse.nodered.org/t/is-a-flow-considered-to-be-dirty-modified-if-one-of-its-wires-is-cut/72732 "2022-12-26T15:19:52Z")

</div>

Forgive me if this is expected behavior, since I can duplicate it on my old node-red v1.1.3 and my new v3.0.2. The closest thing I could find to this is Deploying the state machine node does not change its status, but th…

---

## [String Auflösen](https://discourse.nodered.org/t/string-auflosen/72723)

<div class="topic-metadata">

**Author:** [@ahtdf](https://discourse.nodered.org/u/ahtdf)\
**Replies:** 5\
**Last updated:** [26 December 2022 13:36 UTC](https://discourse.nodered.org/t/string-auflosen/72723 "2022-12-26T13:36:47Z")

</div>

Hallo zusammen Ich stecke total fest, versuche schon seit Tagen einen MQTT String aufzulösen. der Paylod sieht so aus. payload: "{"Time":"2022-12-26T11:53:53","Switch1":"OFF","Switch2":"ON","Switch3":"ON","Switch4":…

---

## [Determine tomorrow's day of the month](https://discourse.nodered.org/t/determine-tomorrows-day-of-the-month/72718)

<div class="topic-metadata">

**Author:** [@scsirob](https://discourse.nodered.org/u/scsirob)\
**Replies:** 11\
**Last updated:** [26 December 2022 13:14 UTC](https://discourse.nodered.org/t/determine-tomorrows-day-of-the-month/72718 "2022-12-26T13:14:07Z")

</div>

I'm running Node Red v3.0.2 in a Linux VM I'm trying to write some code to determine tomorrow's day of the month. One of my goals is to be as lean as possible, as this will run in a small system later. So to avoid addin…

---

## [Extract value from MQTT message](https://discourse.nodered.org/t/extract-value-from-mqtt-message/72714)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 5\
**Last updated:** [26 December 2022 12:25 UTC](https://discourse.nodered.org/t/extract-value-from-mqtt-message/72714 "2022-12-26T12:25:55Z")

</div>

I need some help extracting one value (as float or integer) from an MQTT message. This is the relevant part of the MQTT message: {"BatV":3.041,"Bat\_status":3,"Exti\_pin\_level":"Low","Exti\_status":"False","Hum\_SHT":71.6,"…

---

## [Show postgresql data on chart in nodered dashboard](https://discourse.nodered.org/t/show-postgresql-data-on-chart-in-nodered-dashboard/72706)

<div class="topic-metadata">

**Author:** [@sharad](https://discourse.nodered.org/u/sharad)\
**Replies:** 21\
**Last updated:** [26 December 2022 11:33 UTC](https://discourse.nodered.org/t/show-postgresql-data-on-chart-in-nodered-dashboard/72706 "2022-12-26T11:33:46Z")

</div>

Hello All, I wanted to show the data come from postgresql on nodered chart. My data is came from postgresql in below screenshot format so how I show this into chart? I want to show value on y-axis and date on x-axis. pl…

[Previous page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=430)

[Next page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=432)
