# Latest

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

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

**Page:** 1260

---

## [Set context array not working](https://discourse.nodered.org/t/set-context-array-not-working/12829)

<div class="topic-metadata">

**Author:** [@Zwall33](https://discourse.nodered.org/u/Zwall33)\
**Replies:** 25\
**Last updated:** [3 July 2019 09:20 UTC](https://discourse.nodered.org/t/set-context-array-not-working/12829 "2019-07-03T09:20:16Z")

</div>

To put it simply, I'm trying to collect around 400 defaults coming from a PLC. I have the communication and default collection working. I have to treat the data and format it to send it in a database. The error I keep h…

---

## [Sub flows..... Dumb question](https://discourse.nodered.org/t/sub-flows-dumb-question/12847)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [3 July 2019 08:47 UTC](https://discourse.nodered.org/t/sub-flows-dumb-question/12847 "2019-07-03T08:47:10Z")

</div>

I have started using sub-flows and it is great. My understanding is that I have a flow and because parts of it are repeated, rather than have the same nodes repeated, I can use a sub-flow and it acts like a "sub-routine…

---

## [Raspberry Pi 4 Model B + Raspbian Buster](https://discourse.nodered.org/t/raspberry-pi-4-model-b-raspbian-buster/12558)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 49\
**Last updated:** [3 July 2019 08:27 UTC](https://discourse.nodered.org/t/raspberry-pi-4-model-b-raspbian-buster/12558 "2019-07-03T08:27:01Z")

</div>

What a surprise. I was getting ready to prepare an SD card with Raspian Stretch and found out that Raspian already moved to version 10, Raspian Buster. Also, found out that Raspberry PI version 4 has been released! Does…

---

## [Unauthorised at localhost:1880/flows](https://discourse.nodered.org/t/unauthorised-at-localhost-1880-flows/12712)

<div class="topic-metadata">

**Author:** [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Replies:** 4\
**Last updated:** [3 July 2019 07:46 UTC](https://discourse.nodered.org/t/unauthorised-at-localhost-1880-flows/12712 "2019-07-03T07:46:28Z")

</div>

Hi, I am trying to download the entire tabs code by :- localhost:1880/flows it's showing unauthorised. I do have another question, how to stop node red in the window platform. while trying "node-red-stop" its doesn't w…

---

## [The \`rate-limit\` node. Just wanting to check](https://discourse.nodered.org/t/the-rate-limit-node-just-wanting-to-check/12850)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [3 July 2019 07:30 UTC](https://discourse.nodered.org/t/the-rate-limit-node-just-wanting-to-check/12850 "2019-07-03T07:30:38Z")

</div>

I am wanting to limit the amount of stuff saved to a log file. The readings are taken about every 6 seconds. (About 10 per minute.) I am happy with 1. I hacked a flow with the gate node (non-standard) but then saw th…

---

## [MQTT Input Node Sends CPU 100%](https://discourse.nodered.org/t/mqtt-input-node-sends-cpu-100/12827)

<div class="topic-metadata">

**Author:** [@Soloam](https://discourse.nodered.org/u/Soloam)\
**Replies:** 10\
**Last updated:** [3 July 2019 07:10 UTC](https://discourse.nodered.org/t/mqtt-input-node-sends-cpu-100/12827 "2019-07-03T07:10:21Z")

</div>

Hello, I have been having a problem in nodered (currently on 0.20.6, don't know since when this is happening) tht when I try to access some http node (in) it sends my cpu to 100% and takes a long time, this occurs on a s…

---

## [Add Authentification via middleware](https://discourse.nodered.org/t/add-authentification-via-middleware/5925)

<div class="topic-metadata">

**Author:** [@Tobi](https://discourse.nodered.org/u/Tobi)\
**Replies:** 6\
**Last updated:** [3 July 2019 01:50 UTC](https://discourse.nodered.org/t/add-authentification-via-middleware/5925 "2019-07-03T01:50:14Z")

</div>

Hi, I want to add a Authentification system for the Node-RED Dashboard via middleware. I'm a beginner with node-red, can anyone give me any tips or knows how to do it?

---

## [Audio Out - sessionId bug?](https://discourse.nodered.org/t/audio-out-sessionid-bug/12840)

<div class="topic-metadata">

**Author:** [@kororos](https://discourse.nodered.org/u/kororos)\
**Replies:** 0\
**Last updated:** [2 July 2019 21:32 UTC](https://discourse.nodered.org/t/audio-out-sessionid-bug/12840 "2019-07-02T21:32:28Z")

</div>

From the node-red-dashboard documentation: Messages coming from the dashboard do have a msg.socketid , and updates like change of tab, notifications, and audio alerts will be directed only to that session. Delete th…

---

## [Problems with layouts using groups](https://discourse.nodered.org/t/problems-with-layouts-using-groups/12798)

<div class="topic-metadata">

**Author:** [@jayheavner](https://discourse.nodered.org/u/jayheavner)\
**Replies:** 3\
**Last updated:** [2 July 2019 21:27 UTC](https://discourse.nodered.org/t/problems-with-layouts-using-groups/12798 "2019-07-02T21:27:54Z")

</div>

I'm trying to use a dashboard to create a lock management interface. Based on certain input, I want to show/hide certain elements. That requires me to use groups. The problem is, groups create new columns and I lose the …

---

## [Config node close event](https://discourse.nodered.org/t/config-node-close-event/12823)

<div class="topic-metadata">

**Author:** [@realjax](https://discourse.nodered.org/u/realjax)\
**Replies:** 7\
**Last updated:** [2 July 2019 20:35 UTC](https://discourse.nodered.org/t/config-node-close-event/12823 "2019-07-02T20:35:34Z")

</div>

As per the docs I understood a config node can ( and should) handle the close event when necessary. Is that correct? Because it seems my handler is not called in my config node and I assume it should at least be called …

---

## [Project - deciding when to use arduino code vs nodes](https://discourse.nodered.org/t/project-deciding-when-to-use-arduino-code-vs-nodes/12627)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 11\
**Last updated:** [2 July 2019 19:53 UTC](https://discourse.nodered.org/t/project-deciding-when-to-use-arduino-code-vs-nodes/12627 "2019-07-02T19:53:45Z")

</div>

I've been thinking about this for a while as I want to convert my existing project to support MQTT. Link to my github project Schematic In this project there are two inputs from an intruder alarm panel: Alarm armed …

---

## [Slightly OT: Major leak of Orvibo user data](https://discourse.nodered.org/t/slightly-ot-major-leak-of-orvibo-user-data/12830)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 1\
**Last updated:** [2 July 2019 16:31 UTC](https://discourse.nodered.org/t/slightly-ot-major-leak-of-orvibo-user-data/12830 "2019-07-02T16:31:28Z")

</div>

Hi all, slightly off topic but since it is quite possible people have some of these devices. Change passwords straight away ...

---

## [Error enabling persistent context](https://discourse.nodered.org/t/error-enabling-persistent-context/12800)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 7\
**Last updated:** [2 July 2019 17:39 UTC](https://discourse.nodered.org/t/error-enabling-persistent-context/12800 "2019-07-02T17:39:31Z")

</div>

I'm running NR v0.20.6, Node.js v8.11.2 and trying to enable persistent context storage. In my settings.js file, contextStorage: { default: { module:"memory" }, } works fine, but contextStorage: { …

---

## [Node File not creating or appending file](https://discourse.nodered.org/t/node-file-not-creating-or-appending-file/12760)

<div class="topic-metadata">

**Author:** [@Romulas](https://discourse.nodered.org/u/Romulas)\
**Replies:** 5\
**Last updated:** [2 July 2019 16:17 UTC](https://discourse.nodered.org/t/node-file-not-creating-or-appending-file/12760 "2019-07-02T16:17:07Z")

</div>

Hi I've been using the Nodered plugin in Hassio for a while works great I have quite a few flows running. I would like to log MQTT payloads to a file. To test I send a simple timestamp to the File Node. (Standard Fil…

---

## [No debug messages mystery](https://discourse.nodered.org/t/no-debug-messages-mystery/12791)

<div class="topic-metadata">

**Author:** [@hepcat72](https://discourse.nodered.org/u/hepcat72)\
**Replies:** 4\
**Last updated:** [2 July 2019 15:39 UTC](https://discourse.nodered.org/t/no-debug-messages-mystery/12791 "2019-07-02T15:39:27Z")

</div>

I set up some wemo socket (i.e. outlet/plug) nodes to control some window unit air conditioners I installed over the weekend. They are triggered via IFTTT & Webhookrelay. I created 2 ways to turn a set of wemo sockets …

---

## [Type Error on dragging a node from the node palette on NR v0.20.6](https://discourse.nodered.org/t/type-error-on-dragging-a-node-from-the-node-palette-on-nr-v0-20-6/12822)

<div class="topic-metadata">

**Author:** [@dbaba](https://discourse.nodered.org/u/dbaba)\
**Replies:** 2\
**Last updated:** [2 July 2019 12:51 UTC](https://discourse.nodered.org/t/type-error-on-dragging-a-node-from-the-node-palette-on-nr-v0-20-6/12822 "2019-07-02T12:51:35Z")

</div>

I'm a contribution node developer. I received an issue report from my node users. They say as of NR v0.20.6, dragging a node (node-red-contrib-lwm2m node) from the node palette didn't work properly. So I looked into the…

---

## [Node display configuration is incorrect, what's the reason ](https://discourse.nodered.org/t/node-display-configuration-is-incorrect-whats-the-reason/12812)

<div class="topic-metadata">

**Author:** [@liuxuetan](https://discourse.nodered.org/u/liuxuetan)\
**Replies:** 7\
**Last updated:** [2 July 2019 11:33 UTC](https://discourse.nodered.org/t/node-display-configuration-is-incorrect-whats-the-reason/12812 "2019-07-02T11:33:55Z")

</div>

The program imported in the new version of node-red software (the program runs well on the old version of the software). The node display configuration is incorrect. What's the reason?

---

## [In the UI Editor how to change the interface depending on a config node](https://discourse.nodered.org/t/in-the-ui-editor-how-to-change-the-interface-depending-on-a-config-node/12818)

<div class="topic-metadata">

**Author:** [@jmcanterafonseca](https://discourse.nodered.org/u/jmcanterafonseca)\
**Replies:** 2\
**Last updated:** [2 July 2019 11:01 UTC](https://discourse.nodered.org/t/in-the-ui-editor-how-to-change-the-interface-depending-on-a-config-node/12818 "2019-07-02T11:01:43Z")

</div>

I have a Node which UI configuration points to a Config node. Now I want to change the edit interface of my Node (hiding some fields) depending on the value of a configuration field within the referred Config Node. Is t…

---

## [Add to an array to produce 2 lines on a chart](https://discourse.nodered.org/t/add-to-an-array-to-produce-2-lines-on-a-chart/12814)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 1\
**Last updated:** [2 July 2019 10:16 UTC](https://discourse.nodered.org/t/add-to-an-array-to-produce-2-lines-on-a-chart/12814 "2019-07-02T10:16:00Z")

</div>

Hi am having difficulty, I want a payload that produces 2 lines on a chart here's my existing array msg.payload={"name":'DN',"points":\[{"00:00":20},{"23:59":20}\]}; and I want to add say {"name":'DZ',"points":\[{"00:00":…

---

## [Install two Node Red on same device/server](https://discourse.nodered.org/t/install-two-node-red-on-same-device-server/12810)

<div class="topic-metadata">

**Author:** [@YT2310](https://discourse.nodered.org/u/YT2310)\
**Replies:** 2\
**Last updated:** [2 July 2019 09:57 UTC](https://discourse.nodered.org/t/install-two-node-red-on-same-device-server/12810 "2019-07-02T09:57:47Z")

</div>

Hello Everyone, Is it possible to install Node red two times on the same device so that I can use two different Node Red Systems on the same device or server? For the moment I use Node red on a virtual machine. Now I w…

---

## [Insert data to Microsoft Azure](https://discourse.nodered.org/t/insert-data-to-microsoft-azure/12806)

<div class="topic-metadata">

**Author:** [@jason\_tien](https://discourse.nodered.org/u/jason_tien)\
**Replies:** 3\
**Last updated:** [2 July 2019 08:56 UTC](https://discourse.nodered.org/t/insert-data-to-microsoft-azure/12806 "2019-07-02T08:56:37Z")

</div>

Hi everyone. I would like to ask about why the Microsoft Azure every time just get one to two data only? how to solve this problems? Because my flow is when the groov view detected "1" or "0" I need to store the data in …

---

## [Providing private nodes – use package.json](https://discourse.nodered.org/t/providing-private-nodes-use-package-json/12686)

<div class="topic-metadata">

**Author:** [@pelis](https://discourse.nodered.org/u/pelis)\
**Replies:** 10\
**Last updated:** [2 July 2019 08:44 UTC](https://discourse.nodered.org/t/providing-private-nodes-use-package-json/12686 "2019-07-02T08:44:13Z")

</div>

In the newer releases of node-red you seem to have changed the file structure regarding nodes. You have introduced @node-red and below that you are now storing your core nodes. It seems you are no longer looking into ……

---

## [Is there a node to control Pi hdmi Monitor?](https://discourse.nodered.org/t/is-there-a-node-to-control-pi-hdmi-monitor/12799)

<div class="topic-metadata">

**Author:** [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Replies:** 4\
**Last updated:** [2 July 2019 07:51 UTC](https://discourse.nodered.org/t/is-there-a-node-to-control-pi-hdmi-monitor/12799 "2019-07-02T07:51:52Z")

</div>

Hi, Just wondering if there is a node to control the hdmi display on a pi, ie control what is being displayed, font size, color, timesquare scroll, image, pixels, etc? I guess one fiddle around and use Dashboard UI some…

---

## [How to install the historical version node-red](https://discourse.nodered.org/t/how-to-install-the-historical-version-node-red/12804)

<div class="topic-metadata">

**Author:** [@liuxuetan](https://discourse.nodered.org/u/liuxuetan)\
**Replies:** 2\
**Last updated:** [2 July 2019 07:02 UTC](https://discourse.nodered.org/t/how-to-install-the-historical-version-node-red/12804 "2019-07-02T07:02:26Z")

</div>

How to install the historical version node-red？

---

## [Deselect the series Legends of Chart Control automatically](https://discourse.nodered.org/t/deselect-the-series-legends-of-chart-control-automatically/12782)

<div class="topic-metadata">

**Author:** [@kalyan1986](https://discourse.nodered.org/u/kalyan1986)\
**Replies:** 2\
**Last updated:** [2 July 2019 05:21 UTC](https://discourse.nodered.org/t/deselect-the-series-legends-of-chart-control-automatically/12782 "2019-07-02T05:21:58Z")

</div>

I would like to deselect all the series legends of the line chart. Can it be done programmatically?

---

## [Node-Red stop to run when no SSH](https://discourse.nodered.org/t/node-red-stop-to-run-when-no-ssh/12777)

<div class="topic-metadata">

**Author:** [@eng56](https://discourse.nodered.org/u/eng56)\
**Replies:** 2\
**Last updated:** [1 July 2019 11:31 UTC](https://discourse.nodered.org/t/node-red-stop-to-run-when-no-ssh/12777 "2019-07-01T11:31:26Z")

</div>

Hello, I m' new on Node Red, first thank you for all your help, it helped me a lot but now I'm blocked and I don't find the soltuion on the discourse. My node red is hosted on a Amazon Server (EC2) and linked to an Infl…

---

## [Accessing global variables from a custom node](https://discourse.nodered.org/t/accessing-global-variables-from-a-custom-node/7330)

<div class="topic-metadata">

**Author:** [@Karina25](https://discourse.nodered.org/u/Karina25)\
**Replies:** 9\
**Last updated:** [1 July 2019 10:10 UTC](https://discourse.nodered.org/t/accessing-global-variables-from-a-custom-node/7330 "2019-07-01T10:10:21Z")

</div>

Hello, i recently managed to create my own node but unfortunately i can't access my global variables in the JavaScript Code of the node. I tried it like this: global.get("name") As soon as i use it in Node-RED i get th…

---

## [Subflow problem](https://discourse.nodered.org/t/subflow-problem/12771)

<div class="topic-metadata">

**Author:** [@iungo](https://discourse.nodered.org/u/iungo)\
**Replies:** 6\
**Last updated:** [1 July 2019 09:44 UTC](https://discourse.nodered.org/t/subflow-problem/12771 "2019-07-01T09:44:38Z")

</div>

I have a problem with i2c ADC in the subflow. If I add a subflow with i2c device in flow, the first time it works fine, but after I remove the subflow and deploy, i2c still works. Further - worse. If I add and remove s…

---

## [Archiving and synchronization of data along with time stamp with MQTT broker after failure of internet connection in IOT gateway](https://discourse.nodered.org/t/archiving-and-synchronization-of-data-along-with-time-stamp-with-mqtt-broker-after-failure-of-internet-connection-in-iot-gateway/12770)

<div class="topic-metadata">

**Author:** [@DJIOT](https://discourse.nodered.org/u/DJIOT)\
**Replies:** 8\
**Last updated:** [1 July 2019 09:25 UTC](https://discourse.nodered.org/t/archiving-and-synchronization-of-data-along-with-time-stamp-with-mqtt-broker-after-failure-of-internet-connection-in-iot-gateway/12770 "2019-07-01T09:25:27Z")

</div>

Dear Team, I have a following requirement for water project. We are getting water pump station data in IOT gateway . We want send this data to MQTT broker which is working fine. But we need to implement functionality …

---

## [Interval time calculation](https://discourse.nodered.org/t/interval-time-calculation/12357)

<div class="topic-metadata">

**Author:** [@Carloj](https://discourse.nodered.org/u/Carloj)\
**Replies:** 10\
**Last updated:** [1 July 2019 08:39 UTC](https://discourse.nodered.org/t/interval-time-calculation/12357 "2019-07-01T08:39:09Z")

</div>

i got the following flow:" \[{"id":"79ce684e.6b6da8","type":"function","z":"1f216cc0.281a93","name":"INSERT statement","func":"msg.topic = \\"INSERT INTO \`IOT\_DATA\` ( \`DATA\_BRON\`,\`DATA\_SOORT\`,\`DATA\_WAARDE\`) VALUES ('77','…

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

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