# General

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

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

**Page:** 261

---

## [OAuth2 implementation](https://discourse.nodered.org/t/oauth2-implementation/1462)

<div class="topic-metadata">

**Author:** [@redjellyuk](https://discourse.nodered.org/u/redjellyuk)\
**Replies:** 3\
**Last updated:** [20 January 2023 08:49 UTC](https://discourse.nodered.org/t/oauth2-implementation/1462 "2023-01-20T08:49:28Z")

</div>

Hi All, I have a project which requires Node-Red to authenticate with a OAuth2 protected API. I have looked all over to find a flow which has already been built to do the initial communication with the API, but I can no…

---

## [Ld-linux-x86-64.so missing on docker container](https://discourse.nodered.org/t/ld-linux-x86-64-so-missing-on-docker-container/73944)

<div class="topic-metadata">

**Author:** [@ouinouin](https://discourse.nodered.org/u/ouinouin)\
**Replies:** 0\
**Last updated:** [20 January 2023 08:22 UTC](https://discourse.nodered.org/t/ld-linux-x86-64-so-missing-on-docker-container/73944 "2023-01-20T08:22:32Z")

</div>

Hi, i begun to use the profiler node-red-contrib-v8-cpu-profiler it works well on direct hardware, but while trying to use it on a docker container i get errors about ld-linux-x86-64.so missing. whille looking through…

---

## [CEC Contrib setup for Windows?](https://discourse.nodered.org/t/cec-contrib-setup-for-windows/73938)

<div class="topic-metadata">

**Author:** [@Shadow20X6](https://discourse.nodered.org/u/Shadow20X6)\
**Replies:** 2\
**Last updated:** [20 January 2023 01:59 UTC](https://discourse.nodered.org/t/cec-contrib-setup-for-windows/73938 "2023-01-20T01:59:24Z")

</div>

I'm trying to use this Node Palette on a Windows Pocket PC Instance: I have the CEC Adapter installed. I've gotten a few test messages sent with the built in tools. But I'm stuck on figuring out how Node Red can acce…

---

## [RequestError: EPROTO wrong signature type:ssl/t1\_lib.c](https://discourse.nodered.org/t/requesterror-eproto-wrong-signature-type-ssl-t1-lib-c/73863)

<div class="topic-metadata">

**Author:** [@Dries](https://discourse.nodered.org/u/Dries)\
**Replies:** 8\
**Last updated:** [19 January 2023 20:20 UTC](https://discourse.nodered.org/t/requesterror-eproto-wrong-signature-type-ssl-t1-lib-c/73863 "2023-01-19T20:20:14Z")

</div>

Hi, I tried to set up my first HTTP Request Node. The assignment is (or should be) rather simple. It should GET this URL. https://klanten.bizzsms.nl/api/send?username=SOMEUSER&code=TEST&text=TESTNODERED&phonenumbers=0…

---

## [Exec command using function node in NodeRED](https://discourse.nodered.org/t/exec-command-using-function-node-in-nodered/73612)

<div class="topic-metadata">

**Author:** [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Replies:** 19\
**Last updated:** [19 January 2023 19:16 UTC](https://discourse.nodered.org/t/exec-command-using-function-node-in-nodered/73612 "2023-01-19T19:16:33Z")

</div>

hi there, var exec = childProcess.exec; var cmd = 'rtd 0 read 1'; var cmd1 = 'rtd 0 read 2'; var cmd2 = 'rtd 0 read 3'; var cmd3 = 'rtd 0 read 4'; var cmd4 = 'rtd 0 read 5'; var cmd5 = 'rtd 0 read 6'; var cmd6 = 'rtd 0 …

---

## [Node-red python function](https://discourse.nodered.org/t/node-red-python-function/73924)

<div class="topic-metadata">

**Author:** [@superlogan72](https://discourse.nodered.org/u/superlogan72)\
**Replies:** 1\
**Last updated:** [19 January 2023 16:12 UTC](https://discourse.nodered.org/t/node-red-python-function/73924 "2023-01-19T16:12:35Z")

</div>

Hello I have a problem but i'm unable to find the solution. Using the python function i do from pigpio\_encoder.rotary import Rotary But i get the error : no module named pigpio\_encoder, I have this module if i impor…

---

## [How to get BigTimer to only send payload on time conditions and not on toggle auto/stop?](https://discourse.nodered.org/t/how-to-get-bigtimer-to-only-send-payload-on-time-conditions-and-not-on-toggle-auto-stop/73833)

<div class="topic-metadata">

**Author:** [@johnbull](https://discourse.nodered.org/u/johnbull)\
**Replies:** 31\
**Last updated:** [19 January 2023 15:00 UTC](https://discourse.nodered.org/t/how-to-get-bigtimer-to-only-send-payload-on-time-conditions-and-not-on-toggle-auto-stop/73833 "2023-01-19T15:00:56Z")

</div>

Hi, New to both HA an Node-Red and trying to migrate from another controller. I try to create a flow that turned out to be too complicated for a new starter...or at least there is one thing that ruin my whole idea. My…

---

## [Is a flows\_cred.json created on one node-RED instance valid for a different node-RED instance too?](https://discourse.nodered.org/t/is-a-flows-cred-json-created-on-one-node-red-instance-valid-for-a-different-node-red-instance-too/73918)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 1\
**Last updated:** [19 January 2023 14:57 UTC](https://discourse.nodered.org/t/is-a-flows-cred-json-created-on-one-node-red-instance-valid-for-a-different-node-red-instance-too/73918 "2023-01-19T14:57:33Z")

</div>

I have some node-RED flow that I create via a Docker container, e.g., node-red-instance-1. Now I can copy the respective flows.json and flows\_cred.json file from node-red-instance-1's volume mount and I wish to spin up a…

---

## [How to always use the last item in an array?](https://discourse.nodered.org/t/how-to-always-use-the-last-item-in-an-array/73553)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 8\
**Last updated:** [19 January 2023 14:25 UTC](https://discourse.nodered.org/t/how-to-always-use-the-last-item-in-an-array/73553 "2023-01-19T14:25:44Z")

</div>

I have a switch node where I check a value. Feeding into this switch node is an array. Sometimes the array consists of 1 item, sometimes 2, sometimes 3, etc. How can I make the switch node always check the last item in…

---

## [Writing to network stream](https://discourse.nodered.org/t/writing-to-network-stream/73913)

<div class="topic-metadata">

**Author:** [@bruceb85](https://discourse.nodered.org/u/bruceb85)\
**Replies:** 1\
**Last updated:** [19 January 2023 14:23 UTC](https://discourse.nodered.org/t/writing-to-network-stream/73913 "2023-01-19T14:23:48Z")

</div>

When using the tcp nodes, does node red convert ascii text to bytes before writing them to the stream? Or do I need to convert the string to a byte buffer before sending the payload ?

---

## [Need help with read multi msg of capteurs](https://discourse.nodered.org/t/need-help-with-read-multi-msg-of-capteurs/73905)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 1\
**Last updated:** [19 January 2023 12:32 UTC](https://discourse.nodered.org/t/need-help-with-read-multi-msg-of-capteurs/73905 "2023-01-19T12:32:51Z")

</div>

when i read data from one capteur i get data but when i plugin multi to request i get code only of one of them {i m working with io-link ifm profinet } and thanks \[ { "id": "555b4dbf57792b4b", "…

---

## [Sending whole message using MQTT](https://discourse.nodered.org/t/sending-whole-message-using-mqtt/73868)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 17\
**Last updated:** [19 January 2023 11:17 UTC](https://discourse.nodered.org/t/sending-whole-message-using-mqtt/73868 "2023-01-19T11:17:10Z")

</div>

When I want to send a whole message to another NR instance, I use MQTT and put this blockly node in front of the MQTT out node to "shift" the whole message into msg.payload translates into but I'm wondering if we a…

---

## [MSSQL in a function](https://discourse.nodered.org/t/mssql-in-a-function/73878)

<div class="topic-metadata">

**Author:** [@pkdata-pkthedj](https://discourse.nodered.org/u/pkdata-pkthedj)\
**Replies:** 15\
**Last updated:** [19 January 2023 09:44 UTC](https://discourse.nodered.org/t/mssql-in-a-function/73878 "2023-01-19T09:44:34Z")

</div>

Can anyone figure out the problem here var endDate = flow.get("endDate") || false; //var endTime = flow.get("endTime") || false; // check if date range is correct if (startDate && endDate && new Date(endDat…

---

## [My NR Fs-file-lister folder is undefined](https://discourse.nodered.org/t/my-nr-fs-file-lister-folder-is-undefined/73735)

<div class="topic-metadata">

**Author:** [@f3lixlee](https://discourse.nodered.org/u/f3lixlee)\
**Replies:** 11\
**Last updated:** [19 January 2023 09:40 UTC](https://discourse.nodered.org/t/my-nr-fs-file-lister-folder-is-undefined/73735 "2023-01-19T09:40:35Z")

</div>

Hi Good Morning Guys, I don't know why my fs-file-lister folder is undefined. cant even detect the folder can someone tell me how to fix it?

---

## [Node-red app hangs immediately](https://discourse.nodered.org/t/node-red-app-hangs-immediately/73901)

<div class="topic-metadata">

**Author:** [@oskaerd](https://discourse.nodered.org/u/oskaerd)\
**Replies:** 0\
**Last updated:** [19 January 2023 08:48 UTC](https://discourse.nodered.org/t/node-red-app-hangs-immediately/73901 "2023-01-19T08:48:37Z")

</div>

Hi, I want to use Node-RED container running on k3s cluster on 64-bit windows 10 PC. I create a deployment with the latest image from dosckerhub on windows 10 64-bit platforms (tried on 2 private PCs). Once the pod is …

---

## [Help building variable name from nodes](https://discourse.nodered.org/t/help-building-variable-name-from-nodes/73841)

<div class="topic-metadata">

**Author:** [@cmooty73](https://discourse.nodered.org/u/cmooty73)\
**Replies:** 3\
**Last updated:** [19 January 2023 07:52 UTC](https://discourse.nodered.org/t/help-building-variable-name-from-nodes/73841 "2023-01-19T07:52:47Z")

</div>

All, I'm trying to send a random sound to Alexa from a list of 10 of her sounds. I've used a change node to assign the sound names to flow.1 through flow.10. Then a random node picks a number from 1 through 10. Now I'…

---

## [Template node widget output on click - Json for ui control](https://discourse.nodered.org/t/template-node-widget-output-on-click-json-for-ui-control/73889)

<div class="topic-metadata">

**Author:** [@Vilnis\_R](https://discourse.nodered.org/u/Vilnis_R)\
**Replies:** 1\
**Last updated:** [19 January 2023 08:08 UTC](https://discourse.nodered.org/t/template-node-widget-output-on-click-json-for-ui-control/73889 "2023-01-19T08:08:20Z")

</div>

Hi, I have template node widgets with some data to display in Dashboard Home Tab. They also could serve as buttons to jump on other tabs where I put Back buttons to return at Home. There are no problems with button node…

---

## [Motion sensor, switch and more](https://discourse.nodered.org/t/motion-sensor-switch-and-more/73783)

<div class="topic-metadata">

**Author:** [@Leopoll](https://discourse.nodered.org/u/Leopoll)\
**Replies:** 3\
**Last updated:** [18 January 2023 20:07 UTC](https://discourse.nodered.org/t/motion-sensor-switch-and-more/73783 "2023-01-18T20:07:30Z")

</div>

I have a standard light control scheme using a switch and a motion sensor. If the light is turned on by the switch, context.flow is TRUE and the motion sensor cannot turn off the light. But what if I turn on the light…

---

## [Confused wiring with import/copy and subflow](https://discourse.nodered.org/t/confused-wiring-with-import-copy-and-subflow/73746)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 3\
**Last updated:** [18 January 2023 21:10 UTC](https://discourse.nodered.org/t/confused-wiring-with-import-copy-and-subflow/73746 "2023-01-18T21:10:48Z")

</div>

Is there a known issue in 3.0.2 with the internal wiring getting mixed up when importing a flow and copying nodes into a subflow? I believe that what I did was import a flow, create a new subflow, and copy a function no…

---

## [Read data from smartlife devices](https://discourse.nodered.org/t/read-data-from-smartlife-devices/73886)

<div class="topic-metadata">

**Author:** [@Geniom](https://discourse.nodered.org/u/Geniom)\
**Replies:** 3\
**Last updated:** [18 January 2023 20:30 UTC](https://discourse.nodered.org/t/read-data-from-smartlife-devices/73886 "2023-01-18T20:30:11Z")

</div>

Hi, is possible, and how, read data from smartlife devices (not tuya) Some example? Tha ks to all

---

## [Image from html](https://discourse.nodered.org/t/image-from-html/73834)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 4\
**Last updated:** [18 January 2023 20:11 UTC](https://discourse.nodered.org/t/image-from-html/73834 "2023-01-18T20:11:29Z")

</div>

Hi everyone, I need to generate an image with data from Home Assistant which will later be shown on an e-ink display. I'd like to use the template node for that. The generated html should then be converted into an ima…

---

## [Connection of python script in node red](https://discourse.nodered.org/t/connection-of-python-script-in-node-red/73770)

<div class="topic-metadata">

**Author:** [@Pawandeep](https://discourse.nodered.org/u/Pawandeep)\
**Replies:** 12\
**Last updated:** [18 January 2023 19:13 UTC](https://discourse.nodered.org/t/connection-of-python-script-in-node-red/73770 "2023-01-18T19:13:48Z")

</div>

Hello Everyone, I want to ask how to install python libraries in node-red. I used a program given on this Node-RED only, where I had to create a python environment and bash flow. But Then there is an error "make is not…

---

## [Widgetlords PI-SPI Analog input module?](https://discourse.nodered.org/t/widgetlords-pi-spi-analog-input-module/73881)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 0\
**Last updated:** [18 January 2023 18:59 UTC](https://discourse.nodered.org/t/widgetlords-pi-spi-analog-input-module/73881 "2023-01-18T18:59:34Z")

</div>

Is anybody using anything like this to read a (4-20ma) sensor to the Raspberry Pi?

---

## [Syntax accessing windows file names from linux](https://discourse.nodered.org/t/syntax-accessing-windows-file-names-from-linux/73846)

<div class="topic-metadata">

**Author:** [@ulfh2018](https://discourse.nodered.org/u/ulfh2018)\
**Replies:** 13\
**Last updated:** [18 January 2023 18:47 UTC](https://discourse.nodered.org/t/syntax-accessing-windows-file-names-from-linux/73846 "2023-01-18T18:47:45Z")

</div>

I know this is an off topic, so please excuse me, but the docker forum seems not to be able to help me since I cannot post more than 2 topics as a new user and I don't know howto delet the two I have entered. I am using…

---

## [What signal is sent to exec nodes when node-red terminates?](https://discourse.nodered.org/t/what-signal-is-sent-to-exec-nodes-when-node-red-terminates/73819)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 5\
**Last updated:** [18 January 2023 16:44 UTC](https://discourse.nodered.org/t/what-signal-is-sent-to-exec-nodes-when-node-red-terminates/73819 "2023-01-18T16:44:22Z")

</div>

When node-red terminates normally (ie not a crash) it terminates processes running in exec nodes. Does it do this by sending a particular signal or does node red rely on the system to close down spawned processes? The …

---

## [How to run node-red + wireguard in docker?](https://discourse.nodered.org/t/how-to-run-node-red-wireguard-in-docker/73869)

<div class="topic-metadata">

**Author:** [@orrinen](https://discourse.nodered.org/u/orrinen)\
**Replies:** 1\
**Last updated:** [18 January 2023 16:35 UTC](https://discourse.nodered.org/t/how-to-run-node-red-wireguard-in-docker/73869 "2023-01-18T16:35:21Z")

</div>

Good evening. I have an application in node-red which need a connection to a remote VPN server(over wan/internet). This to make sure that the node red app always have access to the remote site i want to connect it to. T…

---

## [Convert data string to payload value](https://discourse.nodered.org/t/convert-data-string-to-payload-value/73861)

<div class="topic-metadata">

**Author:** [@thomasoggier](https://discourse.nodered.org/u/thomasoggier)\
**Replies:** 2\
**Last updated:** [18 January 2023 14:36 UTC](https://discourse.nodered.org/t/convert-data-string-to-payload-value/73861 "2023-01-18T14:36:49Z")

</div>

Hello, Using websockets request, I get some data from the node in a long string and I need to convert it into readable data. The data I get looks: msg.payload= \<Navigation id='0x4f7248'\>\<item id='0x513f30'\>\<name\>Tempe…

---

## [How to extract nibble data in buffer-parser](https://discourse.nodered.org/t/how-to-extract-nibble-data-in-buffer-parser/73870)

<div class="topic-metadata">

**Author:** [@hermannvos](https://discourse.nodered.org/u/hermannvos)\
**Replies:** 2\
**Last updated:** [18 January 2023 14:30 UTC](https://discourse.nodered.org/t/how-to-extract-nibble-data-in-buffer-parser/73870 "2023-01-18T14:30:38Z")

</div>

Good day, I am looking for some help to extract nibble data coming from a DSE Generator controller over Modbus. I did see the option to use BCD but not sure how to properly use it in the configuration. I have attac…

---

## [Help with split node and html page info](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 2\
**Last updated:** [18 January 2023 13:54 UTC](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837 "2023-01-18T13:54:23Z")

</div>

I have a web page from a device that returns a page like thus I'm trying to get the two lines of info where it says light 1 light off and XXXX count. Setup a split node with the /n and I get this which sort of, …

---

## [Google home utterance](https://discourse.nodered.org/t/google-home-utterance/73864)

<div class="topic-metadata">

**Author:** [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Replies:** 0\
**Last updated:** [18 January 2023 13:39 UTC](https://discourse.nodered.org/t/google-home-utterance/73864 "2023-01-18T13:39:07Z")

</div>

Is there a way to "catch" the utterance of what I am saying to google and transcribe it into text so that could be processed inside node red? Like a node which is listening and another node which could transcribe it...…

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

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