# General

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

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

**Page:** 190

---

## [Dimmer to homeassistant via nodered](https://discourse.nodered.org/t/dimmer-to-homeassistant-via-nodered/80336)

<div class="topic-metadata">

**Author:** [@plekke](https://discourse.nodered.org/u/plekke)\
**Replies:** 3\
**Last updated:** [6 August 2023 04:33 UTC](https://discourse.nodered.org/t/dimmer-to-homeassistant-via-nodered/80336 "2023-08-06T04:33:49Z")

</div>

i hava a light fysicly that use , ant the brightnes i control it via rs232. i can make a flow in nodered , ant control it via my serial port ( light on , off , brighness , status , etc) . now i want in homeassistant th…

---

## [Projects: Do I need to create remote branches manually?](https://discourse.nodered.org/t/projects-do-i-need-to-create-remote-branches-manually/80343)

<div class="topic-metadata">

**Author:** [@AndreKR](https://discourse.nodered.org/u/AndreKR)\
**Replies:** 0\
**Last updated:** [6 August 2023 00:34 UTC](https://discourse.nodered.org/t/projects-do-i-need-to-create-remote-branches-manually/80343 "2023-08-06T00:34:27Z")

</div>

I'm playing around with the Projects feature and I quite like it. What confuses me a bit is the use of remote repositories. How do I push the local branch to the remote? Do I have to create the remote branch manually, t…

---

## [I don't understand why this is \*failing\* - subflow output. I've tried to understand it, but failed](https://discourse.nodered.org/t/i-dont-understand-why-this-is-failing-subflow-output-ive-tried-to-understand-it-but-failed/80330)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [5 August 2023 22:15 UTC](https://discourse.nodered.org/t/i-dont-understand-why-this-is-failing-subflow-output-ive-tried-to-understand-it-but-failed/80330 "2023-08-05T22:15:55Z")

</div>

Sorry folks, I've just spent a lot of time (some by mistake) chasing shadows to what is going on. I found some problems but not all. Now I've found the crux of the matter. To help I've supplied 3 versions. 1 working;…

---

## [To use framework or not?](https://discourse.nodered.org/t/to-use-framework-or-not/80302)

<div class="topic-metadata">

**Author:** [@orrinen](https://discourse.nodered.org/u/orrinen)\
**Replies:** 3\
**Last updated:** [5 August 2023 19:12 UTC](https://discourse.nodered.org/t/to-use-framework-or-not/80302 "2023-08-05T19:12:08Z")

</div>

What's the point in using frameworks like svelte or vue for uibuilder? What becomes easier? So far im ok without framework. But i suspect svelte/vue makes processes easier when making charts,forms and multiple pages. …

---

## [Env variable at runtime?](https://discourse.nodered.org/t/env-variable-at-runtime/80335)

<div class="topic-metadata">

**Author:** [@pacmanmt](https://discourse.nodered.org/u/pacmanmt)\
**Replies:** 6\
**Last updated:** [5 August 2023 18:55 UTC](https://discourse.nodered.org/t/env-variable-at-runtime/80335 "2023-08-05T18:55:12Z")

</div>

Maybe it is only a silly question due to my dumbness in programming. Is it possible to define an env variable inside a flow so that other flows can access it? Thank you in advance for helping out

---

## [Close and release serial Com ports from within flows](https://discourse.nodered.org/t/close-and-release-serial-com-ports-from-within-flows/80329)

<div class="topic-metadata">

**Author:** [@MadTooler](https://discourse.nodered.org/u/MadTooler)\
**Replies:** 9\
**Last updated:** [5 August 2023 12:46 UTC](https://discourse.nodered.org/t/close-and-release-serial-com-ports-from-within-flows/80329 "2023-08-05T12:46:44Z")

</div>

As I have seen others searching in a couple of older posts, I need to release the Serial Com port from within running flows for use by other software. My specific need is to release my rpi pico boards from communication…

---

## [Get value from javascript in template](https://discourse.nodered.org/t/get-value-from-javascript-in-template/80322)

<div class="topic-metadata">

**Author:** [@grawsom](https://discourse.nodered.org/u/grawsom)\
**Replies:** 6\
**Last updated:** [5 August 2023 11:32 UTC](https://discourse.nodered.org/t/get-value-from-javascript-in-template/80322 "2023-08-05T11:32:25Z")

</div>

Hi I have found some examples using Google places API to autocomplete an address. And I want to get the lat / lon from the returned result. I'm struggling with getting the lat/lon values back in msg.payload.xxx. I ca…

---

## [How to send commands from nodered to google assistant devices?](https://discourse.nodered.org/t/how-to-send-commands-from-nodered-to-google-assistant-devices/80332)

<div class="topic-metadata">

**Author:** [@thomasvjohansen](https://discourse.nodered.org/u/thomasvjohansen)\
**Replies:** 0\
**Last updated:** [5 August 2023 09:18 UTC](https://discourse.nodered.org/t/how-to-send-commands-from-nodered-to-google-assistant-devices/80332 "2023-08-05T09:18:07Z")

</div>

I can find alot of nodes of how to create "nodered devices" in google. But I want to control already existing devices in google home with nodered commands. I have a lawnmower in google home that accept commands like star…

---

## [Msg.payload always give me false?](https://discourse.nodered.org/t/msg-payload-always-give-me-false/80315)

<div class="topic-metadata">

**Author:** [@54jinyistudio](https://discourse.nodered.org/u/54jinyistudio)\
**Replies:** 3\
**Last updated:** [4 August 2023 20:20 UTC](https://discourse.nodered.org/t/msg-payload-always-give-me-false/80315 "2023-08-04T20:20:35Z")

</div>

I write following code in a "function node". I can download image file and write to file but msg.payload always is false. Why ? :roll\_eyes: const axios = global.get('axios'); const fs = global.get('fs'); var msg={"payl…

---

## [Https ssl chain](https://discourse.nodered.org/t/https-ssl-chain/80278)

<div class="topic-metadata">

**Author:** [@Hasper](https://discourse.nodered.org/u/Hasper)\
**Replies:** 6\
**Last updated:** [4 August 2023 19:16 UTC](https://discourse.nodered.org/t/https-ssl-chain/80278 "2023-08-04T19:16:45Z")

</div>

Hi. I installed the certificate and now use the NR in https mode. However, the API I'm trying to work with requires NR to install a full chain of ssl certificates (Unable to verify the first certificate). How to install …

---

## [Modbus RTU using ch340 ttl to usb on pi 4](https://discourse.nodered.org/t/modbus-rtu-using-ch340-ttl-to-usb-on-pi-4/80188)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 26\
**Last updated:** [4 August 2023 16:23 UTC](https://discourse.nodered.org/t/modbus-rtu-using-ch340-ttl-to-usb-on-pi-4/80188 "2023-08-04T16:23:27Z")

</div>

I NEED SOME help on my raspberry pi 4 i use ch340 ttl to usb to get string from a flowmeter via rs485 . wenne i l put the ch340 to my windows10 node red i get the data but when i put it in pi 4 with the same flow i get n…

---

## [Alexa "Echo Node" how to input a device name or SerialNumber, to get information about the device](https://discourse.nodered.org/t/alexa-echo-node-how-to-input-a-device-name-or-serialnumber-to-get-information-about-the-device/80020)

<div class="topic-metadata">

**Author:** [@wwyyrrmm](https://discourse.nodered.org/u/wwyyrrmm)\
**Replies:** 6\
**Last updated:** [4 August 2023 15:36 UTC](https://discourse.nodered.org/t/alexa-echo-node-how-to-input-a-device-name-or-serialnumber-to-get-information-about-the-device/80020 "2023-08-04T15:36:27Z")

</div>

Hi, I want to send a Message to the Alexa-Echo-Node, with a deviceName to information about the device. I tried payload,device,deviceName,name,id ... and others. AlexaEcho: This is working well, but I want to c…

---

## [Splitting Data and Publishing to MQTT Topic & Message](https://discourse.nodered.org/t/splitting-data-and-publishing-to-mqtt-topic-message/80293)

<div class="topic-metadata">

**Author:** [@gettmad](https://discourse.nodered.org/u/gettmad)\
**Replies:** 9\
**Last updated:** [4 August 2023 13:56 UTC](https://discourse.nodered.org/t/splitting-data-and-publishing-to-mqtt-topic-message/80293 "2023-08-04T13:56:00Z")

</div>

Hello, I feel familiar with Publishing Data to MQTT using an iterative method where an index number is the 'Topic' and the data I am looking to present is the 'Message'. Ex/ 0= Version 1F34/22 1= Nextdata 1212/44 Th…

---

## [Errors. Not getting the right/enough information in message](https://discourse.nodered.org/t/errors-not-getting-the-right-enough-information-in-message/80305)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [4 August 2023 06:55 UTC](https://discourse.nodered.org/t/errors-not-getting-the-right-enough-information-in-message/80305 "2023-08-04T06:55:43Z")

</div>

Sorry folks, I know I've been down this road before. I thought it was resolved. No it isn't. {"payload":false,"topic":"1.144.27.171","\_msgid":"cf9a26e019ea159f","device":"UpLink","IP":"1.144.27.171","\_event":"node:ca7…

---

## [Trouble inserting dashboard slider value into JSON payload](https://discourse.nodered.org/t/trouble-inserting-dashboard-slider-value-into-json-payload/80303)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 2\
**Last updated:** [4 August 2023 07:47 UTC](https://discourse.nodered.org/t/trouble-inserting-dashboard-slider-value-into-json-payload/80303 "2023-08-04T07:47:10Z")

</div>

Hey All, I've got a dashboard slider that sends 0-255 to an esp8266 using JSON. I can do this from an inject mode with the following payload, it works as intended. {"modeBrightness" : 50} // renders 50 Next I want t…

---

## [GPIO state changes only after reboot of Node-RED](https://discourse.nodered.org/t/gpio-state-changes-only-after-reboot-of-node-red/80285)

<div class="topic-metadata">

**Author:** [@Sulomus](https://discourse.nodered.org/u/Sulomus)\
**Replies:** 6\
**Last updated:** [4 August 2023 07:27 UTC](https://discourse.nodered.org/t/gpio-state-changes-only-after-reboot-of-node-red/80285 "2023-08-04T07:27:11Z")

</div>

Hello, I have a problem reading the digital IO from Node-RED. The raspberry PI Computing module 4 is enclosed in reTerminal DM industrial HMI. In documentation it is specified that Digital Input 1 is GPIO pin 16. There…

---

## [Help with how to get around this \*problem\* \`msg.part\`](https://discourse.nodered.org/t/help-with-how-to-get-around-this-problem-msg-part/80307)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [4 August 2023 05:47 UTC](https://discourse.nodered.org/t/help-with-how-to-get-around-this-problem-msg-part/80307 "2023-08-04T05:47:18Z")

</div>

For reasons unknown now I have this bit of code in a node: newval = RED.util.getMessageProperty(msg,part) I now see there is a problem if the msg.payload is simply true or false. How can I detect this and avoid using …

---

## [Extracting Context Flow Array from Function Node](https://discourse.nodered.org/t/extracting-context-flow-array-from-function-node/80299)

<div class="topic-metadata">

**Author:** [@WillShiell](https://discourse.nodered.org/u/WillShiell)\
**Replies:** 2\
**Last updated:** [3 August 2023 21:44 UTC](https://discourse.nodered.org/t/extracting-context-flow-array-from-function-node/80299 "2023-08-03T21:44:14Z")

</div>

Hello I am running into issues attempting to extract my Context Array using the Function Node. Here is my Flow Context: And here is the function node code I am attempting to use to obtain the array value: let values…

---

## [How to install missing nodes (all nodes, and how to find which ones)](https://discourse.nodered.org/t/how-to-install-missing-nodes-all-nodes-and-how-to-find-which-ones/80249)

<div class="topic-metadata">

**Author:** [@realtime](https://discourse.nodered.org/u/realtime)\
**Replies:** 5\
**Last updated:** [3 August 2023 19:16 UTC](https://discourse.nodered.org/t/how-to-install-missing-nodes-all-nodes-and-how-to-find-which-ones/80249 "2023-08-03T19:16:00Z")

</div>

Hallo every time I import examples there are nodes included which are not available on my clean installation. I would like to see from which library those node have been taken by the developer. All I se is a grey box …

---

## [Node-red-contrib-shelly Troubleshoot](https://discourse.nodered.org/t/node-red-contrib-shelly-troubleshoot/80300)

<div class="topic-metadata">

**Author:** [@JoBo](https://discourse.nodered.org/u/JoBo)\
**Replies:** 0\
**Last updated:** [3 August 2023 18:19 UTC](https://discourse.nodered.org/t/node-red-contrib-shelly-troubleshoot/80300 "2023-08-03T18:19:08Z")

</div>

Hi All, I have installed \[node-red-contrib-shelly\] on my Victron Cerbo. I can connect to my Shelly device if it is on the same network as my Cerbo GX. However, if I try to connect to another Shelly device which is on …

---

## [ECONNRESET error when sending an email](https://discourse.nodered.org/t/econnreset-error-when-sending-an-email/80218)

<div class="topic-metadata">

**Author:** [@lesmar96](https://discourse.nodered.org/u/lesmar96)\
**Replies:** 4\
**Last updated:** [3 August 2023 16:16 UTC](https://discourse.nodered.org/t/econnreset-error-when-sending-an-email/80218 "2023-08-03T16:16:13Z")

</div>

We have a NodeRed instance that emails a daily report at midnight. The emails are handled by SMTP2GO. We have Node-Red set up so that if it is unable to successfully send, that it retries in 1 hours. Last night, when it…

---

## [Help - Middleware for httpin node Auth](https://discourse.nodered.org/t/help-middleware-for-httpin-node-auth/80296)

<div class="topic-metadata">

**Author:** [@Anders](https://discourse.nodered.org/u/Anders)\
**Replies:** 5\
**Last updated:** [3 August 2023 15:52 UTC](https://discourse.nodered.org/t/help-middleware-for-httpin-node-auth/80296 "2023-08-03T15:52:39Z")

</div>

Hello all, first post. I'm six months in to using Node Red (what a great package). I don't have a JS background, skill set is IT / networking. I've hit my first stumbling block and wondered if anyone can shed some ligh…

---

## [Python code in Node Red](https://discourse.nodered.org/t/python-code-in-node-red/80295)

<div class="topic-metadata">

**Author:** [@azxo1](https://discourse.nodered.org/u/azxo1)\
**Replies:** 3\
**Last updated:** [3 August 2023 15:02 UTC](https://discourse.nodered.org/t/python-code-in-node-red/80295 "2023-08-03T15:02:20Z")

</div>

Hello everyone! I have a python code that works fine on Raspberry from Thonny. However, if I call this script from Node Red, it gives various errors. Why is this and how can it be fixed? (speech recognizer, pyaudio and o…

---

## [Django and Node-red](https://discourse.nodered.org/t/django-and-node-red/80237)

<div class="topic-metadata">

**Author:** [@Hamadysaka](https://discourse.nodered.org/u/Hamadysaka)\
**Replies:** 5\
**Last updated:** [3 August 2023 14:49 UTC](https://discourse.nodered.org/t/django-and-node-red/80237 "2023-08-03T14:49:18Z")

</div>

Translate Hi, my question is this: Is it possible to commit Django and Node-red together all acting on one database? Short description of my project. I want to set up a smart meter for a company that supplies water. T…

---

## [Assistance with Basic Input to a Node](https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290)

<div class="topic-metadata">

**Author:** [@topnotchit](https://discourse.nodered.org/u/topnotchit)\
**Replies:** 2\
**Last updated:** [3 August 2023 14:39 UTC](https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290 "2023-08-03T14:39:57Z")

</div>

I am using this Node node-red-contrib-tplink (node) - Node-RED (nodered.org) Controls Control a device by setting its properties. string | Object true | on - Turn on the device I am simply trying to turn it on. I…

---

## [\[Closed - duplicate thread\] Auto resize screen](https://discourse.nodered.org/t/closed-duplicate-thread-auto-resize-screen/80283)

<div class="topic-metadata">

**Author:** [@GKUMAR](https://discourse.nodered.org/u/GKUMAR)\
**Replies:** 1\
**Last updated:** [3 August 2023 14:02 UTC](https://discourse.nodered.org/t/closed-duplicate-thread-auto-resize-screen/80283 "2023-08-03T14:02:06Z")

</div>

have a question about the ui dashboard. Is there the way to auto resize the user interface dashboard depending of the display? I ask this because in my application I’ve used a tab with a dimension of 1x8 (1 row, 8 colum…

---

## [Are encrypted node-red Credentials in the HTTP Request Body for /flows only allowed for API Version v2?](https://discourse.nodered.org/t/are-encrypted-node-red-credentials-in-the-http-request-body-for-flows-only-allowed-for-api-version-v2/80292)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 0\
**Last updated:** [3 August 2023 13:25 UTC](https://discourse.nodered.org/t/are-encrypted-node-red-credentials-in-the-http-request-body-for-flows-only-allowed-for-api-version-v2/80292 "2023-08-03T13:25:05Z")

</div>

According to the documentation from POST /flows : Node-RED For encrypted credentials the document specifies adding the values from flows\_cred.json under a key called credentials but the structure only seems to documente…

---

## [Information about opcua client node](https://discourse.nodered.org/t/information-about-opcua-client-node/80281)

<div class="topic-metadata">

**Author:** [@kshitizbohara](https://discourse.nodered.org/u/kshitizbohara)\
**Replies:** 0\
**Last updated:** [3 August 2023 10:50 UTC](https://discourse.nodered.org/t/information-about-opcua-client-node/80281 "2023-08-03T10:50:13Z")

</div>

Hi I just wanted to know about the SUBSCRIBE action in opcua client node. Is it working based on polling ?

---

## [Parametric subflows? Or Dynamic serial port?](https://discourse.nodered.org/t/parametric-subflows-or-dynamic-serial-port/80264)

<div class="topic-metadata">

**Author:** [@pacmanmt](https://discourse.nodered.org/u/pacmanmt)\
**Replies:** 12\
**Last updated:** [3 August 2023 10:16 UTC](https://discourse.nodered.org/t/parametric-subflows-or-dynamic-serial-port/80264 "2023-08-03T10:16:03Z")

</div>

Just wondering if subflows can be made parametric in some way. I am developing a flow that can be saved as subflow to be used from other flows, but... Inside this subflow there is a serial port request node that should…

---

## [Weird issues controlling a 12V WS2811 LED string with the neopixel node](https://discourse.nodered.org/t/weird-issues-controlling-a-12v-ws2811-led-string-with-the-neopixel-node/80100)

<div class="topic-metadata">

**Author:** [@serendipitist](https://discourse.nodered.org/u/serendipitist)\
**Replies:** 6\
**Last updated:** [3 August 2023 09:32 UTC](https://discourse.nodered.org/t/weird-issues-controlling-a-12v-ws2811-led-string-with-the-neopixel-node/80100 "2023-08-03T09:32:02Z")

</div>

Hi all- I'm developing a museum exhibit using Node-RED, and I'm using the node-red-node-pi-neopixel to control it. Simplified version of the issue: I'm treating the strip as an LED VU meter to display 0-100% of an arbit…

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

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