# General

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

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

**Page:** 553

---

## [Getting payload data from function to two debug nodes](https://discourse.nodered.org/t/getting-payload-data-from-function-to-two-debug-nodes/45895)

<div class="topic-metadata">

**Author:** [@tpbillund](https://discourse.nodered.org/u/tpbillund)\
**Replies:** 6\
**Last updated:** [19 May 2021 09:32 UTC](https://discourse.nodered.org/t/getting-payload-data-from-function-to-two-debug-nodes/45895 "2021-05-19T09:32:47Z")

</div>

Hi. I am trying to get data from two nodes to debug nodes, by a function. If I add a debug node to the two nodes (zigbee nodes) I get this data. I am then trying to get the payload data by a function and if the: …

---

## [Chart image node error](https://discourse.nodered.org/t/chart-image-node-error/44739)

<div class="topic-metadata">

**Author:** [@Folgore](https://discourse.nodered.org/u/Folgore)\
**Replies:** 1\
**Last updated:** [19 May 2021 08:20 UTC](https://discourse.nodered.org/t/chart-image-node-error/44739 "2021-05-19T08:20:43Z")

</div>

Hi @gemini86 , Sorry for the disturb. I have installed your node and I have 2 question. Is possible save the image how file (the output is a buffer) with file node? I have try your exapmple (\[SOLVED\] Using node-red-con…

---

## [Searching for array entries in jsonata](https://discourse.nodered.org/t/searching-for-array-entries-in-jsonata/45878)

<div class="topic-metadata">

**Author:** [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Replies:** 2\
**Last updated:** [19 May 2021 07:16 UTC](https://discourse.nodered.org/t/searching-for-array-entries-in-jsonata/45878 "2021-05-19T07:16:24Z")

</div>

Hi, I have a JSON of the structure: { "data": \[ { "id": "1232", "tags": \[ "tagA", "test", "tagB" \], "more": true }, { "id": "2232", "tags": \[ "tagD", "test", "tagB" \], "…

---

## [The "library" - just asking](https://discourse.nodered.org/t/the-library-just-asking/45889)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [19 May 2021 06:44 UTC](https://discourse.nodered.org/t/the-library-just-asking/45889 "2021-05-19T06:44:38Z")

</div>

I've been away for the last year or so and not on as much as I used to be. But a few times in the past I have tried to remember to look at/in the "library" This one. And noticed the node-red-node-serialport node was t…

---

## [Juntar dos msg.payload](https://discourse.nodered.org/t/juntar-dos-msg-payload/45888)

<div class="topic-metadata">

**Author:** [@carmar19](https://discourse.nodered.org/u/carmar19)\
**Replies:** 3\
**Last updated:** [19 May 2021 06:32 UTC](https://discourse.nodered.org/t/juntar-dos-msg-payload/45888 "2021-05-19T06:32:56Z")

</div>

Good evening group I am new but trying to learn this beautiful program and with the help of you and your examples I have managed to understand how some things work here, well going to the topic I would like you to help m…

---

## [Node-red arduino](https://discourse.nodered.org/t/node-red-arduino/45859)

<div class="topic-metadata">

**Author:** [@dick](https://discourse.nodered.org/u/dick)\
**Replies:** 9\
**Last updated:** [19 May 2021 06:29 UTC](https://discourse.nodered.org/t/node-red-arduino/45859 "2021-05-19T06:29:56Z")

</div>

Hello \*.ino in Arduino is working well The flow for noder-red is ok BUT There is a communication error with /dev/ttyAMA0 Permission denied. Is there someone with a solution for that permission denied. Dick

---

## [Stitch together several image tiles](https://discourse.nodered.org/t/stitch-together-several-image-tiles/45874)

<div class="topic-metadata">

**Author:** [@johnwalicki](https://discourse.nodered.org/u/johnwalicki)\
**Replies:** 2\
**Last updated:** [19 May 2021 04:23 UTC](https://discourse.nodered.org/t/stitch-together-several-image-tiles/45874 "2021-05-19T04:23:00Z")

</div>

I have a flow that retrieves weather map image tiles. I can use node-red-contrib-image-tools to show the tiles side by side. I would like to stitch together these tiles into a single image. Maybe create a blank image o…

---

## [Auto Redeploy When OPC Connection Lost](https://discourse.nodered.org/t/auto-redeploy-when-opc-connection-lost/45796)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 13\
**Last updated:** [18 May 2021 23:17 UTC](https://discourse.nodered.org/t/auto-redeploy-when-opc-connection-lost/45796 "2021-05-18T23:17:02Z")

</div>

Occasionally our node-red-contrib-opcua client nodes will disconnect (usually when downloading a new program to the PLC) and then not be able to reconnect without deploying the flow again. Is there a way to, based on tha…

---

## [Convert object in array](https://discourse.nodered.org/t/convert-object-in-array/45870)

<div class="topic-metadata">

**Author:** [@omalisson](https://discourse.nodered.org/u/omalisson)\
**Replies:** 5\
**Last updated:** [18 May 2021 22:48 UTC](https://discourse.nodered.org/t/convert-object-in-array/45870 "2021-05-18T22:48:19Z")

</div>

Hi Friends! I am receiving a message that I configured on my mikrotik but I am not able to work on the arguments to separate the information such as link, operator and status. I have tried with the flow jsonata, change…

---

## [Dynamic subscribe MQTT](https://discourse.nodered.org/t/dynamic-subscribe-mqtt/45656)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 8\
**Last updated:** [18 May 2021 20:15 UTC](https://discourse.nodered.org/t/dynamic-subscribe-mqtt/45656 "2021-05-18T20:15:29Z")

</div>

Hi @knolleary @dceejay - is this contribution still wanted? I had a bit play time today and generated a new node, based fully on the current node-red mqtt nodes (in fact I did it on my node-red fork under branch mqtt-d…

---

## [Trouble installing node-red](https://discourse.nodered.org/t/trouble-installing-node-red/45873)

<div class="topic-metadata">

**Author:** [@dvenus](https://discourse.nodered.org/u/dvenus)\
**Replies:** 2\
**Last updated:** [18 May 2021 19:48 UTC](https://discourse.nodered.org/t/trouble-installing-node-red/45873 "2021-05-18T19:48:35Z")

</div>

Hi! I am trying to install node-red locally following the directions on this site for Windows 10. Using current version of node-red and LTS node.js 12.22..1 X64 per the note-red web site. Here is the warning and error …

---

## [MongoDB Node Too Many Connections?](https://discourse.nodered.org/t/mongodb-node-too-many-connections/45875)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 0\
**Last updated:** [18 May 2021 19:35 UTC](https://discourse.nodered.org/t/mongodb-node-too-many-connections/45875 "2021-05-18T19:35:45Z")

</div>

I've implemented a node-red-node-mongodb node set into my flow, essentially managing a user base and related data, I've had a few times where the MongoDB server goes off line with connection issues. I look at the mongo…

---

## [How to disable 'drop flow here' feature?](https://discourse.nodered.org/t/how-to-disable-drop-flow-here-feature/45355)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 17\
**Last updated:** [18 May 2021 18:57 UTC](https://discourse.nodered.org/t/how-to-disable-drop-flow-here-feature/45355 "2021-05-18T18:57:09Z")

</div>

How to disable 'drop flow here' feature? Once it pops up, you can't cancel it? Quite the PITA when you are editing a flow, and can't get rid of it.

---

## [Elegant way in a flow to determine if the MQTT broker is disconnected, connecting or connected?](https://discourse.nodered.org/t/elegant-way-in-a-flow-to-determine-if-the-mqtt-broker-is-disconnected-connecting-or-connected/45865)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 3\
**Last updated:** [18 May 2021 18:37 UTC](https://discourse.nodered.org/t/elegant-way-in-a-flow-to-determine-if-the-mqtt-broker-is-disconnected-connecting-or-connected/45865 "2021-05-18T18:37:20Z")

</div>

Elegant way in a flow to determine if the MQTT broker is still disconnected, connecting or finally connected? I have a rather busy NR instance, and on NR start up, or full deploy, the MQTT nodes are taking a few seconds…

---

## [A syntax problematic](https://discourse.nodered.org/t/a-syntax-problematic/45862)

<div class="topic-metadata">

**Author:** [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Replies:** 2\
**Last updated:** [18 May 2021 18:28 UTC](https://discourse.nodered.org/t/a-syntax-problematic/45862 "2021-05-18T18:28:59Z")

</div>

Hello Node Red forum I need your help with a syntax problematic v\_pco="63488"; v\_txt="Hallo"; test=\["p\[3\].b\[6\].pco=63488", "p\[3\].b\[6\].txt=\\"Hallo\\"" \]; msg.payload=test; if I send this variable with msg.payload=test; …

---

## [Tasmota/Sonoff switch all 3 connected relays](https://discourse.nodered.org/t/tasmota-sonoff-switch-all-3-connected-relays/45779)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 19\
**Last updated:** [18 May 2021 16:06 UTC](https://discourse.nodered.org/t/tasmota-sonoff-switch-all-3-connected-relays/45779 "2021-05-18T16:06:52Z")

</div>

My Generic Sonoff Module flashed with Tasmota switches 3 relays. I am using the switch node from node-red-contrib-tasmota and I manage to switch the first relay (Relay1 on D1/GPIO5). So far so good... Does anyone know h…

---

## [Ui\_mp4frag in uibuilder](https://discourse.nodered.org/t/ui-mp4frag-in-uibuilder/45798)

<div class="topic-metadata">

**Author:** [@cdg123](https://discourse.nodered.org/u/cdg123)\
**Replies:** 5\
**Last updated:** [18 May 2021 16:14 UTC](https://discourse.nodered.org/t/ui-mp4frag-in-uibuilder/45798 "2021-05-18T16:14:15Z")

</div>

I have just got back into my project for creating a cctv and power usage home monitoring solution and got my head around the absolutely brilliant work that @kevinGodell has produced with the mp4frag and ui\_mp4frag nodes. …

---

## [New User, odd stiuation](https://discourse.nodered.org/t/new-user-odd-stiuation/45742)

<div class="topic-metadata">

**Author:** [@Cyprus125](https://discourse.nodered.org/u/Cyprus125)\
**Replies:** 34\
**Last updated:** [18 May 2021 15:26 UTC](https://discourse.nodered.org/t/new-user-odd-stiuation/45742 "2021-05-18T15:26:30Z")

</div>

Here is my current deployment, it is crude. i have 5+ Pi Zeros with BME280 sensors. I'm using RRDtool to log temp, humidity, and pressure. these graphs are sent to my pi4 4gig which runs web server among other things. I…

---

## [Editor message box](https://discourse.nodered.org/t/editor-message-box/45389)

<div class="topic-metadata">

**Author:** [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Replies:** 4\
**Last updated:** [18 May 2021 15:09 UTC](https://discourse.nodered.org/t/editor-message-box/45389 "2021-05-18T15:09:00Z")

</div>

After clicking the Deploy button a message box appears on the top that partially covers the flow tabs (Chrome and Safari). Would it be possible to reduce the message box height?

---

## [How to pass msg.payload to template node](https://discourse.nodered.org/t/how-to-pass-msg-payload-to-template-node/45639)

<div class="topic-metadata">

**Author:** [@quemf](https://discourse.nodered.org/u/quemf)\
**Replies:** 17\
**Last updated:** [18 May 2021 15:01 UTC](https://discourse.nodered.org/t/how-to-pass-msg-payload-to-template-node/45639 "2021-05-18T15:01:07Z")

</div>

Hi! I added a google maps widget to the Dashboard and I am trying to add a msg.payload.lat as the latitude and msg.payload.lon as longitude, but I don't know the right syntax. Could anyone help me please? Thank you! T…

---

## [Custom flow background](https://discourse.nodered.org/t/custom-flow-background/45854)

<div class="topic-metadata">

**Author:** [@HasikL](https://discourse.nodered.org/u/HasikL)\
**Replies:** 0\
**Last updated:** [18 May 2021 13:11 UTC](https://discourse.nodered.org/t/custom-flow-background/45854 "2021-05-18T13:11:35Z")

</div>

Hello, I would like to ask if it is possible to change a background image from the basic grid to a custom image and bind it to only one flow.

---

## [Convert number to hex](https://discourse.nodered.org/t/convert-number-to-hex/45837)

<div class="topic-metadata">

**Author:** [@DerD74](https://discourse.nodered.org/u/DerD74)\
**Replies:** 4\
**Last updated:** [18 May 2021 12:50 UTC](https://discourse.nodered.org/t/convert-number-to-hex/45837 "2021-05-18T12:50:27Z")

</div>

Dear all, I wont connect STONE Panel via Serial Bus. Therfore I must convert Value from PLC to hex. Following I post what I tested, but in debug node the converted value will not shown. Perhaps someone have a Idea? …

---

## [Decimal to Binary signed 2's complement](https://discourse.nodered.org/t/decimal-to-binary-signed-2s-complement/45834)

<div class="topic-metadata">

**Author:** [@Aivaras](https://discourse.nodered.org/u/Aivaras)\
**Replies:** 8\
**Last updated:** [18 May 2021 12:38 UTC](https://discourse.nodered.org/t/decimal-to-binary-signed-2s-complement/45834 "2021-05-18T12:38:20Z")

</div>

Hello, Could someone help me to make a Decimal to Binary signed 2's complement converter in node-red ? Best Regards Aivaras

---

## [I can't publish data from node-red](https://discourse.nodered.org/t/i-cant-publish-data-from-node-red/45780)

<div class="topic-metadata">

**Author:** [@Yaleaura](https://discourse.nodered.org/u/Yaleaura)\
**Replies:** 30\
**Last updated:** [18 May 2021 12:37 UTC](https://discourse.nodered.org/t/i-cant-publish-data-from-node-red/45780 "2021-05-18T12:37:26Z")

</div>

My device cannot receive the data.Here are the pictures of my settings

---

## [Can´t install any nodes, help!](https://discourse.nodered.org/t/can-t-install-any-nodes-help/45829)

<div class="topic-metadata">

**Author:** [@RobertG](https://discourse.nodered.org/u/RobertG)\
**Replies:** 4\
**Last updated:** [18 May 2021 12:34 UTC](https://discourse.nodered.org/t/can-t-install-any-nodes-help/45829 "2021-05-18T12:34:28Z")

</div>

Very new to Node-Red, wanted to install dashboard node. Only get error

---

## [Help Failed to install: node-red-contrib-bluetooth-serial-port](https://discourse.nodered.org/t/help-failed-to-install-node-red-contrib-bluetooth-serial-port/45825)

<div class="topic-metadata">

**Author:** [@med](https://discourse.nodered.org/u/med)\
**Replies:** 4\
**Last updated:** [18 May 2021 12:20 UTC](https://discourse.nodered.org/t/help-failed-to-install-node-red-contrib-bluetooth-serial-port/45825 "2021-05-18T12:20:45Z")

</div>

Hi guys I'm trying to install this node on my computer but I got this msg I don't know why?

---

## [Detect a word and activate an output](https://discourse.nodered.org/t/detect-a-word-and-activate-an-output/45822)

<div class="topic-metadata">

**Author:** [@raulrodca](https://discourse.nodered.org/u/raulrodca)\
**Replies:** 4\
**Last updated:** [18 May 2021 11:47 UTC](https://discourse.nodered.org/t/detect-a-word-and-activate-an-output/45822 "2021-05-18T11:47:17Z")

</div>

Hello good day I want to make a flow that when detecting a specific word when receiving it in an email message, it triggers an output. The idea is to receive a message such as "High temperature alert" that when detecti…

---

## [Encoding UTF-8 option is missing in Node Red v1.3.4](https://discourse.nodered.org/t/encoding-utf-8-option-is-missing-in-node-red-v1-3-4/45820)

<div class="topic-metadata">

**Author:** [@sastusb](https://discourse.nodered.org/u/sastusb)\
**Replies:** 3\
**Last updated:** [18 May 2021 11:09 UTC](https://discourse.nodered.org/t/encoding-utf-8-option-is-missing-in-node-red-v1-3-4/45820 "2021-05-18T11:09:57Z")

</div>

Hi All, I was using the Node Red 1.3.0-beta.1 version & I was seeing encoding feature in MQTT nodes where I was able to set encoding as UTF-8. But the same feature is not available in latest Node Red v1.3.4. Can anyo…

---

## [Read msg.payload\[variable\], identifier as variable string](https://discourse.nodered.org/t/read-msg-payload-variable-identifier-as-variable-string/45812)

<div class="topic-metadata">

**Author:** [@Doebe](https://discourse.nodered.org/u/Doebe)\
**Replies:** 2\
**Last updated:** [18 May 2021 08:24 UTC](https://discourse.nodered.org/t/read-msg-payload-variable-identifier-as-variable-string/45812 "2021-05-18T08:24:44Z")

</div>

Hi, is his possible in a function to read the msg.payload with a variable identifier ? eg. var tagname = node.name; // Get name of node eg. LSH3-1.0 (level switch high) // in the msg.payload there is a value // LS…

---

## [Creating array and then average](https://discourse.nodered.org/t/creating-array-and-then-average/45817)

<div class="topic-metadata">

**Author:** [@uno386](https://discourse.nodered.org/u/uno386)\
**Replies:** 1\
**Last updated:** [18 May 2021 08:00 UTC](https://discourse.nodered.org/t/creating-array-and-then-average/45817 "2021-05-18T08:00:25Z")

</div>

Hi everyone, I am getting msg payload 4 times per day. So i want to store msg value in array of 4 elements. Then, I want to calculate average of these 4 Elementes. But I am stuck in between counter(to count which numbe…

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

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