# Latest

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

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

**Page:** 737

---

## [Node-red-contrib-opcua frequently halts Node-Red machine](https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 2\
**Last updated:** [11 September 2021 10:11 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001 "2021-09-11T10:11:54Z")

</div>

Hi node-red-contrib-opcua users, I'm using the opcua client to read tags from an opc server. It works, but frequently, when there is some opc server problem, the opcua client node begins to send several error messages t…

---

## [Bigtimer node firing at wrong time](https://discourse.nodered.org/t/bigtimer-node-firing-at-wrong-time/50787)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 15\
**Last updated:** [11 September 2021 04:41 UTC](https://discourse.nodered.org/t/bigtimer-node-firing-at-wrong-time/50787 "2021-09-11T04:41:23Z")

</div>

I have been using BigTimer node to turn on a floodlight at 4:45AM every morning, and off at sunrise. It's been working fine for many months, maybe more than a year. It's disabled in the node during the summer months an…

---

## [Dynamic CSS changes in Dashboard V3beta](https://discourse.nodered.org/t/dynamic-css-changes-in-dashboard-v3beta/50866)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 0\
**Last updated:** [10 September 2021 18:48 UTC](https://discourse.nodered.org/t/dynamic-css-changes-in-dashboard-v3beta/50866 "2021-09-10T18:48:14Z")

</div>

Requires Dashboard V3 The gauge (CSS only, by @hotNipi) and the button & textbox to the right respond to msg.className from the buttons at the bottom. Those buttons each have their custom class set in the editor. This…

---

## [FATAL ERROR: JavaScript heap out of memory : how to find the guilty?](https://discourse.nodered.org/t/fatal-error-javascript-heap-out-of-memory-how-to-find-the-guilty/50865)

<div class="topic-metadata">

**Author:** [@waquete](https://discourse.nodered.org/u/waquete)\
**Replies:** 2\
**Last updated:** [10 September 2021 21:14 UTC](https://discourse.nodered.org/t/fatal-error-javascript-heap-out-of-memory-how-to-find-the-guilty/50865 "2021-09-10T21:14:31Z")

</div>

Hi ! I run nodered in docker. My nodered is running correctly but recently I wanted to add a few flows. when I add some flows, after a little time I have a fatal error: FATAL ERROR: Ineffective mark-compacts near hea…

---

## [Pinging Network and outputting result via gpio](https://discourse.nodered.org/t/pinging-network-and-outputting-result-via-gpio/50864)

<div class="topic-metadata">

**Author:** [@Brownjv](https://discourse.nodered.org/u/Brownjv)\
**Replies:** 2\
**Last updated:** [10 September 2021 20:11 UTC](https://discourse.nodered.org/t/pinging-network-and-outputting-result-via-gpio/50864 "2021-09-10T20:11:28Z")

</div>

Hi all, New to Node Red and I am curious what would be the appropriate route for pinging a website or ip address and if the ping is successful activate a gpio pin and if the ping is unsuccessful activate another gpio pi…

---

## [Unable to view node status](https://discourse.nodered.org/t/unable-to-view-node-status/50862)

<div class="topic-metadata">

**Author:** [@Amishman](https://discourse.nodered.org/u/Amishman)\
**Replies:** 1\
**Last updated:** [10 September 2021 20:05 UTC](https://discourse.nodered.org/t/unable-to-view-node-status/50862 "2021-09-10T20:05:25Z")

</div>

I run HA in a virtual machine and installed Node Red through HACS. Everything was working great. I am not sure when this happened but I am not able to view a nodes status or debug messages and more. If I access Node Red …

---

## [Received E-Mail has "undefined" payload](https://discourse.nodered.org/t/received-e-mail-has-undefined-payload/12658)

<div class="topic-metadata">

**Author:** [@S.M](https://discourse.nodered.org/u/S.M)\
**Replies:** 6\
**Last updated:** [10 September 2021 19:05 UTC](https://discourse.nodered.org/t/received-e-mail-has-undefined-payload/12658 "2021-09-10T19:05:06Z")

</div>

Hello! I am trying to send an email with the current temperature measured by an Aqara temperature and humidity sensor. I do receive the email with the set topic, however, the payload in the email says "undefined". I ha…

---

## [How to communicate serial in a termux environment](https://discourse.nodered.org/t/how-to-communicate-serial-in-a-termux-environment/50846)

<div class="topic-metadata">

**Author:** [@hojimint](https://discourse.nodered.org/u/hojimint)\
**Replies:** 2\
**Last updated:** [10 September 2021 16:41 UTC](https://discourse.nodered.org/t/how-to-communicate-serial-in-a-termux-environment/50846 "2021-09-10T16:41:09Z")

</div>

Hello We are trying to implement functions such as Nextion Touchpad by building a local server based on Termux and mqtt borker of an android phone. I installed the node-red-node-serialport pallet to communicate serial w…

---

## [Troubleshooting a remote network discovery](https://discourse.nodered.org/t/troubleshooting-a-remote-network-discovery/50853)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 4\
**Last updated:** [10 September 2021 16:20 UTC](https://discourse.nodered.org/t/troubleshooting-a-remote-network-discovery/50853 "2021-09-10T16:20:58Z")

</div>

Hi folks, I have a very inconvenient problem with my node-red-contrib-onvif-nodes. Already multiple people have reported that the automatic discovery on Onvif devices doesn't work anymore with latest Github version. P…

---

## [Whats the node red low code way to do basic maths on incoming data?](https://discourse.nodered.org/t/whats-the-node-red-low-code-way-to-do-basic-maths-on-incoming-data/50562)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 31\
**Last updated:** [10 September 2021 15:52 UTC](https://discourse.nodered.org/t/whats-the-node-red-low-code-way-to-do-basic-maths-on-incoming-data/50562 "2021-09-10T15:52:23Z")

</div>

Guys, I have a stream of data coming out of @Steve-Mcl excellent Buffer-parser node. Some of this I grab and set as Global/FLow Variables for other nodes/flows to access. I need to do some basic arithmetic - i get give…

---

## [Handling DB schema changes with open-source projects](https://discourse.nodered.org/t/handling-db-schema-changes-with-open-source-projects/50850)

<div class="topic-metadata">

**Author:** [@juanh](https://discourse.nodered.org/u/juanh)\
**Replies:** 3\
**Last updated:** [10 September 2021 14:46 UTC](https://discourse.nodered.org/t/handling-db-schema-changes-with-open-source-projects/50850 "2021-09-10T14:46:23Z")

</div>

Hey everyone, I'm somewhat new to NR and working with open-source projects in general. I've created an open-source project, which I am sharing via Github. It has occurred to me that if someone downloads a specific vers…

---

## [Turning off/on node state in a flow with ui button help](https://discourse.nodered.org/t/turning-off-on-node-state-in-a-flow-with-ui-button-help/50859)

<div class="topic-metadata">

**Author:** [@gam3t3ch](https://discourse.nodered.org/u/gam3t3ch)\
**Replies:** 1\
**Last updated:** [10 September 2021 14:23 UTC](https://discourse.nodered.org/t/turning-off-on-node-state-in-a-flow-with-ui-button-help/50859 "2021-09-10T14:23:57Z")

</div>

Trying to accomplish turning the flow of a csv to enable and disable to start and stop the logging. If anyone could help that would be great.

---

## [ReferenceError: TextDecoder is not defined in SmartNora update](https://discourse.nodered.org/t/referenceerror-textdecoder-is-not-defined-in-smartnora-update/50857)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 8\
**Last updated:** [10 September 2021 13:45 UTC](https://discourse.nodered.org/t/referenceerror-textdecoder-is-not-defined-in-smartnora-update/50857 "2021-09-10T13:45:41Z")

</div>

Hi All, I was updating my nodes in the palette manager, and amongs others, I updated Smartnora to 1.4.1 (if I remember correctly) After restarting node-red, I found this in the log: 10 Sep 15:04:58 - \[warn\] \[node-red…

---

## [Invisible Dashboard-Widgets](https://discourse.nodered.org/t/invisible-dashboard-widgets/50749)

<div class="topic-metadata">

**Author:** [@Spoom009](https://discourse.nodered.org/u/Spoom009)\
**Replies:** 12\
**Last updated:** [10 September 2021 11:27 UTC](https://discourse.nodered.org/t/invisible-dashboard-widgets/50749 "2021-09-10T11:27:18Z")

</div>

I'm new to node red and try to set up a dashboard and so far it worked. Today i updated the nodes "node-red-dashboard" to version 2.30.0...since then, the widgets of these node-library are invisible and I don't know how …

---

## [Browser Tab Icon Colour Suggestion](https://discourse.nodered.org/t/browser-tab-icon-colour-suggestion/50833)

<div class="topic-metadata">

**Author:** [@harmonic7](https://discourse.nodered.org/u/harmonic7)\
**Replies:** 2\
**Last updated:** [10 September 2021 11:23 UTC](https://discourse.nodered.org/t/browser-tab-icon-colour-suggestion/50833 "2021-09-10T11:23:32Z")

</div>

Hi There, I came across an issue where it was possible to change the browser tab icon on safari, but not the colour used to render the svg. I've therefore made a very small enhancement which allows you to adjust this i…

---

## [Flow variable storage](https://discourse.nodered.org/t/flow-variable-storage/50854)

<div class="topic-metadata">

**Author:** [@achrefnajjar](https://discourse.nodered.org/u/achrefnajjar)\
**Replies:** 1\
**Last updated:** [10 September 2021 11:04 UTC](https://discourse.nodered.org/t/flow-variable-storage/50854 "2021-09-10T11:04:07Z")

</div>

hello world. could the flow store the variables even if the node red restarted ? if not how would i store variables in node red and use them again. in my case i'm using a numeric input and when i assign number to it i…

---

## [Get logged user information in custom node](https://discourse.nodered.org/t/get-logged-user-information-in-custom-node/50796)

<div class="topic-metadata">

**Author:** [@chiche](https://discourse.nodered.org/u/chiche)\
**Replies:** 3\
**Last updated:** [10 September 2021 11:02 UTC](https://discourse.nodered.org/t/get-logged-user-information-in-custom-node/50796 "2021-09-10T11:02:47Z")

</div>

How can I get the information of the logged user at myNode.js

---

## [Setting Global Configuration Node Properties from within a flow](https://discourse.nodered.org/t/setting-global-configuration-node-properties-from-within-a-flow/50730)

<div class="topic-metadata">

**Author:** [@juanh](https://discourse.nodered.org/u/juanh)\
**Replies:** 2\
**Last updated:** [10 September 2021 10:33 UTC](https://discourse.nodered.org/t/setting-global-configuration-node-properties-from-within-a-flow/50730 "2021-09-10T10:33:40Z")

</div>

Is it possible to set a Global Configuration Node's properties from within a node? In my use-case, I would like to use a Dashboard UI to allow a user to specify some information, which in turn will be used to set the pr…

---

## [Using cosine inside function block for calculation](https://discourse.nodered.org/t/using-cosine-inside-function-block-for-calculation/50839)

<div class="topic-metadata">

**Author:** [@julianpe](https://discourse.nodered.org/u/julianpe)\
**Replies:** 6\
**Last updated:** [10 September 2021 09:27 UTC](https://discourse.nodered.org/t/using-cosine-inside-function-block-for-calculation/50839 "2021-09-10T09:27:06Z")

</div>

Dear all, I'm playing a little bit with my NodeRed application. I'd like to integrate a current smartmeter which is attached to the ttyUSB0 of my maschine. This works quite good and I get all desired values. Moreover…

---

## [Can ui-button respond to double-click](https://discourse.nodered.org/t/can-ui-button-respond-to-double-click/50783)

<div class="topic-metadata">

**Author:** [@chris.willing](https://discourse.nodered.org/u/chris.willing)\
**Replies:** 17\
**Last updated:** [10 September 2021 08:01 UTC](https://discourse.nodered.org/t/can-ui-button-respond-to-double-click/50783 "2021-09-10T08:01:02Z")

</div>

Is it possible to add an action in response to a double click (distinct from single click) to a plain ui-button? I also have the same question about a ui-list element. Thanks for any help, pointers ... chris

---

## [Naming convention regarding custom nodes](https://discourse.nodered.org/t/naming-convention-regarding-custom-nodes/50802)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 4\
**Last updated:** [10 September 2021 08:28 UTC](https://discourse.nodered.org/t/naming-convention-regarding-custom-nodes/50802 "2021-09-10T08:28:54Z")

</div>

I've been playing around with building custom nodes and so far it's been a great experience. However, I'd love to know the naming convention surrounding the js/html and key functions. I haven't fathomed the do's and don…

---

## [Looking for a GUI node for schedule but can't find what I need](https://discourse.nodered.org/t/looking-for-a-gui-node-for-schedule-but-cant-find-what-i-need/50781)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 11\
**Last updated:** [9 September 2021 22:31 UTC](https://discourse.nodered.org/t/looking-for-a-gui-node-for-schedule-but-cant-find-what-i-need/50781 "2021-09-09T22:31:04Z")

</div>

I am contemplating modifying some stuff so I can have a GUI to edit a schedule. But I can't find a node to do quite what I want. The best one so far is: node-red-contrib-ui-time-scheduler but it just doesn't quite do…

---

## [MQTT question - LWT and Death Certificates](https://discourse.nodered.org/t/mqtt-question-lwt-and-death-certificates/50742)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 11\
**Last updated:** [9 September 2021 21:25 UTC](https://discourse.nodered.org/t/mqtt-question-lwt-and-death-certificates/50742 "2021-09-09T21:25:19Z")

</div>

Sorry, but I'm stuck again. First off this is the message in question: {"topic":"EOM","qos":0,"retain":true,"\_msgid":"73cc5798.fb9508","settings":{"input":"2021-09-07T19:01:01.537Z","input\_format":"","input\_tz":"Austra…

---

## [Press button state](https://discourse.nodered.org/t/press-button-state/50817)

<div class="topic-metadata">

**Author:** [@aemad608](https://discourse.nodered.org/u/aemad608)\
**Replies:** 3\
**Last updated:** [9 September 2021 21:19 UTC](https://discourse.nodered.org/t/press-button-state/50817 "2021-09-09T21:19:14Z")

</div>

What I am trying to do is : Make a dashboard button that sends one when pressed and zero when released I've tried the button in "node-red-dashboard" but it only sends a single payload when released if any one knows a …

---

## [Advice on deploying apps with hardware specific nodes on different platforms](https://discourse.nodered.org/t/advice-on-deploying-apps-with-hardware-specific-nodes-on-different-platforms/50432)

<div class="topic-metadata">

**Author:** [@blunoz](https://discourse.nodered.org/u/blunoz)\
**Replies:** 18\
**Last updated:** [9 September 2021 20:58 UTC](https://discourse.nodered.org/t/advice-on-deploying-apps-with-hardware-specific-nodes-on-different-platforms/50432 "2021-09-09T20:58:02Z")

</div>

Looking for advice on how to organise an application I've written. The app has two components, the first is a monitor for controlling the fermentation of beer so it senses the temperature and turns solenoids on and off …

---

## [In node-red how to store tcp data in session context](https://discourse.nodered.org/t/in-node-red-how-to-store-tcp-data-in-session-context/50818)

<div class="topic-metadata">

**Author:** [@rahul123-dotcom](https://discourse.nodered.org/u/rahul123-dotcom)\
**Replies:** 0\
**Last updated:** [9 September 2021 13:58 UTC](https://discourse.nodered.org/t/in-node-red-how-to-store-tcp-data-in-session-context/50818 "2021-09-09T13:58:00Z")

</div>

In node-red tcp server I am getting username for the first time for authentication. So, I need to store for the session. So, for the second packet I just want to send the data with the user name appended which is sent ea…

---

## [Update problem - with script](https://discourse.nodered.org/t/update-problem-with-script/50806)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 9\
**Last updated:** [9 September 2021 19:41 UTC](https://discourse.nodered.org/t/update-problem-with-script/50806 "2021-09-09T19:41:40Z")

</div>

Hi! trying to update my raspberry pi from o.21 to latest version with the script. when doing this i get the following error in my screen. How can i solve this? npm ERR! error in /usr/lib/node\_modules/node-red: ENOENT…

---

## [Can't upload .log files to the forum](https://discourse.nodered.org/t/cant-upload-log-files-to-the-forum/50823)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 5\
**Last updated:** [9 September 2021 19:40 UTC](https://discourse.nodered.org/t/cant-upload-log-files-to-the-forum/50823 "2021-09-09T19:40:15Z")

</div>

I see that .log files cannot be uploaded to the forum. I assume that this is a forum setting rather than browser specific. If so is there a good reason that .log files are not permitted? Other than it being the forum …

---

## [Inject timestamp in MQTT message](https://discourse.nodered.org/t/inject-timestamp-in-mqtt-message/10297)

<div class="topic-metadata">

**Author:** [@lenny1972](https://discourse.nodered.org/u/lenny1972)\
**Replies:** 6\
**Last updated:** [9 September 2021 19:27 UTC](https://discourse.nodered.org/t/inject-timestamp-in-mqtt-message/10297 "2021-09-09T19:27:21Z")

</div>

Hi, I'm working on a project that uses MQTT node. I need to send environment sensor readings to an MQTT broker but I need to send together with the topic payload the timestamp of the reading itself in order to know the e…

---

## [Context set in settings.js not showing up in context window](https://discourse.nodered.org/t/context-set-in-settings-js-not-showing-up-in-context-window/50826)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 2\
**Last updated:** [9 September 2021 16:25 UTC](https://discourse.nodered.org/t/context-set-in-settings-js-not-showing-up-in-context-window/50826 "2021-09-09T16:25:49Z")

</div>

I am successfully setting a global context variable in settings.js. I can access the global variable and use it just fine after node-red starts. It does not show up in the Context Data window. I am just curious, should …

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

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