# Latest

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

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

**Page:** 677

---

## [STT using websocket in streaming mode](https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947)

<div class="topic-metadata">

**Author:** [@muhammadaasem](https://discourse.nodered.org/u/muhammadaasem)\
**Replies:** 2\
**Last updated:** [9 December 2021 20:47 UTC](https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947 "2021-12-09T20:47:40Z")

</div>

Would someone please share a flow with following requirements Open socket Open microphone (by click) Speak something Watson STT transcribes display interm results display final result with confidence score Close microp…

---

## [Can I make these fields retentive?](https://discourse.nodered.org/t/can-i-make-these-fields-retentive/54899)

<div class="topic-metadata">

**Author:** [@traderjoe](https://discourse.nodered.org/u/traderjoe)\
**Replies:** 9\
**Last updated:** [9 December 2021 19:32 UTC](https://discourse.nodered.org/t/can-i-make-these-fields-retentive/54899 "2021-12-09T19:32:47Z")

</div>

I have a form node: This form helps the user configure the Pi to look for different devices on Modbus TCP. I'm using a form so the IP address is flexible. These fields are enterable, but they are not retained. Mean…

---

## [Convert hex to bin preserving long format](https://discourse.nodered.org/t/convert-hex-to-bin-preserving-long-format/54928)

<div class="topic-metadata">

**Author:** [@TheMiloNet](https://discourse.nodered.org/u/TheMiloNet)\
**Replies:** 1\
**Last updated:** [9 December 2021 13:19 UTC](https://discourse.nodered.org/t/convert-hex-to-bin-preserving-long-format/54928 "2021-12-09T13:19:47Z")

</div>

Hi all, i need to convert hex value eg "24" to bin. "00100100". Using the msg.payload = parseInt(msg.payload,16).toString(2) the result is "100100". How can obtain a long format value with all 8 bit "00100100"? B…

---

## [TTS.google\_translate\_say](https://discourse.nodered.org/t/tts-google-translate-say/54955)

<div class="topic-metadata">

**Author:** [@pito66](https://discourse.nodered.org/u/pito66)\
**Replies:** 0\
**Last updated:** [9 December 2021 19:06 UTC](https://discourse.nodered.org/t/tts-google-translate-say/54955 "2021-12-09T19:06:59Z")

</div>

I have TTS.google\_translate\_say working fine with my google home speaker when message is in english, but if I try to use it with a different language it doesn't produce any sound in my speaker. I have the following synt…

---

## [Returnvalue of MSSQL Query Select Count](https://discourse.nodered.org/t/returnvalue-of-mssql-query-select-count/54933)

<div class="topic-metadata">

**Author:** [@Riggi](https://discourse.nodered.org/u/Riggi)\
**Replies:** 6\
**Last updated:** [9 December 2021 19:05 UTC](https://discourse.nodered.org/t/returnvalue-of-mssql-query-select-count/54933 "2021-12-09T19:05:12Z")

</div>

Hello, I'm using the node-red-contrib-mssql-plus Everthing works well! One thing is strange and Im struggeling ;( The Returnvalue of the command Select Count returns the right Value but I can't use the returnvalue. Th…

---

## [Outputting text to a Windows shared folder](https://discourse.nodered.org/t/outputting-text-to-a-windows-shared-folder/54876)

<div class="topic-metadata">

**Author:** [@thekitehunter](https://discourse.nodered.org/u/thekitehunter)\
**Replies:** 12\
**Last updated:** [9 December 2021 17:20 UTC](https://discourse.nodered.org/t/outputting-text-to-a-windows-shared-folder/54876 "2021-12-09T17:20:15Z")

</div>

I'm running Node-Red in Home Assistant on a Raspberry Pi. I'm collecting data from MQTT and can save it into a file, on the Pi, but how do I send it to a shared folder on my Windows file server. I've been trying with nod…

---

## [Node-RED crash when connection to PLC drops](https://discourse.nodered.org/t/node-red-crash-when-connection-to-plc-drops/54918)

<div class="topic-metadata">

**Author:** [@angrj](https://discourse.nodered.org/u/angrj)\
**Replies:** 4\
**Last updated:** [9 December 2021 16:46 UTC](https://discourse.nodered.org/t/node-red-crash-when-connection-to-plc-drops/54918 "2021-12-09T16:46:06Z")

</div>

Hello to all, I have a problem with Node-RED: continuously communicates with PLCs using node-red-contrib-s7, it works well but sometimes i get the following error: Error: read ECONNRESET at TCP.onStreamRead (node: int…

---

## [OpenKiosk as an HMI client](https://discourse.nodered.org/t/openkiosk-as-an-hmi-client/54938)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 1\
**Last updated:** [9 December 2021 16:10 UTC](https://discourse.nodered.org/t/openkiosk-as-an-hmi-client/54938 "2021-12-09T16:10:20Z")

</div>

Just sharing this as I see this software has not been mentioned yet on the forums. https://openkiosk.mozdevgroup.com/ Description OpenKiosk is a cross platform kiosk web browser based on Mozilla Firefox that can be e…

---

## [Issue with rounding. \[SOLVED\]](https://discourse.nodered.org/t/issue-with-rounding-solved/54920)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 9\
**Last updated:** [9 December 2021 16:06 UTC](https://discourse.nodered.org/t/issue-with-rounding-solved/54920 "2021-12-09T16:06:07Z")

</div>

I have a modbus read node which communicates a PLC at 20 ms polling rate, and returns the status of a memory address (true or false). I have set up a flow which calculates the status change between false and true (throug…

---

## [Handling \<settings.userDir\>/package.json when using the Storage APIs](https://discourse.nodered.org/t/handling-settings-userdir-package-json-when-using-the-storage-apis/54626)

<div class="topic-metadata">

**Author:** [@hammoaj](https://discourse.nodered.org/u/hammoaj)\
**Replies:** 2\
**Last updated:** [9 December 2021 15:33 UTC](https://discourse.nodered.org/t/handling-settings-userdir-package-json-when-using-the-storage-apis/54626 "2021-12-09T15:33:05Z")

</div>

Hi @knolleary , @dceejay As I re-implement the Cloudant file storage on the latest Docker image, I am wondering how it should handle the package.json file used internally to manage modules installed. In the standard Doc…

---

## [HTTP POST jsonprc request problems](https://discourse.nodered.org/t/http-post-jsonprc-request-problems/54580)

<div class="topic-metadata">

**Author:** [@HughB](https://discourse.nodered.org/u/HughB)\
**Replies:** 2\
**Last updated:** [9 December 2021 15:29 UTC](https://discourse.nodered.org/t/http-post-jsonprc-request-problems/54580 "2021-12-09T15:29:23Z")

</div>

Hi all im fairly new to Node Red and up until now things have been going swimmingly. I am trying to get an HTTP request (post) to work and non matter what i try i always get a 400 bad response. The request is being us…

---

## [Getting information from a CGI web service](https://discourse.nodered.org/t/getting-information-from-a-cgi-web-service/54921)

<div class="topic-metadata">

**Author:** [@jabss](https://discourse.nodered.org/u/jabss)\
**Replies:** 2\
**Last updated:** [9 December 2021 14:30 UTC](https://discourse.nodered.org/t/getting-information-from-a-cgi-web-service/54921 "2021-12-09T14:30:39Z")

</div>

Hi, I have a system that provides me the temperature in a room via a simple CGI webservice: user1@mojito:~# time wget -q -O - http://192.168.2.6/cgi-bin/ws3.cgi?item=garagem\\&value=1\\&action=get \<html\> \<head\> \<title\>W…

---

## [Node-red-contrib-powershell (tobiassoltermann)](https://discourse.nodered.org/t/node-red-contrib-powershell-tobiassoltermann/54934)

<div class="topic-metadata">

**Author:** [@Mattia.88](https://discourse.nodered.org/u/Mattia.88)\
**Replies:** 0\
**Last updated:** [9 December 2021 14:14 UTC](https://discourse.nodered.org/t/node-red-contrib-powershell-tobiassoltermann/54934 "2021-12-09T14:14:10Z")

</div>

Good morning, how can to pass parameters to a file powershell with "node-red-contrib-powershell "? Now, into payload, i can only write the name of file powershell for execute! Thanks a lot!

---

## [Increasing value font size](https://discourse.nodered.org/t/increasing-value-font-size/54870)

<div class="topic-metadata">

**Author:** [@MR76](https://discourse.nodered.org/u/MR76)\
**Replies:** 7\
**Last updated:** [9 December 2021 13:47 UTC](https://discourse.nodered.org/t/increasing-value-font-size/54870 "2021-12-09T13:47:13Z")

</div>

Hi, I'm trying to increase the size of the number in the current value field. I tried it with \<font size =25\> {{msg.payload}} in the value format. But that doesnt't work after a certain font size. Is there any other wa…

---

## [NR complains about incorrect javascript code - but its not](https://discourse.nodered.org/t/nr-complains-about-incorrect-javascript-code-but-its-not/54916)

<div class="topic-metadata">

**Author:** [@haegar33](https://discourse.nodered.org/u/haegar33)\
**Replies:** 6\
**Last updated:** [9 December 2021 13:54 UTC](https://discourse.nodered.org/t/nr-complains-about-incorrect-javascript-code-but-its-not/54916 "2021-12-09T13:54:13Z")

</div>

I got these lines in a function to check for the presence of a sensor: var t = new Date(msg.payload.attr.lastseen); var t0 = new Date(); nmsg.payload.diff = (t0 - t) / 1000; So .diff is the time difference in seconds. …

---

## [Node-red-node-pi-gpio out stopped working](https://discourse.nodered.org/t/node-red-node-pi-gpio-out-stopped-working/54875)

<div class="topic-metadata">

**Author:** [@Magnus-rosenborg](https://discourse.nodered.org/u/Magnus-rosenborg)\
**Replies:** 17\
**Last updated:** [9 December 2021 13:50 UTC](https://discourse.nodered.org/t/node-red-node-pi-gpio-out-stopped-working/54875 "2021-12-09T13:50:41Z")

</div>

Suddenly 2 of my rasberry stopped working the same problem. The node rpi-gpio out is grey and disappered from the node collection. In the flow is says "Unknown: rpi-gpio out". I've upgraded Raspian to latest. Removed fr…

---

## [Read Files from any directory](https://discourse.nodered.org/t/read-files-from-any-directory/54919)

<div class="topic-metadata">

**Author:** [@hanine](https://discourse.nodered.org/u/hanine)\
**Replies:** 9\
**Last updated:** [9 December 2021 13:31 UTC](https://discourse.nodered.org/t/read-files-from-any-directory/54919 "2021-12-09T13:31:56Z")

</div>

How do I make node red read files from any directory not just files under the directory which it is installed in. Thank you in advance.

---

## [Tachometer EC Fan](https://discourse.nodered.org/t/tachometer-ec-fan/6475)

<div class="topic-metadata">

**Author:** [@dakure](https://discourse.nodered.org/u/dakure)\
**Replies:** 1\
**Last updated:** [9 December 2021 13:11 UTC](https://discourse.nodered.org/t/tachometer-ec-fan/6475 "2021-12-09T13:11:42Z")

</div>

Hi, I want to read the rpm s from a EC (Electronically Commutated) fan. I did it with a python script but I was wondering the best way to do it in NodeRed. I don t realise how to get the pulses for minute using the r…

---

## ["Error: Cannot find module 'extend'](https://discourse.nodered.org/t/error-cannot-find-module-extend/54913)

<div class="topic-metadata">

**Author:** [@Omer](https://discourse.nodered.org/u/Omer)\
**Replies:** 7\
**Last updated:** [9 December 2021 10:37 UTC](https://discourse.nodered.org/t/error-cannot-find-module-extend/54913 "2021-12-09T10:37:33Z")

</div>

Hi everyone, I'm pretty new to Node-RED and I am working on a project with Augmented Operator Advisor by Schneider Electric to send MySQL data to the AOA app on a Tablet device. I followed up the installation of the AOA…

---

## [Is there a way to get node properties Name and use it later in the flow?](https://discourse.nodered.org/t/is-there-a-way-to-get-node-properties-name-and-use-it-later-in-the-flow/54887)

<div class="topic-metadata">

**Author:** [@peterda](https://discourse.nodered.org/u/peterda)\
**Replies:** 6\
**Last updated:** [8 December 2021 21:07 UTC](https://discourse.nodered.org/t/is-there-a-way-to-get-node-properties-name-and-use-it-later-in-the-flow/54887 "2021-12-08T21:07:35Z")

</div>

I want to use the name of a node later in a flow, is this possible? When yes, how can i do this? I am using a zigbee2mqtt node and give it an understandable name. This name will be used to commit a record in a datab…

---

## [Function Node with RBE functionality, issue with JSON Objects](https://discourse.nodered.org/t/function-node-with-rbe-functionality-issue-with-json-objects/54854)

<div class="topic-metadata">

**Author:** [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Replies:** 8\
**Last updated:** [9 December 2021 09:18 UTC](https://discourse.nodered.org/t/function-node-with-rbe-functionality-issue-with-json-objects/54854 "2021-12-09T09:18:59Z")

</div>

Hey, I know I could do this with the RBE/filter node, but it's in some code, and I'd like to keep it in the function node. Is there a way for this code to check for JSON objects. It does check for numbers/strings etc. …

---

## [Only switch if state if OFF](https://discourse.nodered.org/t/only-switch-if-state-if-off/54881)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 5\
**Last updated:** [9 December 2021 07:37 UTC](https://discourse.nodered.org/t/only-switch-if-state-if-off/54881 "2021-12-09T07:37:55Z")

</div>

In the flow below I can manually switch a Philips Hue lamp on and off with two switches. I now also want to use a motion sensor to switch on the lamp when there is movement. But this should only work when the lamp is of…

---

## [Exec node path for shell script dependencies](https://discourse.nodered.org/t/exec-node-path-for-shell-script-dependencies/54907)

<div class="topic-metadata">

**Author:** [@IoTim](https://discourse.nodered.org/u/IoTim)\
**Replies:** 7\
**Last updated:** [9 December 2021 07:24 UTC](https://discourse.nodered.org/t/exec-node-path-for-shell-script-dependencies/54907 "2021-12-09T07:24:19Z")

</div>

Hi! I'm reasonably new to node-red, but really love it. I've run into a problem I'm unsure of how to solve. In the Exec node I am trying to run a shell script, except I am having problems with a path for a dependency. …

---

## [Accessing varying array object for input to node chart](https://discourse.nodered.org/t/accessing-varying-array-object-for-input-to-node-chart/54815)

<div class="topic-metadata">

**Author:** [@Alpal](https://discourse.nodered.org/u/Alpal)\
**Replies:** 6\
**Last updated:** [9 December 2021 06:22 UTC](https://discourse.nodered.org/t/accessing-varying-array-object-for-input-to-node-chart/54815 "2021-12-09T06:22:14Z")

</div>

Hi Being returned from a HTTP weather API inquiry, the payload I receive is an array that can have a varying number of elements (I think it can vary from 5 to 288). I can feed a single element into a chart node but am s…

---

## [Light switch replacement](https://discourse.nodered.org/t/light-switch-replacement/53861)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 39\
**Last updated:** [9 December 2021 00:54 UTC](https://discourse.nodered.org/t/light-switch-replacement/53861 "2021-12-09T00:54:11Z")

</div>

Suggestions for a light switch controller run by node red. Seems like there are numerous options for wifi switches, looking for one someone has actually used and knows that it works. Want one to fit in a standard wall bo…

---

## [Simple maths flow to create difference between two temperature sensors](https://discourse.nodered.org/t/simple-maths-flow-to-create-difference-between-two-temperature-sensors/54898)

<div class="topic-metadata">

**Author:** [@neilsonwheels](https://discourse.nodered.org/u/neilsonwheels)\
**Replies:** 2\
**Last updated:** [9 December 2021 00:23 UTC](https://discourse.nodered.org/t/simple-maths-flow-to-create-difference-between-two-temperature-sensors/54898 "2021-12-09T00:23:01Z")

</div>

I have two temperature sensors in my Home Assistant. I would like to create a new value which is the difference of them, in other words Temperature Reading A minus Temperature Reading B = Temperature Reading C. Could so…

---

## [Iteration stops after first loop](https://discourse.nodered.org/t/iteration-stops-after-first-loop/54896)

<div class="topic-metadata">

**Author:** [@Aivaras1](https://discourse.nodered.org/u/Aivaras1)\
**Replies:** 2\
**Last updated:** [8 December 2021 22:25 UTC](https://discourse.nodered.org/t/iteration-stops-after-first-loop/54896 "2021-12-08T22:25:12Z")

</div>

I am having some trouble with iteration and for loop. It stops after first loop. Value\_Analog has three objects, first is empty (I don't need it). I need this output Code in function. I am triggering it by inject node…

---

## [Two messages in one function](https://discourse.nodered.org/t/two-messages-in-one-function/54893)

<div class="topic-metadata">

**Author:** [@dokho](https://discourse.nodered.org/u/dokho)\
**Replies:** 2\
**Last updated:** [8 December 2021 21:57 UTC](https://discourse.nodered.org/t/two-messages-in-one-function/54893 "2021-12-08T21:57:41Z")

</div>

Hi ! First sorry for my bad english :slight\_smile: I'm trying to make a node-red function to send two msg. One of these message contain a variable. The messages must be like this: msg1: NEXTION,conschauf.txt="19" m…

---

## [Parsing JSON data with hexadecimal values](https://discourse.nodered.org/t/parsing-json-data-with-hexadecimal-values/54794)

<div class="topic-metadata">

**Author:** [@DNicholai](https://discourse.nodered.org/u/DNicholai)\
**Replies:** 3\
**Last updated:** [8 December 2021 21:55 UTC](https://discourse.nodered.org/t/parsing-json-data-with-hexadecimal-values/54794 "2021-12-08T21:55:08Z")

</div>

I'm trying to parse a JSON value, the value is as follows : {"ZbReceived":{"0xF063":{"Device":"0xF063","Name":"Sonoff\_Motion\_sensor","0500\<00":"000000000000","ZoneStatusChange":0,"Occupancy":0,"Endpoint":1,"LinkQuality"…

---

## [\[ANNOUNCE\] node-red-contrib-ui-svg: 2.3.1](https://discourse.nodered.org/t/announce-node-red-contrib-ui-svg-2-3-1/54894)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 0\
**Last updated:** [8 December 2021 21:21 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-ui-svg-2-3-1/54894 "2021-12-08T21:21:28Z")

</div>

Hi folks, Version 2.3.1 of the SVG node is available on NPM. See the release notes for more information. Bart

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

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