# Latest

**URL:** https://discourse.nodered.org/latest.md?page=1109

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

**Page:** 1110

---

## [\>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. …

---

## [Sample flow on how to setup Environment Variable in a sub-flow](https://discourse.nodered.org/t/sample-flow-on-how-to-setup-environment-variable-in-a-sub-flow/25341)

<div class="topic-metadata">

**Author:** [@zainisma](https://discourse.nodered.org/u/zainisma)\
**Replies:** 2\
**Last updated:** [23 April 2020 06:11 UTC](https://discourse.nodered.org/t/sample-flow-on-how-to-setup-environment-variable-in-a-sub-flow/25341 "2020-04-23T06:11:04Z")

</div>

Good day all, I'm just sharing a simple flow on setting up an Environment Variable Parameter for a sub-flow. Where the sub-flow environment variable has been set up to be some\_var After creating your sub-flow... look f…

---

## [Reversable Node](https://discourse.nodered.org/t/reversable-node/25327)

<div class="topic-metadata">

**Author:** [@Lymkin](https://discourse.nodered.org/u/Lymkin)\
**Replies:** 1\
**Last updated:** [23 April 2020 05:12 UTC](https://discourse.nodered.org/t/reversable-node/25327 "2020-04-23T05:12:41Z")

</div>

Would like to see a toggle in the UI to reverse a Node flow direction like below. (Input on Right and Output on Left) Purely a visual item so wires don't cross so much like shown below. Normal Node and Wires: Reverse…

---

## [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…

---

## [\[Announce\] Dashboard 2.21.0](https://discourse.nodered.org/t/announce-dashboard-2-21-0/25022)

<div class="topic-metadata">

**Author:** [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Replies:** 14\
**Last updated:** [22 April 2020 21:11 UTC](https://discourse.nodered.org/t/announce-dashboard-2-21-0/25022 "2020-04-22T21:11:40Z")

</div>

A quick update to Dashboard to move us up to Gridstack version 0.6.4 and fix a small bug with date inject for pre-setting the form and also you can now set the hover-over tooltip dynamically if you so wish. As usual - …

---

## [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…

---

## [Ui-table node cell edit message](https://discourse.nodered.org/t/ui-table-node-cell-edit-message/25328)

<div class="topic-metadata">

**Author:** [@fermurbaa](https://discourse.nodered.org/u/fermurbaa)\
**Replies:** 0\
**Last updated:** [22 April 2020 20:00 UTC](https://discourse.nodered.org/t/ui-table-node-cell-edit-message/25328 "2020-04-22T20:00:53Z")

</div>

Hi, is it possible to send a cell edited message for editable columns? with the following callback I always get a recursion error (browser console): cellEdited: "function(cell){ this.send({topic: \\"cellEdited\\",payloa…

---

## [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…

---

## [Dashboard backup](https://discourse.nodered.org/t/dashboard-backup/25303)

<div class="topic-metadata">

**Author:** [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Replies:** 16\
**Last updated:** [22 April 2020 17:52 UTC](https://discourse.nodered.org/t/dashboard-backup/25303 "2020-04-22T17:52:52Z")

</div>

Hi, is it possible to save dashboard data (for example chart data) for restart node-red service? At the moment i lost all Data. At the Moment i use node-red-dashboard Thank you Alex

---

## [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…

---

## [Dropdown for form field](https://discourse.nodered.org/t/dropdown-for-form-field/25310)

<div class="topic-metadata">

**Author:** [@JbIPS](https://discourse.nodered.org/u/JbIPS)\
**Replies:** 0\
**Last updated:** [22 April 2020 15:07 UTC](https://discourse.nodered.org/t/dropdown-for-form-field/25310 "2020-04-22T15:07:26Z")

</div>

Hi, I'm recently looking at the dashboard and it looks pretty awesome! To test the flow, I'm trying to create a form (with the form node) that will be prefilled and wait for submit before sending to the DB. In this for…

---

## [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…

---

## [Extract data from an MQTT payload](https://discourse.nodered.org/t/extract-data-from-an-mqtt-payload/8948)

<div class="topic-metadata">

**Author:** [@PeterKatana](https://discourse.nodered.org/u/PeterKatana)\
**Replies:** 23\
**Last updated:** [22 April 2020 14:18 UTC](https://discourse.nodered.org/t/extract-data-from-an-mqtt-payload/8948 "2020-04-22T14:18:11Z")

</div>

Hi all, I am a newbie and tried to connect with an MQTT broker to the TTN network and to extract data from my nodes in the TTN network. In the next step I want to put this data into an influx db. There are two sensors o…

---

## [Would you use Node-RED in a production environment for IoT industry applications?](https://discourse.nodered.org/t/would-you-use-node-red-in-a-production-environment-for-iot-industry-applications/19358)

<div class="topic-metadata">

**Author:** [@zaher](https://discourse.nodered.org/u/zaher)\
**Replies:** 48\
**Last updated:** [22 April 2020 14:15 UTC](https://discourse.nodered.org/t/would-you-use-node-red-in-a-production-environment-for-iot-industry-applications/19358 "2020-04-22T14:15:03Z")

</div>

I have been receiving different answers to this question. Some experts are hesitant and lean towards using Node-RED only for prototyping in case of industry applications because they think they can write more efficient c…

---

## [Node-red-contrib-broadlink-control v1.0.8](https://discourse.nodered.org/t/node-red-contrib-broadlink-control-v1-0-8/23447)

<div class="topic-metadata">

**Author:** [@mlfunston](https://discourse.nodered.org/u/mlfunston)\
**Replies:** 15\
**Last updated:** [22 April 2020 13:27 UTC](https://discourse.nodered.org/t/node-red-contrib-broadlink-control-v1-0-8/23447 "2020-04-22T13:27:54Z")

</div>

A set of node-red nodes to manage the Broadlink http://www.ibroadlink.com/ RM series of IR Controllers and for home automation. A cost effective way to control Air Conditioners, TV's, Audio equipment and many more like a…

---

## [Momentary button with status from PLC](https://discourse.nodered.org/t/momentary-button-with-status-from-plc/25276)

<div class="topic-metadata">

**Author:** [@pero](https://discourse.nodered.org/u/pero)\
**Replies:** 1\
**Last updated:** [22 April 2020 13:13 UTC](https://discourse.nodered.org/t/momentary-button-with-status-from-plc/25276 "2020-04-22T13:13:03Z")

</div>

I'm a newbie here and I'm trying to build a home automation system based on a PLC that controls lighting. I'm trying to use Node Red Dashboard for a simple visualization. I'm stuck with a momentary button with the curren…

---

## [Mdashboard-layout](https://discourse.nodered.org/t/mdashboard-layout/25241)

<div class="topic-metadata">

**Author:** [@kevinksdroid](https://discourse.nodered.org/u/kevinksdroid)\
**Replies:** 12\
**Last updated:** [22 April 2020 12:26 UTC](https://discourse.nodered.org/t/mdashboard-layout/25241 "2020-04-22T12:26:02Z")

</div>

Hello all, I am facing difficulty trying to open the mdashboard layout editor. The layout editor for dashboard is working fine though. Can someone help me out ? Please..

---

## [Node-red-contrib-broadlink-control v2.0.1](https://discourse.nodered.org/t/node-red-contrib-broadlink-control-v2-0-1/25301)

<div class="topic-metadata">

**Author:** [@mlfunston](https://discourse.nodered.org/u/mlfunston)\
**Replies:** 0\
**Last updated:** [22 April 2020 12:24 UTC](https://discourse.nodered.org/t/node-red-contrib-broadlink-control-v2-0-1/25301 "2020-04-22T12:24:56Z")

</div>

A set of node-red nodes to manage the Broadlink http://www.ibroadlink.com/ RM series of IR Controllers and for home automation. A cost effective way to control Air Conditioners, TV's, Audio equipment and many more like …

---

## [Coronavirus local new cases Chart](https://discourse.nodered.org/t/coronavirus-local-new-cases-chart/25258)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 7\
**Last updated:** [22 April 2020 12:08 UTC](https://discourse.nodered.org/t/coronavirus-local-new-cases-chart/25258 "2020-04-22T12:08:45Z")

</div>

I wanted to track how many new positive tests were recorded daily for people living in my local town, so with some help from @janvda (thanks!), I've created a flow to display the data obtained from coronavirus.gov.uk li…

[Previous page](https://discourse.nodered.org/latest.md?page=1108)

[Next page](https://discourse.nodered.org/latest.md?page=1110)
