# Latest

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

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

**Page:** 1150

---

## [How to improve this "if, else if" code?](https://discourse.nodered.org/t/how-to-improve-this-if-else-if-code/22311)

<div class="topic-metadata">

**Author:** [@whatsupskip](https://discourse.nodered.org/u/whatsupskip)\
**Replies:** 4\
**Last updated:** [27 February 2020 18:53 UTC](https://discourse.nodered.org/t/how-to-improve-this-if-else-if-code/22311 "2020-02-27T18:53:12Z")

</div>

I tried to use the OR operator || to improve this code, but it didn't work the way I though. Is there anyway to simplify this code. The number are all integers. if (HeatPumpTemp\_MB === 19) {HeatPumpTemp\_MB = HeatPumpTe…

---

## [Error-Circular / Wrong usage of persistent global variables?](https://discourse.nodered.org/t/error-circular-wrong-usage-of-persistent-global-variables/19815)

<div class="topic-metadata">

**Author:** [@NrSteffen](https://discourse.nodered.org/u/NrSteffen)\
**Replies:** 18\
**Last updated:** [27 February 2020 18:39 UTC](https://discourse.nodered.org/t/error-circular-wrong-usage-of-persistent-global-variables/19815 "2020-02-27T18:39:37Z")

</div>

First of all a happy new year to all of you! I'm seeing a lot of error-circular messages and I'm wondering if this is caused by "my way" of handling persistent global variables (I'm storing some historic values, e.g. th…

---

## [AI enhanced video security system with Node-RED controller/viewer](https://discourse.nodered.org/t/ai-enhanced-video-security-system-with-node-red-controller-viewer/21622)

<div class="topic-metadata">

**Author:** [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Replies:** 4\
**Last updated:** [27 February 2020 16:09 UTC](https://discourse.nodered.org/t/ai-enhanced-video-security-system-with-node-red-controller-viewer/21622 "2020-02-27T16:09:42Z")

</div>

I've finally got my code up on GitHub with a README.md that should help with the initial setup and some sample images in the Wiki. This is the evolution of: Security Cameras with AI Person Detection All the code can be…

---

## [Find error origin from node-red log](https://discourse.nodered.org/t/find-error-origin-from-node-red-log/22011)

<div class="topic-metadata">

**Author:** [@kaless](https://discourse.nodered.org/u/kaless)\
**Replies:** 4\
**Last updated:** [27 February 2020 15:21 UTC](https://discourse.nodered.org/t/find-error-origin-from-node-red-log/22011 "2020-02-27T15:21:00Z")

</div>

Hello, My node-red server display regularly the following info: 20 Feb 13:36:51 - \[info\] \[exec:e6ac59f1.d21818\] error:Error: Command failed: nc -w 2 -zv 192.168.193.1 22 nc: connect to 192.168.193.1 port 22 (tcp) tim…

---

## [🎉 Node-RED 1.0.4 Released](https://discourse.nodered.org/t/node-red-1-0-4-released/22332)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 0\
**Last updated:** [27 February 2020 15:19 UTC](https://discourse.nodered.org/t/node-red-1-0-4-released/22332 "2020-02-27T15:19:24Z")

</div>

Here's a new Node-RED maintenance release for your enjoyment. It rolls up a few fixes that have trickled in over the last couple of months. Full release details here: https://github.com/node-red/node-red/releases/tag/1.…

---

## [Get the data from running linux app in real time](https://discourse.nodered.org/t/get-the-data-from-running-linux-app-in-real-time/22206)

<div class="topic-metadata">

**Author:** [@XiaoBin](https://discourse.nodered.org/u/XiaoBin)\
**Replies:** 8\
**Last updated:** [27 February 2020 15:12 UTC](https://discourse.nodered.org/t/get-the-data-from-running-linux-app-in-real-time/22206 "2020-02-27T15:12:26Z")

</div>

Hello all I am going to get the data on node-red from running app. The source code I am running is as following. while(1){ status = bscXfer(&xfer); if(xfer.rxCnt \> 0 && status \> 0) { cout \<\< "Received " \<\< xfer.rxC…

---

## [How to update Node-RED?](https://discourse.nodered.org/t/how-to-update-node-red/22326)

<div class="topic-metadata">

**Author:** [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Replies:** 6\
**Last updated:** [27 February 2020 14:32 UTC](https://discourse.nodered.org/t/how-to-update-node-red/22326 "2020-02-27T14:32:31Z")

</div>

Hello, I installed Node-RED on my Raspberry using: bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) Can you please advise how Node-RED is updated, shall…

---

## [Allow the user to change his/her password for dashboard UI](https://discourse.nodered.org/t/allow-the-user-to-change-his-her-password-for-dashboard-ui/22214)

<div class="topic-metadata">

**Author:** [@lenny1972](https://discourse.nodered.org/u/lenny1972)\
**Replies:** 22\
**Last updated:** [27 February 2020 14:25 UTC](https://discourse.nodered.org/t/allow-the-user-to-change-his-her-password-for-dashboard-ui/22214 "2020-02-27T14:25:17Z")

</div>

Hi, I'm thinking about giving the user a way to change - from the dashboard - autonomously his/her own HttpNodeAuth user password. Each and every F/E allow the user to do that why not Node-Red too?!?? What about using f…

---

## [Reading Real Number with Modbus TCP/IP](https://discourse.nodered.org/t/reading-real-number-with-modbus-tcp-ip/22328)

<div class="topic-metadata">

**Author:** [@Ramo96](https://discourse.nodered.org/u/Ramo96)\
**Replies:** 1\
**Last updated:** [27 February 2020 14:13 UTC](https://discourse.nodered.org/t/reading-real-number-with-modbus-tcp-ip/22328 "2020-02-27T14:13:54Z")

</div>

Hello all, I want to read real data type which is 2 WORD using Modbus TCP/IP. How Can I merge these 2 WORD to obtain Real Number. I read before UINT from buffer using these code; // Create new Buffer based on array…

---

## [Dashboard\_Dropdown doesn't use DataArray](https://discourse.nodered.org/t/dashboard-dropdown-doesnt-use-dataarray/22317)

<div class="topic-metadata">

**Author:** [@Recon](https://discourse.nodered.org/u/Recon)\
**Replies:** 11\
**Last updated:** [27 February 2020 13:26 UTC](https://discourse.nodered.org/t/dashboard-dropdown-doesnt-use-dataarray/22317 "2020-02-27T13:26:34Z")

</div>

Hi everyone, ich want to use the ui\_dropdown Node to make a selection of some sensors. The id's and names are stored in a mysql database. I used the thread from @knolleary (https://discourse.nodered.org/t/ui-dropdown-ge…

---

## [Unplanned Restart / Reboot?](https://discourse.nodered.org/t/unplanned-restart-reboot/21524)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 44\
**Last updated:** [27 February 2020 12:41 UTC](https://discourse.nodered.org/t/unplanned-restart-reboot/21524 "2020-02-27T12:41:55Z")

</div>

Hi, it seems that my Node-Red (On Raspi) is rebooting without any trigger or influence. That makes me unhappy, because it clears all chart data and history :frowning: Is there kind of a logfile showing such events and…

---

## [Variable type string with CIP Ethernet/IP](https://discourse.nodered.org/t/variable-type-string-with-cip-ethernet-ip/22240)

<div class="topic-metadata">

**Author:** [@ALeman](https://discourse.nodered.org/u/ALeman)\
**Replies:** 3\
**Last updated:** [27 February 2020 11:07 UTC](https://discourse.nodered.org/t/variable-type-string-with-cip-ethernet-ip/22240 "2020-02-27T11:07:57Z")

</div>

Hello all, Is there any news on when it will be possible to transmit string types with the CIP ethernet/ip node? It would save me a lot of time.

---

## [Storing data changed from 1.0x?](https://discourse.nodered.org/t/storing-data-changed-from-1-0x/22260)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 6\
**Last updated:** [27 February 2020 10:13 UTC](https://discourse.nodered.org/t/storing-data-changed-from-1-0x/22260 "2020-02-27T10:13:37Z")

</div>

Today i updated a 0.20 version to the newest. All went well until i started testing my script. I stored data with a point in the name "msg.client" in the past this was working but now it doesnt. is that a setting thi…

---

## [Node-red-contrib-i2c - node-red 1.02](https://discourse.nodered.org/t/node-red-contrib-i2c-node-red-1-02/17706)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 8\
**Last updated:** [27 February 2020 09:15 UTC](https://discourse.nodered.org/t/node-red-contrib-i2c-node-red-1-02/17706 "2020-02-27T09:15:59Z")

</div>

I wanted to install node-red-contrib-i2c on Node-red 1.02 on Buster with no sucess. Got a long error list. Any idea how to fix it or replace it with a working Node? Any help very much appreciated.

---

## [Bug report: trigger node not passing the correct msg object](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147)

<div class="topic-metadata">

**Author:** [@techraf](https://discourse.nodered.org/u/techraf)\
**Replies:** 25\
**Last updated:** [26 February 2020 23:09 UTC](https://discourse.nodered.org/t/bug-report-trigger-node-not-passing-the-correct-msg-object/22147 "2020-02-26T23:09:18Z")

</div>

Hi, I'm not sure where is best to post this. The trigger node set to send the latest msg object is not passing the latest msg object, but the first msg object with only the payload value replaced. Here's what it looks …

---

## [Added the Ikea dimmer to the nodes](https://discourse.nodered.org/t/added-the-ikea-dimmer-to-the-nodes/22167)

<div class="topic-metadata">

**Author:** [@dougcr4](https://discourse.nodered.org/u/dougcr4)\
**Replies:** 30\
**Last updated:** [26 February 2020 22:42 UTC](https://discourse.nodered.org/t/added-the-ikea-dimmer-to-the-nodes/22167 "2020-02-26T22:42:04Z")

</div>

As new to Red Node when finally got it all up and running and one tutorial I then added the dimmer switch node, now all's just blank with 127.0.0.1 refused to connect. Try: Checking the connection Checking the pr…

---

## [Updating settings.js](https://discourse.nodered.org/t/updating-settings-js/22298)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 4\
**Last updated:** [26 February 2020 22:28 UTC](https://discourse.nodered.org/t/updating-settings-js/22298 "2020-02-26T22:28:06Z")

</div>

I have a couple of seriously old installations of NR on machines (RPi's) that were "not broken, not fixed" but are being re-purposed and need a software refresh. Before jumping in, I would like suggestions on how best to…

---

## [RPI USB allocation](https://discourse.nodered.org/t/rpi-usb-allocation/22068)

<div class="topic-metadata">

**Author:** [@xsilvergs](https://discourse.nodered.org/u/xsilvergs)\
**Replies:** 39\
**Last updated:** [26 February 2020 22:16 UTC](https://discourse.nodered.org/t/rpi-usb-allocation/22068 "2020-02-26T22:16:06Z")

</div>

My project runs on a Raspberry Pi 3B which has two identical serial-USB Victron devises (more devices will be added in time) plugged into it. The rpi can allocate different /dev/ttyUSB\* names especially if a new device i…

---

## [Beginner help with node - Change fill color SVG Graphics](https://discourse.nodered.org/t/beginner-help-with-node-change-fill-color-svg-graphics/22258)

<div class="topic-metadata">

**Author:** [@nodebeginner](https://discourse.nodered.org/u/nodebeginner)\
**Replies:** 5\
**Last updated:** [26 February 2020 21:19 UTC](https://discourse.nodered.org/t/beginner-help-with-node-change-fill-color-svg-graphics/22258 "2020-02-26T21:19:32Z")

</div>

Node: (node-red-contrib-ui-svg) I'm just a beginner and I'm starting to toy around with Node Red and I'm running into some trouble with changing the fill color of one of my SVG images with the inject node. Tutorials onl…

---

## [Node-red-docker fails to build docker images](https://discourse.nodered.org/t/node-red-docker-fails-to-build-docker-images/22268)

<div class="topic-metadata">

**Author:** [@moolbits](https://discourse.nodered.org/u/moolbits)\
**Replies:** 2\
**Last updated:** [26 February 2020 21:14 UTC](https://discourse.nodered.org/t/node-red-docker-fails-to-build-docker-images/22268 "2020-02-26T21:14:16Z")

</div>

Currently if you clone down node-red-docker and run the docker-custom/docker-make.sh script it fails to complete with an error: rm: '/tmp/v8-compile-cache-0' is a directory The command '/bin/sh -c chown -R node-red:node…

---

## [Windows 10 install](https://discourse.nodered.org/t/windows-10-install/22223)

<div class="topic-metadata">

**Author:** [@dougcr4](https://discourse.nodered.org/u/dougcr4)\
**Replies:** 3\
**Last updated:** [26 February 2020 21:04 UTC](https://discourse.nodered.org/t/windows-10-install/22223 "2020-02-26T21:04:29Z")

</div>

on my third install now and get: 24 Feb 23:28:24 - \[info\] Welcome to Node-RED 24 Feb 23:28:24 - \[info\] Node-RED version: v1.0.3 24 Feb 23:28:24 - \[info\] Node.js version: v12.16.1 24 Feb 23:28:24 - \[info\] Windows\_NT …

---

## [Html post to msg.payload](https://discourse.nodered.org/t/html-post-to-msg-payload/22304)

<div class="topic-metadata">

**Author:** [@Fredje](https://discourse.nodered.org/u/Fredje)\
**Replies:** 1\
**Last updated:** [26 February 2020 20:50 UTC](https://discourse.nodered.org/t/html-post-to-msg-payload/22304 "2020-02-26T20:50:51Z")

</div>

I can send through my smartphone a html POST to node red to a .msg payload, it's the number 38 in the attachement, With which function can i make a msg.payload true if the number is 38, and the msg.payload false if it i…

---

## [Uibuilder console output doesn't appear in console](https://discourse.nodered.org/t/uibuilder-console-output-doesnt-appear-in-console/22273)

<div class="topic-metadata">

**Author:** [@tobias](https://discourse.nodered.org/u/tobias)\
**Replies:** 5\
**Last updated:** [26 February 2020 20:07 UTC](https://discourse.nodered.org/t/uibuilder-console-output-doesnt-appear-in-console/22273 "2020-02-26T20:07:50Z")

</div>

Hello, i want to create a website with the uibuilder, but the console.log() function doesn't work...there is no output on console. Anybody knows this issue or will the console output from uibuilder not showed on the nod…

---

## [Is payload required by design or is it a bug?](https://discourse.nodered.org/t/is-payload-required-by-design-or-is-it-a-bug/22300)

<div class="topic-metadata">

**Author:** [@techraf](https://discourse.nodered.org/u/techraf)\
**Replies:** 5\
**Last updated:** [26 February 2020 19:29 UTC](https://discourse.nodered.org/t/is-payload-required-by-design-or-is-it-a-bug/22300 "2020-02-26T19:29:58Z")

</div>

The docs say: Messages usually have a payload property - this is the default property that most nodes will work with. What about nodes that don't work with payload, but just pass the message? Is payload property r…

---

## [Getting started with uibuilder: default page doesn't work](https://discourse.nodered.org/t/getting-started-with-uibuilder-default-page-doesnt-work/22252)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 3\
**Last updated:** [26 February 2020 18:19 UTC](https://discourse.nodered.org/t/getting-started-with-uibuilder-default-page-doesnt-work/22252 "2020-02-26T18:19:56Z")

</div>

I'm really interested in uibuilder because I've hit on limitations with the UI Template node in Dashboard, either that or I'm not quite imaginative or skilled enough to find solutions to some of the problems surrounding …

---

## [Windows 10 users](https://discourse.nodered.org/t/windows-10-users/22222)

<div class="topic-metadata">

**Author:** [@dougcr4](https://discourse.nodered.org/u/dougcr4)\
**Replies:** 3\
**Last updated:** [26 February 2020 18:13 UTC](https://discourse.nodered.org/t/windows-10-users/22222 "2020-02-26T18:13:14Z")

</div>

What is the guestimated percent of window 10 users for this software,

---

## [Nodered communication and logo 8 siemens](https://discourse.nodered.org/t/nodered-communication-and-logo-8-siemens/22213)

<div class="topic-metadata">

**Author:** [@Fredje](https://discourse.nodered.org/u/Fredje)\
**Replies:** 4\
**Last updated:** [26 February 2020 17:47 UTC](https://discourse.nodered.org/t/nodered-communication-and-logo-8-siemens/22213 "2020-02-26T17:47:31Z")

</div>

Hello everybody, I am new to node red and my situation is: a voice command through thé app TASKER to node red, through HTTP post, to close an exit contact on logo 8 Siemens, and when i say the voice command again, the e…

---

## [MongoDB functions](https://discourse.nodered.org/t/mongodb-functions/20994)

<div class="topic-metadata">

**Author:** [@LTDS](https://discourse.nodered.org/u/LTDS)\
**Replies:** 1\
**Last updated:** [26 February 2020 17:15 UTC](https://discourse.nodered.org/t/mongodb-functions/20994 "2020-02-26T17:15:44Z")

</div>

Hi there ! I'm trying to use the MongoDB to save some data on my setup. But I can't find any information or tutorial about how to formulate the functions... Where can I find such information ? Thanks ! Nico

---

## [Dashboard slideshow gallery](https://discourse.nodered.org/t/dashboard-slideshow-gallery/22291)

<div class="topic-metadata">

**Author:** [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Replies:** 0\
**Last updated:** [26 February 2020 16:20 UTC](https://discourse.nodered.org/t/dashboard-slideshow-gallery/22291 "2020-02-26T16:20:07Z")

</div>

Dashboard slideshow This flow based on the @Andrei flow : https://flows.nodered.org/flow/990b338798dc80c829f75677f7176647 creates a slideshow in the Dashboard with pictures from a local directory in your Raspberry pi. …

---

## [Is there a rpi Tiny RTC i2c Module- DS1307 for nodered](https://discourse.nodered.org/t/is-there-a-rpi-tiny-rtc-i2c-module-ds1307-for-nodered/22290)

<div class="topic-metadata">

**Author:** [@didiersee](https://discourse.nodered.org/u/didiersee)\
**Replies:** 0\
**Last updated:** [26 February 2020 15:07 UTC](https://discourse.nodered.org/t/is-there-a-rpi-tiny-rtc-i2c-module-ds1307-for-nodered/22290 "2020-02-26T15:07:04Z")

</div>

Is there a rpi Tiny RTC i2c Module- DS1307 for Node-red on Raspberry PI? If yes is possible you give me link. Thank you verry mutch.

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

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