# General

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

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

**Page:** 415

---

## [Error on Flow with Docker stop Node-RED](https://discourse.nodered.org/t/error-on-flow-with-docker-stop-node-red/58994)

<div class="topic-metadata">

**Author:** [@rlmariz](https://discourse.nodered.org/u/rlmariz)\
**Replies:** 2\
**Last updated:** [26 February 2022 09:54 UTC](https://discourse.nodered.org/t/error-on-flow-with-docker-stop-node-red/58994 "2022-02-26T09:54:58Z")

</div>

I'm using red-node with Docker, but in situations where there is a wrong configuration when deploying, docker enters a loop restarting. Is there a way in case of an error to stop the flow?

---

## [Share signal over some flows](https://discourse.nodered.org/t/share-signal-over-some-flows/59010)

<div class="topic-metadata">

**Author:** [@goony](https://discourse.nodered.org/u/goony)\
**Replies:** 11\
**Last updated:** [26 February 2022 09:31 UTC](https://discourse.nodered.org/t/share-signal-over-some-flows/59010 "2022-02-26T09:31:52Z")

</div>

I want to share a signal / status / command over more than one flows. I can use global.get(signal) and global.set(signal,signal\_status). But this list may become very long and confusing. Are there other possibilities …

---

## [Subflows, outputs, environment variables - today's question. (Demarcation lines?)](https://discourse.nodered.org/t/subflows-outputs-environment-variables-todays-question-demarcation-lines/59001)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [26 February 2022 00:25 UTC](https://discourse.nodered.org/t/subflows-outputs-environment-variables-todays-question-demarcation-lines/59001 "2022-02-26T00:25:01Z")

</div>

This question has popped up. Scenario: A message comes in. It can be A or B. Depending if it is A or B determines the output. The output is (for now) msgA or msgB. Just to keep things clear for association. Big pi…

---

## [I don't understand the error](https://discourse.nodered.org/t/i-dont-understand-the-error/58995)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [25 February 2022 23:07 UTC](https://discourse.nodered.org/t/i-dont-understand-the-error/58995 "2022-02-25T23:07:24Z")

</div>

Could someone have a look at this code? This is what I got as the error: {"event":{"clientX":1017,"clientY":197,"bbox":\[969,224,1123,176\]},"socketid":"26L447WP\_qWBf2bLAACh","\_msgid":"6d14dec2dbcfa5d1","error":{"message…

---

## [Error in Zigbee2Mqtt Admin flow](https://discourse.nodered.org/t/error-in-zigbee2mqtt-admin-flow/58990)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 5\
**Last updated:** [25 February 2022 21:41 UTC](https://discourse.nodered.org/t/error-in-zigbee2mqtt-admin-flow/58990 "2022-02-25T21:41:28Z")

</div>

Good evening, I am testing the Zigbee2Mqtt Admin flow example. It works quite well except for the part of retrieving the icons from the website zigbee2mqtt. The code crashes in the function node newPayload = \[\]; msg.…

---

## ["Bug" with display on subflow properties?](https://discourse.nodered.org/t/bug-with-display-on-subflow-properties/58996)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [25 February 2022 21:09 UTC](https://discourse.nodered.org/t/bug-with-display-on-subflow-properties/58996 "2022-02-25T21:09:48Z")

</div>

I'm writing a subflow. I'm assigning it Properties that have to be set. I just added one and there is a slight problem that the width where it's name is: is too narrow. I'm not using too long a name, but this is being…

---

## [IF- ELSE in a function node](https://discourse.nodered.org/t/if-else-in-a-function-node/58988)

<div class="topic-metadata">

**Author:** [@BigHitRider93](https://discourse.nodered.org/u/BigHitRider93)\
**Replies:** 4\
**Last updated:** [25 February 2022 18:41 UTC](https://discourse.nodered.org/t/if-else-in-a-function-node/58988 "2022-02-25T18:41:05Z")

</div>

I recieve a string from another Node and want to check and convert it in the following function node. When I inject a string in the function node, only the input values will be shown in the debug node. Maybe someone wi…

---

## [Node Context set and get are the unique per message?](https://discourse.nodered.org/t/node-context-set-and-get-are-the-unique-per-message/58986)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 6\
**Last updated:** [25 February 2022 17:39 UTC](https://discourse.nodered.org/t/node-context-set-and-get-are-the-unique-per-message/58986 "2022-02-25T17:39:45Z")

</div>

Hi, Quick question, if I set a context variable in a node is that shared with multiple message or are the unique per message. I have a manual join based on context of 3 third party API calls, I need all 3 back. I have…

---

## [Posting PDF-files multipart/form-data solution](https://discourse.nodered.org/t/posting-pdf-files-multipart-form-data-solution/58914)

<div class="topic-metadata">

**Author:** [@VincentSC](https://discourse.nodered.org/u/VincentSC)\
**Replies:** 9\
**Last updated:** [25 February 2022 14:28 UTC](https://discourse.nodered.org/t/posting-pdf-files-multipart-form-data-solution/58914 "2022-02-25T14:28:17Z")

</div>

As I did not find a good solution before, this is how you post a binary file to http-request. The solution is: make sure that payload always is a buffer and never a string. No need to do all kinds of binary or base64 con…

---

## [Pi4 - can not access Node Red from :1880](https://discourse.nodered.org/t/pi4-can-not-access-node-red-from-1880/58982)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 1\
**Last updated:** [25 February 2022 14:12 UTC](https://discourse.nodered.org/t/pi4-can-not-access-node-red-from-1880/58982 "2022-02-25T14:12:20Z")

</div>

We have been using NodeRed successfully on Pi3. Recently we are looking at moving to Pi4. Here is what we have done: Pi 4 is running Version 11 ( bullseye) as recommended by RPI. We noticed that NodeRed is not insta…

---

## [Integer out of array](https://discourse.nodered.org/t/integer-out-of-array/58980)

<div class="topic-metadata">

**Author:** [@Olivia](https://discourse.nodered.org/u/Olivia)\
**Replies:** 8\
**Last updated:** [25 February 2022 14:11 UTC](https://discourse.nodered.org/t/integer-out-of-array/58980 "2022-02-25T14:11:59Z")

</div>

Hello everyone, i would like to get this variable from the array as an integer but i cant get it out as an int. \[{"id":"e19970ec95026bbc","type":"function","z":"a41e06f48b88f632","name":"rotate and rename","func":"con…

---

## [Can't connect to Modbus TCP server (that is running 100%)](https://discourse.nodered.org/t/cant-connect-to-modbus-tcp-server-that-is-running-100/58916)

<div class="topic-metadata">

**Author:** [@Sulomus](https://discourse.nodered.org/u/Sulomus)\
**Replies:** 16\
**Last updated:** [25 February 2022 13:32 UTC](https://discourse.nodered.org/t/cant-connect-to-modbus-tcp-server-that-is-running-100/58916 "2022-02-25T13:32:52Z")

</div>

I have a running Modbus TCP server on a PLC with these parameters: IP: 192.168.1.10 Port: 502 Device address: 1 Holding register on address 1 with heartbeat variable I know for sure that the Modbus TCP server is runni…

---

## [Help to optimize a flow for data synchronization](https://discourse.nodered.org/t/help-to-optimize-a-flow-for-data-synchronization/58978)

<div class="topic-metadata">

**Author:** [@alda](https://discourse.nodered.org/u/alda)\
**Replies:** 5\
**Last updated:** [25 February 2022 12:57 UTC](https://discourse.nodered.org/t/help-to-optimize-a-flow-for-data-synchronization/58978 "2022-02-25T12:57:18Z")

</div>

I made a flow, which reads a data from 4 victron energy devices. From one device I'm making a 15sec data average and on the end I'm waiting when all data are received. But for me it look quite complicate. Please can you …

---

## [Sub Flow Context Variables - via. http - are not unique](https://discourse.nodered.org/t/sub-flow-context-variables-via-http-are-not-unique/58975)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 4\
**Last updated:** [25 February 2022 11:42 UTC](https://discourse.nodered.org/t/sub-flow-context-variables-via-http-are-not-unique/58975 "2022-02-25T11:42:40Z")

</div>

Hi Everyone I am aware that each sub flow instance is self contained container so its context variables are unique it. I have tested this and it works. I have a strange challenge. I connected a http in node to a subfl…

---

## [ABout PHPLİte admin problem](https://discourse.nodered.org/t/about-phplite-admin-problem/58974)

<div class="topic-metadata">

**Author:** [@wtrk](https://discourse.nodered.org/u/wtrk)\
**Replies:** 4\
**Last updated:** [25 February 2022 10:53 UTC](https://discourse.nodered.org/t/about-phplite-admin-problem/58974 "2022-02-25T10:53:30Z")

</div>

Hello. I have problem with phpliteadmin. I dont know how can I solve this problem, waiting your feedbacks. Where did I mistake ?

---

## [Sending the TOKEN seperate of the block](https://discourse.nodered.org/t/sending-the-token-seperate-of-the-block/58799)

<div class="topic-metadata">

**Author:** [@Milanovic](https://discourse.nodered.org/u/Milanovic)\
**Replies:** 16\
**Last updated:** [25 February 2022 10:30 UTC](https://discourse.nodered.org/t/sending-the-token-seperate-of-the-block/58799 "2022-02-25T10:30:07Z")

</div>

Hi, I'm reading out some data with API, now I want to read different values but that will say that I need different tokens. I would ask how I can send the token I want to use. So if I didn't fill anything in the part '…

---

## [Writing negative value to register via modbus tcp/ip](https://discourse.nodered.org/t/writing-negative-value-to-register-via-modbus-tcp-ip/58976)

<div class="topic-metadata">

**Author:** [@peterr](https://discourse.nodered.org/u/peterr)\
**Replies:** 0\
**Last updated:** [25 February 2022 09:52 UTC](https://discourse.nodered.org/t/writing-negative-value-to-register-via-modbus-tcp-ip/58976 "2022-02-25T09:52:45Z")

</div>

Hi, I'm trying to get my inverter to charge battery from grid thru modbus tcp/ip. I finally got an answer from Fronius support, what values to which registers I need to write. Writing to single registers works fine, b…

---

## [URL outside of the http request](https://discourse.nodered.org/t/url-outside-of-the-http-request/58970)

<div class="topic-metadata">

**Author:** [@Milanovic](https://discourse.nodered.org/u/Milanovic)\
**Replies:** 2\
**Last updated:** [25 February 2022 09:43 UTC](https://discourse.nodered.org/t/url-outside-of-the-http-request/58970 "2022-02-25T09:43:23Z")

</div>

Hi, I'm reading out a http request, but I want the serialnumber = a global variable. How can I use the variable Usermatrix\[6\]\[1\] ? $globalContext("UserMatrix\[6\]\[1\]") doesn't work

---

## [Convert HEX to useful values?](https://discourse.nodered.org/t/convert-hex-to-useful-values/58620)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 36\
**Last updated:** [25 February 2022 07:15 UTC](https://discourse.nodered.org/t/convert-hex-to-useful-values/58620 "2022-02-25T07:15:09Z")

</div>

Dear all, I try to read an serial String and convert it to something "useful". Therefore I would need the HEX output of the serial String but all I get are these strange signs when I connect the Serial IN to my serial …

---

## [NodeRed and Oracle Database](https://discourse.nodered.org/t/nodered-and-oracle-database/58666)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 3\
**Last updated:** [25 February 2022 06:11 UTC](https://discourse.nodered.org/t/nodered-and-oracle-database/58666 "2022-02-25T06:11:11Z")

</div>

Hi, I installed an ubuntu instance (Always Free VM On Oracle Cloud) some time ago. I use it for various tests, it works without problems, everything is OK. I created a database, Autonomous Database (version: 19c), als…

---

## [Anyone here use VLC player much (sort of off topic but not)](https://discourse.nodered.org/t/anyone-here-use-vlc-player-much-sort-of-off-topic-but-not/58954)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [24 February 2022 23:43 UTC](https://discourse.nodered.org/t/anyone-here-use-vlc-player-much-sort-of-off-topic-but-not/58954 "2022-02-24T23:43:43Z")

</div>

I am asking because I am wanting to make a Jukebox kind of thing on a RasPi. But early testing with VLC is ... well: not the best. I'll put that down to me and my (in)ability to use programs. Not to extreme a number -…

---

## [Using 2 nodes with 2 different DB servers](https://discourse.nodered.org/t/using-2-nodes-with-2-different-db-servers/58943)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 7\
**Last updated:** [24 February 2022 23:12 UTC](https://discourse.nodered.org/t/using-2-nodes-with-2-different-db-servers/58943 "2022-02-24T23:12:47Z")

</div>

Hi, Is possible to read data from two different database servers? I created two different mysql nodes, each connecting to its database and they do work individually, but if I enable both of them, one node changes its c…

---

## [Can somebody help me extract this object which start with a number?](https://discourse.nodered.org/t/can-somebody-help-me-extract-this-object-which-start-with-a-number/58956)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 6\
**Last updated:** [24 February 2022 23:02 UTC](https://discourse.nodered.org/t/can-somebody-help-me-extract-this-object-which-start-with-a-number/58956 "2022-02-24T23:02:02Z")

</div>

Hi, I've just discovered that unfortunately Openweather returns on hourly data an object instead of the simple value (as for daily), please look here: I try to exttract this number in this way var precipitazioni = \[…

---

## [Extract JSON object from an URL](https://discourse.nodered.org/t/extract-json-object-from-an-url/58949)

<div class="topic-metadata">

**Author:** [@DemalCal96](https://discourse.nodered.org/u/DemalCal96)\
**Replies:** 4\
**Last updated:** [24 February 2022 22:25 UTC](https://discourse.nodered.org/t/extract-json-object-from-an-url/58949 "2022-02-24T22:25:30Z")

</div>

Hello everyone. Actually I have an URL address provided by a system engineer that extract data from a data base. when I put this URL in my web Brawser I can see the following: This is a JSON object that I want to be …

---

## [Dynamic MQTT LWT birth, Close & Will Property](https://discourse.nodered.org/t/dynamic-mqtt-lwt-birth-close-will-property/58951)

<div class="topic-metadata">

**Author:** [@mafify](https://discourse.nodered.org/u/mafify)\
**Replies:** 2\
**Last updated:** [24 February 2022 22:08 UTC](https://discourse.nodered.org/t/dynamic-mqtt-lwt-birth-close-will-property/58951 "2022-02-24T22:08:31Z")

</div>

There is a lot of dynamic features now in mqtt node red. I noticed that the broker can be dynamically setting an object message as follow: {"broker": 192.168.1.XX, "port":1883, "force":true} I was wondering if I can se…

---

## [Condition of another sensor](https://discourse.nodered.org/t/condition-of-another-sensor/58953)

<div class="topic-metadata">

**Author:** [@nightmare1](https://discourse.nodered.org/u/nightmare1)\
**Replies:** 1\
**Last updated:** [24 February 2022 21:11 UTC](https://discourse.nodered.org/t/condition-of-another-sensor/58953 "2022-02-24T21:11:01Z")

</div>

Thanks in advance , i would like to think i have moved from crawling to walking with node red however, i am stumped at were to start with a very simple task. I have a temerature and a number going into a sum, that parts…

---

## [Function Node - need help](https://discourse.nodered.org/t/function-node-need-help/58941)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 2\
**Last updated:** [24 February 2022 19:21 UTC](https://discourse.nodered.org/t/function-node-need-help/58941 "2022-02-24T19:21:59Z")

</div>

Hi there, i know i need to learn about the function node, but till now i'm working without it and i'm happy with it. TILL today with this function: The sample shows this: { "body": "Test" } But i need the input o…

---

## [MQTT 5 responseTopic](https://discourse.nodered.org/t/mqtt-5-responsetopic/58935)

<div class="topic-metadata">

**Author:** [@JT3D](https://discourse.nodered.org/u/JT3D)\
**Replies:** 4\
**Last updated:** [24 February 2022 16:44 UTC](https://discourse.nodered.org/t/mqtt-5-responsetopic/58935 "2022-02-24T16:44:38Z")

</div>

Hi all, In relation to this post here can someone explain why you have to delete the topic in order for the responseTopic to get sent. (The place this is done is 'delete topic and add random payload') Do you always hav…

---

## [How can I set an Object property dynamically](https://discourse.nodered.org/t/how-can-i-set-an-object-property-dynamically/58937)

<div class="topic-metadata">

**Author:** [@SumeetBulani](https://discourse.nodered.org/u/SumeetBulani)\
**Replies:** 2\
**Last updated:** [24 February 2022 16:22 UTC](https://discourse.nodered.org/t/how-can-i-set-an-object-property-dynamically/58937 "2022-02-24T16:22:35Z")

</div>

Hi guys, I am having some trouble setting a rule on NodeRED json object. You can find below my code. So I have a dynamic sensor JSON data. Also, I have an object which is an object within an object. I want to set a rul…

---

## [What is the easiest way to create a 5 to 32 line decoder in node red?](https://discourse.nodered.org/t/what-is-the-easiest-way-to-create-a-5-to-32-line-decoder-in-node-red/58324)

<div class="topic-metadata">

**Author:** [@K5OZ](https://discourse.nodered.org/u/K5OZ)\
**Replies:** 16\
**Last updated:** [24 February 2022 16:11 UTC](https://discourse.nodered.org/t/what-is-the-easiest-way-to-create-a-5-to-32-line-decoder-in-node-red/58324 "2022-02-24T16:11:46Z")

</div>

Hello everyone, I am a novice at node red. I am trying to automate an old MT3000 manual tuner. In my design I have a 32 position binary switch (5 bit output) that I would like to have 32 mutually exclusive outputs to d…

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

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