# Latest

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

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

**Page:** 1281

---

## [Dashboard Gauge unit conversion](https://discourse.nodered.org/t/dashboard-gauge-unit-conversion/11053)

<div class="topic-metadata">

**Author:** [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Replies:** 9\
**Last updated:** [14 May 2019 02:03 UTC](https://discourse.nodered.org/t/dashboard-gauge-unit-conversion/11053 "2019-05-14T02:03:56Z")

</div>

Using the gauge as a temperature display, the input to it is in F. I have used the angular expression {{ (payload.currently.temperature - 32) \* 5/9 | number:0 }} to convert to C (in the Value Format field). The numeric…

---

## [Control Arduino Uno](https://discourse.nodered.org/t/control-arduino-uno/11081)

<div class="topic-metadata">

**Author:** [@Jason223](https://discourse.nodered.org/u/Jason223)\
**Replies:** 1\
**Last updated:** [13 May 2019 23:49 UTC](https://discourse.nodered.org/t/control-arduino-uno/11081 "2019-05-13T23:49:17Z")

</div>

I'm trying to control solenoids (on and off control) via Arduino Uno with Node-Red and Firmata, but don't want to use the injection button as is demonstrated in most examples. What other nodes are capable of interfacing …

---

## [How to get variables from dashboard into a Python3 script](https://discourse.nodered.org/t/how-to-get-variables-from-dashboard-into-a-python3-script/10898)

<div class="topic-metadata">

**Author:** [@Ant422](https://discourse.nodered.org/u/Ant422)\
**Replies:** 4\
**Last updated:** [13 May 2019 19:19 UTC](https://discourse.nodered.org/t/how-to-get-variables-from-dashboard-into-a-python3-script/10898 "2019-05-13T19:19:16Z")

</div>

Hi all, Long time reader of the forum and it has answered all my questions to date, thank you. I'm looking for the best method to do this. There seems to be many routes I can go and I'm getting myself in a muddle tryin…

---

## [Influx DB Out node with two databases](https://discourse.nodered.org/t/influx-db-out-node-with-two-databases/11057)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 5\
**Last updated:** [13 May 2019 15:30 UTC](https://discourse.nodered.org/t/influx-db-out-node-with-two-databases/11057 "2019-05-13T15:30:22Z")

</div>

Using two databases from one Node-RED installation I discover an issue, maybe someone can help me. Running MQTT, InfluxDB and Node-RED on a RPi with IP-addres xxx.xxx.xxx.160 I can set the Influx DB Out Node to write to…

---

## [Using uibuilder with WebPack](https://discourse.nodered.org/t/using-uibuilder-with-webpack/7283)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 6\
**Last updated:** [13 May 2019 15:09 UTC](https://discourse.nodered.org/t/using-uibuilder-with-webpack/7283 "2019-05-13T15:09:46Z")

</div>

Hi all, Just letting you know that I have finally got round to testing uibuilder with webpack. I've put together a quick outline of the best way I've come up with so far and added that to the WIKI. I know that some fo…

---

## [Access a value on message](https://discourse.nodered.org/t/access-a-value-on-message/10925)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 6\
**Last updated:** [13 May 2019 13:22 UTC](https://discourse.nodered.org/t/access-a-value-on-message/10925 "2019-05-13T13:22:58Z")

</div>

Good afternoon If is not a bit f abuse can someone help me to access prinTime (as example) on message below in order to get it as mesg.payload? {"\_timestamp": 1557336569, "progress": 43, "printer\_data": {"progress": …

---

## [Switch on/off a flow for "alarm"](https://discourse.nodered.org/t/switch-on-off-a-flow-for-alarm/11038)

<div class="topic-metadata">

**Author:** [@eaventer](https://discourse.nodered.org/u/eaventer)\
**Replies:** 3\
**Last updated:** [13 May 2019 13:06 UTC](https://discourse.nodered.org/t/switch-on-off-a-flow-for-alarm/11038 "2019-05-13T13:06:00Z")

</div>

Hi All I am very new and so out of depth its not even funny, but I have been playing around with tasmota/Mqtt and node red for going on to 6 months now and it is hectic! In this almost 6 months I have I have several swi…

---

## [Can’t connect NR to control Kodi?](https://discourse.nodered.org/t/can-t-connect-nr-to-control-kodi/11048)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 2\
**Last updated:** [12 May 2019 22:01 UTC](https://discourse.nodered.org/t/can-t-connect-nr-to-control-kodi/11048 "2019-05-12T22:01:36Z")

</div>

Hi I’ve tried a number of ways to connect to my Kodi installation but had no luck, I’ve tried the Kodi node (which just keeps showing reconnecting), I’ve also tried a tcp node (which shows connected but I can’t get that…

---

## [Storing an object into the flow](https://discourse.nodered.org/t/storing-an-object-into-the-flow/11036)

<div class="topic-metadata">

**Author:** [@Aviation](https://discourse.nodered.org/u/Aviation)\
**Replies:** 4\
**Last updated:** [12 May 2019 19:35 UTC](https://discourse.nodered.org/t/storing-an-object-into-the-flow/11036 "2019-05-12T19:35:24Z")

</div>

Hi all, actually, storing an object into the flow drives me crazy. If I process the code below, I got always the String "\[object Object\]" stored in the flow and even if I return it to the debug it is the same string re…

---

## [Database Store and Forward options](https://discourse.nodered.org/t/database-store-and-forward-options/11011)

<div class="topic-metadata">

**Author:** [@pderbyshire](https://discourse.nodered.org/u/pderbyshire)\
**Replies:** 23\
**Last updated:** [12 May 2019 18:50 UTC](https://discourse.nodered.org/t/database-store-and-forward-options/11011 "2019-05-12T18:50:12Z")

</div>

Anyone know of nodes that can assist with Database (MSSQL, MySQL, Oracle, etc) store and forward functionality? For example it will appear I am storing data to Table1 in Database1 on Server1. If I am unable to store a …

---

## [Get a value from website](https://discourse.nodered.org/t/get-a-value-from-website/11043)

<div class="topic-metadata">

**Author:** [@HaVi](https://discourse.nodered.org/u/HaVi)\
**Replies:** 5\
**Last updated:** [12 May 2019 17:32 UTC](https://discourse.nodered.org/t/get-a-value-from-website/11043 "2019-05-12T17:32:47Z")

</div>

Hi, I want to use a value from a website to write it in my Influx database. The HTTP-request URL I use in Node-RED is https://waterinfo.rws.nl/#!/details/publiek/waterhoogte-t-o-v-nap/Tiel-Waal(TIEW)/Waterhoogte\_\_\_20Op…

---

## [Problem with exec node](https://discourse.nodered.org/t/problem-with-exec-node/11014)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 6\
**Last updated:** [12 May 2019 14:17 UTC](https://discourse.nodered.org/t/problem-with-exec-node/11014 "2019-05-12T14:17:03Z")

</div>

Hello I think I have problem with the exec node. I don't get the same result when I use the same command in an exec node or in the putty console. For example, I try to use ngrok. (but I don't use the ngrok node, becau…

---

## [Node-red crash when network is down?](https://discourse.nodered.org/t/node-red-crash-when-network-is-down/11034)

<div class="topic-metadata">

**Author:** [@patwiken](https://discourse.nodered.org/u/patwiken)\
**Replies:** 2\
**Last updated:** [12 May 2019 10:18 UTC](https://discourse.nodered.org/t/node-red-crash-when-network-is-down/11034 "2019-05-12T10:18:02Z")

</div>

Hi, sometimes Node-red is crashing and I think it's when my network is down. I don' know why there is this behaviour. Here are the logs when the crash occurs. May 11 20:20:00 Home-server node-red\[1234\]: 11 May 20:20:00…

---

## [Dashboard resolution layout](https://discourse.nodered.org/t/dashboard-resolution-layout/11023)

<div class="topic-metadata">

**Author:** [@accca](https://discourse.nodered.org/u/accca)\
**Replies:** 6\
**Last updated:** [12 May 2019 08:59 UTC](https://discourse.nodered.org/t/dashboard-resolution-layout/11023 "2019-05-12T08:59:57Z")

</div>

Hello, I have a question regarding the dashboard. My situation can be found below, in the two images. I would like a certain panel (group) to be "forced" to be in a certain position, even if the screen resolution chang…

---

## [Errors when trying to compare dates (every 5s) :"Function tried to send a message of type string"](https://discourse.nodered.org/t/errors-when-trying-to-compare-dates-every-5s-function-tried-to-send-a-message-of-type-string/11028)

<div class="topic-metadata">

**Author:** [@xoani](https://discourse.nodered.org/u/xoani)\
**Replies:** 2\
**Last updated:** [12 May 2019 05:13 UTC](https://discourse.nodered.org/t/errors-when-trying-to-compare-dates-every-5s-function-tried-to-send-a-message-of-type-string/11028 "2019-05-12T05:13:44Z")

</div>

Hello. I need to be able to check when the date changes (when the day is over and a new one starts) ever 5 seconds. For that I have a function node that checks the date and saves it in a msg.var , another delay node for …

---

## [Why don't Node-RED nodes allow multiple inputs?](https://discourse.nodered.org/t/why-dont-node-red-nodes-allow-multiple-inputs/10973)

<div class="topic-metadata">

**Author:** [@BrotherCreamy](https://discourse.nodered.org/u/BrotherCreamy)\
**Replies:** 9\
**Last updated:** [10 May 2019 07:34 UTC](https://discourse.nodered.org/t/why-dont-node-red-nodes-allow-multiple-inputs/10973 "2019-05-10T07:34:17Z")

</div>

For clarity: I'm not asking how to implement multiple inputs to a function, I already know the workarounds. I want to know why Node-RED developers would inhibit such a functionality. It seems so obvious and natural to …

---

## [Ngrok node doesn't work : no return message](https://discourse.nodered.org/t/ngrok-node-doesnt-work-no-return-message/11015)

<div class="topic-metadata">

**Author:** [@mike67](https://discourse.nodered.org/u/mike67)\
**Replies:** 3\
**Last updated:** [11 May 2019 21:30 UTC](https://discourse.nodered.org/t/ngrok-node-doesnt-work-no-return-message/11015 "2019-05-11T21:30:39Z")

</div>

Hello I try to use ngrok node. But it doesn't work. here is my code :slight\_smile: \[{"id":"80ffda43.b67d08","type":"ngrok","z":"15f53d11.3e2703","port":"https://localhost:8081","creds":"f1427d00.42191","region":"us",…

---

## [Halting flow based on state of light, or better way?](https://discourse.nodered.org/t/halting-flow-based-on-state-of-light-or-better-way/10765)

<div class="topic-metadata">

**Author:** [@garnern2](https://discourse.nodered.org/u/garnern2)\
**Replies:** 14\
**Last updated:** [11 May 2019 19:56 UTC](https://discourse.nodered.org/t/halting-flow-based-on-state-of-light-or-better-way/10765 "2019-05-11T19:56:33Z")

</div>

Greetings. I'm a complete n00b when it comes to Node Red, but also a dedicated learner, so I'm looking forward to contributing as I become more familiar with how things work. For my first string, I want to turn on our b…

---

## [How to split mqtt tag values](https://discourse.nodered.org/t/how-to-split-mqtt-tag-values/10794)

<div class="topic-metadata">

**Author:** [@muharremsari](https://discourse.nodered.org/u/muharremsari)\
**Replies:** 12\
**Last updated:** [11 May 2019 11:30 UTC](https://discourse.nodered.org/t/how-to-split-mqtt-tag-values/10794 "2019-05-11T11:30:19Z")

</div>

Have a two tags or more recived from mqtt broker. How to split tag from each other for seperated outputs? Best regards

---

## [Authentication in dashboard](https://discourse.nodered.org/t/authentication-in-dashboard/10948)

<div class="topic-metadata">

**Author:** [@chirag](https://discourse.nodered.org/u/chirag)\
**Replies:** 3\
**Last updated:** [11 May 2019 04:49 UTC](https://discourse.nodered.org/t/authentication-in-dashboard/10948 "2019-05-11T04:49:22Z")

</div>

I want apply password on dashboard to go one tab to other tab. how can it is possible?

---

## [Nested types get messed up when passed to more than one node](https://discourse.nodered.org/t/nested-types-get-messed-up-when-passed-to-more-than-one-node/11006)

<div class="topic-metadata">

**Author:** [@Holger-Will](https://discourse.nodered.org/u/Holger-Will)\
**Replies:** 6\
**Last updated:** [11 May 2019 02:46 UTC](https://discourse.nodered.org/t/nested-types-get-messed-up-when-passed-to-more-than-one-node/11006 "2019-05-11T02:46:19Z")

</div>

I came across some weired behavior: consider the following function node: class MyArray extends Array{} class MyThing { constructor(){ this.arr = new MyArray() } } var thing = new MyThing() return {paylo…

---

## [Is it possible to change the color of a disabled switch's label?](https://discourse.nodered.org/t/is-it-possible-to-change-the-color-of-a-disabled-switchs-label/11016)

<div class="topic-metadata">

**Author:** [@kraigen](https://discourse.nodered.org/u/kraigen)\
**Replies:** 1\
**Last updated:** [11 May 2019 01:47 UTC](https://discourse.nodered.org/t/is-it-possible-to-change-the-color-of-a-disabled-switchs-label/11016 "2019-05-11T01:47:57Z")

</div>

Hey, everyone I have a couple of switches in a dashboard that can be enabled or disabled by a "master switch". However, I want the labels to show the if the object that the switch represents is on or off. I need a way t…

---

## [Installing a timer for a switch](https://discourse.nodered.org/t/installing-a-timer-for-a-switch/10993)

<div class="topic-metadata">

**Author:** [@Unikumet](https://discourse.nodered.org/u/Unikumet)\
**Replies:** 7\
**Last updated:** [10 May 2019 17:16 UTC](https://discourse.nodered.org/t/installing-a-timer-for-a-switch/10993 "2019-05-10T17:16:27Z")

</div>

Hi all, I'm creating this topic in good faith that someone on this forum can be able to help a new Node-RED'er. I have made a basic flow which activates a function with a ON / OFF switch, connected to a LED light to di…

---

## [Renaming a file in JavaScript Node](https://discourse.nodered.org/t/renaming-a-file-in-javascript-node/10995)

<div class="topic-metadata">

**Author:** [@xoani](https://discourse.nodered.org/u/xoani)\
**Replies:** 2\
**Last updated:** [10 May 2019 16:57 UTC](https://discourse.nodered.org/t/renaming-a-file-in-javascript-node/10995 "2019-05-10T16:57:50Z")

</div>

I have this code in my Python3 Function Node os.rename('cont.json', '%s.json'% formated\_string) msg\['payload'\]='%s.json'% formated\_string return msg It renames the file cont.json as formated\_string.json (formated\_stri…

---

## [How do you get only the last number that's outputted?](https://discourse.nodered.org/t/how-do-you-get-only-the-last-number-thats-outputted/11000)

<div class="topic-metadata">

**Author:** [@oaltakrouri](https://discourse.nodered.org/u/oaltakrouri)\
**Replies:** 3\
**Last updated:** [10 May 2019 16:19 UTC](https://discourse.nodered.org/t/how-do-you-get-only-the-last-number-thats-outputted/11000 "2019-05-10T16:19:26Z")

</div>

So I am importing a CSV file that always adds new rows, and I want to get just one of the columns, but always from the last row. I should only have 1 number outputted. I figured out how to get the specific column by u…

---

## [NextionHMI / Raspberry Pi](https://discourse.nodered.org/t/nextionhmi-raspberry-pi/10976)

<div class="topic-metadata">

**Author:** [@mhswa](https://discourse.nodered.org/u/mhswa)\
**Replies:** 4\
**Last updated:** [10 May 2019 16:12 UTC](https://discourse.nodered.org/t/nextionhmi-raspberry-pi/10976 "2019-05-10T16:12:07Z")

</div>

Hello I have a Nexion HMI that i would like to control my PCA9685 Hat, I have Node-Red communicating with the servos and it works nicely, But now i need to control the Flow with a Nexion HMI via a usb UART connection. i…

---

## [Preserve / store configuration on nodes](https://discourse.nodered.org/t/preserve-store-configuration-on-nodes/10929)

<div class="topic-metadata">

**Author:** [@PaulKeates1](https://discourse.nodered.org/u/PaulKeates1)\
**Replies:** 2\
**Last updated:** [10 May 2019 15:07 UTC](https://discourse.nodered.org/t/preserve-store-configuration-on-nodes/10929 "2019-05-10T15:07:15Z")

</div>

Hi, First - thanks for writing an awesome tool! NR has helped us immensely in multiple areas. I want to be able to preserve / store / use parameters on nodes so that when they are deployed on a new instance of Node-RE…

---

## [PCA9685 Control](https://discourse.nodered.org/t/pca9685-control/10981)

<div class="topic-metadata">

**Author:** [@mhswa](https://discourse.nodered.org/u/mhswa)\
**Replies:** 1\
**Last updated:** [10 May 2019 14:54 UTC](https://discourse.nodered.org/t/pca9685-control/10981 "2019-05-10T14:54:44Z")

</div>

Hi All I've been tasked to build a small demo display at my work and I'm trying to figure out the best way to interface with my hardware. I have 3 servos and a ESC to control via adafruit PWM Hat (PCA9685) I've insta…

---

## [Xor encryption Arduino code To Node Red?](https://discourse.nodered.org/t/xor-encryption-arduino-code-to-node-red/10890)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 16\
**Last updated:** [10 May 2019 14:29 UTC](https://discourse.nodered.org/t/xor-encryption-arduino-code-to-node-red/10890 "2019-05-10T14:29:28Z")

</div>

Hi All, I am still looking for encryption of my data transmitted in 433MHZ .I am not looking for absolute security but just a tip so that my messages are not read and decrypted easily. I found an XOR encryption that lo…

---

## [Context variables in Python3 function node?](https://discourse.nodered.org/t/context-variables-in-python3-function-node/10994)

<div class="topic-metadata">

**Author:** [@xoani](https://discourse.nodered.org/u/xoani)\
**Replies:** 5\
**Last updated:** [10 May 2019 13:07 UTC](https://discourse.nodered.org/t/context-variables-in-python3-function-node/10994 "2019-05-10T13:07:04Z")

</div>

Hello. I am trying to store values in a flow variable and call it in the next function node. The problem is that I am using Python3 function nodes and I don't know how to work with flow variables in python. Can anyone s…

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

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