# Latest

**URL:** https://discourse.nodered.org/latest.md?page=687

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

**Page:** 688

---

## [TTS with Denon Receiver](https://discourse.nodered.org/t/tts-with-denon-receiver/54174)

<div class="topic-metadata">

**Author:** [@donniev](https://discourse.nodered.org/u/donniev)\
**Replies:** 0\
**Last updated:** [23 November 2021 18:49 UTC](https://discourse.nodered.org/t/tts-with-denon-receiver/54174 "2021-11-23T18:49:20Z")

</div>

I struggled getting TTS to work with my Denon receiver and I thought I would post a few tips here in hopes of saving others a bit of time; Play\_media loads a resource and plays it BUT ALSO adds it to the queue (playli…

---

## [Temperature sensor to round in Node-RED](https://discourse.nodered.org/t/temperature-sensor-to-round-in-node-red/54182)

<div class="topic-metadata">

**Author:** [@tiby007](https://discourse.nodered.org/u/tiby007)\
**Replies:** 3\
**Last updated:** [23 November 2021 22:03 UTC](https://discourse.nodered.org/t/temperature-sensor-to-round-in-node-red/54182 "2021-11-23T22:03:42Z")

</div>

Dear All! I have a temperature sensor value coming from S7-300 PLC. I get the value in a long decimal format, which does not look good on a dashboard. I would like to round it to 1 decimal, like 23,5 Celsius. I have no …

---

## [Flow.set - One set string - One set 	 "\[object Object\]"](https://discourse.nodered.org/t/flow-set-one-set-string-one-set-object-object/54176)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 2\
**Last updated:** [23 November 2021 21:56 UTC](https://discourse.nodered.org/t/flow-set-one-set-string-one-set-object-object/54176 "2021-11-23T21:56:39Z")

</div>

I have a inject node injecting a string into a function node - The function node sets a flow.set to the string -- Happy days. All of a sudden with no changes this flow now set the flow.set to "\[object Object\]" -- Un hap…

---

## [Node-RED with S7-317 CPU - "Error: connect ECONNREFUSED 192.168.0.1:102"](https://discourse.nodered.org/t/node-red-with-s7-317-cpu-error-connect-econnrefused-192-168-0-1-102/53960)

<div class="topic-metadata">

**Author:** [@tiby007](https://discourse.nodered.org/u/tiby007)\
**Replies:** 5\
**Last updated:** [23 November 2021 20:26 UTC](https://discourse.nodered.org/t/node-red-with-s7-317-cpu-error-connect-econnrefused-192-168-0-1-102/53960 "2021-11-23T20:26:08Z")

</div>

Hi All! I want to read and write a DB in a S7-317 CPU (317-2FK14-0AB0). I setup the Node-RED like below: I tried to change slot numbers, I tried to modified the IP of the CPU as troubleshoots, but nothing helped. I…

---

## [Either dumb question or possible suggestion for the Change node](https://discourse.nodered.org/t/either-dumb-question-or-possible-suggestion-for-the-change-node/54143)

<div class="topic-metadata">

**Author:** [@tymarbut](https://discourse.nodered.org/u/tymarbut)\
**Replies:** 4\
**Last updated:** [23 November 2021 19:41 UTC](https://discourse.nodered.org/t/either-dumb-question-or-possible-suggestion-for-the-change-node/54143 "2021-11-23T19:41:22Z")

</div>

I find myself frequently dragging a Change node onto the canvas, only to delete it and write a JS function to do the same thing, because the change node can't do the job I'm trying to do (as far as I know). That job is …

---

## [\[ANNOUNCE\] node-red-contrib-chronos 1.15](https://discourse.nodered.org/t/announce-node-red-contrib-chronos-1-15/54170)

<div class="topic-metadata">

**Author:** [@jens\_rossbach](https://discourse.nodered.org/u/jens_rossbach)\
**Replies:** 1\
**Last updated:** [23 November 2021 19:05 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-chronos-1-15/54170 "2021-11-23T19:05:08Z")

</div>

I just published version 1.15 of node-red-contrib-chronos. Please see the following announcement on GitHub for more details: :loudspeaker: node-red-contrib-chronos 1.15

---

## [Control widget from external ui\_template](https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171)

<div class="topic-metadata">

**Author:** [@xjust](https://discourse.nodered.org/u/xjust)\
**Replies:** 0\
**Last updated:** [23 November 2021 18:15 UTC](https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171 "2021-11-23T18:15:34Z")

</div>

sorry if this has already been posted, is it possible to control widget from ui\_template javascript? im just trying to select trigger a dropdown selection of the ui\_timescheduler widget this area here: \<md-select cla…

---

## [Watching your network for unwanted visitors](https://discourse.nodered.org/t/watching-your-network-for-unwanted-visitors/53678)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 2\
**Last updated:** [13 November 2021 13:13 UTC](https://discourse.nodered.org/t/watching-your-network-for-unwanted-visitors/53678 "2021-11-13T13:13:56Z")

</div>

Hi, just wondering if any of you have configured some clever flow to watch for "unexpected visitors" to your network. I just saw a Swedish TV program "You Are Hacked" where a team of hackers got the task to hack into an …

---

## [Properties of a message to influx](https://discourse.nodered.org/t/properties-of-a-message-to-influx/54127)

<div class="topic-metadata">

**Author:** [@Jonathan95](https://discourse.nodered.org/u/Jonathan95)\
**Replies:** 3\
**Last updated:** [23 November 2021 16:32 UTC](https://discourse.nodered.org/t/properties-of-a-message-to-influx/54127 "2021-11-23T16:32:08Z")

</div>

I am having a bit of trouble understanding how I can get my message properties from the object. There is mutliple "sites" and they have use the same structure as others so after a few attempts with template node trying…

---

## [Help with the \`node-red-contrib-os\` \`drives\` node](https://discourse.nodered.org/t/help-with-the-node-red-contrib-os-drives-node/54085)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [23 November 2021 16:29 UTC](https://discourse.nodered.org/t/help-with-the-node-red-contrib-os-drives-node/54085 "2021-11-23T16:29:44Z")

</div>

I have a USB stick in a RasPi. I want to keep a eye on how full it is. I do that with the drive node. But.... (And isn't there always a but?) The output is an array. I noticed that I wasn't getting a result for th…

---

## [Press button in NR will run a python script on a remote win pc](https://discourse.nodered.org/t/press-button-in-nr-will-run-a-python-script-on-a-remote-win-pc/53718)

<div class="topic-metadata">

**Author:** [@CarloJongen](https://discourse.nodered.org/u/CarloJongen)\
**Replies:** 13\
**Last updated:** [23 November 2021 15:59 UTC](https://discourse.nodered.org/t/press-button-in-nr-will-run-a-python-script-on-a-remote-win-pc/53718 "2021-11-23T15:59:13Z")

</div>

I would like to make a button in Node Red on my RPI that sends a command to a remote windows pc to run a \*.bat file or python script directly. So if I press this button in Node Red it will execute a python script on a re…

---

## [Where to store handle of setInterval?](https://discourse.nodered.org/t/where-to-store-handle-of-setinterval/54028)

<div class="topic-metadata">

**Author:** [@danube](https://discourse.nodered.org/u/danube)\
**Replies:** 5\
**Last updated:** [23 November 2021 14:48 UTC](https://discourse.nodered.org/t/where-to-store-handle-of-setinterval/54028 "2021-11-23T14:48:31Z")

</div>

A node which I develop needs to be run periodically. With setInterval, I could achieve this. It is necessary that the interval is set up upon loading the node. Here's my simple solution: function ShadingNode(originalCon…

---

## [Foreach topic and payload](https://discourse.nodered.org/t/foreach-topic-and-payload/54046)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 9\
**Last updated:** [23 November 2021 11:57 UTC](https://discourse.nodered.org/t/foreach-topic-and-payload/54046 "2021-11-23T11:57:16Z")

</div>

I have array, for (var i = 0; i \< numbers.length; i++) { numbers\[i\] \*= 2; query.push(array\[i\].query; temp.push(array\[i\].push; } and I want to send msg.topic, msg.payload, msg.something like this msg.query.forEach(qu…

---

## [Opcda-read item limit?](https://discourse.nodered.org/t/opcda-read-item-limit/54152)

<div class="topic-metadata">

**Author:** [@saalty](https://discourse.nodered.org/u/saalty)\
**Replies:** 0\
**Last updated:** [23 November 2021 10:46 UTC](https://discourse.nodered.org/t/opcda-read-item-limit/54152 "2021-11-23T10:46:33Z")

</div>

Dear all! Is there any limitation of how many items can I read from the OPC DA server with single opcda-read node? I browsed items from server during opcda-server configuration and found 3071 items. Then I exported the…

---

## [Add support for numeric literals - binary (prefix 0b), octal (prefix 0o) and hexadecimal (prefix: 0x)](https://discourse.nodered.org/t/add-support-for-numeric-literals-binary-prefix-0b-octal-prefix-0o-and-hexadecimal-prefix-0x/54148)

<div class="topic-metadata">

**Author:** [@stas-mursaev](https://discourse.nodered.org/u/stas-mursaev)\
**Replies:** 5\
**Last updated:** [23 November 2021 10:25 UTC](https://discourse.nodered.org/t/add-support-for-numeric-literals-binary-prefix-0b-octal-prefix-0o-and-hexadecimal-prefix-0x/54148 "2021-11-23T10:25:03Z")

</div>

Hi all, See Numeric Literals spec var bin = 0b1111; var oct = 0o17; var hex = 0xF;

---

## [Node-red-contrib-usb-hid-relay](https://discourse.nodered.org/t/node-red-contrib-usb-hid-relay/54134)

<div class="topic-metadata">

**Author:** [@Antor](https://discourse.nodered.org/u/Antor)\
**Replies:** 5\
**Last updated:** [23 November 2021 09:07 UTC](https://discourse.nodered.org/t/node-red-contrib-usb-hid-relay/54134 "2021-11-23T09:07:10Z")

</div>

Hello, I have tried to install node-red-contrib-usb-hid-relay with no success. I have tried with manage palette and this is the error code: 2021-11-22T18:32:10.807Z Install : node-red-contrib-usb-hid-relay 0.2.6 2021-1…

---

## [Action depending status Philips Hue lamp](https://discourse.nodered.org/t/action-depending-status-philips-hue-lamp/54095)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 2\
**Last updated:** [23 November 2021 09:04 UTC](https://discourse.nodered.org/t/action-depending-status-philips-hue-lamp/54095 "2021-11-23T09:04:24Z")

</div>

I use the Hue Magic node and it works fine. Now I want to perform an action on a Hue lamp but only if that lamp is turned OFF. For that I suspect that I have to request the status of that lamp and then do or not perform …

---

## [Running ffmpeg in exec node not working](https://discourse.nodered.org/t/running-ffmpeg-in-exec-node-not-working/54130)

<div class="topic-metadata">

**Author:** [@Metafieldor](https://discourse.nodered.org/u/Metafieldor)\
**Replies:** 10\
**Last updated:** [23 November 2021 01:34 UTC](https://discourse.nodered.org/t/running-ffmpeg-in-exec-node-not-working/54130 "2021-11-23T01:34:53Z")

</div>

I'm trying to take snapshots of my camera's rtsp stream. Stream is working on PC which is on the same LAN network as RPi400 with home assistant and node red. There I'm unable to get it working. In node I use this code: …

---

## [Money total counter](https://discourse.nodered.org/t/money-total-counter/54048)

<div class="topic-metadata">

**Author:** [@Becherer](https://discourse.nodered.org/u/Becherer)\
**Replies:** 9\
**Last updated:** [23 November 2021 01:01 UTC](https://discourse.nodered.org/t/money-total-counter/54048 "2021-11-23T01:01:23Z")

</div>

I am looking to use node red to make a simple money counter. I would like to have a dashboard that has a starting number of zero, and someone can have a number pad to enter a number and press - or + to add to rolling tot…

---

## [Aggregate multiple async requests into a single message](https://discourse.nodered.org/t/aggregate-multiple-async-requests-into-a-single-message/54126)

<div class="topic-metadata">

**Author:** [@djsb](https://discourse.nodered.org/u/djsb)\
**Replies:** 8\
**Last updated:** [22 November 2021 22:06 UTC](https://discourse.nodered.org/t/aggregate-multiple-async-requests-into-a-single-message/54126 "2021-11-22T22:06:27Z")

</div>

Hi all, Assuming we have a Node-RED http-in endpoint that, once called, fires multiple (eg: 3) async HTTP requests to 3rd party servers, how to I aggregate the HTTP 3 responses into a single message and therefore provid…

---

## [Send msg.payload on html button](https://discourse.nodered.org/t/send-msg-payload-on-html-button/54073)

<div class="topic-metadata">

**Author:** [@fmejialo](https://discourse.nodered.org/u/fmejialo)\
**Replies:** 5\
**Last updated:** [22 November 2021 18:19 UTC](https://discourse.nodered.org/t/send-msg-payload-on-html-button/54073 "2021-11-22T18:19:20Z")

</div>

Hello, I have created a custom checkbox button, based on internet codes, that allows me to use svg images in the background, now I am trying that when changing the button from unchecked to checked it sends as a "true" m…

---

## [\[Feedback wanted\] Update to mysql node](https://discourse.nodered.org/t/feedback-wanted-update-to-mysql-node/53936)

<div class="topic-metadata">

**Author:** [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Replies:** 15\
**Last updated:** [22 November 2021 17:21 UTC](https://discourse.nodered.org/t/feedback-wanted-update-to-mysql-node/53936 "2021-11-22T17:21:46Z")

</div>

I have just updated the node-red-node-mysql node to use the more maintained mysql2 library in response to MySQL 8.0 needs new Auth mechanism · Issue #853 · node-red/node-red-nodes · GitHub - and it is on npm as node-red-…

---

## [Switches interlock HA](https://discourse.nodered.org/t/switches-interlock-ha/54120)

<div class="topic-metadata">

**Author:** [@IkaSGC](https://discourse.nodered.org/u/IkaSGC)\
**Replies:** 0\
**Last updated:** [22 November 2021 16:15 UTC](https://discourse.nodered.org/t/switches-interlock-ha/54120 "2021-11-22T16:15:32Z")

</div>

Hi, I'm a complete newcomer to NodeRed. I'm solving a problem now and I can't figure it out. These are Christmas lights. In HomeAssistant I have created two "helpers" buttons. One is "Permanent ON" and should permanently…

---

## [Context missing in oneditcancel](https://discourse.nodered.org/t/context-missing-in-oneditcancel/54117)

<div class="topic-metadata">

**Author:** [@Dunken](https://discourse.nodered.org/u/Dunken)\
**Replies:** 0\
**Last updated:** [22 November 2021 16:02 UTC](https://discourse.nodered.org/t/context-missing-in-oneditcancel/54117 "2021-11-22T16:02:56Z")

</div>

I would like to call a REST endpoint in oneditcancel in order to clean-up resources in the backend (I created them via a button in this config-node). However, looks like I don't have access to any variables anymore (my t…

---

## [How to delete a context variable (wastebasket icon) with keyboard instead of mouse?](https://discourse.nodered.org/t/how-to-delete-a-context-variable-wastebasket-icon-with-keyboard-instead-of-mouse/54114)

<div class="topic-metadata">

**Author:** [@bwims](https://discourse.nodered.org/u/bwims)\
**Replies:** 1\
**Last updated:** [22 November 2021 15:05 UTC](https://discourse.nodered.org/t/how-to-delete-a-context-variable-wastebasket-icon-with-keyboard-instead-of-mouse/54114 "2021-11-22T15:05:09Z")

</div>

Hi, sometimes I want to clear a lot of context variables using the editor sidebar. Each time I click the wastebasket icon, I get the popup "Are you sure you want to delete this item?" Is there any way to do with with …

---

## [Structuring Flows](https://discourse.nodered.org/t/structuring-flows/54079)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 17\
**Last updated:** [22 November 2021 14:50 UTC](https://discourse.nodered.org/t/structuring-flows/54079 "2021-11-22T14:50:06Z")

</div>

I'm about to structure flows in a Server/Client structure. The server flow will sent messages to various client flows. I was contemplating two mechanisms for accomplishing this: METHOD 1: Have the server send a message …

---

## [Node-red remote access is not connecting](https://discourse.nodered.org/t/node-red-remote-access-is-not-connecting/54091)

<div class="topic-metadata">

**Author:** [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Replies:** 9\
**Last updated:** [22 November 2021 14:31 UTC](https://discourse.nodered.org/t/node-red-remote-access-is-not-connecting/54091 "2021-11-22T14:31:07Z")

</div>

Hi, install node-red-contrib-remote from manage pallet and did basic setting but it is not connecting with the network, i have seen on my command prompt that node-red-contrib-remote when i start flows see pic for refere…

---

## [Node Red on Arduino Portenta H7](https://discourse.nodered.org/t/node-red-on-arduino-portenta-h7/54101)

<div class="topic-metadata">

**Author:** [@miguelluhulima](https://discourse.nodered.org/u/miguelluhulima)\
**Replies:** 3\
**Last updated:** [22 November 2021 13:34 UTC](https://discourse.nodered.org/t/node-red-on-arduino-portenta-h7/54101 "2021-11-22T13:34:44Z")

</div>

is it possible to run node red on an Arduino Portenta H7?

---

## [Worldmap don't use or generate msg.socketid](https://discourse.nodered.org/t/worldmap-dont-use-or-generate-msg-socketid/54006)

<div class="topic-metadata">

**Author:** [@lcse66](https://discourse.nodered.org/u/lcse66)\
**Replies:** 7\
**Last updated:** [22 November 2021 13:17 UTC](https://discourse.nodered.org/t/worldmap-dont-use-or-generate-msg-socketid/54006 "2021-11-22T13:17:37Z")

</div>

Hi all, I'm using the excellent Worldmap node. However, I am having difficulty when multiple sessions are connected. Specifically, I can't get other elements on the page to interact correctly because Worldmap doesn't g…

---

## [ER\_PARSE\_ERROR in mysql node](https://discourse.nodered.org/t/er-parse-error-in-mysql-node/54099)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 3\
**Last updated:** [22 November 2021 12:53 UTC](https://discourse.nodered.org/t/er-parse-error-in-mysql-node/54099 "2021-11-22T12:53:35Z")

</div>

Need help to insert query using mysql node. I'm getting error: Error: ER\_PARSE\_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use n…

[Previous page](https://discourse.nodered.org/latest.md?page=686)

[Next page](https://discourse.nodered.org/latest.md?page=688)
