# Latest

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

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

**Page:** 983

---

## [How to get a number on my dasboard instead of a string](https://discourse.nodered.org/t/how-to-get-a-number-on-my-dasboard-instead-of-a-string/33978)

<div class="topic-metadata">

**Author:** [@iTzBrilliiiant](https://discourse.nodered.org/u/iTzBrilliiiant)\
**Replies:** 11\
**Last updated:** [9 October 2020 14:06 UTC](https://discourse.nodered.org/t/how-to-get-a-number-on-my-dasboard-instead-of-a-string/33978 "2020-10-09T14:06:35Z")

</div>

Hello, I can get data out of my database but when i display it in my gauge i get a string. How could i get a number instead of a string? Also im getting my data in a array out of my database.

---

## [How to change default (installation) user "pi"](https://discourse.nodered.org/t/how-to-change-default-installation-user-pi/33962)

<div class="topic-metadata">

**Author:** [@loeten](https://discourse.nodered.org/u/loeten)\
**Replies:** 10\
**Last updated:** [9 October 2020 12:59 UTC](https://discourse.nodered.org/t/how-to-change-default-installation-user-pi/33962 "2020-10-09T12:59:20Z")

</div>

Dear all, when installing Node-RED, i did it on an raspberryPi and used the default user "pi"- Now, I disabled the login of this user and use a different user name to login for security reasons. Node-red still works fin…

---

## [Yeelight - Node-red](https://discourse.nodered.org/t/yeelight-node-red/33997)

<div class="topic-metadata">

**Author:** [@Sir\_SiegfriedS](https://discourse.nodered.org/u/Sir_SiegfriedS)\
**Replies:** 0\
**Last updated:** [9 October 2020 13:05 UTC](https://discourse.nodered.org/t/yeelight-node-red/33997 "2020-10-09T13:05:06Z")

</div>

Hey there, i'm a new user in node-red, and an user of home-assistant Can i found help in this forum for controlling Yeelight with node-red ? I have a multiple switch in zigbee2mqtt, and i want to configurate each out w…

---

## [NodeRed Crypto App: Contributors Wanted!](https://discourse.nodered.org/t/nodered-crypto-app-contributors-wanted/33917)

<div class="topic-metadata">

**Author:** [@OKDuncan](https://discourse.nodered.org/u/OKDuncan)\
**Replies:** 2\
**Last updated:** [9 October 2020 12:54 UTC](https://discourse.nodered.org/t/nodered-crypto-app-contributors-wanted/33917 "2020-10-09T12:54:24Z")

</div>

Hi All! I run a crypto startup (Abridged) we began developing with Node-Red to support iterations on creating social crypto systems earlier this year and have greatly accelerated our iteration cycles (from weeks to hrs …

---

## [Import CSV file to MySQL](https://discourse.nodered.org/t/import-csv-file-to-mysql/33964)

<div class="topic-metadata">

**Author:** [@Jotarod](https://discourse.nodered.org/u/Jotarod)\
**Replies:** 8\
**Last updated:** [9 October 2020 12:47 UTC](https://discourse.nodered.org/t/import-csv-file-to-mysql/33964 "2020-10-09T12:47:01Z")

</div>

Hello All, Any idea about how import a CSV file to MySQL with node-red ? My apologies in advance, but I done know how start.... Thanks,

---

## [Tab links are underlined on one NR instance](https://discourse.nodered.org/t/tab-links-are-underlined-on-one-nr-instance/33981)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 9\
**Last updated:** [9 October 2020 11:39 UTC](https://discourse.nodered.org/t/tab-links-are-underlined-on-one-nr-instance/33981 "2020-10-09T11:39:20Z")

</div>

Just in case someone has seen this and knows what the issue is :slight\_smile: My main Win10 NR instance has gone old school internet hyperlinking and is underlining the tabs and the deploy button! Doesn't matter where …

---

## [Flow variable time modified](https://discourse.nodered.org/t/flow-variable-time-modified/33980)

<div class="topic-metadata">

**Author:** [@Moneybox76](https://discourse.nodered.org/u/Moneybox76)\
**Replies:** 4\
**Last updated:** [9 October 2020 08:43 UTC](https://discourse.nodered.org/t/flow-variable-time-modified/33980 "2020-10-09T08:43:32Z")

</div>

Hi, I store data in a flow variable and want to know when this data is stored in the variable. How can I get the time modified from the flow variable itself? Michael

---

## [How to apply if else condition?](https://discourse.nodered.org/t/how-to-apply-if-else-condition/33939)

<div class="topic-metadata">

**Author:** [@UtsavPatel](https://discourse.nodered.org/u/UtsavPatel)\
**Replies:** 3\
**Last updated:** [9 October 2020 07:50 UTC](https://discourse.nodered.org/t/how-to-apply-if-else-condition/33939 "2020-10-09T07:50:21Z")

</div>

Hi, I am trying to design a smart irrigation app in my academic project. In this image, I got the Average value of all sensor input but now I need to add some condition like if average \< 35000 then it will generate a…

---

## [Node-Red OPC UA Clients](https://discourse.nodered.org/t/node-red-opc-ua-clients/33967)

<div class="topic-metadata">

**Author:** [@welpSkr](https://discourse.nodered.org/u/welpSkr)\
**Replies:** 1\
**Last updated:** [9 October 2020 06:21 UTC](https://discourse.nodered.org/t/node-red-opc-ua-clients/33967 "2020-10-09T06:21:59Z")

</div>

Hi all, I'm currently trying OPC UA connection on Node-Red Somehow, most of my OPC UA clients is not working. The IMG is the snapshot of my OPC UA Item in a JSON format. The clients have an interval of 1 second. …

---

## [Node-red-contrib-cast outside local network](https://discourse.nodered.org/t/node-red-contrib-cast-outside-local-network/33942)

<div class="topic-metadata">

**Author:** [@Toster](https://discourse.nodered.org/u/Toster)\
**Replies:** 2\
**Last updated:** [9 October 2020 05:08 UTC](https://discourse.nodered.org/t/node-red-contrib-cast-outside-local-network/33942 "2020-10-09T05:08:41Z")

</div>

Hey guys! I have a simple question. Is it possible to use node-red-contrib-cast with WAN? I have my node red running on IBM Servers and I want to cast stuff to my Google Home. When Im using my PC as server everything wo…

---

## [Day of Year Function To Control a Relay - Charging Device](https://discourse.nodered.org/t/day-of-year-function-to-control-a-relay-charging-device/33921)

<div class="topic-metadata">

**Author:** [@TotoMu](https://discourse.nodered.org/u/TotoMu)\
**Replies:** 7\
**Last updated:** [9 October 2020 04:16 UTC](https://discourse.nodered.org/t/day-of-year-function-to-control-a-relay-charging-device/33921 "2020-10-09T04:16:58Z")

</div>

Hello everybody. I am using NR to control chargers - to prevent overcharging. However, one charger - for toothbrush - cannot be controlled by (for example) a power-reading socket because the power consumed is too small t…

---

## [Versioning of flows at runtime?](https://discourse.nodered.org/t/versioning-of-flows-at-runtime/18326)

<div class="topic-metadata">

**Author:** [@andrzej](https://discourse.nodered.org/u/andrzej)\
**Replies:** 5\
**Last updated:** [9 October 2020 03:52 UTC](https://discourse.nodered.org/t/versioning-of-flows-at-runtime/18326 "2020-10-09T03:52:02Z")

</div>

I'm considering use of NR as a graphical programming component inside a larger project, to allow end users to more easily maintain some of their own logic/code/rules. However, we would need to support versioned flows, w…

---

## [Official or standard location to have a custom node save a file?](https://discourse.nodered.org/t/official-or-standard-location-to-have-a-custom-node-save-a-file/33957)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 9\
**Last updated:** [9 October 2020 03:24 UTC](https://discourse.nodered.org/t/official-or-standard-location-to-have-a-custom-node-save-a-file/33957 "2020-10-09T03:24:37Z")

</div>

Official or standard location to have a custom node save a file? I seem some custom nodes create directories under ~/.node-red/? Is this legit?

---

## [One more vote for making the Dark theme the default theme on install!](https://discourse.nodered.org/t/one-more-vote-for-making-the-dark-theme-the-default-theme-on-install/33833)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 15\
**Last updated:** [8 October 2020 23:24 UTC](https://discourse.nodered.org/t/one-more-vote-for-making-the-dark-theme-the-default-theme-on-install/33833 "2020-10-08T23:24:11Z")

</div>

One more vote for making the Dark theme the default theme on install! Not sure if this is a 'thing' or not, but if it is? Dark theme as default please. :slight\_smile:

---

## [Node-red-contrib-onvif-nodes : Beta test](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-beta-test/33722)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 6\
**Last updated:** [8 October 2020 21:56 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-beta-test/33722 "2020-10-08T21:56:07Z")

</div>

Continuing the discussion from Onvif VS onvif-nodes issue: I will resume the beta test topic from @BartButenaers here (because closed) For me and my cheap ptz camera : I note that continuous movement and absolute …

---

## [Reading modify change on file](https://discourse.nodered.org/t/reading-modify-change-on-file/33940)

<div class="topic-metadata">

**Author:** [@Ward](https://discourse.nodered.org/u/Ward)\
**Replies:** 10\
**Last updated:** [8 October 2020 21:35 UTC](https://discourse.nodered.org/t/reading-modify-change-on-file/33940 "2020-10-08T21:35:22Z")

</div>

Hi, i'm using a watch node for checking if there are changes in file. This works if i open a file and save it's contents manually. But the problem lies with the fact when a siemens comfort panel is writing it's log ov…

---

## [Reset the selected item in dropdown](https://discourse.nodered.org/t/reset-the-selected-item-in-dropdown/33885)

<div class="topic-metadata">

**Author:** [@JosephDe](https://discourse.nodered.org/u/JosephDe)\
**Replies:** 6\
**Last updated:** [8 October 2020 21:14 UTC](https://discourse.nodered.org/t/reset-the-selected-item-in-dropdown/33885 "2020-10-08T21:14:03Z")

</div>

I have the following option values in a dropdown .. option0 = "None" option1 = "A0" option2 = "A1" option3 = "A2" The issue I'm having is when I select an item(ex option2 = "A1") and press a button for process, the …

---

## [Switch node icons color problem](https://discourse.nodered.org/t/switch-node-icons-color-problem/33758)

<div class="topic-metadata">

**Author:** [@mariulin](https://discourse.nodered.org/u/mariulin)\
**Replies:** 24\
**Last updated:** [8 October 2020 21:01 UTC](https://discourse.nodered.org/t/switch-node-icons-color-problem/33758 "2020-10-08T21:01:00Z")

</div>

Hi folks, I've this problem. I need to change icons color in a Switch Node, depending from a "msg" retrieved from a function node: Function node example: "{msg.colour = '#e6d00b';} return msg;" These are my switch …

---

## [Trigger an event by calling the dashboard](https://discourse.nodered.org/t/trigger-an-event-by-calling-the-dashboard/33958)

<div class="topic-metadata">

**Author:** [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Replies:** 4\
**Last updated:** [8 October 2020 19:55 UTC](https://discourse.nodered.org/t/trigger-an-event-by-calling-the-dashboard/33958 "2020-10-08T19:55:19Z")

</div>

hello can i trigger an event by calling the dashboard specified group to log when the page was called or to read and display a current value from the database by opening that group? THX

---

## [Change icon on switch](https://discourse.nodered.org/t/change-icon-on-switch/956)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 14\
**Last updated:** [8 October 2020 18:55 UTC](https://discourse.nodered.org/t/change-icon-on-switch/956 "2020-10-08T18:55:46Z")

</div>

Good afternoon, I know how to how to show a image on a text box or there are options on a template, however on the standard switch node there is the option to change the icon I have tried to set this as custom and s…

---

## [VCAP\_SERVICES for local CouchDB](https://discourse.nodered.org/t/vcap-services-for-local-couchdb/33950)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 3\
**Last updated:** [8 October 2020 17:21 UTC](https://discourse.nodered.org/t/vcap-services-for-local-couchdb/33950 "2020-10-08T17:21:32Z")

</div>

I have a NodeRED application on Bluemix using Cloudant. All well and good. I tried to run it local after setting the VCAP\_SERVICES environment variable. All well and good. Now I want to change to a local couchDB (Port …

---

## [Nested Groups in Dashboard](https://discourse.nodered.org/t/nested-groups-in-dashboard/33946)

<div class="topic-metadata">

**Author:** [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Replies:** 2\
**Last updated:** [8 October 2020 17:19 UTC](https://discourse.nodered.org/t/nested-groups-in-dashboard/33946 "2020-10-08T17:19:40Z")

</div>

I am likely going down the path of UIBuilder because I have such specific desires for my smarthome controls, but I just want to verify that I am not overlooking something. Is there a way in the native NR dashboard to bu…

---

## [Ui-artless-gauge // Layout Adjustment in Dashboard (2)](https://discourse.nodered.org/t/ui-artless-gauge-layout-adjustment-in-dashboard-2/33944)

<div class="topic-metadata">

**Author:** [@pietrofduarte](https://discourse.nodered.org/u/pietrofduarte)\
**Replies:** 2\
**Last updated:** [8 October 2020 16:13 UTC](https://discourse.nodered.org/t/ui-artless-gauge-layout-adjustment-in-dashboard-2/33944 "2020-10-08T16:13:49Z")

</div>

Helo community, I have now the seconde question about adjustment in Dashboard. For any reason that I don´t no unitil this moment, even if I adjust boot gauge with size 4x4 they keep one inside of other and not side by s…

---

## [Ui-artless-gauge // Layout Adjustment in Dashboard](https://discourse.nodered.org/t/ui-artless-gauge-layout-adjustment-in-dashboard/33941)

<div class="topic-metadata">

**Author:** [@pietrofduarte](https://discourse.nodered.org/u/pietrofduarte)\
**Replies:** 2\
**Last updated:** [8 October 2020 16:11 UTC](https://discourse.nodered.org/t/ui-artless-gauge-layout-adjustment-in-dashboard/33941 "2020-10-08T16:11:35Z")

</div>

Hi communty, I am new here and starting with Node-Red in the last two weeks. I am copy some flows and doing some adjustment for my necessity. I am reading a lot of post in forum and a lot documentation. Is tre that a lo…

---

## [How can i subscribe to topics using websockets?](https://discourse.nodered.org/t/how-can-i-subscribe-to-topics-using-websockets/33935)

<div class="topic-metadata">

**Author:** [@codecracker2020](https://discourse.nodered.org/u/codecracker2020)\
**Replies:** 5\
**Last updated:** [8 October 2020 13:19 UTC](https://discourse.nodered.org/t/how-can-i-subscribe-to-topics-using-websockets/33935 "2020-10-08T13:19:33Z")

</div>

How can i subscribe to topics using websockets? I am able to setup the connection but dont know how to subscribe to the topic. Please help

---

## [Error parsing JSON to influxDB](https://discourse.nodered.org/t/error-parsing-json-to-influxdb/33895)

<div class="topic-metadata">

**Author:** [@rparada](https://discourse.nodered.org/u/rparada)\
**Replies:** 13\
**Last updated:** [8 October 2020 12:09 UTC](https://discourse.nodered.org/t/error-parsing-json-to-influxdb/33895 "2020-10-08T12:09:41Z")

</div>

Hi, I have the following flow v2x=JSON.parse(msg.payload); node.log(typeof v2x); msg.payload={ timestamp:v2x\["timestamp"\], latitude: parseFloat((v2x\["message"\]\["basic\_container"\]\["reference\_position"\]\["latitude"\]…

---

## [Calculate time difference - hass.io](https://discourse.nodered.org/t/calculate-time-difference-hass-io/8356)

<div class="topic-metadata">

**Author:** [@folrewef](https://discourse.nodered.org/u/folrewef)\
**Replies:** 15\
**Last updated:** [8 October 2020 11:43 UTC](https://discourse.nodered.org/t/calculate-time-difference-hass-io/8356 "2020-10-08T11:43:14Z")

</div>

Hi, I am really new to node-red and json etc so sorry if my question seems trivial. This is my first try with a function node! I am currently setting up a notification that will tell me if an entity has been unavailabl…

---

## [Help with button](https://discourse.nodered.org/t/help-with-button/33932)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 1\
**Last updated:** [8 October 2020 11:08 UTC](https://discourse.nodered.org/t/help-with-button/33932 "2020-10-08T11:08:18Z")

</div>

Hi! I have almost got this working as i want but i can´t make the icon appear in button. I also want true and false work in boolean. now it´s working if msg.payload is true as a string. \[{"id":"9f204859.1263e8","type":…

---

## [🎉 Node-RED 1.2.0-beta.1 released](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 21\
**Last updated:** [8 October 2020 09:40 UTC](https://discourse.nodered.org/t/node-red-1-2-0-beta-1-released/33557 "2020-10-08T09:40:40Z")

</div>

The first public beta release of Node-RED 1.2.0 is now available. This contains everything planned for the final release which, pending feedback on the beta, we plan to do next week. The Change Log has the full list of…

---

## [Multiple instances authentication](https://discourse.nodered.org/t/multiple-instances-authentication/33819)

<div class="topic-metadata">

**Author:** [@FStefanni](https://discourse.nodered.org/u/FStefanni)\
**Replies:** 6\
**Last updated:** [8 October 2020 09:51 UTC](https://discourse.nodered.org/t/multiple-instances-authentication/33819 "2020-10-08T09:51:31Z")

</div>

Hi, I have the following scenario. I have one server, running two node-red instances, e.g. myserver.net/nodered1 and myserver.net/nodered2. Both instances use the builtin user-password authentication. I would like to…

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

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