# General

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

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

**Page:** 761

---

## [AMQP nodes and certificates?](https://discourse.nodered.org/t/amqp-nodes-and-certificates/25394)

<div class="topic-metadata">

**Author:** [@tommy](https://discourse.nodered.org/u/tommy)\
**Replies:** 0\
**Last updated:** [24 April 2020 03:46 UTC](https://discourse.nodered.org/t/amqp-nodes-and-certificates/25394 "2020-04-24T03:46:30Z")

</div>

Hi all, Im in the need of connecting to an RabbitMQ installation to both send and get messages into Node-Red. To do so I need to connect using credentials and certificate authentication. How ever, Im unable to figure o…

---

## [Azure IOT hub - 4 sensors running simultaneously](https://discourse.nodered.org/t/azure-iot-hub-4-sensors-running-simultaneously/25203)

<div class="topic-metadata">

**Author:** [@Beefy\_carrot](https://discourse.nodered.org/u/Beefy_carrot)\
**Replies:** 4\
**Last updated:** [24 April 2020 00:03 UTC](https://discourse.nodered.org/t/azure-iot-hub-4-sensors-running-simultaneously/25203 "2020-04-24T00:03:35Z")

</div>

Hi! im working with 4 sensors, possibly adding more sensors to the project. My current project has 4 sensors all with their own inject node and azure iot hub. the problem is when all these sensors run, they all send and …

---

## [Have I finally lost Weather Underground?](https://discourse.nodered.org/t/have-i-finally-lost-weather-underground/25329)

<div class="topic-metadata">

**Author:** [@Cathprotech](https://discourse.nodered.org/u/Cathprotech)\
**Replies:** 3\
**Last updated:** [23 April 2020 20:48 UTC](https://discourse.nodered.org/t/have-i-finally-lost-weather-underground/25329 "2020-04-23T20:48:31Z")

</div>

Although free access to Weather Underground was terminated about a year or two ago, I have managed (don't know how) to still have free access up until now. On Monday 20th April I had to go to work for 2 days. All was fi…

---

## [Converting Buffer object to CSV or String](https://discourse.nodered.org/t/converting-buffer-object-to-csv-or-string/25363)

<div class="topic-metadata">

**Author:** [@WImpie](https://discourse.nodered.org/u/WImpie)\
**Replies:** 14\
**Last updated:** [23 April 2020 19:29 UTC](https://discourse.nodered.org/t/converting-buffer-object-to-csv-or-string/25363 "2020-04-23T19:29:53Z")

</div>

How do I convert the buffer object in this screenshot: back to a CSV file:

---

## [Blink with different On/Off time](https://discourse.nodered.org/t/blink-with-different-on-off-time/25304)

<div class="topic-metadata">

**Author:** [@LTDS](https://discourse.nodered.org/u/LTDS)\
**Replies:** 5\
**Last updated:** [23 April 2020 14:38 UTC](https://discourse.nodered.org/t/blink-with-different-on-off-time/25304 "2020-04-23T14:38:11Z")

</div>

Hi there ! Once again I'm asking for your support ! I need to trigger an alarm with a blink function but not the typical blink (x sec ON - x sec OFF) but with different On and Off time (x sec ON - y sec OFF) I've found…

---

## [How to Decode 16 Bit signed Integer](https://discourse.nodered.org/t/how-to-decode-16-bit-signed-integer/8112)

<div class="topic-metadata">

**Author:** [@aargollo](https://discourse.nodered.org/u/aargollo)\
**Replies:** 14\
**Last updated:** [23 April 2020 13:46 UTC](https://discourse.nodered.org/t/how-to-decode-16-bit-signed-integer/8112 "2020-04-23T13:46:02Z")

</div>

Hi Guys, I working to get temperature from a smart thermometer and I need to decode bytes w/ 16 bit signed integer to ascii. somebody have a code or node that can decode that can share w/ me? Could you see bellow the b…

---

## [How to make a Shift Register in Node Red?](https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353)

<div class="topic-metadata">

**Author:** [@Jude.Robise](https://discourse.nodered.org/u/Jude.Robise)\
**Replies:** 21\
**Last updated:** [23 April 2020 11:28 UTC](https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353 "2020-04-23T11:28:20Z")

</div>

How to make a shift (left) register in node red? Does anybody have a script? I want it to be just like in PLC program. thanks in advance

---

## [Raspberry PI connect to RS485](https://discourse.nodered.org/t/raspberry-pi-connect-to-rs485/24502)

<div class="topic-metadata">

**Author:** [@Bond](https://discourse.nodered.org/u/Bond)\
**Replies:** 40\
**Last updated:** [23 April 2020 10:09 UTC](https://discourse.nodered.org/t/raspberry-pi-connect-to-rs485/24502 "2020-04-23T10:09:04Z")

</div>

Hi everyone, due to the coronavirus, I have to work at home for my project, which is adapted from my co-worker. One part of the project is interfacing as: Raspberry Pi 3 \<-\> RS485 Converter \<-\> speed controllers -\> fans …

---

## [Sending CSV Data to MSSQL Server](https://discourse.nodered.org/t/sending-csv-data-to-mssql-server/24922)

<div class="topic-metadata">

**Author:** [@red\_arrowhead](https://discourse.nodered.org/u/red_arrowhead)\
**Replies:** 12\
**Last updated:** [23 April 2020 09:58 UTC](https://discourse.nodered.org/t/sending-csv-data-to-mssql-server/24922 "2020-04-23T09:58:02Z")

</div>

I am very new to Node-RED and working on my first flow to send CSV data to MSSQL database tables. I have read the data from CSV files, but unable to solve issues to send the data to MSSQL server. I am getting error that …

---

## [Install problem node-red-contrib-dmxusbpro](https://discourse.nodered.org/t/install-problem-node-red-contrib-dmxusbpro/25348)

<div class="topic-metadata">

**Author:** [@zappogb1](https://discourse.nodered.org/u/zappogb1)\
**Replies:** 5\
**Last updated:** [23 April 2020 09:58 UTC](https://discourse.nodered.org/t/install-problem-node-red-contrib-dmxusbpro/25348 "2020-04-23T09:58:18Z")

</div>

when i try to install node-red-contrib-dmxusbpro, i get an error and the node is not installed. I use an Rpi3B with Raspian Stretch and NodeRed in the latest version. The entry in the logfile: "-----------------------…

---

## [Windows 10: Failed to start server: Error: Error loading context store: SyntaxError: Unexpected token in JSON at position 0](https://discourse.nodered.org/t/windows-10-failed-to-start-server-error-error-loading-context-store-syntaxerror-unexpected-token-in-json-at-position-0/25337)

<div class="topic-metadata">

**Author:** [@zainisma](https://discourse.nodered.org/u/zainisma)\
**Replies:** 4\
**Last updated:** [23 April 2020 09:40 UTC](https://discourse.nodered.org/t/windows-10-failed-to-start-server-error-error-loading-context-store-syntaxerror-unexpected-token-in-json-at-position-0/25337 "2020-04-23T09:40:57Z")

</div>

Good day and Hello all, My Node Red Stats: Windows 10, nodered 1.0.5, node.js v 12.16.2, npm v 6.14.4 Everything was working fine yesterday (22 April 2020), up till this morning node red was still running too. Until I …

---

## [Newbi needs help with a string](https://discourse.nodered.org/t/newbi-needs-help-with-a-string/25335)

<div class="topic-metadata">

**Author:** [@lucaspr](https://discourse.nodered.org/u/lucaspr)\
**Replies:** 7\
**Last updated:** [23 April 2020 08:11 UTC](https://discourse.nodered.org/t/newbi-needs-help-with-a-string/25335 "2020-04-23T08:11:38Z")

</div>

Hi, Please bear with me, I'm a total stranger with this. I cannot seem to find my answer with good old google. I'm trying to change the string from my fronius inverter to something that Domoticz is willing to understan…

---

## [The DELAY node. Not doing what I want](https://discourse.nodered.org/t/the-delay-node-not-doing-what-i-want/854)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 29\
**Last updated:** [23 April 2020 08:09 UTC](https://discourse.nodered.org/t/the-delay-node-not-doing-what-i-want/854 "2020-04-23T08:09:32Z")

</div>

Sorry folks, I’m at it again. I am wanting a “delay” and the DELAY node seems the right one for it. I have read that it can be adjusted with msg.delay and I am trying to set it with a slider. But it doesn’t seem to wa…

---

## [\>110,000 Data Points (JSON Objects) causing JSONata error "Invalid JSONata expression: Maximum call stack size exceeded"](https://discourse.nodered.org/t/110-000-data-points-json-objects-causing-jsonata-error-invalid-jsonata-expression-maximum-call-stack-size-exceeded/24438)

<div class="topic-metadata">

**Author:** [@zainisma](https://discourse.nodered.org/u/zainisma)\
**Replies:** 14\
**Last updated:** [23 April 2020 08:06 UTC](https://discourse.nodered.org/t/110-000-data-points-json-objects-causing-jsonata-error-invalid-jsonata-expression-maximum-call-stack-size-exceeded/24438 "2020-04-23T08:06:03Z")

</div>

Hello all, I need help resolving a problem I'm facing when I pass large amounts of data (\>110,000 JSON objects) to a change node in my flow. I get the error "Invalid JSONata expression: Maximum call stack size exceeded…

---

## [MQTT not connecting over LAN](https://discourse.nodered.org/t/mqtt-not-connecting-over-lan/25082)

<div class="topic-metadata">

**Author:** [@pcgopher](https://discourse.nodered.org/u/pcgopher)\
**Replies:** 14\
**Last updated:** [23 April 2020 08:02 UTC](https://discourse.nodered.org/t/mqtt-not-connecting-over-lan/25082 "2020-04-23T08:02:21Z")

</div>

I have a device that hosts node-red and my mqtt broker. I'm working on transitioning the node-red to a different host with more memory and I'm running into difficulties connecting to the mqqt broker on my original device…

---

## [How to become a Node-RED Partner?](https://discourse.nodered.org/t/how-to-become-a-node-red-partner/25347)

<div class="topic-metadata">

**Author:** [@JorgeTrincado](https://discourse.nodered.org/u/JorgeTrincado)\
**Replies:** 0\
**Last updated:** [23 April 2020 07:45 UTC](https://discourse.nodered.org/t/how-to-become-a-node-red-partner/25347 "2020-04-23T07:45:15Z")

</div>

Hello all, As I shared in my previous post, in Thinger.io IoT Platform we are working on an integration of our IoT service with Node-RED in order to get the best experience from both technologies when working together. …

---

## [Need help setting up Sub Flow Environment Variable](https://discourse.nodered.org/t/need-help-setting-up-sub-flow-environment-variable/25000)

<div class="topic-metadata">

**Author:** [@zainisma](https://discourse.nodered.org/u/zainisma)\
**Replies:** 6\
**Last updated:** [23 April 2020 00:04 UTC](https://discourse.nodered.org/t/need-help-setting-up-sub-flow-environment-variable/25000 "2020-04-23T00:04:41Z")

</div>

Good day all, First up, my Node Red Environment stats, Node Red v1.0.4, running on Windows 10, with node.js v12.16.1 and npm v6.13.4 I am at a complete lost on trying to do something simple with my first sub flow. Her…

---

## [Logging back in after logout fails](https://discourse.nodered.org/t/logging-back-in-after-logout-fails/25273)

<div class="topic-metadata">

**Author:** [@justAnotherDev](https://discourse.nodered.org/u/justAnotherDev)\
**Replies:** 1\
**Last updated:** [22 April 2020 23:20 UTC](https://discourse.nodered.org/t/logging-back-in-after-logout-fails/25273 "2020-04-22T23:20:30Z")

</div>

I have login working as expected using Okta SSO, however when I log out using the Node RED panel I am unable to successfully log back in again. When I attempt to log back in the browser times out, returning a 504, and pr…

---

## [Converto message MQTT to Boolean](https://discourse.nodered.org/t/converto-message-mqtt-to-boolean/25332)

<div class="topic-metadata">

**Author:** [@abedgarr](https://discourse.nodered.org/u/abedgarr)\
**Replies:** 2\
**Last updated:** [22 April 2020 23:01 UTC](https://discourse.nodered.org/t/converto-message-mqtt-to-boolean/25332 "2020-04-22T23:01:27Z")

</div>

Hi everyone, Excuse me I'm a beginner in programming languages and NODE-REDHow can I convert the message received from the MQTT block to Boolean?

---

## [Flow - Auto Start loop](https://discourse.nodered.org/t/flow-auto-start-loop/25223)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 29\
**Last updated:** [22 April 2020 22:18 UTC](https://discourse.nodered.org/t/flow-auto-start-loop/25223 "2020-04-22T22:18:12Z")

</div>

Hi, I have a function node with a loop in it, it generates random time delays. I want it to auto star when the PI reboots or when the flow gets re-deployed. Is the below correct? From my function node. const minDelay…

---

## [After snap update to 1.0.4 node-red stops working](https://discourse.nodered.org/t/after-snap-update-to-1-0-4-node-red-stops-working/22340)

<div class="topic-metadata">

**Author:** [@iamhermes](https://discourse.nodered.org/u/iamhermes)\
**Replies:** 6\
**Last updated:** [22 April 2020 21:08 UTC](https://discourse.nodered.org/t/after-snap-update-to-1-0-4-node-red-stops-working/22340 "2020-04-22T21:08:42Z")

</div>

after automatic snap node-red update from 1.0.3 to version 1.0.4 node-red stops working. syslog is flooded with Feb 27 19:15:40 unipi node-red.node-red\[2960\]: /snap/node-red/549/bin/node: error while loading shared lib…

---

## [Question about msg.payload to number value for graphs](https://discourse.nodered.org/t/question-about-msg-payload-to-number-value-for-graphs/25319)

<div class="topic-metadata">

**Author:** [@bigmike](https://discourse.nodered.org/u/bigmike)\
**Replies:** 2\
**Last updated:** [22 April 2020 18:33 UTC](https://discourse.nodered.org/t/question-about-msg-payload-to-number-value-for-graphs/25319 "2020-04-22T18:33:42Z")

</div>

so here is my question: I want to pull only the counter data out of the payload, convert to number value and feed to graph node. Im a newbie. What nodes or code should i use? best method? Payload data below: {"payload…

---

## [Problem installing node-red-contrib-xiaomi-ble](https://discourse.nodered.org/t/problem-installing-node-red-contrib-xiaomi-ble/25307)

<div class="topic-metadata">

**Author:** [@juanbal](https://discourse.nodered.org/u/juanbal)\
**Replies:** 1\
**Last updated:** [22 April 2020 17:10 UTC](https://discourse.nodered.org/t/problem-installing-node-red-contrib-xiaomi-ble/25307 "2020-04-22T17:10:46Z")

</div>

Hello all I'm running node-red under docker (Node-RED version: v1.0.5 and Node.js version: v10.20.0) and I'm trying to install node-red-contrib-xiaomi-ble. Hardware is RaspBerry Pi 4 I'm getting in the log \[warn\] …

---

## [Percent calculation](https://discourse.nodered.org/t/percent-calculation/25309)

<div class="topic-metadata">

**Author:** [@Cedric](https://discourse.nodered.org/u/Cedric)\
**Replies:** 4\
**Last updated:** [22 April 2020 16:44 UTC](https://discourse.nodered.org/t/percent-calculation/25309 "2020-04-22T16:44:28Z")

</div>

Hi I would calculat the percent value of 2 msg.payload, but I get only NaN value. Could somebody explain me, how I can calculate percent in nodeRED ? Thank you percent.json (485 Bytes)

---

## [Multiple setTimeout/clearTimeout Within Same Function Node](https://discourse.nodered.org/t/multiple-settimeout-cleartimeout-within-same-function-node/25300)

<div class="topic-metadata">

**Author:** [@ilikecaterpillars](https://discourse.nodered.org/u/ilikecaterpillars)\
**Replies:** 6\
**Last updated:** [22 April 2020 16:17 UTC](https://discourse.nodered.org/t/multiple-settimeout-cleartimeout-within-same-function-node/25300 "2020-04-22T16:17:02Z")

</div>

I'm relatively new to Node Red and JavaScript in general, so am probably being extremely dense. Basically, I'm trying to work out how to set a timer for one input, if it's false, and to cancel it if it's true, but for d…

---

## [Smappee value to Google nest mini](https://discourse.nodered.org/t/smappee-value-to-google-nest-mini/25189)

<div class="topic-metadata">

**Author:** [@WillemEco](https://discourse.nodered.org/u/WillemEco)\
**Replies:** 1\
**Last updated:** [22 April 2020 15:55 UTC](https://discourse.nodered.org/t/smappee-value-to-google-nest-mini/25189 "2020-04-22T15:55:05Z")

</div>

How can i sent a realtime value of my smappee to a google nest mini? for example: 'My electricity consumption is (value) watt' Somebody can help me? Best regards, Willem

---

## [Linux terminal through exec node](https://discourse.nodered.org/t/linux-terminal-through-exec-node/25292)

<div class="topic-metadata">

**Author:** [@Ward](https://discourse.nodered.org/u/Ward)\
**Replies:** 20\
**Last updated:** [22 April 2020 15:22 UTC](https://discourse.nodered.org/t/linux-terminal-through-exec-node/25292 "2020-04-22T15:22:56Z")

</div>

Hi, I'm looking for a way to enter command line from node red to the terminal of my linux pc.I was looking online and i found that the node exec would do the trick. The command line i want to use for a example is: infl…

---

## [Migrating to new Pi](https://discourse.nodered.org/t/migrating-to-new-pi/24969)

<div class="topic-metadata">

**Author:** [@user7](https://discourse.nodered.org/u/user7)\
**Replies:** 7\
**Last updated:** [22 April 2020 15:13 UTC](https://discourse.nodered.org/t/migrating-to-new-pi/24969 "2020-04-22T15:13:00Z")

</div>

Hey, I would like to ask what would be the best practice when migrating to new Pi 4? I was thinking about making a copy of buster from Pi3b+ SD card and just change the dhcp settings on the router to the new pi MAC add…

---

## [Conflicting sensors usb](https://discourse.nodered.org/t/conflicting-sensors-usb/25297)

<div class="topic-metadata">

**Author:** [@Niki](https://discourse.nodered.org/u/Niki)\
**Replies:** 3\
**Last updated:** [22 April 2020 14:30 UTC](https://discourse.nodered.org/t/conflicting-sensors-usb/25297 "2020-04-22T14:30:42Z")

</div>

Hi all I’m still new with raspberry pi and node red so go easy My project consists of two sensors which are identical (SDS011) and are connected to the pi via usb, to gather results which are displayed on a chart and ga…

---

## [Communication issue on raspberry Pi with S7 PLC](https://discourse.nodered.org/t/communication-issue-on-raspberry-pi-with-s7-plc/22998)

<div class="topic-metadata">

**Author:** [@Kenzim1992](https://discourse.nodered.org/u/Kenzim1992)\
**Replies:** 6\
**Last updated:** [22 April 2020 14:19 UTC](https://discourse.nodered.org/t/communication-issue-on-raspberry-pi-with-s7-plc/22998 "2020-04-22T14:19:12Z")

</div>

Hello everybody I have the following problems: I have installed Node Red on my Windows Cumouter and created the program here I connected the controller, set the S7 Node and MQTT parameters and everything worked at onc…

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

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