# Latest

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

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

**Page:** 513

---

## [Error on install the node-red-contrib-opcua-server](https://discourse.nodered.org/t/error-on-install-the-node-red-contrib-opcua-server/66761)

<div class="topic-metadata">

**Author:** [@7094001998](https://discourse.nodered.org/u/7094001998)\
**Replies:** 0\
**Last updated:** [22 August 2022 14:35 UTC](https://discourse.nodered.org/t/error-on-install-the-node-red-contrib-opcua-server/66761 "2022-08-22T14:35:02Z")

</div>

---

## [A simple motion -\> lights](https://discourse.nodered.org/t/a-simple-motion-lights/66752)

<div class="topic-metadata">

**Author:** [@10der](https://discourse.nodered.org/u/10der)\
**Replies:** 1\
**Last updated:** [22 August 2022 19:54 UTC](https://discourse.nodered.org/t/a-simple-motion-lights/66752 "2022-08-22T19:54:27Z")

</div>

hi! In place of TL;DR; :slightly\_smiling\_face: Right now I am living not at home. My home with above 120 devices and cool HA now is occupied territory. :frowning: I am living in my friend's apartment and from the bore…

---

## [Solution for GPS tracking of the vehicle](https://discourse.nodered.org/t/solution-for-gps-tracking-of-the-vehicle/66745)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 8\
**Last updated:** [22 August 2022 15:11 UTC](https://discourse.nodered.org/t/solution-for-gps-tracking-of-the-vehicle/66745 "2022-08-22T15:11:07Z")

</div>

Dear all, I have an idea of creating flow, that will track GPS location of my car. I was thinking of installing a GPS sensor into the car and create everything on my own, but I see there are already sensors like this av…

---

## [How to loop over msg.payload.states as array of objects](https://discourse.nodered.org/t/how-to-loop-over-msg-payload-states-as-array-of-objects/66766)

<div class="topic-metadata">

**Author:** [@novski](https://discourse.nodered.org/u/novski)\
**Replies:** 7\
**Last updated:** [22 August 2022 19:15 UTC](https://discourse.nodered.org/t/how-to-loop-over-msg-payload-states-as-array-of-objects/66766 "2022-08-22T19:15:24Z")

</div>

I have an msg object that has sub array's of objects. How can I add an element in to the objects? This is my data: pastebin link The problem is that every time I try to work with msg.payload.portstates (an array of…

---

## [Node-red-contrib-myq](https://discourse.nodered.org/t/node-red-contrib-myq/66772)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 0\
**Last updated:** [22 August 2022 18:37 UTC](https://discourse.nodered.org/t/node-red-contrib-myq/66772 "2022-08-22T18:37:31Z")

</div>

I've been using this node for years but earlier today it stopped reporting device status. When I attempt to retrieve the device status, I get multiple errors: Error received Could not refresh devices! I've confirmed …

---

## [Formatting JSON Output](https://discourse.nodered.org/t/formatting-json-output/66730)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 12\
**Last updated:** [22 August 2022 17:37 UTC](https://discourse.nodered.org/t/formatting-json-output/66730 "2022-08-22T17:37:20Z")

</div>

I have written a function to regex parse data and I am trying to get it to properly format the output to a global. I am seeing an extra object that I am can't determine where it is coming from. The current output appe…

---

## [The \`Instruction\` (Help?) option on nodes and a slight \*annoyance\*](https://discourse.nodered.org/t/the-instruction-help-option-on-nodes-and-a-slight-annoyance/66749)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [22 August 2022 15:32 UTC](https://discourse.nodered.org/t/the-instruction-help-option-on-nodes-and-a-slight-annoyance/66749 "2022-08-22T15:32:22Z")

</div>

If you are using new nodes and have their Ctl g h page open to see the options. You then click on a function node (or other node to change the message) the Help screen changes to that node. I get it.... that is the s…

---

## [Creating JSON Object with Buttons, Sliders and Text Inputs](https://discourse.nodered.org/t/creating-json-object-with-buttons-sliders-and-text-inputs/66750)

<div class="topic-metadata">

**Author:** [@mihaila-andreas](https://discourse.nodered.org/u/mihaila-andreas)\
**Replies:** 1\
**Last updated:** [22 August 2022 13:19 UTC](https://discourse.nodered.org/t/creating-json-object-with-buttons-sliders-and-text-inputs/66750 "2022-08-22T13:19:38Z")

</div>

Hi there, I was wondering how I can create a JSON Object wit some dynamic inputs (buttons, sliders, and texts). I was trying to solve that in order to use a function to build the Object but unfortunately it does not wo…

---

## [Developing node-red standalone applications (Extra unanted user dir creation on app execution)](https://discourse.nodered.org/t/developing-node-red-standalone-applications-extra-unanted-user-dir-creation-on-app-execution/66659)

<div class="topic-metadata">

**Author:** [@fathom](https://discourse.nodered.org/u/fathom)\
**Replies:** 3\
**Last updated:** [22 August 2022 08:52 UTC](https://discourse.nodered.org/t/developing-node-red-standalone-applications-extra-unanted-user-dir-creation-on-app-execution/66659 "2022-08-22T08:52:00Z")

</div>

I have been working on node-red projects for past 7 months and now trying to make a node js based web app with node-red at its backend embedded within the project. Steps I fallowed while making this application. Made …

---

## [How to update SQL query with an identifier has 2 strings](https://discourse.nodered.org/t/how-to-update-sql-query-with-an-identifier-has-2-strings/66647)

<div class="topic-metadata">

**Author:** [@Kimo](https://discourse.nodered.org/u/Kimo)\
**Replies:** 10\
**Last updated:** [22 August 2022 08:14 UTC](https://discourse.nodered.org/t/how-to-update-sql-query-with-an-identifier-has-2-strings/66647 "2022-08-22T08:14:39Z")

</div>

Hi. Anyone knows here is it possible if we can update sql table where the query with an id has 2 strings. The result I got is only A2 string is taken as identifier thus row contains id A1 is not updated.

---

## [Gosund SP112 energy monitoring smart plugs](https://discourse.nodered.org/t/gosund-sp112-energy-monitoring-smart-plugs/66740)

<div class="topic-metadata">

**Author:** [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Replies:** 1\
**Last updated:** [22 August 2022 08:10 UTC](https://discourse.nodered.org/t/gosund-sp112-energy-monitoring-smart-plugs/66740 "2022-08-22T08:10:18Z")

</div>

Hi, I have bought some Gosund SP112 enegy monitoring plugs and want to control them via the node red tuya-smart-device-node. I have spent a few days searching the web but no matter what I try I cant get them to simply tu…

---

## [Second newbie here, Tibber question](https://discourse.nodered.org/t/second-newbie-here-tibber-question/66722)

<div class="topic-metadata">

**Author:** [@gubbfett](https://discourse.nodered.org/u/gubbfett)\
**Replies:** 0\
**Last updated:** [21 August 2022 11:42 UTC](https://discourse.nodered.org/t/second-newbie-here-tibber-question/66722 "2022-08-21T11:42:50Z")

</div>

Hi, So, I'm struggling with the node-red-contrib-tibber-api module. I can get the "Tibber feed" node to work, but no else. I found this thread that was very interesting and helpful, but also a quite frustrating since i…

---

## [Hardware PWM Node-Red](https://discourse.nodered.org/t/hardware-pwm-node-red/66733)

<div class="topic-metadata">

**Author:** [@Sleep](https://discourse.nodered.org/u/Sleep)\
**Replies:** 8\
**Last updated:** [21 August 2022 21:56 UTC](https://discourse.nodered.org/t/hardware-pwm-node-red/66733 "2022-08-21T21:56:34Z")

</div>

Hi I'm looking for a way to use fully hardware PWM on my RPi Zero. I want to control a PWM fan requiring 28 kHz. The GPIO PWM nodes are software only (?). Does anyone have a script to control the PWM signal through r…

---

## [Node-Red Worldmap: Drawing polygon in worldmap](https://discourse.nodered.org/t/node-red-worldmap-drawing-polygon-in-worldmap/66651)

<div class="topic-metadata">

**Author:** [@Pharos](https://discourse.nodered.org/u/Pharos)\
**Replies:** 3\
**Last updated:** [21 August 2022 20:26 UTC](https://discourse.nodered.org/t/node-red-worldmap-drawing-polygon-in-worldmap/66651 "2022-08-21T20:26:52Z")

</div>

Hi, Currently I am working on developing geofences for a project. I am using the Dashboard-Worldmap node in order to draw polygons and save them in a .json file. As it turns out though when executing a GeoIntersect quer…

---

## [Bulk Rename files via ftp](https://discourse.nodered.org/t/bulk-rename-files-via-ftp/66701)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 4\
**Last updated:** [21 August 2022 20:18 UTC](https://discourse.nodered.org/t/bulk-rename-files-via-ftp/66701 "2022-08-21T20:18:47Z")

</div>

Hi everyone, I'm try to rename about 250.000 files using node-red. They are stored in a folder called /artikelbilder and need to be renamed and moved to /renamed based on payload\[0\] (current filename) and payload\[1\] (ne…

---

## [Unable to listen ... port in use](https://discourse.nodered.org/t/unable-to-listen-port-in-use/66712)

<div class="topic-metadata">

**Author:** [@rbmgf7](https://discourse.nodered.org/u/rbmgf7)\
**Replies:** 1\
**Last updated:** [21 August 2022 20:15 UTC](https://discourse.nodered.org/t/unable-to-listen-port-in-use/66712 "2022-08-21T20:15:36Z")

</div>

After I managed to get NR running at work on a Windows server, I wanted to try it at home. I had a spare laptop I loaded Ubuntu 22.04 on. I got Mosquitto and NR loaded and running in the beginning but then I had to do a …

---

## [Create array from objects, whilst using names from current objects](https://discourse.nodered.org/t/create-array-from-objects-whilst-using-names-from-current-objects/66719)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 4\
**Last updated:** [21 August 2022 20:05 UTC](https://discourse.nodered.org/t/create-array-from-objects-whilst-using-names-from-current-objects/66719 "2022-08-21T20:05:45Z")

</div>

Good morning. I have a simple HTTP GET request retrieving metal pricing information for a given date range. Here is the test URL returning the data that I want (3 days for testing purposes) and here is my flow shown be…

---

## [Problems with Download of 2 Files with 2 HTML Endpoints](https://discourse.nodered.org/t/problems-with-download-of-2-files-with-2-html-endpoints/66732)

<div class="topic-metadata">

**Author:** [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Replies:** 0\
**Last updated:** [21 August 2022 17:38 UTC](https://discourse.nodered.org/t/problems-with-download-of-2-files-with-2-html-endpoints/66732 "2022-08-21T17:38:47Z")

</div>

Hello, I have 2 \*.xlsx on the Node Red Server. The First is 3MB the Second 8 MB. Both Files are in the same Folder. I created 2 HTML Endpoints to download these Files separately. The Files have different Names and ev…

---

## [Developing a custom ui node for Flexdash](https://discourse.nodered.org/t/developing-a-custom-ui-node-for-flexdash/66704)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 16\
**Last updated:** [21 August 2022 15:38 UTC](https://discourse.nodered.org/t/developing-a-custom-ui-node-for-flexdash/66704 "2022-08-21T15:38:21Z")

</div>

Hi @tve, I would like to experiment with audio in the Node-RED dashboard, for another discussion to assist @nhiennguyenhuy. Would like the dashboard to be able to support an infinite stream of audio segments via the pc…

---

## [Correct format for extracting name of an object nested within an object using Function Node](https://discourse.nodered.org/t/correct-format-for-extracting-name-of-an-object-nested-within-an-object-using-function-node/66725)

<div class="topic-metadata">

**Author:** [@Purclewan](https://discourse.nodered.org/u/Purclewan)\
**Replies:** 9\
**Last updated:** [21 August 2022 14:20 UTC](https://discourse.nodered.org/t/correct-format-for-extracting-name-of-an-object-nested-within-an-object-using-function-node/66725 "2022-08-21T14:20:29Z")

</div>

Hi, I should know the answer to this but I'm get confused when trying to extract a specific piece of data from a JSON line that has an object containing the data I require nested within an object. To be specific, I have…

---

## [Is there a way to manage flow (tab) versions?](https://discourse.nodered.org/t/is-there-a-way-to-manage-flow-tab-versions/66727)

<div class="topic-metadata">

**Author:** [@omrid](https://discourse.nodered.org/u/omrid)\
**Replies:** 0\
**Last updated:** [21 August 2022 13:23 UTC](https://discourse.nodered.org/t/is-there-a-way-to-manage-flow-tab-versions/66727 "2022-08-21T13:23:03Z")

</div>

Hi, We are running Node-red in dockers (in a wide-scale deployment of over 15 different parallel environments - dev, test, production etc.). We are happy to see Node-red proving stable and performing well. We are facin…

---

## [How to make a cron with node inject](https://discourse.nodered.org/t/how-to-make-a-cron-with-node-inject/66487)

<div class="topic-metadata">

**Author:** [@mykerinos1](https://discourse.nodered.org/u/mykerinos1)\
**Replies:** 18\
**Last updated:** [21 August 2022 11:55 UTC](https://discourse.nodered.org/t/how-to-make-a-cron-with-node-inject/66487 "2022-08-21T11:55:12Z")

</div>

Hllo i'm using inject node to send data every 10 minutes for my chart but i'd prefered to add a cron to send data at specific minutes like 00,10,20,30,40,50 but i don't know hoxw to set it. Can you help me. Thanks

---

## [Error: listen EADDRNOTAVAIL: address not available 1.1.1.1:10502](https://discourse.nodered.org/t/error-listen-eaddrnotavail-address-not-available-1-1-1-1-10502/7627)

<div class="topic-metadata">

**Author:** [@eljuliman](https://discourse.nodered.org/u/eljuliman)\
**Replies:** 29\
**Last updated:** [21 August 2022 11:37 UTC](https://discourse.nodered.org/t/error-listen-eaddrnotavail-address-not-available-1-1-1-1-10502/7627 "2022-08-21T11:37:19Z")

</div>

Hello ! I have been working with modbus node red, and I configured a Server TCP in ip address 1.1.1.1:10502. When I have tried run node-red I have received this message 5 Feb 21:10:07 - Error: listen EADDRNOTAVAIL: add…

---

## [Streaming live audio data via MQTT](https://discourse.nodered.org/t/streaming-live-audio-data-via-mqtt/66602)

<div class="topic-metadata">

**Author:** [@nhiennguyenhuy](https://discourse.nodered.org/u/nhiennguyenhuy)\
**Replies:** 32\
**Last updated:** [21 August 2022 10:15 UTC](https://discourse.nodered.org/t/streaming-live-audio-data-via-mqtt/66602 "2022-08-21T10:15:25Z")

</div>

Hello, I am trying to stream live audio via MQTT in Node-red to Raspberry Pi. For testing microphone and speaker, when I connected them through a "Add WAV headers" (like the below image), the output sound is quite clea…

---

## [Node-red-modbus flex getter does not reconnect](https://discourse.nodered.org/t/node-red-modbus-flex-getter-does-not-reconnect/66708)

<div class="topic-metadata">

**Author:** [@keshavvasudeva](https://discourse.nodered.org/u/keshavvasudeva)\
**Replies:** 1\
**Last updated:** [21 August 2022 09:34 UTC](https://discourse.nodered.org/t/node-red-modbus-flex-getter-does-not-reconnect/66708 "2022-08-21T09:34:39Z")

</div>

Continuing the discussion from Node-red-contrib-modbus no reconnect: I have downgraded to v12.13 as mentioned in the above thread but I am still facing the issue. I have attached a picture of my flow for reference. I a…

---

## [Sftp keeps crashing NR](https://discourse.nodered.org/t/sftp-keeps-crashing-nr/66593)

<div class="topic-metadata">

**Author:** [@edje11](https://discourse.nodered.org/u/edje11)\
**Replies:** 8\
**Last updated:** [21 August 2022 07:46 UTC](https://discourse.nodered.org/t/sftp-keeps-crashing-nr/66593 "2022-08-21T07:46:10Z")

</div>

Hi, node-red-contrib-better-sftp will crash NR 2.2.2. In Better-Sftp LIST is working, but PUT, GET and DELETE will crash NR. In the console is then the error; 8 Aug 11:06:44 - \[red\] Uncaught Exception: 18 Aug 11:06…

---

## [Can't add blank object to array](https://discourse.nodered.org/t/cant-add-blank-object-to-array/66715)

<div class="topic-metadata">

**Author:** [@thefox07](https://discourse.nodered.org/u/thefox07)\
**Replies:** 1\
**Last updated:** [21 August 2022 06:19 UTC](https://discourse.nodered.org/t/cant-add-blank-object-to-array/66715 "2022-08-21T06:19:50Z")

</div>

Hello, The following code works fine in online JS compilers but not in the node-red function node. What am I missing? I inject the following msg.payload: { "domain": "homeassistant", "service": "turn\_on", …

---

## [An animated synopsis according to known states in the NR dashboard](https://discourse.nodered.org/t/an-animated-synopsis-according-to-known-states-in-the-nr-dashboard/66698)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 4\
**Last updated:** [20 August 2022 20:18 UTC](https://discourse.nodered.org/t/an-animated-synopsis-according-to-known-states-in-the-nr-dashboard/66698 "2022-08-20T20:18:46Z")

</div>

I would like to develop an animation that would look like this. This is an example: I'm not sure where to start, not being a developer at all, I'm wondering if there is a tool like Node red that would allow me to achi…

---

## [Using Node Red change set value](https://discourse.nodered.org/t/using-node-red-change-set-value/66625)

<div class="topic-metadata">

**Author:** [@keshavvasudeva](https://discourse.nodered.org/u/keshavvasudeva)\
**Replies:** 7\
**Last updated:** [20 August 2022 20:17 UTC](https://discourse.nodered.org/t/using-node-red-change-set-value/66625 "2022-08-20T20:17:03Z")

</div>

New to node red. Using it to read temperature from solo controllers and wish to change the set value based on a time delay. How can I do this? Would appreciate some assistance with the code as well

---

## [How to set cron plus for a complete payload](https://discourse.nodered.org/t/how-to-set-cron-plus-for-a-complete-payload/66703)

<div class="topic-metadata">

**Author:** [@mykerinos1](https://discourse.nodered.org/u/mykerinos1)\
**Replies:** 1\
**Last updated:** [20 August 2022 18:16 UTC](https://discourse.nodered.org/t/how-to-set-cron-plus-for-a-complete-payload/66703 "2022-08-20T18:16:36Z")

</div>

hello i ve got a http request that allow only one node at the same time.This request is done each second to feed datalive. . i would like to create a second way to use "cron plus " to send complete payload every 10 minut…

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

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