# Latest

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

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

**Page:** 1147

---

## [Getting undefined error in flow.get](https://discourse.nodered.org/t/getting-undefined-error-in-flow-get/22582)

<div class="topic-metadata">

**Author:** [@GravityRZ](https://discourse.nodered.org/u/GravityRZ)\
**Replies:** 3\
**Last updated:** [3 March 2020 20:38 UTC](https://discourse.nodered.org/t/getting-undefined-error-in-flow-get/22582 "2020-03-03T20:38:34Z")

</div>

Hello, i work with flow.get and global.get a lot however i get an error in the currrent flow but do not see anything wrong de output is undefined but it should state up (the value of network.192.168.1.25.ipstate i su…

---

## [Dashboard dropdown - button](https://discourse.nodered.org/t/dashboard-dropdown-button/17812)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 12\
**Last updated:** [3 March 2020 19:09 UTC](https://discourse.nodered.org/t/dashboard-dropdown-button/17812 "2020-03-03T19:09:29Z")

</div>

I used a dropdown and 2 buttons on 1 line together Then the button is placed over the dropdown options but i want it after the options and not over it, i guess it is a bug?

---

## [typedInput performance issue?](https://discourse.nodered.org/t/typedinput-performance-issue/22510)

<div class="topic-metadata">

**Author:** [@Thierry](https://discourse.nodered.org/u/Thierry)\
**Replies:** 4\
**Last updated:** [3 March 2020 18:34 UTC](https://discourse.nodered.org/t/typedinput-performance-issue/22510 "2020-03-03T18:34:30Z")

</div>

Hello, I face a performance issue in the editor when using change node with several rules. To reproduce the "issue": simply create a change node with 10 to 15 rules inside (just keep default created rules and edit st…

---

## [Mqtt client connection to a remote mosquitto broker](https://discourse.nodered.org/t/mqtt-client-connection-to-a-remote-mosquitto-broker/22494)

<div class="topic-metadata">

**Author:** [@saeed1](https://discourse.nodered.org/u/saeed1)\
**Replies:** 4\
**Last updated:** [3 March 2020 18:24 UTC](https://discourse.nodered.org/t/mqtt-client-connection-to-a-remote-mosquitto-broker/22494 "2020-03-03T18:24:18Z")

</div>

Hi, I want to send my temperature sensor data on a remote sensor. Node Red , mosquitto broker has been installed already. I am accessing my remote Server by using vpn. My mqtt Client is connected to my home Network. R…

---

## [Function not working](https://discourse.nodered.org/t/function-not-working/22473)

<div class="topic-metadata">

**Author:** [@debouttek](https://discourse.nodered.org/u/debouttek)\
**Replies:** 11\
**Last updated:** [3 March 2020 17:40 UTC](https://discourse.nodered.org/t/function-not-working/22473 "2020-03-03T17:40:56Z")

</div>

Why is my function not working? If I input 10 lines it works. \[{"id":"bc74df63.d1433","type":"function","z":"698281a9.1e1108","name":"Tabel","func":"m = msg.payload;\\nif(m === 0 ){\\n msg.payload=0;\\n} \\nif(m == 1 ){\\…

---

## [How to get json into a inject](https://discourse.nodered.org/t/how-to-get-json-into-a-inject/22533)

<div class="topic-metadata">

**Author:** [@gbond](https://discourse.nodered.org/u/gbond)\
**Replies:** 4\
**Last updated:** [3 March 2020 17:02 UTC](https://discourse.nodered.org/t/how-to-get-json-into-a-inject/22533 "2020-03-03T17:02:28Z")

</div>

I'm sure this should be easy but I just can't seem to get my head around this:- \[topic switch can be used to change device state. The message will be something like this: { topic: "switch", payload: { value: (1|0) } …

---

## [Error: ER\_EMPTY\_QUERY: Query was empty](https://discourse.nodered.org/t/error-er-empty-query-query-was-empty/11831)

<div class="topic-metadata">

**Author:** [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Replies:** 8\
**Last updated:** [3 March 2020 15:50 UTC](https://discourse.nodered.org/t/error-er-empty-query-query-was-empty/11831 "2020-03-03T15:50:02Z")

</div>

Hi, I'm trying to learn node-red and taking things one step at a time. I'm currently trying to store multiple sensor data to a mysql db with no luck. So, i tried to break it down by using an inject node, mysql node and a…

---

## [Home Assistant node red add on websocket errors](https://discourse.nodered.org/t/home-assistant-node-red-add-on-websocket-errors/22559)

<div class="topic-metadata">

**Author:** [@seamus65](https://discourse.nodered.org/u/seamus65)\
**Replies:** 2\
**Last updated:** [3 March 2020 15:33 UTC](https://discourse.nodered.org/t/home-assistant-node-red-add-on-websocket-errors/22559 "2020-03-03T15:33:09Z")

</div>

I have a problem on HA 0.106.2 and have had it for the last couple of updates. Node red add on version 6.1.3, but has been ongoing for a few versions now, since I reinstalled and setup Home Assistant over my old hassbia…

---

## [How can i convert a Value to a JSON file](https://discourse.nodered.org/t/how-can-i-convert-a-value-to-a-json-file/22564)

<div class="topic-metadata">

**Author:** [@Job-Hoogeboom](https://discourse.nodered.org/u/Job-Hoogeboom)\
**Replies:** 0\
**Last updated:** [3 March 2020 14:37 UTC](https://discourse.nodered.org/t/how-can-i-convert-a-value-to-a-json-file/22564 "2020-03-03T14:37:45Z")

</div>

Hi! I'm still learning in Node-Red, I have a Schneider electric Smartlink SI D, it's a wireless Modbus gateway. I can read/receive the voltage, and current power in Node-Red. I want to send the data to Amazon AWS analyt…

---

## [Values to csv file](https://discourse.nodered.org/t/values-to-csv-file/22471)

<div class="topic-metadata">

**Author:** [@Belgium1](https://discourse.nodered.org/u/Belgium1)\
**Replies:** 5\
**Last updated:** [3 March 2020 14:37 UTC](https://discourse.nodered.org/t/values-to-csv-file/22471 "2020-03-03T14:37:11Z")

</div>

Hello, I am trying to put some modbus values into a csv file but haven't been able to do this so far. Is there anyone who can help me how to do this? My flow looks like this I read 6 values from modbus and I am trying…

---

## [Ble scan issues](https://discourse.nodered.org/t/ble-scan-issues/22561)

<div class="topic-metadata">

**Author:** [@andreas58](https://discourse.nodered.org/u/andreas58)\
**Replies:** 0\
**Last updated:** [3 March 2020 14:17 UTC](https://discourse.nodered.org/t/ble-scan-issues/22561 "2020-03-03T14:17:45Z")

</div>

After rebooten my raspberry node ble scan doesn’t work anymore. It did work for a long time before. Error message is “Unable to start BLE scan. Adapter state: unauthorized”. Any idee? Thanks

---

## [Gauge with 4 color zone instead of default 3](https://discourse.nodered.org/t/gauge-with-4-color-zone-instead-of-default-3/22537)

<div class="topic-metadata">

**Author:** [@mandeepahuja](https://discourse.nodered.org/u/mandeepahuja)\
**Replies:** 2\
**Last updated:** [3 March 2020 13:46 UTC](https://discourse.nodered.org/t/gauge-with-4-color-zone-instead-of-default-3/22537 "2020-03-03T13:46:14Z")

</div>

Hello team! I want to show 4 different Color zones on the gauge widget instead of the default 3. Can someone please point me in the right direction. I've read a few different posts about changing background color on te…

---

## [Nodered in docker windows container](https://discourse.nodered.org/t/nodered-in-docker-windows-container/22542)

<div class="topic-metadata">

**Author:** [@SujanShrestha](https://discourse.nodered.org/u/SujanShrestha)\
**Replies:** 9\
**Last updated:** [3 March 2020 12:21 UTC](https://discourse.nodered.org/t/nodered-in-docker-windows-container/22542 "2020-03-03T12:21:41Z")

</div>

I am trying to build docker image for node red. IN my dockerfile i have FROM node:8-slim, which work if i run docker with linux container. But i am not able to do this in windows container. I tried with different version…

---

## [Node-RED will not install](https://discourse.nodered.org/t/node-red-will-not-install/22435)

<div class="topic-metadata">

**Author:** [@rcbuck](https://discourse.nodered.org/u/rcbuck)\
**Replies:** 17\
**Last updated:** [3 March 2020 10:28 UTC](https://discourse.nodered.org/t/node-red-will-not-install/22435 "2020-03-03T10:28:22Z")

</div>

I have a problem that has me completely stumped. I created a document for a friend of mine to use to install Node-RED on a Pi Zero W. Several attempts at installing fail with the message "node-red installation not yet fu…

---

## [(Observation) more fun with FireFox and Chrome display of web pages](https://discourse.nodered.org/t/observation-more-fun-with-firefox-and-chrome-display-of-web-pages/22526)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [3 March 2020 08:36 UTC](https://discourse.nodered.org/t/observation-more-fun-with-firefox-and-chrome-display-of-web-pages/22526 "2020-03-03T08:36:56Z")

</div>

While playing with CSS and stuff, I found another disparity between FF and Chrome on how they display web pages. Two CSS buttons. \[{"id":"8d09f358.cc5c4","type":"ui\_template","z":"1d85b106.5dfcd7","group":"2452ebe2.f30…

---

## [Run a function inside a template node using msg.payload](https://discourse.nodered.org/t/run-a-function-inside-a-template-node-using-msg-payload/22508)

<div class="topic-metadata">

**Author:** [@YLM-UJM](https://discourse.nodered.org/u/YLM-UJM)\
**Replies:** 2\
**Last updated:** [3 March 2020 08:18 UTC](https://discourse.nodered.org/t/run-a-function-inside-a-template-node-using-msg-payload/22508 "2020-03-03T08:18:04Z")

</div>

I have a progress bar with html, css and javascript code which I have written inside a template node (for dashboard). I have understand that I can display some text dynamically (coming from a msg.payload) using {{msg.pay…

---

## [Insert path into "File In" node](https://discourse.nodered.org/t/insert-path-into-file-in-node/22540)

<div class="topic-metadata">

**Author:** [@TryAgain](https://discourse.nodered.org/u/TryAgain)\
**Replies:** 1\
**Last updated:** [3 March 2020 07:02 UTC](https://discourse.nodered.org/t/insert-path-into-file-in-node/22540 "2020-03-03T07:02:43Z")

</div>

I'm using a flow to create a path to a file via the dashboard. User interfaces the date picker to select year, month, and day, then a slider to get the hour of interest. I take the newly created yyyymmddhh and append the…

---

## [Issue with updating variables in function node](https://discourse.nodered.org/t/issue-with-updating-variables-in-function-node/22529)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 16\
**Last updated:** [3 March 2020 00:59 UTC](https://discourse.nodered.org/t/issue-with-updating-variables-in-function-node/22529 "2020-03-03T00:59:40Z")

</div>

Hi everyone This is my first venture into node-red and wondered if someone could maybe help with an issue I don't seem to resolve after hours of trying. Thank you in advance I have a function that simply receives a in…

---

## [Monitoring state of a value in the Context](https://discourse.nodered.org/t/monitoring-state-of-a-value-in-the-context/22521)

<div class="topic-metadata">

**Author:** [@techraf](https://discourse.nodered.org/u/techraf)\
**Replies:** 7\
**Last updated:** [2 March 2020 22:05 UTC](https://discourse.nodered.org/t/monitoring-state-of-a-value-in-the-context/22521 "2020-03-02T22:05:23Z")

</div>

Is the following polling for value the correct way to get a message for each change in value of a key in the Context? \[{"id":"f029180a.bf5918","type":"inject","z":"38af556d.c263fa","name":"","topic":"","payload":"true…

---

## [How to make a "real time button"?](https://discourse.nodered.org/t/how-to-make-a-real-time-button/22431)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [2 March 2020 21:20 UTC](https://discourse.nodered.org/t/how-to-make-a-real-time-button/22431 "2020-03-02T21:20:35Z")

</div>

Is it possible? What I am wanting to do is have a button which if I click, sends a signal. But if I hold it, sends repeated signals (at a given frequency). Can it be done? My basic idea I was going to do was have an…

---

## [Combining Messages](https://discourse.nodered.org/t/combining-messages/22457)

<div class="topic-metadata">

**Author:** [@stefan](https://discourse.nodered.org/u/stefan)\
**Replies:** 10\
**Last updated:** [2 March 2020 21:15 UTC](https://discourse.nodered.org/t/combining-messages/22457 "2020-03-02T21:15:17Z")

</div>

Hello all, I'm new to Node-RED and Java Script programming, so maybe there is a trivial solution to my problem, but I could not find anything yet. I would like to retrieve data from my Loxone smart home "Miniserver" a…

---

## [Node-red-contrib-oled in use](https://discourse.nodered.org/t/node-red-contrib-oled-in-use/22511)

<div class="topic-metadata">

**Author:** [@dzairo](https://discourse.nodered.org/u/dzairo)\
**Replies:** 3\
**Last updated:** [2 March 2020 20:36 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-in-use/22511 "2020-03-02T20:36:54Z")

</div>

Hi. I install node-red-contrib-oled , but if want uninstall then there is not possible. Still in use . How can I uninstall it ?? I try manually by terminal but show error .. npm uninstall node-red-contrib-oled npm WAR…

---

## [Node-red-node-email](https://discourse.nodered.org/t/node-red-node-email/22507)

<div class="topic-metadata">

**Author:** [@gbond](https://discourse.nodered.org/u/gbond)\
**Replies:** 15\
**Last updated:** [2 March 2020 20:33 UTC](https://discourse.nodered.org/t/node-red-node-email/22507 "2020-03-02T20:33:54Z")

</div>

with the node-red email do I need to set any thing else up so that it is able to send to my local SMTP server that is on the same network I know how to configure the smtp server (windows). but I dont know how the Pi see…

---

## [Node Red - Why?](https://discourse.nodered.org/t/node-red-why/22481)

<div class="topic-metadata">

**Author:** [@sherazan](https://discourse.nodered.org/u/sherazan)\
**Replies:** 6\
**Last updated:** [2 March 2020 20:23 UTC](https://discourse.nodered.org/t/node-red-why/22481 "2020-03-02T20:23:55Z")

</div>

Hi, I managing my Bticino Home automations with "Homebridge", "Homekit", "Home Assistant" and some "Python script" and I'm happy about this! Now I'm interested about Node Red and I undertand that its use should be very e…

---

## [RD6006 power supply protocol and node-red applications](https://discourse.nodered.org/t/rd6006-power-supply-protocol-and-node-red-applications/22519)

<div class="topic-metadata">

**Author:** [@msillano](https://discourse.nodered.org/u/msillano)\
**Replies:** 2\
**Last updated:** [2 March 2020 19:11 UTC](https://discourse.nodered.org/t/rd6006-power-supply-protocol-and-node-red-applications/22519 "2020-03-02T19:11:32Z")

</div>

The RD6006-W power supply is a quasi-professional device, providing up to 60V, 6A (360 Watt). It is possible to control it from the front panel, or via WIFI with an APP from a smartphone, or via USB with the software…

---

## [Set sessionExpiryTime and require user-authentication in adminAuth](https://discourse.nodered.org/t/set-sessionexpirytime-and-require-user-authentication-in-adminauth/22518)

<div class="topic-metadata">

**Author:** [@r0ller](https://discourse.nodered.org/u/r0ller)\
**Replies:** 1\
**Last updated:** [2 March 2020 18:38 UTC](https://discourse.nodered.org/t/set-sessionexpirytime-and-require-user-authentication-in-adminauth/22518 "2020-03-02T18:38:48Z")

</div>

Hi All, I'm trying to put the two properties in adminAuth in settings.js described at: https://nodered.org/docs/user-guide/runtime/securing-node-red#token-expiration i.e.: adminAuth: { sessionExpiryTime: 86400, ... } …

---

## [Controlling a set of LEDs using a temperature value (obtained from OpenWeatherMap)](https://discourse.nodered.org/t/controlling-a-set-of-leds-using-a-temperature-value-obtained-from-openweathermap/22517)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 0\
**Last updated:** [2 March 2020 18:13 UTC](https://discourse.nodered.org/t/controlling-a-set-of-leds-using-a-temperature-value-obtained-from-openweathermap/22517 "2020-03-02T18:13:30Z")

</div>

Here's a link to the tutorial guide for my IoT students. This week I've set them the task of controlling a set of three LEDs from a temperature reading (from OpenWeatherMap). The idea is to turn on the appropriately col…

---

## [Save date depended data regardless of shut downs](https://discourse.nodered.org/t/save-date-depended-data-regardless-of-shut-downs/22503)

<div class="topic-metadata">

**Author:** [@dany17](https://discourse.nodered.org/u/dany17)\
**Replies:** 2\
**Last updated:** [2 March 2020 16:04 UTC](https://discourse.nodered.org/t/save-date-depended-data-regardless-of-shut-downs/22503 "2020-03-02T16:04:33Z")

</div>

hello, I'm pretty new to Node-Red. I'm using a revolution pi and a janitza umg 605 to read energy consumption data of a coffeemaker. The revelution pi is not running permanently but is shut down, when the coffeemaker …

---

## [Node-red-contrib-hubitat](https://discourse.nodered.org/t/node-red-contrib-hubitat/22449)

<div class="topic-metadata">

**Author:** [@Mark\_Ellis](https://discourse.nodered.org/u/Mark_Ellis)\
**Replies:** 2\
**Last updated:** [2 March 2020 15:20 UTC](https://discourse.nodered.org/t/node-red-contrib-hubitat/22449 "2020-03-02T15:20:09Z")

</div>

Can someone help me please as im struggling, I've just got the Hubitat hub, and want to use node red with hub, i have installed node-red-contrib-hubitat and can send commends to Hubitat to turn device on or off, using co…

---

## [UD18 protocol and node-red](https://discourse.nodered.org/t/ud18-protocol-and-node-red/22506)

<div class="topic-metadata">

**Author:** [@msillano](https://discourse.nodered.org/u/msillano)\
**Replies:** 0\
**Last updated:** [2 March 2020 14:51 UTC](https://discourse.nodered.org/t/ud18-protocol-and-node-red/22506 "2020-03-02T14:51:22Z")

</div>

The UD18 can communicate via Bluetooth. To use it in node-red custom projects we need: the communication protocol used by the device (see UD18\_protocol.txt ) node-red nodes to code+send commands and receive…

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

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