# Latest

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

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

**Page:** 719

---

## [Value greater than X for Y seconds?](https://discourse.nodered.org/t/value-greater-than-x-for-y-seconds/52092)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 3\
**Last updated:** [11 October 2021 12:50 UTC](https://discourse.nodered.org/t/value-greater-than-x-for-y-seconds/52092 "2021-10-11T12:50:51Z")

</div>

I'm trying to do an automation based on power consumption. It's the common If consumption is greater than 4500W for 15 seconds, send me an alert. I've been searching how to do it but couldn't find anything. And I've been…

---

## [Template node javascript object evaluation - stringify](https://discourse.nodered.org/t/template-node-javascript-object-evaluation-stringify/52083)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 6\
**Last updated:** [11 October 2021 11:28 UTC](https://discourse.nodered.org/t/template-node-javascript-object-evaluation-stringify/52083 "2021-10-11T11:28:11Z")

</div>

I am trying to use a template node to setup a javascript object, eg.: I want to stringify it to make it available via a http endpoint. So I use a function node; msg.payload = JSON.stringify(msg.payload) return msg …

---

## [Open file where path to file = payload](https://discourse.nodered.org/t/open-file-where-path-to-file-payload/52088)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 2\
**Last updated:** [11 October 2021 11:13 UTC](https://discourse.nodered.org/t/open-file-where-path-to-file-payload/52088 "2021-10-11T11:13:22Z")

</div>

I open file like this but I want to open file from variable payload like this How to do that ?

---

## [How to REMOTE debug with VS code?](https://discourse.nodered.org/t/how-to-remote-debug-with-vs-code/52067)

<div class="topic-metadata">

**Author:** [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)\
**Replies:** 9\
**Last updated:** [11 October 2021 08:49 UTC](https://discourse.nodered.org/t/how-to-remote-debug-with-vs-code/52067 "2021-10-11T08:49:24Z")

</div>

Since I could not set up remote debugging with the big Visual Studio 2017: I've red all topics related here, took the advice and finally was able install VS code so it can see and edit the .js files on my Raspberry Pi. …

---

## [Flickering with template node](https://discourse.nodered.org/t/flickering-with-template-node/50707)

<div class="topic-metadata">

**Author:** [@Chorum](https://discourse.nodered.org/u/Chorum)\
**Replies:** 22\
**Last updated:** [11 October 2021 07:44 UTC](https://discourse.nodered.org/t/flickering-with-template-node/50707 "2021-10-11T07:44:22Z")

</div>

Hello, i managed to get a live video on my dashboard. I needed 3 Webcams but for developing i only took 1 Webcam and used that stream for every live feed. Thats my Flow: \[ { "id": "1fbc15c7.2103aa", …

---

## [Is it possible to receive customized OPC UA A&C EventTypes over node-red-contrib-opcua?](https://discourse.nodered.org/t/is-it-possible-to-receive-customized-opc-ua-a-c-eventtypes-over-node-red-contrib-opcua/52080)

<div class="topic-metadata">

**Author:** [@Lena](https://discourse.nodered.org/u/Lena)\
**Replies:** 0\
**Last updated:** [11 October 2021 07:12 UTC](https://discourse.nodered.org/t/is-it-possible-to-receive-customized-opc-ua-a-c-eventtypes-over-node-red-contrib-opcua/52080 "2021-10-11T07:12:01Z")

</div>

Hey, I would like to create a OPC UA Client in Node-Red, which receive the Alarms from my Siemens PLC S7-1500. The alarm handling in the PLC is programmed with the program-alarm function. So the OPC UA Server sends the …

---

## [How to build a video surveillance system from scratch?](https://discourse.nodered.org/t/how-to-build-a-video-surveillance-system-from-scratch/51077)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 35\
**Last updated:** [11 October 2021 05:39 UTC](https://discourse.nodered.org/t/how-to-build-a-video-surveillance-system-from-scratch/51077 "2021-10-11T05:39:08Z")

</div>

Hi folks, It is time for me to build a new video surveillance system from scratch. I have bought an usb SSD disc for my Raspberry Pi 4, and I would like to build this system based on the nodes from @kevinGodell (who ha…

---

## [Sending messages from a callback function in a custom node is not working properly after some time](https://discourse.nodered.org/t/sending-messages-from-a-callback-function-in-a-custom-node-is-not-working-properly-after-some-time/51709)

<div class="topic-metadata">

**Author:** [@antoine-em](https://discourse.nodered.org/u/antoine-em)\
**Replies:** 9\
**Last updated:** [11 October 2021 01:46 UTC](https://discourse.nodered.org/t/sending-messages-from-a-callback-function-in-a-custom-node-is-not-working-properly-after-some-time/51709 "2021-10-11T01:46:58Z")

</div>

Good afternoon, I am (re-)opening a new discussion as this one is quite old but I am facing a similar issue I think. Context: - Node-RED version : 2.0.6 - NodeJS version: 16 I have developed a custom node which contai…

---

## [How to send a command like a real keyboard](https://discourse.nodered.org/t/how-to-send-a-command-like-a-real-keyboard/15788)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 11\
**Last updated:** [10 October 2021 03:32 UTC](https://discourse.nodered.org/t/how-to-send-a-command-like-a-real-keyboard/15788 "2021-10-10T03:32:47Z")

</div>

Hi, i searched the whole day in the web, but i cannot find what i need. could someone tell me how a commad (Raspberry pi with Rasbian) has to be that it simulate a real keybord input? In my case i created a display wi…

---

## [Ui\_template Node and Unique HTML Element ID's](https://discourse.nodered.org/t/ui-template-node-and-unique-html-element-ids/52074)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 0\
**Last updated:** [10 October 2021 22:25 UTC](https://discourse.nodered.org/t/ui-template-node-and-unique-html-element-ids/52074 "2021-10-10T22:25:51Z")

</div>

In the vein of the very successful First september give-away (let’s create one gauge) topic I thought I would introduce something that I haven't seen in the forum before (not to say it isn't here but I have not found it…

---

## [Expiring tokens](https://discourse.nodered.org/t/expiring-tokens/52050)

<div class="topic-metadata">

**Author:** [@humphrysr](https://discourse.nodered.org/u/humphrysr)\
**Replies:** 6\
**Last updated:** [10 October 2021 15:43 UTC](https://discourse.nodered.org/t/expiring-tokens/52050 "2021-10-10T15:43:19Z")

</div>

I have to use bearer tokens which expire after one hour. It is a requirement to make a new JWT and get a new access token. This is because of two claims and their relationship to the epoch. Can NR be configured to let …

---

## [Node to display fa-icon](https://discourse.nodered.org/t/node-to-display-fa-icon/52063)

<div class="topic-metadata">

**Author:** [@warnert](https://discourse.nodered.org/u/warnert)\
**Replies:** 1\
**Last updated:** [10 October 2021 14:46 UTC](https://discourse.nodered.org/t/node-to-display-fa-icon/52063 "2021-10-10T14:46:06Z")

</div>

Is there a node that only displays a fa-icon as a status e.g. an alarm is enabled or disabled but that is not clickable, so output-only? I have been searching the library but cannot find something. I now use node-red-co…

---

## [\[Solved\] How to get ObjectName (Object property) from array](https://discourse.nodered.org/t/solved-how-to-get-objectname-object-property-from-array/52064)

<div class="topic-metadata">

**Author:** [@fangfang94](https://discourse.nodered.org/u/fangfang94)\
**Replies:** 6\
**Last updated:** [10 October 2021 14:07 UTC](https://discourse.nodered.org/t/solved-how-to-get-objectname-object-property-from-array/52064 "2021-10-10T14:07:27Z")

</div>

I don't know is it called ObjectName anot, but I am trying to get all of the title. From this payload I want to get the name of the data"Union ID" "Player" etc and put it in a flow variable:

---

## [Which Weather node you recomend? (best)](https://discourse.nodered.org/t/which-weather-node-you-recomend-best/51830)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 11\
**Last updated:** [10 October 2021 13:56 UTC](https://discourse.nodered.org/t/which-weather-node-you-recomend-best/51830 "2021-10-10T13:56:44Z")

</div>

Hi, I'm going to integrate a forecast weather on dashboard, in a dedicated page, my goal is to represent as best as possible to actual situation hourly (help me decide how to dress up/what to expect) addign temperature/w…

---

## [Using $.getJSON in oneditsave](https://discourse.nodered.org/t/using-getjson-in-oneditsave/52051)

<div class="topic-metadata">

**Author:** [@chris.willing](https://discourse.nodered.org/u/chris.willing)\
**Replies:** 10\
**Last updated:** [10 October 2021 13:04 UTC](https://discourse.nodered.org/t/using-getjson-in-oneditsave/52051 "2021-10-10T13:04:38Z")

</div>

When closing the config editor, I'd like to automatically set one of the available fields based on what the user has selected in another field i.e. if a particular device has been selected, then I want to set an appropri…

---

## [Reading a Json file from a render farm and display in UI Table](https://discourse.nodered.org/t/reading-a-json-file-from-a-render-farm-and-display-in-ui-table/52013)

<div class="topic-metadata">

**Author:** [@CarloJongen](https://discourse.nodered.org/u/CarloJongen)\
**Replies:** 16\
**Last updated:** [10 October 2021 12:58 UTC](https://discourse.nodered.org/t/reading-a-json-file-from-a-render-farm-and-display-in-ui-table/52013 "2021-10-10T12:58:15Z")

</div>

Hi, I made a small personal Render-Farm that writes and overwrites a Json text file to an ftp every minute. In Node Red I read this text file with a "http request node" that then gets fed into a UI Table. The Table gets…

---

## [Logging an user's timestamp](https://discourse.nodered.org/t/logging-an-users-timestamp/52042)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 13\
**Last updated:** [10 October 2021 12:49 UTC](https://discourse.nodered.org/t/logging-an-users-timestamp/52042 "2021-10-10T12:49:37Z")

</div>

Hi, I'd like to log into my DB the user whenever he/she logs in. How do I go by? In other words, how can I capture the login of a user? I tried the "is-logged-in" node but I'm not sure it's what I need. The users are …

---

## [Uibuilder - loading data on page load](https://discourse.nodered.org/t/uibuilder-loading-data-on-page-load/51867)

<div class="topic-metadata">

**Author:** [@TheadehAnank](https://discourse.nodered.org/u/TheadehAnank)\
**Replies:** 9\
**Last updated:** [10 October 2021 09:31 UTC](https://discourse.nodered.org/t/uibuilder-loading-data-on-page-load/51867 "2021-10-10T09:31:48Z")

</div>

Another newbie question, but I don't see this basic thing in the examples (it may seem obvious to an expereinced web programmer, but its not to me.) How do I get Node Red to inject a payload when a client browser first …

---

## [How to get number from object read AI from modebus](https://discourse.nodered.org/t/how-to-get-number-from-object-read-ai-from-modebus/52000)

<div class="topic-metadata">

**Author:** [@Somchai\_IoT](https://discourse.nodered.org/u/Somchai_IoT)\
**Replies:** 2\
**Last updated:** [10 October 2021 05:21 UTC](https://discourse.nodered.org/t/how-to-get-number-from-object-read-ai-from-modebus/52000 "2021-10-10T05:21:04Z")

</div>

---

## [Dashboard spacers out of control?](https://discourse.nodered.org/t/dashboard-spacers-out-of-control/52045)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 1\
**Last updated:** [9 October 2021 23:06 UTC](https://discourse.nodered.org/t/dashboard-spacers-out-of-control/52045 "2021-10-09T23:06:21Z")

</div>

Node-Red 2.0.6, Dashboard 3.0.4, Firefox I intended to rearrange the layout of this dashboard, so I started by deleting lots of "spacer 7x1" entries in the right hand column "Layout". After deploying, there seemed to b…

---

## [UI\_Builder - Simple Example Flow](https://discourse.nodered.org/t/ui-builder-simple-example-flow/51818)

<div class="topic-metadata">

**Author:** [@TheadehAnank](https://discourse.nodered.org/u/TheadehAnank)\
**Replies:** 7\
**Last updated:** [9 October 2021 21:10 UTC](https://discourse.nodered.org/t/ui-builder-simple-example-flow/51818 "2021-10-09T21:10:30Z")

</div>

In Simple uibuilder flow: https://flows.nodered.org/flow/bbe6803d9daebda5c991336cf4e5e3e0 Where is the HTML in the comment actually referenced in the flow? The HTML in the uib\_simple isn't the same as whats in the comm…

---

## [Run task before NR startup and when you click on the deploy button](https://discourse.nodered.org/t/run-task-before-nr-startup-and-when-you-click-on-the-deploy-button/51613)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 18\
**Last updated:** [9 October 2021 20:53 UTC](https://discourse.nodered.org/t/run-task-before-nr-startup-and-when-you-click-on-the-deploy-button/51613 "2021-10-09T20:53:39Z")

</div>

Hello, Do you think it is possible to: Run a private task before the nodered service is started ? Launch a script when using the Deploy button ? For the 1st case, we can obviously create a script that does the private…

---

## [Increase font size for dashboard text input](https://discourse.nodered.org/t/increase-font-size-for-dashboard-text-input/52047)

<div class="topic-metadata">

**Author:** [@tcr000](https://discourse.nodered.org/u/tcr000)\
**Replies:** 1\
**Last updated:** [9 October 2021 19:24 UTC](https://discourse.nodered.org/t/increase-font-size-for-dashboard-text-input/52047 "2021-10-09T19:24:00Z")

</div>

Using the template node I can change the font size of a group without any problem. However, if I make the font bigger than about 36px for the text input font, the text is chopped off after a value is entered. Here is wha…

---

## [Modbus: How to read 32 bit signed numbers](https://discourse.nodered.org/t/modbus-how-to-read-32-bit-signed-numbers/52021)

<div class="topic-metadata">

**Author:** [@krish7](https://discourse.nodered.org/u/krish7)\
**Replies:** 3\
**Last updated:** [9 October 2021 17:13 UTC](https://discourse.nodered.org/t/modbus-how-to-read-32-bit-signed-numbers/52021 "2021-10-09T17:13:50Z")

</div>

How to read 32 signed numbers over modbus ? I was using var msg1 = {payload:(msg.payload\[1\]\<\<16)+msg.payload\[0\]}; code to create 32 bit numbers and toFloat function to convert it to float. However it's not showing the…

---

## [How does modbus function work?](https://discourse.nodered.org/t/how-does-modbus-function-work/52040)

<div class="topic-metadata">

**Author:** [@denosore](https://discourse.nodered.org/u/denosore)\
**Replies:** 1\
**Last updated:** [9 October 2021 16:04 UTC](https://discourse.nodered.org/t/how-does-modbus-function-work/52040 "2021-10-09T16:04:38Z")

</div>

okay so hi, i want to ask something about how does modbus function work? i have a project in internship, we're using LUX sensor and it has 3 outputs; humidity, lux, and temp. for the first node red it was all messy becau…

---

## [How to play an voice-audio from Telegram in Raspberry using Node-Red](https://discourse.nodered.org/t/how-to-play-an-voice-audio-from-telegram-in-raspberry-using-node-red/50821)

<div class="topic-metadata">

**Author:** [@pQbas](https://discourse.nodered.org/u/pQbas)\
**Replies:** 0\
**Last updated:** [9 September 2021 14:29 UTC](https://discourse.nodered.org/t/how-to-play-an-voice-audio-from-telegram-in-raspberry-using-node-red/50821 "2021-09-09T14:29:26Z")

</div>

Hello. I'm new on Node-RED and I don't know how it works all nodes. I want to play an voice-audio recorded in Telegram on the Raspberry Pi using node-red. I'm not sure which nodes to use to do it, because I'm New on N…

---

## [How to create secure certificates using Let's Encrypt & How to use them](https://discourse.nodered.org/t/how-to-create-secure-certificates-using-lets-encrypt-how-to-use-them/4309)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [26 October 2018 08:30 UTC](https://discourse.nodered.org/t/how-to-create-secure-certificates-using-lets-encrypt-how-to-use-them/4309 "2018-10-26T08:30:57Z")

</div>

Hi all, if you've followed any of the security threads recently, you may have seen that I was trying to get a new blog post finised - well it isn't really finished but as there are many questions at the moment, I thought…

---

## [Problem with video feed](https://discourse.nodered.org/t/problem-with-video-feed/51230)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 14\
**Last updated:** [8 October 2021 23:40 UTC](https://discourse.nodered.org/t/problem-with-video-feed/51230 "2021-10-08T23:40:03Z")

</div>

Hi to all, thanks again for the great job you're doing and for sharing it. Using the ffmpeg-spawn node I even need to have a base64 string. I tryed to convert the output with the relative base64 node, but it's not recog…

---

## [Weather temperature feed to hue bulb colour](https://discourse.nodered.org/t/weather-temperature-feed-to-hue-bulb-colour/52023)

<div class="topic-metadata">

**Author:** [@Richard238](https://discourse.nodered.org/u/Richard238)\
**Replies:** 1\
**Last updated:** [8 October 2021 20:46 UTC](https://discourse.nodered.org/t/weather-temperature-feed-to-hue-bulb-colour/52023 "2021-10-08T20:46:01Z")

</div>

I have open weather map showing a temperature gauge on my dashboard, brilliant! How do I get a hue bulb to respond to the temperature figure deg C., and change colour accordingly? Thank you.

---

## [Having fun with license plate recognitions](https://discourse.nodered.org/t/having-fun-with-license-plate-recognitions/51893)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 8\
**Last updated:** [8 October 2021 20:27 UTC](https://discourse.nodered.org/t/having-fun-with-license-plate-recognitions/51893 "2021-10-08T20:27:44Z")

</div>

Hi folks, Some community members are currently very busy to help us building our own video surveillance system. Their enthousiasm has triggered me to demonstrate how license plate recognition can easily be integrated i…

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

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