# General

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

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

**Page:** 632

---

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

<div class="topic-metadata">

**Author:** [@theo481](https://discourse.nodered.org/u/theo481)\
**Replies:** 4\
**Last updated:** [28 December 2020 23:25 UTC](https://discourse.nodered.org/t/node-red-contribution/38099 "2020-12-28T23:25:06Z")

</div>

Hey everyone, and merry Christmas to all. I am kinda new here and am looking for some help and guidance. My aim is to create a new node, to interface a clickboard sensor to a BeagleBone Black. I have already written a…

---

## [Json object: convert string to number](https://discourse.nodered.org/t/json-object-convert-string-to-number/38166)

<div class="topic-metadata">

**Author:** [@ueffchen](https://discourse.nodered.org/u/ueffchen)\
**Replies:** 2\
**Last updated:** [28 December 2020 22:22 UTC](https://discourse.nodered.org/t/json-object-convert-string-to-number/38166 "2020-12-28T22:22:49Z")

</div>

Debug node payload.vars.1.value outputs string "16" I would like to convert that into a number, but if I use a function with msg.payload = new Number(msg.payload.vars.1.value); return msg; it gives me an error. An…

---

## [SSH certificates not working anymore](https://discourse.nodered.org/t/ssh-certificates-not-working-anymore/9753)

<div class="topic-metadata">

**Author:** [@i8beef](https://discourse.nodered.org/u/i8beef)\
**Replies:** 14\
**Last updated:** [28 December 2020 21:44 UTC](https://discourse.nodered.org/t/ssh-certificates-not-working-anymore/9753 "2020-12-28T21:44:06Z")

</div>

Upgraded my Docker image to the 0.20.4 image, and suddenly my known\_host mount doesn't seem to inject the Git SSH key into the container anymore. Did something change? Command below: docker run --restart=always --name …

---

## [FILO database to support no network scenarios](https://discourse.nodered.org/t/filo-database-to-support-no-network-scenarios/35757)

<div class="topic-metadata">

**Author:** [@bioshock2k](https://discourse.nodered.org/u/bioshock2k)\
**Replies:** 29\
**Last updated:** [28 December 2020 21:39 UTC](https://discourse.nodered.org/t/filo-database-to-support-no-network-scenarios/35757 "2020-12-28T21:39:29Z")

</div>

Hi community, I need a DB that when the Internet connection goes out, the flow automatically stores information in the DB. When the internet recovers the flow should dump the information in a First in Last out order. …

---

## [How to set bits in a variable](https://discourse.nodered.org/t/how-to-set-bits-in-a-variable/38156)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [28 December 2020 21:32 UTC](https://discourse.nodered.org/t/how-to-set-bits-in-a-variable/38156 "2020-12-28T21:32:55Z")

</div>

I want to know how to un/set bits in a message/variable. What I find is not clear for me to understand.

---

## [Trigger MQTT update?](https://discourse.nodered.org/t/trigger-mqtt-update/38154)

<div class="topic-metadata">

**Author:** [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Replies:** 6\
**Last updated:** [28 December 2020 21:28 UTC](https://discourse.nodered.org/t/trigger-mqtt-update/38154 "2020-12-28T21:28:30Z")

</div>

Hi, in case of this thread: https://discourse.nodered.org/t/function-question/36572/8 i have the problem, that my energy plug update his "sensor" very slowly. While in the webgui i can see live changed of volt and watt…

---

## [Change node, modify message property](https://discourse.nodered.org/t/change-node-modify-message-property/38127)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [28 December 2020 20:22 UTC](https://discourse.nodered.org/t/change-node-modify-message-property/38127 "2020-12-28T20:22:08Z")

</div>

I know I have asked before, but can't remember the exact wording. Only to save using nodes, I want to change a message property in a change node. So what I want to do: I am getting msg.delay and multiply it by 1000. I…

---

## [Extract the same mqtt topic value from 20 devices](https://discourse.nodered.org/t/extract-the-same-mqtt-topic-value-from-20-devices/38131)

<div class="topic-metadata">

**Author:** [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Replies:** 9\
**Last updated:** [28 December 2020 19:16 UTC](https://discourse.nodered.org/t/extract-the-same-mqtt-topic-value-from-20-devices/38131 "2020-12-28T19:16:10Z")

</div>

Hi All I have 20 units and i am trying to find a "better" way to sum all the payload values of the topics instead of having 20 mqtt in nodes. Here is an example of one topic: topic: "xyz/1/kW" payload: 25 qos: 2 re…

---

## [Socketio-config missing, connect to websocket with rooms](https://discourse.nodered.org/t/socketio-config-missing-connect-to-websocket-with-rooms/38139)

<div class="topic-metadata">

**Author:** [@christianskov](https://discourse.nodered.org/u/christianskov)\
**Replies:** 2\
**Last updated:** [28 December 2020 16:36 UTC](https://discourse.nodered.org/t/socketio-config-missing-connect-to-websocket-with-rooms/38139 "2020-12-28T16:36:54Z")

</div>

Merry Christmas everyone! I’m having trouble with the module “node-red-contrib-socketio”. I can’t seem to find the “socketio-config” module? What could I be missing? I tried installing from within node-red and install…

---

## [16bit signed temperature from buffer, Dynet protocol](https://discourse.nodered.org/t/16bit-signed-temperature-from-buffer-dynet-protocol/38149)

<div class="topic-metadata">

**Author:** [@natm](https://discourse.nodered.org/u/natm)\
**Replies:** 2\
**Last updated:** [28 December 2020 19:13 UTC](https://discourse.nodered.org/t/16bit-signed-temperature-from-buffer-dynet-protocol/38149 "2020-12-28T19:13:04Z")

</div>

Hello all, attempting to create a dashboard of temperatures in Celsius from Dynalite light switches. These are on an RS485 throughout the house, I can see the temperature regular broadcasts in the Windows app. I've conn…

---

## [Question regarding subflow](https://discourse.nodered.org/t/question-regarding-subflow/38118)

<div class="topic-metadata">

**Author:** [@kanke](https://discourse.nodered.org/u/kanke)\
**Replies:** 4\
**Last updated:** [28 December 2020 17:42 UTC](https://discourse.nodered.org/t/question-regarding-subflow/38118 "2020-12-28T17:42:36Z")

</div>

I made a subflow that can be re-used. Below is what it shows when the mouse hovers over it. How can I put some help text to replace "no information available"? I tried to put in the 'edit property' -\> 'description' but n…

---

## [Why the object has double brackets after get back from a flow](https://discourse.nodered.org/t/why-the-object-has-double-brackets-after-get-back-from-a-flow/38067)

<div class="topic-metadata">

**Author:** [@chc69](https://discourse.nodered.org/u/chc69)\
**Replies:** 9\
**Last updated:** [28 December 2020 17:10 UTC](https://discourse.nodered.org/t/why-the-object-has-double-brackets-after-get-back-from-a-flow/38067 "2020-12-28T17:10:37Z")

</div>

Hi I am currently develop a flow. The idea is a function node can aggregate multiple msg.payload in a pre-define JSON format. But, I am facing a strange problem, not sure why. Could you help me on this? Below is my cod…

---

## [How do I access Node Red from mobile phone?](https://discourse.nodered.org/t/how-do-i-access-node-red-from-mobile-phone/38088)

<div class="topic-metadata">

**Author:** [@szewen0101](https://discourse.nodered.org/u/szewen0101)\
**Replies:** 3\
**Last updated:** [28 December 2020 16:49 UTC](https://discourse.nodered.org/t/how-do-i-access-node-red-from-mobile-phone/38088 "2020-12-28T16:49:56Z")

</div>

Hi! I want to access Node Red's dashboard from my phone. Note that I am using different WiFi. It is quite easy to access the dashboard using the same WiFi. How should I connect my mobile phone/ computer on other WiFi to…

---

## [Error while Installing NPM npm i node-red-contrib-tfjs-coco-ssd](https://discourse.nodered.org/t/error-while-installing-npm-npm-i-node-red-contrib-tfjs-coco-ssd/38126)

<div class="topic-metadata">

**Author:** [@Napoleon](https://discourse.nodered.org/u/Napoleon)\
**Replies:** 2\
**Last updated:** [28 December 2020 15:02 UTC](https://discourse.nodered.org/t/error-while-installing-npm-npm-i-node-red-contrib-tfjs-coco-ssd/38126 "2020-12-28T15:02:31Z")

</div>

Hello all, I hope someone can help me. I would like to install the object recognition node-red-contrib-tfjs-coco-ssd on my RaspberryMatic. Unfortunately it does not install correctly. During the installation I get the …

---

## [Json Array Delete & Change](https://discourse.nodered.org/t/json-array-delete-change/38136)

<div class="topic-metadata">

**Author:** [@amii628](https://discourse.nodered.org/u/amii628)\
**Replies:** 8\
**Last updated:** [28 December 2020 14:59 UTC](https://discourse.nodered.org/t/json-array-delete-change/38136 "2020-12-28T14:59:55Z")

</div>

Hi All, I am reading data from a BMS System of a site via web services. The response received from the system is in xml which i am converting to json using xml node. The converted json contains an array of 612 objects w…

---

## [How to decode 16 bit unsigned integer](https://discourse.nodered.org/t/how-to-decode-16-bit-unsigned-integer/38114)

<div class="topic-metadata">

**Author:** [@oliver.es](https://discourse.nodered.org/u/oliver.es)\
**Replies:** 20\
**Last updated:** [28 December 2020 14:56 UTC](https://discourse.nodered.org/t/how-to-decode-16-bit-unsigned-integer/38114 "2020-12-28T14:56:23Z")

</div>

Hi, I found a solution in this post by @Colin to decode 16 bit SIGNED integer, but I have in Modbus register voltage values as 16 bit UNSIGNED integer. If this msg.payload\[22\] = (msg.payload\[22\] \<\< 16) \>\> 16 works to 16…

---

## [Max number of elements in array](https://discourse.nodered.org/t/max-number-of-elements-in-array/38117)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 2\
**Last updated:** [28 December 2020 06:52 UTC](https://discourse.nodered.org/t/max-number-of-elements-in-array/38117 "2020-12-28T06:52:28Z")

</div>

I have a sensor (Shelly EM) which returns various readings over MQTT about power usage every 30 seconds, and I'm sending this to InfluxDB through Node-RED. I have Grafana hooked up and I'm able to visualise the data nice…

---

## [Multiple mqtt data to single id](https://discourse.nodered.org/t/multiple-mqtt-data-to-single-id/38062)

<div class="topic-metadata">

**Author:** [@lindberg87](https://discourse.nodered.org/u/lindberg87)\
**Replies:** 18\
**Last updated:** [28 December 2020 00:01 UTC](https://discourse.nodered.org/t/multiple-mqtt-data-to-single-id/38062 "2020-12-28T00:01:34Z")

</div>

Hey I need your help, I´m new to node red. How can I filter/seperate multiple mqtt input data to single ids ? I tried with this code, but it didn't work as I want it to do: (function node) paths = msg.topic.split("/…

---

## [Log into a site and extract data without using nbrowser](https://discourse.nodered.org/t/log-into-a-site-and-extract-data-without-using-nbrowser/38108)

<div class="topic-metadata">

**Author:** [@s.newave](https://discourse.nodered.org/u/s.newave)\
**Replies:** 2\
**Last updated:** [27 December 2020 22:50 UTC](https://discourse.nodered.org/t/log-into-a-site-and-extract-data-without-using-nbrowser/38108 "2020-12-27T22:50:34Z")

</div>

Hi, I'm hoping to create a flow that visits this url (Amazon Sign In) and extracts one piece of data from it. To do this i'd need a flow to be able to sign in and handle any redirects back to the resulting page. After s…

---

## [Forum - Terms of Service](https://discourse.nodered.org/t/forum-terms-of-service/38033)

<div class="topic-metadata">

**Author:** [@woodlandsolitude](https://discourse.nodered.org/u/woodlandsolitude)\
**Replies:** 5\
**Last updated:** [27 December 2020 21:05 UTC](https://discourse.nodered.org/t/forum-terms-of-service/38033 "2020-12-27T21:05:03Z")

</div>

I don't know where to mention it or if anybody ever read it but, something in the Terms of Service seems off... ....The Website is owned and operated by company\_full\_name (“company\_short\_name”)....

---

## [Question for node virtual-smart-home](https://discourse.nodered.org/t/question-for-node-virtual-smart-home/38053)

<div class="topic-metadata">

**Author:** [@kanke](https://discourse.nodered.org/u/kanke)\
**Replies:** 2\
**Last updated:** [27 December 2020 17:43 UTC](https://discourse.nodered.org/t/question-for-node-virtual-smart-home/38053 "2020-12-27T17:43:39Z")

</div>

Just found this great node: I am able to set it up and create virtual devices. If I understood correctly, I need to setup service to do the actual action (turn on/off, set color etc) based on the output of this node, r…

---

## [Context Variables Problem](https://discourse.nodered.org/t/context-variables-problem/37878)

<div class="topic-metadata">

**Author:** [@LucaCarminati](https://discourse.nodered.org/u/LucaCarminati)\
**Replies:** 8\
**Last updated:** [27 December 2020 17:11 UTC](https://discourse.nodered.org/t/context-variables-problem/37878 "2020-12-27T17:11:58Z")

</div>

Hi to all, I have some problem with the node red context var. I am trying to develope a function that send continuosly the msg.payload (that arrive from a form table) only when a context flow var became equals to 10. …

---

## [Exec node & Python](https://discourse.nodered.org/t/exec-node-python/38005)

<div class="topic-metadata">

**Author:** [@Stefananderssonster](https://discourse.nodered.org/u/Stefananderssonster)\
**Replies:** 5\
**Last updated:** [27 December 2020 15:23 UTC](https://discourse.nodered.org/t/exec-node-python/38005 "2020-12-27T15:23:42Z")

</div>

Hello, I'm trying to run a python script with the exec node on my RPI4. Running the script from the terminal with: python3 /home/pi/Documents/webscarp.py works just fine but using the same command line in the exec node g…

---

## [Help with backup location of flows](https://discourse.nodered.org/t/help-with-backup-location-of-flows/37601)

<div class="topic-metadata">

**Author:** [@finch6](https://discourse.nodered.org/u/finch6)\
**Replies:** 11\
**Last updated:** [27 December 2020 15:21 UTC](https://discourse.nodered.org/t/help-with-backup-location-of-flows/37601 "2020-12-27T15:21:02Z")

</div>

Hi all, I'm a complete noob with Node Red, so please go easy - I have Node Red running on a RasPi 3. I had a few flows on my Node Red when I decided to upgrade. Unfortunately the upgrade "hung" and I had to restart it…

---

## [Parse message - how to cut a header](https://discourse.nodered.org/t/parse-message-how-to-cut-a-header/38017)

<div class="topic-metadata">

**Author:** [@ueffchen](https://discourse.nodered.org/u/ueffchen)\
**Replies:** 7\
**Last updated:** [27 December 2020 14:55 UTC](https://discourse.nodered.org/t/parse-message-how-to-cut-a-header/38017 "2020-12-27T14:55:27Z")

</div>

I am receiving a message with a http-in node, according to Nuki the callback function is supposed to deliver a JSON list. I want to extract from the list some values, but I am getting some header information in addition …

---

## [Connect OVH MySQL database](https://discourse.nodered.org/t/connect-ovh-mysql-database/38084)

<div class="topic-metadata">

**Author:** [@Renaud](https://discourse.nodered.org/u/Renaud)\
**Replies:** 1\
**Last updated:** [27 December 2020 11:00 UTC](https://discourse.nodered.org/t/connect-ovh-mysql-database/38084 "2020-12-27T11:00:32Z")

</div>

Hi, i would like to connect my flow to a OVH Mysql but when i use "node-red-node-mysql" i don't have the port number in my OVH interface. thx for your help. Regards

---

## [If statement with strings, time](https://discourse.nodered.org/t/if-statement-with-strings-time/38036)

<div class="topic-metadata">

**Author:** [@slieber007](https://discourse.nodered.org/u/slieber007)\
**Replies:** 5\
**Last updated:** [27 December 2020 09:26 UTC](https://discourse.nodered.org/t/if-statement-with-strings-time/38036 "2020-12-27T09:26:00Z")

</div>

Hello, first of all... i have 0.1% knowledge of node red. for school I have to make an automated system that sends every morning on the time when the sun comes up an email trough IFTTT of the temperature from our neares…

---

## [Problem saving/restoring msg in subflow - what am I doing wrong?](https://discourse.nodered.org/t/problem-saving-restoring-msg-in-subflow-what-am-i-doing-wrong/38059)

<div class="topic-metadata">

**Author:** [@blunoz](https://discourse.nodered.org/u/blunoz)\
**Replies:** 2\
**Last updated:** [27 December 2020 01:31 UTC](https://discourse.nodered.org/t/problem-saving-restoring-msg-in-subflow-what-am-i-doing-wrong/38059 "2020-12-27T01:31:58Z")

</div>

Hey all, I've got a subflow that does a database query to set some global context that I want to call in the middle of a another flow but I don't want the original msg object to get changed in the subflow. Basically I …

---

## [Split strings (15 lines ASCII, max 20 char each) and store some of the lines in (INFLUX-) DB](https://discourse.nodered.org/t/split-strings-15-lines-ascii-max-20-char-each-and-store-some-of-the-lines-in-influx-db/36507)

<div class="topic-metadata">

**Author:** [@George16](https://discourse.nodered.org/u/George16)\
**Replies:** 13\
**Last updated:** [27 December 2020 00:38 UTC](https://discourse.nodered.org/t/split-strings-15-lines-ascii-max-20-char-each-and-store-some-of-the-lines-in-influx-db/36507 "2020-12-27T00:38:39Z")

</div>

Gents, I could need a helpful hand in my dashboard-project! The content below shows, what the flow is getting in as strings from the TCP-node. It's a basically a info-package which is always triggered by multiple senso…

---

## [How to transfer chatId to the output node](https://discourse.nodered.org/t/how-to-transfer-chatid-to-the-output-node/38054)

<div class="topic-metadata">

**Author:** [@ulasiuk](https://discourse.nodered.org/u/ulasiuk)\
**Replies:** 9\
**Last updated:** [26 December 2020 22:34 UTC](https://discourse.nodered.org/t/how-to-transfer-chatid-to-the-output-node/38054 "2020-12-26T22:34:21Z")

</div>

I take a photo on request. If you explicitly specify my chatid in the output node, then the photo comes fine. But I want everyone in my family to be able to request. They have different chatId. how to make the chatid stu…

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

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