# General

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

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

**Page:** 457

---

## [Adding a dynamic amount of values to a JavaScript Object Property](https://discourse.nodered.org/t/adding-a-dynamic-amount-of-values-to-a-javascript-object-property/54806)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 4\
**Last updated:** [7 December 2021 18:10 UTC](https://discourse.nodered.org/t/adding-a-dynamic-amount-of-values-to-a-javascript-object-property/54806 "2021-12-07T18:10:16Z")

</div>

Hi Guys, I am desperatly trying to add values to an object property. The API I want to communicate with needs all information delivered that way and the amount of values vary. msg.object = {property: {\[var1\] : "value1"…

---

## [Openplc on nodered](https://discourse.nodered.org/t/openplc-on-nodered/54662)

<div class="topic-metadata">

**Author:** [@pfe](https://discourse.nodered.org/u/pfe)\
**Replies:** 6\
**Last updated:** [7 December 2021 16:31 UTC](https://discourse.nodered.org/t/openplc-on-nodered/54662 "2021-12-07T16:31:38Z")

</div>

Hello forum I want to use the openplc in node-red. Do someone use this component? I have now sone problem to install it . ( my installation of node-red is up todate).. Greetings

---

## [Adding balena into the Node-RED getting started](https://discourse.nodered.org/t/adding-balena-into-the-node-red-getting-started/52753)

<div class="topic-metadata">

**Author:** [@mpous](https://discourse.nodered.org/u/mpous)\
**Replies:** 4\
**Last updated:** [7 December 2021 11:33 UTC](https://discourse.nodered.org/t/adding-balena-into-the-node-red-getting-started/52753 "2021-12-07T11:33:51Z")

</div>

Hello, following the contribution guidelines i would like to PR the documentation in order to add another way to install Node-RED on a Raspberry Pi or other devices compatible with balena (e.g. NVIDIA Jetson, Intel NUC, …

---

## [Beginner - Sending mulitple AT commands in sequence to a serial interface (raspberry pi with USB dongle)](https://discourse.nodered.org/t/beginner-sending-mulitple-at-commands-in-sequence-to-a-serial-interface-raspberry-pi-with-usb-dongle/54789)

<div class="topic-metadata">

**Author:** [@JzzO](https://discourse.nodered.org/u/JzzO)\
**Replies:** 6\
**Last updated:** [7 December 2021 10:40 UTC](https://discourse.nodered.org/t/beginner-sending-mulitple-at-commands-in-sequence-to-a-serial-interface-raspberry-pi-with-usb-dongle/54789 "2021-12-07T10:40:47Z")

</div>

Hi .. I am new to both Node-RED and the forum.. I am kind of stuck and hoping someone can send me in the right direction - Setup - Raspberry Pi 3 - LTE USB dongle Due to lack of internet in the house I am setting the …

---

## [I am missing something here with message format - JSON](https://discourse.nodered.org/t/i-am-missing-something-here-with-message-format-json/54814)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [7 December 2021 10:35 UTC](https://discourse.nodered.org/t/i-am-missing-something-here-with-message-format-json/54814 "2021-12-07T10:35:47Z")

</div>

These are the 3 nodes: \[{"id":"a2b9b7d51d629336","type":"mqtt in","z":"d65ab744.465758","name":"","topic":"ARLEC-1/#","qos":"2","datatype":"auto","broker":"378c0403.8cda04","nl":false,"rap":true,"rh":0,"inputs":0,"x":81…

---

## [Unable to query json data from http request](https://discourse.nodered.org/t/unable-to-query-json-data-from-http-request/54707)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.nodered.org/u/blob)\
**Replies:** 28\
**Last updated:** [7 December 2021 10:19 UTC](https://discourse.nodered.org/t/unable-to-query-json-data-from-http-request/54707 "2021-12-07T10:19:46Z")

</div>

Hi, We are trying to query json data acquired from GET http request. I want to use this json data as an API but we are unable to query particular data from the entire data (in json format) received from GET http reques…

---

## [How to configure instructions in node document tab (subflow)](https://discourse.nodered.org/t/how-to-configure-instructions-in-node-document-tab-subflow/54803)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 13\
**Last updated:** [7 December 2021 09:56 UTC](https://discourse.nodered.org/t/how-to-configure-instructions-in-node-document-tab-subflow/54803 "2021-12-07T09:56:10Z")

</div>

My hand's up. I don't know all the tricks. I know that you have to start the text with \*\* but then it is all blank. I want to write instructions to explain how to configure a subflow I am writing.

---

## [3 arduino with sketch to node red with rpi](https://discourse.nodered.org/t/3-arduino-with-sketch-to-node-red-with-rpi/54767)

<div class="topic-metadata">

**Author:** [@azertym](https://discourse.nodered.org/u/azertym)\
**Replies:** 8\
**Last updated:** [7 December 2021 07:35 UTC](https://discourse.nodered.org/t/3-arduino-with-sketch-to-node-red-with-rpi/54767 "2021-12-07T07:35:36Z")

</div>

Hi everybody. I need your help to make my project. In first i'm sorry. I'm french so my english is not very good. About my project. I work for an escape game and we want add interractivity. For this i use 3 arduino. …

---

## [Running sudo from exec](https://discourse.nodered.org/t/running-sudo-from-exec/54787)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 4\
**Last updated:** [7 December 2021 07:08 UTC](https://discourse.nodered.org/t/running-sudo-from-exec/54787 "2021-12-07T07:08:48Z")

</div>

I think this is going to be generic Linux question, but I don't know the answer to it: I am setting up my new Node-Red server which is not a RaspberryPI, but a PC running Debian. Back in the Rpi days I used to run comma…

---

## [Mad idea - link call type MQTT mechanism](https://discourse.nodered.org/t/mad-idea-link-call-type-mqtt-mechanism/53829)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 16\
**Last updated:** [6 December 2021 15:18 UTC](https://discourse.nodered.org/t/mad-idea-link-call-type-mqtt-mechanism/53829 "2021-12-06T15:18:27Z")

</div>

Just while working on something and repeating something from another instance a (probably) daft thought struck me As well as the link call return thingy, why not do the same across instances (using MQTT??) e.g You want…

---

## [Flows stopped due to missing node types. postgresDB](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-postgresdb/54778)

<div class="topic-metadata">

**Author:** [@Alessandra](https://discourse.nodered.org/u/Alessandra)\
**Replies:** 2\
**Last updated:** [6 December 2021 14:27 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-postgresdb/54778 "2021-12-06T14:27:58Z")

</div>

I'm using node-red connected to PLC and saving to an influxdb database, I restarted the server and this error "Flows stopped due to missing node types. postgresDB" started to appear on node-red, could you help me?

---

## [Energy Management](https://discourse.nodered.org/t/energy-management/54732)

<div class="topic-metadata">

**Author:** [@bjorningeo](https://discourse.nodered.org/u/bjorningeo)\
**Replies:** 2\
**Last updated:** [6 December 2021 14:19 UTC](https://discourse.nodered.org/t/energy-management/54732 "2021-12-06T14:19:43Z")

</div>

Seaching for nodes for cost optimizing energy consumption in our home challenge there is high variation on electricity price during the day and from 1. of January there will aslo be introduced an aditional cost based o…

---

## [How to mask a point in a path?](https://discourse.nodered.org/t/how-to-mask-a-point-in-a-path/54774)

<div class="topic-metadata">

**Author:** [@SN-8023](https://discourse.nodered.org/u/SN-8023)\
**Replies:** 3\
**Last updated:** [6 December 2021 12:16 UTC](https://discourse.nodered.org/t/how-to-mask-a-point-in-a-path/54774 "2021-12-06T12:16:49Z")

</div>

I have a particle sensor under tasmota.... I get the payload in the format Payload:{"Time":"2021-12-06T10:53:53","BME280":{"Temperature":22.3,"Humidity":38.2,"DewPoint":7.4,"Pressure":997.8},"VINDRIKTNING":{"PM1":895,"P…

---

## [How to send an initial MQTT message to get the status of a tasmota switch?](https://discourse.nodered.org/t/how-to-send-an-initial-mqtt-message-to-get-the-status-of-a-tasmota-switch/54721)

<div class="topic-metadata">

**Author:** [@belgah](https://discourse.nodered.org/u/belgah)\
**Replies:** 49\
**Last updated:** [6 December 2021 12:03 UTC](https://discourse.nodered.org/t/how-to-send-an-initial-mqtt-message-to-get-the-status-of-a-tasmota-switch/54721 "2021-12-06T12:03:31Z")

</div>

Hi, I'm new to node red, but could at least implement a switch to a tasmota switch via MQTT. It worked after I change the switch. But due to the fact, that I've initially missed the last state, I'm searching for a mec…

---

## [Help to sort by a column the data entered in node ui\_tablet](https://discourse.nodered.org/t/help-to-sort-by-a-column-the-data-entered-in-node-ui-tablet/54711)

<div class="topic-metadata">

**Author:** [@carflomi](https://discourse.nodered.org/u/carflomi)\
**Replies:** 2\
**Last updated:** [6 December 2021 11:35 UTC](https://discourse.nodered.org/t/help-to-sort-by-a-column-the-data-entered-in-node-ui-tablet/54711 "2021-12-06T11:35:39Z")

</div>

Hello. I present you my problem I have a Ui\_tablet node that works great. . But I am not able to sort the data from newest to oldest (in the image you can see that the "Timestamp" field is sorted from oldest to newe…

---

## [How do I dynamically change httpNodeAuth externally (setting.js)](https://discourse.nodered.org/t/how-do-i-dynamically-change-httpnodeauth-externally-setting-js/54665)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 7\
**Last updated:** [6 December 2021 11:16 UTC](https://discourse.nodered.org/t/how-do-i-dynamically-change-httpnodeauth-externally-setting-js/54665 "2021-12-06T11:16:00Z")

</div>

Hello to everyone. How do I dynamically change httpNodeAuth externally (setting.js). The scenario is: The customer will edit the setting.js file via the form on the browser without manually changing it. Maybe it has not…

---

## [\`link call\` node. Stuck](https://discourse.nodered.org/t/link-call-node-stuck/54763)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [6 December 2021 10:21 UTC](https://discourse.nodered.org/t/link-call-node-stuck/54763 "2021-12-06T10:21:59Z")

</div>

I am not understanding how to use it. Alas looking in the import/examples there aren't any. Could someone show me how to use it? I'm missing something. All I can manage is link - in --\> link - call --\> link - out Bu…

---

## [Trigger a flow when a dumb external CD player starts playing](https://discourse.nodered.org/t/trigger-a-flow-when-a-dumb-external-cd-player-starts-playing/54611)

<div class="topic-metadata">

**Author:** [@HonestJohn61](https://discourse.nodered.org/u/HonestJohn61)\
**Replies:** 19\
**Last updated:** [6 December 2021 10:19 UTC](https://discourse.nodered.org/t/trigger-a-flow-when-a-dumb-external-cd-player-starts-playing/54611 "2021-12-06T10:19:50Z")

</div>

This is a long shot ... but there may be someone who has done something like this before. I have an ancient CD player which my wife likes to use. I'd like to be able to detect when it starts playing to trigger a flow I …

---

## [SOLVED - Server error when using mobile devices](https://discourse.nodered.org/t/solved-server-error-when-using-mobile-devices/54740)

<div class="topic-metadata">

**Author:** [@sneakynuts](https://discourse.nodered.org/u/sneakynuts)\
**Replies:** 3\
**Last updated:** [6 December 2021 09:15 UTC](https://discourse.nodered.org/t/solved-server-error-when-using-mobile-devices/54740 "2021-12-06T09:15:11Z")

</div>

I have a strange issue i cant sus out. When i navigate to Node Red using my mobile devices, i get a error message saying cant connect to server, try again in x seconds. But when i'm on my pc, i ahve no issues - So can'…

---

## [How to add node red whatsapp number on whatsapp group](https://discourse.nodered.org/t/how-to-add-node-red-whatsapp-number-on-whatsapp-group/54765)

<div class="topic-metadata">

**Author:** [@aminulhaq](https://discourse.nodered.org/u/aminulhaq)\
**Replies:** 0\
**Last updated:** [6 December 2021 05:05 UTC](https://discourse.nodered.org/t/how-to-add-node-red-whatsapp-number-on-whatsapp-group/54765 "2021-12-06T05:05:18Z")

</div>

Hi, i am sending whattsapp msg via node red when i add number to a group it is not adding on group how to addd node red number on some whatsapp group

---

## [Node red flows backup file (bash script) linux server](https://discourse.nodered.org/t/node-red-flows-backup-file-bash-script-linux-server/54757)

<div class="topic-metadata">

**Author:** [@saeed1](https://discourse.nodered.org/u/saeed1)\
**Replies:** 2\
**Last updated:** [6 December 2021 04:55 UTC](https://discourse.nodered.org/t/node-red-flows-backup-file-bash-script-linux-server/54757 "2021-12-06T04:55:29Z")

</div>

hello guys, I know how to export and import the node red flows, but i want to make up the backup via bash script. Is there any specific file, that have all the flows, so that i could easily only send this file from my l…

---

## [\`join\` node - not understanding the docs](https://discourse.nodered.org/t/join-node-not-understanding-the-docs/54738)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [6 December 2021 00:08 UTC](https://discourse.nodered.org/t/join-node-not-understanding-the-docs/54738 "2021-12-06T00:08:47Z")

</div>

A timeout can be set to trigger sending the new message using whatever has been received so far. A timeout..... seconds, minutes, hours?

---

## [Survey about open source software development](https://discourse.nodered.org/t/survey-about-open-source-software-development/54761)

<div class="topic-metadata">

**Author:** [@sheng](https://discourse.nodered.org/u/sheng)\
**Replies:** 0\
**Last updated:** [5 December 2021 22:47 UTC](https://discourse.nodered.org/t/survey-about-open-source-software-development/54761 "2021-12-05T22:47:35Z")

</div>

Hello, I hope this is the right place to ask, but I’m currently looking for participants for my survey that I’m doing for my master thesis. The research deals with the relationship between agile practices and open sourc…

---

## [TypeError: Cannot read property 'setup' of undefined (line:289)](https://discourse.nodered.org/t/typeerror-cannot-read-property-setup-of-undefined-line-289/54743)

<div class="topic-metadata">

**Author:** [@gingerhelp](https://discourse.nodered.org/u/gingerhelp)\
**Replies:** 4\
**Last updated:** [5 December 2021 22:19 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-setup-of-undefined-line-289/54743 "2021-12-05T22:19:40Z")

</div>

Hi everybody, I have been playing with uibuilder and really enjoying it. Developing it locally, everything has went smoothly but I have been running into an issue when I am deploying it out as a Docker image and I was …

---

## [Permission denied](https://discourse.nodered.org/t/permission-denied/54677)

<div class="topic-metadata">

**Author:** [@manjha](https://discourse.nodered.org/u/manjha)\
**Replies:** 20\
**Last updated:** [5 December 2021 20:11 UTC](https://discourse.nodered.org/t/permission-denied/54677 "2021-12-05T20:11:51Z")

</div>

I have an existing Node-Red flow that will append a record to a file on my NAS. This has been running just file for many months. Today, I migrated from my old NAS to a brand new Synology DS720+. Everything works OK, I …

---

## [Creating a chart in excel csv-file](https://discourse.nodered.org/t/creating-a-chart-in-excel-csv-file/54748)

<div class="topic-metadata">

**Author:** [@SEM](https://discourse.nodered.org/u/SEM)\
**Replies:** 4\
**Last updated:** [5 December 2021 19:27 UTC](https://discourse.nodered.org/t/creating-a-chart-in-excel-csv-file/54748 "2021-12-05T19:27:58Z")

</div>

Hello everyone, I'm a student and for a project i have to extract 2 dataflows from a plc (Already done with S7 comm), then i have to make an excel-file with a chart made from those dataflows. and this chart also has to …

---

## [Trouble storing time in flow variable](https://discourse.nodered.org/t/trouble-storing-time-in-flow-variable/54715)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 12\
**Last updated:** [5 December 2021 15:33 UTC](https://discourse.nodered.org/t/trouble-storing-time-in-flow-variable/54715 "2021-12-05T15:33:07Z")

</div>

I am trying to store time variables in flow variables. And somehow it's not working. When I test with node.warn, everything seems ok. Also when I store actual time, it's ok. So I am puzzled here. Can anybody help me out? …

---

## [Editing json file in dashboard with 100+ lines](https://discourse.nodered.org/t/editing-json-file-in-dashboard-with-100-lines/54684)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 2\
**Last updated:** [5 December 2021 14:21 UTC](https://discourse.nodered.org/t/editing-json-file-in-dashboard-with-100-lines/54684 "2021-12-05T14:21:15Z")

</div>

Hi! I have a json file with 100+ records. I would like to crate a dashboard to edit this file and change settings that are saved in the file But with 100 line it is a lot of work :wink: So i try to make something "sm…

---

## [Injecting a string in a function not working](https://discourse.nodered.org/t/injecting-a-string-in-a-function-not-working/54676)

<div class="topic-metadata">

**Author:** [@peterda](https://discourse.nodered.org/u/peterda)\
**Replies:** 5\
**Last updated:** [5 December 2021 11:17 UTC](https://discourse.nodered.org/t/injecting-a-string-in-a-function-not-working/54676 "2021-12-05T11:17:44Z")

</div>

Newbie at work: In my function node this works: msg.payload = Buffer.from('-v.?\\r') return msg; Passing the string from my injection node (as in the flow), it does not work: msg.payload = Buffer.from(msg.payload) ret…

---

## [Adding values but more like \`AND\` than \`+\`](https://discourse.nodered.org/t/adding-values-but-more-like-and-than/54723)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 23\
**Last updated:** [5 December 2021 11:00 UTC](https://discourse.nodered.org/t/adding-values-but-more-like-and-than/54723 "2021-12-05T11:00:46Z")

</div>

This is a recent thing I got working. Thanks to all who helped me with the syntax error I made. The problem now is it is a bit too good at doing what I want it to do. The idea is the R G and B values may be used for …

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

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