# General

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

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

**Page:** 830

---

## [Setting Mqtt url through API](https://discourse.nodered.org/t/setting-mqtt-url-through-api/17623)

<div class="topic-metadata">

**Author:** [@Iliyas](https://discourse.nodered.org/u/Iliyas)\
**Replies:** 3\
**Last updated:** [7 November 2019 09:53 UTC](https://discourse.nodered.org/t/setting-mqtt-url-through-api/17623 "2019-11-07T09:53:07Z")

</div>

Hello all, I have a doubt regarding MQTT in-node, how can we set the url of mqtt in-node through an API? Can somebody help me out with this

---

## [JSON variable top level](https://discourse.nodered.org/t/json-variable-top-level/17624)

<div class="topic-metadata">

**Author:** [@kamsvag](https://discourse.nodered.org/u/kamsvag)\
**Replies:** 3\
**Last updated:** [7 November 2019 09:44 UTC](https://discourse.nodered.org/t/json-variable-top-level/17624 "2019-11-07T09:44:33Z")

</div>

I pull a series of http requests with JSON objects as response. Each Object has the same keys as below but the top name changes for each object. I'd like to have a switch node to sort on the TAG attribute, all object th…

---

## [Link broken export/import function](https://discourse.nodered.org/t/link-broken-export-import-function/17530)

<div class="topic-metadata">

**Author:** [@jk2020](https://discourse.nodered.org/u/jk2020)\
**Replies:** 3\
**Last updated:** [7 November 2019 08:56 UTC](https://discourse.nodered.org/t/link-broken-export-import-function/17530 "2019-11-07T08:56:56Z")

</div>

As soon as you work with multiple flows you need link-in and link-out nodes to connect. Unfortunately when doing an export and re-import flows the links are broken which is a challegne when having multiple flows. Just …

---

## ["Cannot read property 'sum:' of undefined"](https://discourse.nodered.org/t/cannot-read-property-sum-of-undefined/17565)

<div class="topic-metadata">

**Author:** [@genericfeature](https://discourse.nodered.org/u/genericfeature)\
**Replies:** 7\
**Last updated:** [7 November 2019 08:24 UTC](https://discourse.nodered.org/t/cannot-read-property-sum-of-undefined/17565 "2019-11-07T08:24:34Z")

</div>

Hello there, when using a Change/Set function on a certain message I get the error mentioned in the title. I am using Node Red in Siemens Mindsphere environment. The object is looking like this: 5.11.2019, 22:11:09.9…

---

## [Deploy to AWS with High Availability](https://discourse.nodered.org/t/deploy-to-aws-with-high-availability/17621)

<div class="topic-metadata">

**Author:** [@andreaswittig](https://discourse.nodered.org/u/andreaswittig)\
**Replies:** 0\
**Last updated:** [7 November 2019 07:29 UTC](https://discourse.nodered.org/t/deploy-to-aws-with-high-availability/17621 "2019-11-07T07:29:51Z")

</div>

Hi, after reading through the documentation I’m a little bit confused about how to deploy Node-RED to AWS with high availability. https://nodered.org/docs/getting-started/aws mentions, that EFS is requires for an HA de…

---

## [Changing Column Separator dynamically for CSV node](https://discourse.nodered.org/t/changing-column-separator-dynamically-for-csv-node/17472)

<div class="topic-metadata">

**Author:** [@rueben](https://discourse.nodered.org/u/rueben)\
**Replies:** 9\
**Last updated:** [7 November 2019 03:25 UTC](https://discourse.nodered.org/t/changing-column-separator-dynamically-for-csv-node/17472 "2019-11-07T03:25:28Z")

</div>

Hi, I would like to know if it is possible to set the Separator value to be dynamic (or link it to a global environment variable)? Example, I want the first 2 columns separator to be (lets say) 5 spaces, and the separa…

---

## [Help using payload from previous node - Home assistant nodes](https://discourse.nodered.org/t/help-using-payload-from-previous-node-home-assistant-nodes/17129)

<div class="topic-metadata">

**Author:** [@Ulrar](https://discourse.nodered.org/u/Ulrar)\
**Replies:** 4\
**Last updated:** [6 November 2019 21:09 UTC](https://discourse.nodered.org/t/help-using-payload-from-previous-node-home-assistant-nodes/17129 "2019-11-06T21:09:20Z")

</div>

Hi, I just started trying node red out with home assistant, but I don't really understand how to create flows. I'm trying to setup a flow to change the color of a light bulb depending on it's current color (to cycle th…

---

## [How to display and control data from Node js webserver to Node-RED?](https://discourse.nodered.org/t/how-to-display-and-control-data-from-node-js-webserver-to-node-red/17276)

<div class="topic-metadata">

**Author:** [@emerichrv](https://discourse.nodered.org/u/emerichrv)\
**Replies:** 6\
**Last updated:** [6 November 2019 20:22 UTC](https://discourse.nodered.org/t/how-to-display-and-control-data-from-node-js-webserver-to-node-red/17276 "2019-11-06T20:22:28Z")

</div>

Hello, i've make a node js webserver but I don't know how i can display MQTT data from node-RED on this server. The node-RED dashboard doesn't interrest me because I wan't to totally manage my html, css and js files. Fu…

---

## [Error while sending data to influxDB](https://discourse.nodered.org/t/error-while-sending-data-to-influxdb/17598)

<div class="topic-metadata">

**Author:** [@YLM](https://discourse.nodered.org/u/YLM)\
**Replies:** 5\
**Last updated:** [6 November 2019 17:37 UTC](https://discourse.nodered.org/t/error-while-sending-data-to-influxdb/17598 "2019-11-06T17:37:22Z")

</div>

Hi, Since I am new to node red and influxDB, I am trying to manipulate those 2 tech in order to be better with my own project. I have created a simple flow which generate a random number (quiet simple), now that I have…

---

## [60 Modbus reads to mqtt](https://discourse.nodered.org/t/60-modbus-reads-to-mqtt/17523)

<div class="topic-metadata">

**Author:** [@claib](https://discourse.nodered.org/u/claib)\
**Replies:** 8\
**Last updated:** [6 November 2019 15:00 UTC](https://discourse.nodered.org/t/60-modbus-reads-to-mqtt/17523 "2019-11-06T15:00:30Z")

</div>

Hi everybody i'm reading out about 60 Modbus registers an sending them with mqtt :slight\_smile: Is there a smarter way to do that ? as you can see, the only thing that changes is the modbus adress of the register to…

---

## [Context not updating on localfilesystem](https://discourse.nodered.org/t/context-not-updating-on-localfilesystem/17586)

<div class="topic-metadata">

**Author:** [@rholmesa](https://discourse.nodered.org/u/rholmesa)\
**Replies:** 2\
**Last updated:** [6 November 2019 14:03 UTC](https://discourse.nodered.org/t/context-not-updating-on-localfilesystem/17586 "2019-11-06T14:03:42Z")

</div>

I hope as ever that I have not done something stupid but here goes ... Raspberry pi running node-red 0.20.7. I have set up Global Context storage to 'localfilesystem' contextStorage: { default: { modu…

---

## [Time bounded Condition on Node-Red](https://discourse.nodered.org/t/time-bounded-condition-on-node-red/17475)

<div class="topic-metadata">

**Author:** [@primat11](https://discourse.nodered.org/u/primat11)\
**Replies:** 14\
**Last updated:** [6 November 2019 13:57 UTC](https://discourse.nodered.org/t/time-bounded-condition-on-node-red/17475 "2019-11-06T13:57:24Z")

</div>

Hello everyone, I want to create a time bounded 'if' condition for my RFID system that I created on Node-Red. My task is to provide a condition: "If detected RFID TAG is not read once again in 30 seconds, give a message…

---

## [Trigger inject node from function node](https://discourse.nodered.org/t/trigger-inject-node-from-function-node/17592)

<div class="topic-metadata">

**Author:** [@sakshanjsr](https://discourse.nodered.org/u/sakshanjsr)\
**Replies:** 3\
**Last updated:** [6 November 2019 13:51 UTC](https://discourse.nodered.org/t/trigger-inject-node-from-function-node/17592 "2019-11-06T13:51:49Z")

</div>

Please let me know if we can trigger an inject node from a function node. I tried , but not getting it. Helpful if anyone knows how we can do it.

---

## [Blynk set property is not working](https://discourse.nodered.org/t/blynk-set-property-is-not-working/17578)

<div class="topic-metadata">

**Author:** [@pranavthakkar](https://discourse.nodered.org/u/pranavthakkar)\
**Replies:** 3\
**Last updated:** [6 November 2019 13:47 UTC](https://discourse.nodered.org/t/blynk-set-property-is-not-working/17578 "2019-11-06T13:47:45Z")

</div>

I have a button which sends 0 and 1 for off and on, and i want another button to change its property on label or off label . but it is not working, also there is problem in button set property which shows on label tw…

---

## [Can't remove device to my mqtt broker](https://discourse.nodered.org/t/cant-remove-device-to-my-mqtt-broker/17574)

<div class="topic-metadata">

**Author:** [@1522](https://discourse.nodered.org/u/1522)\
**Replies:** 15\
**Last updated:** [6 November 2019 12:28 UTC](https://discourse.nodered.org/t/cant-remove-device-to-my-mqtt-broker/17574 "2019-11-06T12:28:50Z")

</div>

Hello there, i have a doubt. My question is suppose When i connect 10 device with Mqtt broker, in my server it shows that 10 device are connected. Now suppose i am done with 3 devices and i remove it after 20-30 second i…

---

## [How to construct SNMP Varbinds with payload values](https://discourse.nodered.org/t/how-to-construct-snmp-varbinds-with-payload-values/17413)

<div class="topic-metadata">

**Author:** [@heyhogan](https://discourse.nodered.org/u/heyhogan)\
**Replies:** 11\
**Last updated:** [6 November 2019 10:57 UTC](https://discourse.nodered.org/t/how-to-construct-snmp-varbinds-with-payload-values/17413 "2019-11-06T10:57:46Z")

</div>

I am using the SNMP SET node and want to craft a Varbinds with items from msg.payload. When I build a valid msg.varbinds via a function node and pass it in, I get "Unexpected end of JSON input". The same data pasted di…

---

## [Programatically adding element in node-red-contrib-ui-svg](https://discourse.nodered.org/t/programatically-adding-element-in-node-red-contrib-ui-svg/17554)

<div class="topic-metadata">

**Author:** [@mikeyd0407](https://discourse.nodered.org/u/mikeyd0407)\
**Replies:** 5\
**Last updated:** [6 November 2019 09:16 UTC](https://discourse.nodered.org/t/programatically-adding-element-in-node-red-contrib-ui-svg/17554 "2019-11-06T09:16:52Z")

</div>

Hi All I want to make an injection node that modifys the inner html/SVG code within my node-red-contrib-ui-svg element to add an extra shape to my SVG drawing when triggered Can any one provide me with an example code…

---

## [Zerotier, cross platform virtual networking layer (including rpis)](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309)

<div class="topic-metadata">

**Author:** [@nodepi](https://discourse.nodered.org/u/nodepi)\
**Replies:** 11\
**Last updated:** [6 November 2019 08:52 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309 "2019-11-06T08:52:42Z")

</div>

https://zerotier.com/, I have been testing this out for about a week now, even though it has been around for years, Last week I found it here https://www.youtube.com/watch?v=Bl\_Vau8wtgc. I am extremely happy with it, ce…

---

## [GCP App Engine setup Help Needed](https://discourse.nodered.org/t/gcp-app-engine-setup-help-needed/1916)

<div class="topic-metadata">

**Author:** [@dib](https://discourse.nodered.org/u/dib)\
**Replies:** 1\
**Last updated:** [6 November 2019 07:23 UTC](https://discourse.nodered.org/t/gcp-app-engine-setup-help-needed/1916 "2019-11-06T07:23:18Z")

</div>

Greetings! Im not an experienced Google Cloud Platform user and because of that I have issues to run NodeRed using App Engine. Maybe somebody can share simple steps on how to deploy it with custom login and password for …

---

## [Javascript in general: Dynamic Object Literals](https://discourse.nodered.org/t/javascript-in-general-dynamic-object-literals/17563)

<div class="topic-metadata">

**Author:** [@bohtho](https://discourse.nodered.org/u/bohtho)\
**Replies:** 6\
**Last updated:** [6 November 2019 07:03 UTC](https://discourse.nodered.org/t/javascript-in-general-dynamic-object-literals/17563 "2019-11-06T07:03:07Z")

</div>

I'm way above my head here in javascript but why does this not put neither the "tidsPunkt" nor the msg.payload into rommet.profil\[dag\] ? if (rommet.hasOwnProperty("profil") === false) { rommet.profil = {}; …

---

## [CoAP Request Node - Where to input the POST payload?](https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520)

<div class="topic-metadata">

**Author:** [@ahmed.ms](https://discourse.nodered.org/u/ahmed.ms)\
**Replies:** 3\
**Last updated:** [6 November 2019 02:33 UTC](https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520 "2019-11-06T02:33:19Z")

</div>

Where is the entry for the POST or PUT payloads of the CoAP Request node?

---

## [Node-red-contrib-soap 401 - Unauthorized: Access](https://discourse.nodered.org/t/node-red-contrib-soap-401-unauthorized-access/17543)

<div class="topic-metadata">

**Author:** [@trinitry](https://discourse.nodered.org/u/trinitry)\
**Replies:** 3\
**Last updated:** [5 November 2019 15:25 UTC](https://discourse.nodered.org/t/node-red-contrib-soap-401-unauthorized-access/17543 "2019-11-05T15:25:10Z")

</div>

Dear All, i am trying to get a response from a web Service using the node-red-contrib-soap node. I succesfully got a response from the service using the SoapUI 5.5. tool. I set up the bellow flow \[{"id":"60927358.4d0a…

---

## [menu using node-red with unfluxdb to make a dashboard](https://discourse.nodered.org/t/menu-using-node-red-with-unfluxdb-to-make-a-dashboard/17548)

<div class="topic-metadata">

**Author:** [@Gustavo\_lema](https://discourse.nodered.org/u/Gustavo_lema)\
**Replies:** 1\
**Last updated:** [5 November 2019 15:19 UTC](https://discourse.nodered.org/t/menu-using-node-red-with-unfluxdb-to-make-a-dashboard/17548 "2019-11-05T15:19:57Z")

</div>

good morning everyone could help me with this code I am capturing data from a database called influexdb but I am trying to put in a database they shared this code could you help me make each line I am new to this and I w…

---

## [Modify Node files for using Boolean input instead of a Click button](https://discourse.nodered.org/t/modify-node-files-for-using-boolean-input-instead-of-a-click-button/17526)

<div class="topic-metadata">

**Author:** [@JeJeBerNode](https://discourse.nodered.org/u/JeJeBerNode)\
**Replies:** 3\
**Last updated:** [5 November 2019 15:10 UTC](https://discourse.nodered.org/t/modify-node-files-for-using-boolean-input-instead-of-a-click-button/17526 "2019-11-05T15:10:10Z")

</div>

Hi, I'm working on a Modbus project and i want to take a picture with my webcam by using a bit from an Modbus bit. I'm using a camera node but this one is using a Button as input. I want to modify the node code to acti…

---

## [Modify an array](https://discourse.nodered.org/t/modify-an-array/17533)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 3\
**Last updated:** [5 November 2019 13:39 UTC](https://discourse.nodered.org/t/modify-an-array/17533 "2019-11-05T13:39:00Z")

</div>

I need a bit of help, I have the following, I want check how many arrays there are, in this case \[4\] delete the last one ie number 3 , then I want to add 2 more arrays to the bottom, so next time around there will be \[5\]…

---

## [Send Raspi Ip address to Telegram](https://discourse.nodered.org/t/send-raspi-ip-address-to-telegram/17482)

<div class="topic-metadata">

**Author:** [@maku12](https://discourse.nodered.org/u/maku12)\
**Replies:** 6\
**Last updated:** [5 November 2019 09:38 UTC](https://discourse.nodered.org/t/send-raspi-ip-address-to-telegram/17482 "2019-11-05T09:38:02Z")

</div>

Hi, i want to send the current ip address as a message to telegram. Attached the flow. I don't know how to get the msg.payload from the exec node to the telegram node. flows(2).json (449 Bytes) Many Thanks for helpi…

---

## [Node red is not giving http response](https://discourse.nodered.org/t/node-red-is-not-giving-http-response/17485)

<div class="topic-metadata">

**Author:** [@akhtar321h](https://discourse.nodered.org/u/akhtar321h)\
**Replies:** 3\
**Last updated:** [5 November 2019 07:54 UTC](https://discourse.nodered.org/t/node-red-is-not-giving-http-response/17485 "2019-11-05T07:54:05Z")

</div>

Below is the flow that I am using, the rest api will internally call the lwm2m service and returns response. I wanted to give the lwm2m service reponse as http reponse. \[{"id":"7ef85b8a.eecf74","type":"lwm2m client in",…

---

## [Nodes for Hue switch not responsive](https://discourse.nodered.org/t/nodes-for-hue-switch-not-responsive/17302)

<div class="topic-metadata">

**Author:** [@Antil](https://discourse.nodered.org/u/Antil)\
**Replies:** 16\
**Last updated:** [5 November 2019 06:55 UTC](https://discourse.nodered.org/t/nodes-for-hue-switch-not-responsive/17302 "2019-11-05T06:55:25Z")

</div>

I am using the Hue switch node from node-red-contrib-huemagic wired straight into a debug node to capture responses. At most the node will send responses with a significant delay if any. I have configured the switch on t…

---

## [Cant send message from xmpp node](https://discourse.nodered.org/t/cant-send-message-from-xmpp-node/17515)

<div class="topic-metadata">

**Author:** [@mdiehl](https://discourse.nodered.org/u/mdiehl)\
**Replies:** 0\
**Last updated:** [5 November 2019 04:50 UTC](https://discourse.nodered.org/t/cant-send-message-from-xmpp-node/17515 "2019-11-05T04:50:17Z")

</div>

Hi all. I'm trying to send a message from node-red to a jabber server. I get the account logged in and it can receive messages from my chat client. However, when I try to inject a message to the jabber output, it does…

---

## [How to convert these ;'](https://discourse.nodered.org/t/how-to-convert-these/17488)

<div class="topic-metadata">

**Author:** [@redlop](https://discourse.nodered.org/u/redlop)\
**Replies:** 2\
**Last updated:** [4 November 2019 20:20 UTC](https://discourse.nodered.org/t/how-to-convert-these/17488 "2019-11-04T20:20:13Z")

</div>

Hi, how do i extract the message payload only? I'm using the merge node currently and this is what im getting. im thinking of using the function node but i dont know how to code it to extract the value.

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

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