# Latest

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

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

**Page:** 1015

---

## [Very weird thing just happened in the \`edit\` screen](https://discourse.nodered.org/t/very-weird-thing-just-happened-in-the-edit-screen/31468)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [23 August 2020 21:21 UTC](https://discourse.nodered.org/t/very-weird-thing-just-happened-in-the-edit-screen/31468 "2020-08-23T21:21:33Z")

</div>

It happened, and I dismissed it, but then thought it should be something to mention. It didn't take much effort to invoke the problem again. This is the screen as it was: I then drag a function node onto the screen.…

---

## [Encryption Key with projects](https://discourse.nodered.org/t/encryption-key-with-projects/31913)

<div class="topic-metadata">

**Author:** [@ffich](https://discourse.nodered.org/u/ffich)\
**Replies:** 4\
**Last updated:** [23 August 2020 21:28 UTC](https://discourse.nodered.org/t/encryption-key-with-projects/31913 "2020-08-23T21:28:20Z")

</div>

Hi folks, I keep loosing my encryption key in my Raspberry Pi Node-RED projects... if I'm not wrong it happens after every shutdown. I want to point out that I never do a proper shutdown on my Pi, but it's always a pow…

---

## [Reading text file, removing filename](https://discourse.nodered.org/t/reading-text-file-removing-filename/31907)

<div class="topic-metadata">

**Author:** [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Replies:** 3\
**Last updated:** [23 August 2020 20:04 UTC](https://discourse.nodered.org/t/reading-text-file-removing-filename/31907 "2020-08-23T20:04:05Z")

</div>

Hello if i insert the array by hand it works. If i read it from the file I have the same information in the object, but the file path is below. This seems to disturb the further flow, because the function does not proce…

---

## [Scan I2C register of MPU6000 module through node red](https://discourse.nodered.org/t/scan-i2c-register-of-mpu6000-module-through-node-red/7661)

<div class="topic-metadata">

**Author:** [@fredy76](https://discourse.nodered.org/u/fredy76)\
**Replies:** 3\
**Last updated:** [23 August 2020 19:26 UTC](https://discourse.nodered.org/t/scan-i2c-register-of-mpu6000-module-through-node-red/7661 "2020-08-23T19:26:49Z")

</div>

I have Mpu6000 which is connected to I2C shield mounted on Raspberry Pi 3 B+. I have installed the node-red and I2C node in raspberry pi, but to scan the I2C data, do I have to write the code or is there any other way t…

---

## [Wemos D1 Mini Pin with 3.3v?](https://discourse.nodered.org/t/wemos-d1-mini-pin-with-3-3v/31593)

<div class="topic-metadata">

**Author:** [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Replies:** 4\
**Last updated:** [23 August 2020 14:48 UTC](https://discourse.nodered.org/t/wemos-d1-mini-pin-with-3-3v/31593 "2020-08-23T14:48:59Z")

</div>

Hey guys, have small problem and my actual knownledge about electronics isn't the best, just for small things. I'm trying to achieve that a pin on the Wemos is on 3.3v all the time until I make a "digitalWrite(PIN, LOW…

---

## [Webserver on port 80 using alternate installer](https://discourse.nodered.org/t/webserver-on-port-80-using-alternate-installer/31902)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 4\
**Last updated:** [23 August 2020 14:43 UTC](https://discourse.nodered.org/t/webserver-on-port-80-using-alternate-installer/31902 "2020-08-23T14:43:38Z")

</div>

I needed to run a web-server to listen out to HTTP requests from an ESP32 running microblocks (a Scratch type programming environment for microcontrollers) and I found that the microblocks HTTP request couldn't cope with…

---

## ["Error: ENOENT: no such file or directory" shows on log when opening DEBUG in new window](https://discourse.nodered.org/t/error-enoent-no-such-file-or-directory-shows-on-log-when-opening-debug-in-new-window/29303)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 10\
**Last updated:** [23 August 2020 13:07 UTC](https://discourse.nodered.org/t/error-enoent-no-such-file-or-directory-shows-on-log-when-opening-debug-in-new-window/29303 "2020-08-23T13:07:37Z")

</div>

This happens in Node-RED v 1.0.6 and 1.1.0 - I didn't try it in earlier releases. Reproducible on OS: macOS v10.14.6 and raspberry pi (buster) Open the editor and go to the debug tab down the bottom right is the 'Open…

---

## [Filtering Trafic Information](https://discourse.nodered.org/t/filtering-trafic-information/31787)

<div class="topic-metadata">

**Author:** [@alcor007](https://discourse.nodered.org/u/alcor007)\
**Replies:** 4\
**Last updated:** [23 August 2020 10:08 UTC](https://discourse.nodered.org/t/filtering-trafic-information/31787 "2020-08-23T10:08:20Z")

</div>

Hi all, I created a flow to extract trafic information from an rss-feed (still learning!). Next, I devised a rather complicated way to filter out trafic information relating to certain roads only. Even though I am a com…

---

## [How to set node id for css](https://discourse.nodered.org/t/how-to-set-node-id-for-css/31314)

<div class="topic-metadata">

**Author:** [@newsky40](https://discourse.nodered.org/u/newsky40)\
**Replies:** 3\
**Last updated:** [23 August 2020 09:34 UTC](https://discourse.nodered.org/t/how-to-set-node-id-for-css/31314 "2020-08-23T09:34:25Z")

</div>

I want to use the css file to assign a color to each text nodes. I want each nodes to have a different color. To do so, I want to set a node id or class and assign a color directly from the css file. How can I assign an…

---

## [\[newbie\] How to make this function?](https://discourse.nodered.org/t/newbie-how-to-make-this-function/31886)

<div class="topic-metadata">

**Author:** [@hugocoolens](https://discourse.nodered.org/u/hugocoolens)\
**Replies:** 8\
**Last updated:** [23 August 2020 09:26 UTC](https://discourse.nodered.org/t/newbie-how-to-make-this-function/31886 "2020-08-23T09:26:43Z")

</div>

I'd like to display the voltage measured by a sonoff pow r2 displayed in a graph. I have captured the msg.payload in json format and made two input nodes with it, so you can see how the data is made up. I just want a f…

---

## [Help to find how this message is being made](https://discourse.nodered.org/t/help-to-find-how-this-message-is-being-made/31896)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [23 August 2020 07:31 UTC](https://discourse.nodered.org/t/help-to-find-how-this-message-is-being-made/31896 "2020-08-23T07:31:21Z")

</div>

For reasons I am not sure I am trying to get back into an old project as a distraction on train signals. It doesn't work. (Shame. It used to.) This is all because a while back I lost EVERYTHING and had to reconstruct…

---

## [Googel api local ip does not work](https://discourse.nodered.org/t/googel-api-local-ip-does-not-work/31890)

<div class="topic-metadata">

**Author:** [@Higgis](https://discourse.nodered.org/u/Higgis)\
**Replies:** 0\
**Last updated:** [22 August 2020 21:07 UTC](https://discourse.nodered.org/t/googel-api-local-ip-does-not-work/31890 "2020-08-22T21:07:19Z")

</div>

trying to install node-red-contrib-google-oauth2 but when I have to fill in the information according to the page https://flows.nodered.org/node/node-red-contrib-google-oauth2 "Choose Web Application. As Authorized Jav…

---

## [How to solve this problem Roll off Roof observatory](https://discourse.nodered.org/t/how-to-solve-this-problem-roll-off-roof-observatory/31744)

<div class="topic-metadata">

**Author:** [@calberts](https://discourse.nodered.org/u/calberts)\
**Replies:** 25\
**Last updated:** [22 August 2020 20:06 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-roll-off-roof-observatory/31744 "2020-08-22T20:06:56Z")

</div>

I am building Roll of Roof Observatory. I like to move the roof with node-red. I have for that two relays and peace of software. the software is not flexible. If i open the roof relay 1 will be active if i close the roof…

---

## [Reverse/split bytes](https://discourse.nodered.org/t/reverse-split-bytes/31885)

<div class="topic-metadata">

**Author:** [@New2Node](https://discourse.nodered.org/u/New2Node)\
**Replies:** 2\
**Last updated:** [22 August 2020 19:42 UTC](https://discourse.nodered.org/t/reverse-split-bytes/31885 "2020-08-22T19:42:02Z")

</div>

Hi, I’m loving Node red and learning how to manipulate messages! I have a question which I’m sure someone will find simple! What’s the best way to reverse/spilt a string and return some data. For example, I have a meter…

---

## [Question about Nora, Google Home and Switch node](https://discourse.nodered.org/t/question-about-nora-google-home-and-switch-node/31877)

<div class="topic-metadata">

**Author:** [@jepe63](https://discourse.nodered.org/u/jepe63)\
**Replies:** 14\
**Last updated:** [22 August 2020 15:11 UTC](https://discourse.nodered.org/t/question-about-nora-google-home-and-switch-node/31877 "2020-08-22T15:11:32Z")

</div>

Hi , i've got a flow which is almost working exept the beginning. I'm using the Nora plugin to capture commands like 'open blinds' and 'close blinds'. From there i'm using this to control my KM-Tronic lan switches. Th…

---

## [How to reset rbe?](https://discourse.nodered.org/t/how-to-reset-rbe/31876)

<div class="topic-metadata">

**Author:** [@GeorgeX](https://discourse.nodered.org/u/GeorgeX)\
**Replies:** 5\
**Last updated:** [22 August 2020 12:29 UTC](https://discourse.nodered.org/t/how-to-reset-rbe/31876 "2020-08-22T12:29:13Z")

</div>

I try to reset narrowband but maybe I don't understand how this works. 10 = PASS 10 = PASS 10 = PASS 12 = BLOCK because change of value compared to last output is greater or equal to 1 inject "reset" = to clear the …

---

## [Using exec node creates and Error 1 message even though it works](https://discourse.nodered.org/t/using-exec-node-creates-and-error-1-message-even-though-it-works/31854)

<div class="topic-metadata">

**Author:** [@shel](https://discourse.nodered.org/u/shel)\
**Replies:** 11\
**Last updated:** [22 August 2020 09:46 UTC](https://discourse.nodered.org/t/using-exec-node-creates-and-error-1-message-even-though-it-works/31854 "2020-08-22T09:46:19Z")

</div>

I have a watch directory node feeding into an exec node that watches for a file to be placed on a FTP server on the Pi. When the file arrives the command moves the file to another location on the FTP server for use. The …

---

## [My recent journey into MQTT and messages. Two handy nodes to help you](https://discourse.nodered.org/t/my-recent-journey-into-mqtt-and-messages-two-handy-nodes-to-help-you/31863)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [22 August 2020 09:33 UTC](https://discourse.nodered.org/t/my-recent-journey-into-mqtt-and-messages-two-handy-nodes-to-help-you/31863 "2020-08-22T09:33:42Z")

</div>

Preface: This was brought about because of a lot of help I got from other people in my quest to send complicated messages over MQTT. Thanks to @knolleary, @JGKK for helping me .... resolve the problem and for the inspi…

---

## [Filtering message from Tesla Node](https://discourse.nodered.org/t/filtering-message-from-tesla-node/31871)

<div class="topic-metadata">

**Author:** [@RobTester](https://discourse.nodered.org/u/RobTester)\
**Replies:** 3\
**Last updated:** [22 August 2020 09:28 UTC](https://discourse.nodered.org/t/filtering-message-from-tesla-node/31871 "2020-08-22T09:28:10Z")

</div>

Hi, I'm new to Node Red, and have a question. How do i filter the msg.payload output from a Tesla Node. So that I have only the output "battery\_level" value that I can send with a Mqtt node to a Domoticz Device with IDX…

---

## [Button label update problem](https://discourse.nodered.org/t/button-label-update-problem/14524)

<div class="topic-metadata">

**Author:** [@iungo](https://discourse.nodered.org/u/iungo)\
**Replies:** 5\
**Last updated:** [22 August 2020 08:11 UTC](https://discourse.nodered.org/t/button-label-update-problem/14524 "2020-08-22T08:11:38Z")

</div>

I have a problem with the dynamic button update after switching between dashboard tabs. As you can see on the video, button labels update properly, before I switched to another tab (0:12). After that, when I return to …

---

## [How to Redirect Tab using UI Control Node](https://discourse.nodered.org/t/how-to-redirect-tab-using-ui-control-node/1852)

<div class="topic-metadata">

**Author:** [@rishanaziz](https://discourse.nodered.org/u/rishanaziz)\
**Replies:** 10\
**Last updated:** [22 August 2020 08:11 UTC](https://discourse.nodered.org/t/how-to-redirect-tab-using-ui-control-node/1852 "2020-08-22T08:11:11Z")

</div>

Hi, I would like to know how to redirect tab using ui control. The following is what I had tried: \[{"id":"f7511300.c34c4","type":"mui\_form","z":"6ddaac4.fd62654","name":"login-form","label":"\<center\>\<font color=\\"#00…

---

## [How can I update a switch status on the dashboard](https://discourse.nodered.org/t/how-can-i-update-a-switch-status-on-the-dashboard/14989)

<div class="topic-metadata">

**Author:** [@rcbuck](https://discourse.nodered.org/u/rcbuck)\
**Replies:** 44\
**Last updated:** [22 August 2020 08:09 UTC](https://discourse.nodered.org/t/how-can-i-update-a-switch-status-on-the-dashboard/14989 "2020-08-22T08:09:19Z")

</div>

I am new to Node-RED and have been playing with it for the last few days. I would like a few pointers as to how to proceed with my project. I have node-red installed on a raspberry pi. I have a client, broker, and dashb…

---

## [Node-Red Dashboard COM Port Selector](https://discourse.nodered.org/t/node-red-dashboard-com-port-selector/31867)

<div class="topic-metadata">

**Author:** [@ind\_automation](https://discourse.nodered.org/u/ind_automation)\
**Replies:** 1\
**Last updated:** [22 August 2020 07:34 UTC](https://discourse.nodered.org/t/node-red-dashboard-com-port-selector/31867 "2020-08-22T07:34:00Z")

</div>

I am interested in making a node for the user interface which is a cross platform COM Port / USB Serial Device Selector. I have never had an opportunity to contribute to an opensource project before but this seems like a…

---

## [Alarm Clock / Setting inject to start withl global variable](https://discourse.nodered.org/t/alarm-clock-setting-inject-to-start-withl-global-variable/31831)

<div class="topic-metadata">

**Author:** [@zimb86](https://discourse.nodered.org/u/zimb86)\
**Replies:** 4\
**Last updated:** [22 August 2020 07:27 UTC](https://discourse.nodered.org/t/alarm-clock-setting-inject-to-start-withl-global-variable/31831 "2020-08-22T07:27:34Z")

</div>

Hi all, I´m looking for the easiest way to start a flow at a specific time. This time ist actually saved in a global variable global.alarmclock\_time I tried to achieve this using "inject enhanced" and set tje global v…

---

## [How to disable an editableList](https://discourse.nodered.org/t/how-to-disable-an-editablelist/31858)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 3\
**Last updated:** [22 August 2020 07:23 UTC](https://discourse.nodered.org/t/how-to-disable-an-editablelist/31858 "2020-08-22T07:23:09Z")

</div>

Hi folks, In my latest node I have an editableList, which needs to be disabled somehow when the config screen of my node has been opened. Afterwards they editableList can be enabled, based on the user actions. However…

---

## [Ways to fine-tune widget layouts and spacing?](https://discourse.nodered.org/t/ways-to-fine-tune-widget-layouts-and-spacing/31857)

<div class="topic-metadata">

**Author:** [@tymarbut](https://discourse.nodered.org/u/tymarbut)\
**Replies:** 1\
**Last updated:** [22 August 2020 07:05 UTC](https://discourse.nodered.org/t/ways-to-fine-tune-widget-layouts-and-spacing/31857 "2020-08-22T07:05:48Z")

</div>

I've got two types of widgets next to one another (a gauge and a pie chart), and their layout issues are driving me crazy. I've tried every adjustment I can imagine to their individual sizes, the 1x1 unit sizes/proporti…

---

## [Extract values from complex payload](https://discourse.nodered.org/t/extract-values-from-complex-payload/31866)

<div class="topic-metadata">

**Author:** [@anakaine](https://discourse.nodered.org/u/anakaine)\
**Replies:** 3\
**Last updated:** [22 August 2020 06:55 UTC](https://discourse.nodered.org/t/extract-values-from-complex-payload/31866 "2020-08-22T06:55:21Z")

</div>

I'm a relative newbie to Node-Red, but capable developer in some other languages. What would be the best way to approach extracting the Temprature and Humidity values from the following payload? The payload is being rec…

---

## [Hex to Base64 function](https://discourse.nodered.org/t/hex-to-base64-function/31864)

<div class="topic-metadata">

**Author:** [@vangalvin](https://discourse.nodered.org/u/vangalvin)\
**Replies:** 4\
**Last updated:** [22 August 2020 06:22 UTC](https://discourse.nodered.org/t/hex-to-base64-function/31864 "2020-08-22T06:22:34Z")

</div>

The project I am working on requires me to set the ID and channel data of a device. Both are in HEX, I managed to get the ID data working fine but the channel data is an issue becaue its a 16bit hex value 0x00FF,0x000…

---

## [Help with how to parse this message](https://discourse.nodered.org/t/help-with-how-to-parse-this-message/31817)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 44\
**Last updated:** [22 August 2020 01:52 UTC](https://discourse.nodered.org/t/help-with-how-to-parse-this-message/31817 "2020-08-22T01:52:30Z")

</div>

This is the message: rgb,3,0,20,0 And I want to switch the message depending on the (in this case) 3. It can be 1, 2 or 3. Thanks in advance.

---

## [Info for Windows 10 users: v2004 WSL updates](https://discourse.nodered.org/t/info-for-windows-10-users-v2004-wsl-updates/31841)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [22 August 2020 00:16 UTC](https://discourse.nodered.org/t/info-for-windows-10-users-v2004-wsl-updates/31841 "2020-08-22T00:16:29Z")

</div>

Hi all, quick update for anyone using Windows 10 with Node-RED. The 2004 version recently released has updated Windows Subsystem for Linux (WSL) to v2. It now uses a full Linux kernel and has greatly speeded up filing s…

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

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