# General

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

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

**Page:** 682

---

## [TCP-Handhake with JVC](https://discourse.nodered.org/t/tcp-handhake-with-jvc/33127)

<div class="topic-metadata">

**Author:** [@rustemg](https://discourse.nodered.org/u/rustemg)\
**Replies:** 5\
**Last updated:** [20 September 2020 23:32 UTC](https://discourse.nodered.org/t/tcp-handhake-with-jvc/33127 "2020-09-20T23:32:57Z")

</div>

Hello! I have projector D-Ila. I use a node "TCP request" (as here TCP/IP 3 way handshake) I'm trying to set up a connection. I manage to send the first command, but the connection remains open. This means that I ca…

---

## [Concatenate Strings from a Payload](https://discourse.nodered.org/t/concatenate-strings-from-a-payload/32895)

<div class="topic-metadata">

**Author:** [@aieseres](https://discourse.nodered.org/u/aieseres)\
**Replies:** 13\
**Last updated:** [20 September 2020 19:40 UTC](https://discourse.nodered.org/t/concatenate-strings-from-a-payload/32895 "2020-09-20T19:40:21Z")

</div>

I'm working on a project where I need to send images from an ESP32-CAM to Node-Red via MQTT. As the image can be very heavy, I chose to split the string (Base64) into chunks and reassemble it in Node-Red. To reassemble I…

---

## [MQTT input to MySQL](https://discourse.nodered.org/t/mqtt-input-to-mysql/33118)

<div class="topic-metadata">

**Author:** [@topche](https://discourse.nodered.org/u/topche)\
**Replies:** 4\
**Last updated:** [20 September 2020 19:05 UTC](https://discourse.nodered.org/t/mqtt-input-to-mysql/33118 "2020-09-20T19:05:59Z")

</div>

I just want to clarify, that i'm completely new in Node Red. Hello, i have my project with NodeMCU+BME280+DS18B20 and tasmota fimware installed nad MQTT brocker. So I have this input on my MQTT comming: {"Time":"2020…

---

## [Notification when Aqara binary senors went offline](https://discourse.nodered.org/t/notification-when-aqara-binary-senors-went-offline/33081)

<div class="topic-metadata">

**Author:** [@terminus](https://discourse.nodered.org/u/terminus)\
**Replies:** 13\
**Last updated:** [20 September 2020 16:53 UTC](https://discourse.nodered.org/t/notification-when-aqara-binary-senors-went-offline/33081 "2020-09-20T16:53:08Z")

</div>

Hey guys! First of all I have to confess, I'm a noob :slight\_smile: I get things working most of the time but if it comes to coding it's over for me :slight\_smile: What I'm trying to do is a "watchdog" for my Zigbee Se…

---

## [If-set-else-set node](https://discourse.nodered.org/t/if-set-else-set-node/33120)

<div class="topic-metadata">

**Author:** [@ludekvodicka](https://discourse.nodered.org/u/ludekvodicka)\
**Replies:** 7\
**Last updated:** [20 September 2020 16:45 UTC](https://discourse.nodered.org/t/if-set-else-set-node/33120 "2020-09-20T16:45:05Z")

</div>

Hello there, sorry for such easy question, probably I missed something, but I can't find a node for following thing. I have system (Loxone) which feeds by flow by some values, for example "0" and "1" as a state of the …

---

## [How to get the bool value of a boolean node](https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116)

<div class="topic-metadata">

**Author:** [@mad\_dad](https://discourse.nodered.org/u/mad_dad)\
**Replies:** 2\
**Last updated:** [20 September 2020 15:41 UTC](https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116 "2020-09-20T15:41:53Z")

</div>

I'm using an OR node, configured as XOR, from the node-red-contrib-bool-gate palette. It's comparing the msg.payload.value of 2 inputs, and the output of the XOR node only shows the input states in debug. Right under t…

---

## [\[newbie\] changing a date time format](https://discourse.nodered.org/t/newbie-changing-a-date-time-format/33107)

<div class="topic-metadata">

**Author:** [@hugocoolens](https://discourse.nodered.org/u/hugocoolens)\
**Replies:** 6\
**Last updated:** [20 September 2020 15:19 UTC](https://discourse.nodered.org/t/newbie-changing-a-date-time-format/33107 "2020-09-20T15:19:54Z")

</div>

I made a flow which reads out the temperature from a sensor and writes the temperature together with a timestamp in a file. I'm struggling however with the time-date format: Currently I get data in a tab separated form…

---

## [Mindconnect/MQTT](https://discourse.nodered.org/t/mindconnect-mqtt/33078)

<div class="topic-metadata">

**Author:** [@Tom\_Klein](https://discourse.nodered.org/u/Tom_Klein)\
**Replies:** 4\
**Last updated:** [20 September 2020 11:30 UTC](https://discourse.nodered.org/t/mindconnect-mqtt/33078 "2020-09-20T11:30:37Z")

</div>

Hello everybody, Since I am a beginner in Node-Red and have not yet fully understood everything, I have an important question for you: I'm getting data from a sensor via MQTT, which is already working. These are sent a…

---

## [Need some help scraping a website](https://discourse.nodered.org/t/need-some-help-scraping-a-website/33084)

<div class="topic-metadata">

**Author:** [@mitchell](https://discourse.nodered.org/u/mitchell)\
**Replies:** 3\
**Last updated:** [20 September 2020 08:53 UTC](https://discourse.nodered.org/t/need-some-help-scraping-a-website/33084 "2020-09-20T08:53:02Z")

</div>

I managed to scrap a simple website as test and got the correct data back. But I am trying scrap the “out of stock” notice on here: https://www.nvidia.com/en-gb/shop/geforce/?page=1&limit=9&locale=en-gb So I can make …

---

## [Sum of different function nodes](https://discourse.nodered.org/t/sum-of-different-function-nodes/32995)

<div class="topic-metadata">

**Author:** [@usmanEmder](https://discourse.nodered.org/u/usmanEmder)\
**Replies:** 10\
**Last updated:** [19 September 2020 23:32 UTC](https://discourse.nodered.org/t/sum-of-different-function-nodes/32995 "2020-09-19T23:32:06Z")

</div>

I have 8 input nodes and each node is connected with function nodes, where I am doing some multiplication and then showed them in separate graphs. Now, I need to sum up all payloads from function nodes and make a sum up…

---

## [Using module in function node](https://discourse.nodered.org/t/using-module-in-function-node/33090)

<div class="topic-metadata">

**Author:** [@mattfusf](https://discourse.nodered.org/u/mattfusf)\
**Replies:** 21\
**Last updated:** [19 September 2020 21:56 UTC](https://discourse.nodered.org/t/using-module-in-function-node/33090 "2020-09-19T21:56:00Z")

</div>

I am trying to use the themeparks API package in Node-Red. I've got it installed on my machine, and have added it to the settings.js file, but my JavaScript knowledge is a bit limited on how to create an object that pers…

---

## [Help node-red does not start after update sqllite](https://discourse.nodered.org/t/help-node-red-does-not-start-after-update-sqllite/33079)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 6\
**Last updated:** [19 September 2020 18:26 UTC](https://discourse.nodered.org/t/help-node-red-does-not-start-after-update-sqllite/33079 "2020-09-19T18:26:04Z")

</div>

I did an update of one my modules within node-red (palette) module: sqllite and now node-red does not start anymore.. So i cant update it again via my node-red webpage Anyone an idea how to solve this? i also tried su…

---

## [Question about package.json and project](https://discourse.nodered.org/t/question-about-package-json-and-project/33086)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 1\
**Last updated:** [19 September 2020 17:04 UTC](https://discourse.nodered.org/t/question-about-package-json-and-project/33086 "2020-09-19T17:04:42Z")

</div>

Hi, I have package.json in my root with a different version for node-red-node-sqlite": "^0.4.4" then the package.json in projects\\test "node-red-node-sqlite": "0.4.1", Do i have to sync this, why is this another ver…

---

## [Max size of array in function](https://discourse.nodered.org/t/max-size-of-array-in-function/33059)

<div class="topic-metadata">

**Author:** [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Replies:** 6\
**Last updated:** [19 September 2020 14:27 UTC](https://discourse.nodered.org/t/max-size-of-array-in-function/33059 "2020-09-19T14:27:53Z")

</div>

I have a funtion, poster here - "Closest Array Match" with 1025 entries. When i do my checks, the array index is always 1020 on the maximum. I get the same resault with my function and with "UnborN" function that he po…

---

## [Insert Into MySQL Database](https://discourse.nodered.org/t/insert-into-mysql-database/32949)

<div class="topic-metadata">

**Author:** [@swanside](https://discourse.nodered.org/u/swanside)\
**Replies:** 15\
**Last updated:** [19 September 2020 14:12 UTC](https://discourse.nodered.org/t/insert-into-mysql-database/32949 "2020-09-19T14:12:57Z")

</div>

Hi All I have now got a connection to work for a remote MySQL database and I have this in my function Current = msg.payload.Current Voltage = msg.payload.Voltage msg.topic = "INSERT INTO Data(\`Current\`, \`Voltage\`) VALU…

---

## [Change color light in Node red](https://discourse.nodered.org/t/change-color-light-in-node-red/16733)

<div class="topic-metadata">

**Author:** [@Jvdm](https://discourse.nodered.org/u/Jvdm)\
**Replies:** 11\
**Last updated:** [19 September 2020 13:47 UTC](https://discourse.nodered.org/t/change-color-light-in-node-red/16733 "2020-09-19T13:47:20Z")

</div>

Hello there working with node red the couple of days. But i was searching for a tutorial for lighting and change te light (brightness color light and that things). Where can i change that? i want to change this light re…

---

## [Issue with url /myservice/special in docker](https://discourse.nodered.org/t/issue-with-url-myservice-special-in-docker/33012)

<div class="topic-metadata">

**Author:** [@Eelco](https://discourse.nodered.org/u/Eelco)\
**Replies:** 1\
**Last updated:** [19 September 2020 13:35 UTC](https://discourse.nodered.org/t/issue-with-url-myservice-special-in-docker/33012 "2020-09-19T13:35:42Z")

</div>

Case NR in docker http request node for GET localhost:1880/myservice/special Observation very nasty error "non-escaped characters in input" I have workaround by escaping the second slash as in /myservice%E2%80%8B%2F…

---

## [Issue with http-logger under docker](https://discourse.nodered.org/t/issue-with-http-logger-under-docker/33011)

<div class="topic-metadata">

**Author:** [@Eelco](https://discourse.nodered.org/u/Eelco)\
**Replies:** 4\
**Last updated:** [19 September 2020 13:32 UTC](https://discourse.nodered.org/t/issue-with-http-logger-under-docker/33011 "2020-09-19T13:32:22Z")

</div>

Case NR in Docker port 1880 HTTP-logger listening http request node to GET /myservice flanked with inject and debug nodes http in + http response node to provide GET /myservice, just connected Observation Browser ca…

---

## [Running an exec command](https://discourse.nodered.org/t/running-an-exec-command/33065)

<div class="topic-metadata">

**Author:** [@shel](https://discourse.nodered.org/u/shel)\
**Replies:** 6\
**Last updated:** [19 September 2020 12:52 UTC](https://discourse.nodered.org/t/running-an-exec-command/33065 "2020-09-19T12:52:36Z")

</div>

I can run the following command from the command line lame --decode /home/pi/songs/1.mp3 - | play - when I try to run the command from an exec node it gives me an "error 2" message. Is it possible to run the command f…

---

## [Unexpected behavior when storing an array in a flow context variable](https://discourse.nodered.org/t/unexpected-behavior-when-storing-an-array-in-a-flow-context-variable/33071)

<div class="topic-metadata">

**Author:** [@FiloCara](https://discourse.nodered.org/u/FiloCara)\
**Replies:** 4\
**Last updated:** [19 September 2020 11:14 UTC](https://discourse.nodered.org/t/unexpected-behavior-when-storing-an-array-in-a-flow-context-variable/33071 "2020-09-19T11:14:05Z")

</div>

Hello, I'm trying to create a flow context variable in a Function Node to store an array which will be dynamically filled or emptied according to some logic. Unfortunately, it seems that the context variable does not wo…

---

## [Mathematical formula changes position](https://discourse.nodered.org/t/mathematical-formula-changes-position/33075)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 3\
**Last updated:** [19 September 2020 10:34 UTC](https://discourse.nodered.org/t/mathematical-formula-changes-position/33075 "2020-09-19T10:34:11Z")

</div>

Hi again, its hard for me to discribe my problem. I get this from a modbus flex getter: I want to make a easy formula: Pverbrauch = Pgesamt - Pein + Pbezug but the problem is the topic of Pges & Pein: when I jo…

---

## [How to use Hyperledger Fabric on IBM Node-RED without Kubernetes](https://discourse.nodered.org/t/how-to-use-hyperledger-fabric-on-ibm-node-red-without-kubernetes/33076)

<div class="topic-metadata">

**Author:** [@SamiraYeasmin](https://discourse.nodered.org/u/SamiraYeasmin)\
**Replies:** 0\
**Last updated:** [19 September 2020 09:14 UTC](https://discourse.nodered.org/t/how-to-use-hyperledger-fabric-on-ibm-node-red-without-kubernetes/33076 "2020-09-19T09:14:30Z")

</div>

Hi all, Recently, I have tried to use the IBM Kubernetes service to use the Hyperledger Fabric service provided by IBM and deploy IoT devices using Node-RED on the IBM cloud. But, IBM is not allowing me to create a Kub…

---

## [Applicationas of Global In Inject Node?](https://discourse.nodered.org/t/applicationas-of-global-in-inject-node/33068)

<div class="topic-metadata">

**Author:** [@Surendra1](https://discourse.nodered.org/u/Surendra1)\
**Replies:** 3\
**Last updated:** [19 September 2020 08:24 UTC](https://discourse.nodered.org/t/applicationas-of-global-in-inject-node/33068 "2020-09-19T08:24:35Z")

</div>

Dear Sir/Madam My Self is Surendra From SR Unique Solution .Please explain Applications of Global in Inject Node.

---

## [How to use global variable available inject node](https://discourse.nodered.org/t/how-to-use-global-variable-available-inject-node/33069)

<div class="topic-metadata">

**Author:** [@Surendra1](https://discourse.nodered.org/u/Surendra1)\
**Replies:** 1\
**Last updated:** [19 September 2020 07:09 UTC](https://discourse.nodered.org/t/how-to-use-global-variable-available-inject-node/33069 "2020-09-19T07:09:54Z")

</div>

to understand global variable available inject node in various industrial applications.

---

## [Trigger Node Countdown Dashboard](https://discourse.nodered.org/t/trigger-node-countdown-dashboard/33050)

<div class="topic-metadata">

**Author:** [@Rufus\_0815](https://discourse.nodered.org/u/Rufus_0815)\
**Replies:** 2\
**Last updated:** [19 September 2020 06:05 UTC](https://discourse.nodered.org/t/trigger-node-countdown-dashboard/33050 "2020-09-19T06:05:55Z")

</div>

Hi for the plants in my garden i have a little automatic watering. I have a trigger node too, for start it automatically. Is there a way to show a countdown (for expl. set trigger to 15 Minutes) and in Dashboard it sh…

---

## [How to just change the global variable name once](https://discourse.nodered.org/t/how-to-just-change-the-global-variable-name-once/33027)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 7\
**Last updated:** [18 September 2020 20:45 UTC](https://discourse.nodered.org/t/how-to-just-change-the-global-variable-name-once/33027 "2020-09-18T20:45:26Z")

</div>

I use the config node node-red-contrib-config to declare global variables like so: And in function node I get the value of the global aaa variable by global.get('aaa') \[{"id":"d1a34c16.5a144","type":"config","z":"a…

---

## [Get Snapshot of all messages](https://discourse.nodered.org/t/get-snapshot-of-all-messages/33056)

<div class="topic-metadata">

**Author:** [@jboutwell](https://discourse.nodered.org/u/jboutwell)\
**Replies:** 2\
**Last updated:** [18 September 2020 19:40 UTC](https://discourse.nodered.org/t/get-snapshot-of-all-messages/33056 "2020-09-18T19:40:15Z")

</div>

Is it possible to get a snapshot of all the messages currently moving through the system?

---

## [Onvif VS onvif-nodes issue](https://discourse.nodered.org/t/onvif-vs-onvif-nodes-issue/32374)

<div class="topic-metadata">

**Author:** [@gene-code](https://discourse.nodered.org/u/gene-code)\
**Replies:** 23\
**Last updated:** [18 September 2020 17:21 UTC](https://discourse.nodered.org/t/onvif-vs-onvif-nodes-issue/32374 "2020-09-18T17:21:26Z")

</div>

Hi. I have node red on Edge Device. The node red runs on docker. I have camera connected to the same network (able to ping the cam fine). Using node-red-contrib-onvif snapshot node, I was able to get a capture. My set…

---

## [FTP error - too many connections](https://discourse.nodered.org/t/ftp-error-too-many-connections/32695)

<div class="topic-metadata">

**Author:** [@seppelicous](https://discourse.nodered.org/u/seppelicous)\
**Replies:** 15\
**Last updated:** [18 September 2020 16:37 UTC](https://discourse.nodered.org/t/ftp-error-too-many-connections/32695 "2020-09-18T16:37:51Z")

</div>

Hi, I like to upload a generated CSV file to my FTP server to make it available for another project. The CSV file will be generated every 5 minutes, so it also has to be uploaded every 5 minutes. It works a few times,…

---

## [Will SORT Node sort multiple arrays](https://discourse.nodered.org/t/will-sort-node-sort-multiple-arrays/4612)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 4\
**Last updated:** [18 September 2020 13:08 UTC](https://discourse.nodered.org/t/will-sort-node-sort-multiple-arrays/4612 "2020-09-18T13:08:01Z")

</div>

I am curious if the SORT Node would be used for this situation. If my flow contains a payloads like - //newTagRead = {"payload":{"epc":flow.rfid\[i\].epc,"time":currentTime, "ip":flow.rfid\[i\].ip, "strength":flow.rfid\[i\].…

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

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