# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=186

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

**Page:** 187

---

## [Node-red-pi not found?](https://discourse.nodered.org/t/node-red-pi-not-found/80542)

<div class="topic-metadata">

**Author:** [@endy12](https://discourse.nodered.org/u/endy12)\
**Replies:** 23\
**Last updated:** [14 August 2023 19:46 UTC](https://discourse.nodered.org/t/node-red-pi-not-found/80542 "2023-08-14T19:46:38Z")

</div>

Please, can any1 help me with these errors in /var/logs/syslog Stopped Node-RED graphical event wiring tool. Started Node-RED graphical event wiring tool. /usr/bin/env: ‘node-red-pi’: No such file or directory nodere…

---

## [Calculate Average from Global Variables](https://discourse.nodered.org/t/calculate-average-from-global-variables/80537)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 8\
**Last updated:** [14 August 2023 16:40 UTC](https://discourse.nodered.org/t/calculate-average-from-global-variables/80537 "2023-08-14T16:40:07Z")

</div>

Hey All, I'm trying to calculate the average temp from 2 temperature sensors which are stored in global variables. Here's my flow, how can I set it up to calculate the average? Thanks! \[ { "id": "5e731267…

---

## [Working with context, need to save over redeploy](https://discourse.nodered.org/t/working-with-context-need-to-save-over-redeploy/80548)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 2\
**Last updated:** [14 August 2023 15:18 UTC](https://discourse.nodered.org/t/working-with-context-need-to-save-over-redeploy/80548 "2023-08-14T15:18:39Z")

</div>

I can get my value to save and load when i inject, but the value does not survive a redeploy. How do i get it to keep the saved value over a redeploy so i can load the saved value when i inject? \[ { "id": "9…

---

## [Alternative approaches to REMOTE2](https://discourse.nodered.org/t/alternative-approaches-to-remote2/80532)

<div class="topic-metadata">

**Author:** [@s1nbad](https://discourse.nodered.org/u/s1nbad)\
**Replies:** 2\
**Last updated:** [14 August 2023 15:15 UTC](https://discourse.nodered.org/t/alternative-approaches-to-remote2/80532 "2023-08-14T15:15:09Z")

</div>

I (others too i expect) are looking for a long term alternative to Alexa working with Remote2 which currently forms the core of my entire Home Automation. This solution provides a way of controling routing within NodeRe…

---

## [Determine LOCAL IP address](https://discourse.nodered.org/t/determine-local-ip-address/80518)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 49\
**Last updated:** [14 August 2023 12:12 UTC](https://discourse.nodered.org/t/determine-local-ip-address/80518 "2023-08-14T12:12:49Z")

</div>

Hi All, I am trying to determine my Local/Client side IP address from within a flow in Node Red... For the sake of clarity, by using an Exec Node with the command "ifconfig", I can determine the "Server" IP address tha…

---

## [Notification.warnings.undefined?](https://discourse.nodered.org/t/notification-warnings-undefined/80556)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 5\
**Last updated:** [14 August 2023 09:37 UTC](https://discourse.nodered.org/t/notification-warnings-undefined/80556 "2023-08-14T09:37:15Z")

</div>

After two weeks returning to my NR installation it just gives notification.warnings.undefined On the debug panel I get: 14.8.2023, 11:09:19 msg : error "TypeError: Cannot read properties of null (reading 'rev')" After…

---

## [DS18b20 80deg readings can it be filter out in Node Red](https://discourse.nodered.org/t/ds18b20-80deg-readings-can-it-be-filter-out-in-node-red/80429)

<div class="topic-metadata">

**Author:** [@holmesjohnnyh](https://discourse.nodered.org/u/holmesjohnnyh)\
**Replies:** 17\
**Last updated:** [14 August 2023 09:36 UTC](https://discourse.nodered.org/t/ds18b20-80deg-readings-can-it-be-filter-out-in-node-red/80429 "2023-08-14T09:36:25Z")

</div>

Hi I am using the 1 wire node to read 3 ds18b20 sensors on the Raspberry Pi 4 they are the only things I have connected to it. I only read the sensors every 10 minutes via a trigger node. Every now and then I get a readi…

---

## [Question About High Availability](https://discourse.nodered.org/t/question-about-high-availability/80550)

<div class="topic-metadata">

**Author:** [@Light2K95](https://discourse.nodered.org/u/Light2K95)\
**Replies:** 2\
**Last updated:** [14 August 2023 09:21 UTC](https://discourse.nodered.org/t/question-about-high-availability/80550 "2023-08-14T09:21:55Z")

</div>

Hello, I was thinking about purchasing a FlowForge subscription but I couldn't understand if the HA mode meets my expectations. What happens when an instance fails/dies? How do they achieve Load Balancing? For example …

---

## [How to save and load a value when reloading?](https://discourse.nodered.org/t/how-to-save-and-load-a-value-when-reloading/80546)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 1\
**Last updated:** [14 August 2023 08:54 UTC](https://discourse.nodered.org/t/how-to-save-and-load-a-value-when-reloading/80546 "2023-08-14T08:54:05Z")

</div>

How do i make a value in a textbox on the dashboard save to memeory when it updates and then load that saved value back in to my textbox when i redeploy? I have not done this before so kinda a noobie with this part, than…

---

## [Saving and loading persistent values with persist in/out](https://discourse.nodered.org/t/saving-and-loading-persistent-values-with-persist-in-out/80174)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 3\
**Last updated:** [14 August 2023 08:35 UTC](https://discourse.nodered.org/t/saving-and-loading-persistent-values-with-persist-in-out/80174 "2023-08-14T08:35:01Z")

</div>

Here is what I have, but it is not saving/loading the values it should be, nothing is injected at startup? \[ { "id": "87d417101364ced0", "type": "ina-sensor", "z": "f672d0ac69fd5b97", …

---

## [Need Guidline for Cloud Foundry Hosting,](https://discourse.nodered.org/t/need-guidline-for-cloud-foundry-hosting/80474)

<div class="topic-metadata">

**Author:** [@Chandrakant](https://discourse.nodered.org/u/Chandrakant)\
**Replies:** 9\
**Last updated:** [14 August 2023 07:45 UTC](https://discourse.nodered.org/t/need-guidline-for-cloud-foundry-hosting/80474 "2023-08-14T07:45:01Z")

</div>

Trying hosting Node-Red in Cloud Foundry Environment, hosted sucessfully (using following guideline GitHub - cloudfoundry-community/node-red-cf-ready: A visual tool for wiring the Internet of Things ready for any Cloud F…

---

## [Need help downloading/saving from an image to Home Assistant](https://discourse.nodered.org/t/need-help-downloading-saving-from-an-image-to-home-assistant/80535)

<div class="topic-metadata">

**Author:** [@blacktoothgrin](https://discourse.nodered.org/u/blacktoothgrin)\
**Replies:** 9\
**Last updated:** [13 August 2023 21:14 UTC](https://discourse.nodered.org/t/need-help-downloading-saving-from-an-image-to-home-assistant/80535 "2023-08-13T21:14:13Z")

</div>

Hello, everyone! I am experimenting with DALLE-2 and Home Assistant and being able to generate a prompt through Node-RED. I have a flow currently working to the point of a debug node reading a payload of "image\_url" wit…

---

## [Teach in enocean device failed](https://discourse.nodered.org/t/teach-in-enocean-device-failed/80544)

<div class="topic-metadata">

**Author:** [@sepp](https://discourse.nodered.org/u/sepp)\
**Replies:** 0\
**Last updated:** [13 August 2023 20:38 UTC](https://discourse.nodered.org/t/teach-in-enocean-device-failed/80544 "2023-08-13T20:38:31Z")

</div>

hi, try to control a enocean valve by using node-red-contrib-enocean. teaching in thid valve results in: received an unknown RORG (d2 instead of a5) from a konwn Sensor (05208fa4). can anybody help, thanks for each h…

---

## [Help! Dynamically create menu from an array](https://discourse.nodered.org/t/help-dynamically-create-menu-from-an-array/80536)

<div class="topic-metadata">

**Author:** [@Joe](https://discourse.nodered.org/u/Joe)\
**Replies:** 4\
**Last updated:** [13 August 2023 17:27 UTC](https://discourse.nodered.org/t/help-dynamically-create-menu-from-an-array/80536 "2023-08-13T17:27:04Z")

</div>

Hello! I wonder if it's possible to dynamically create menu from an array: I wrote the following code, obviously it doesn't work: let menuArray = msg.buildings; for (let i = 0; i \< menuArray.length; i++) { var me…

---

## [Unable to write values to the OPC UA server](https://discourse.nodered.org/t/unable-to-write-values-to-the-opc-ua-server/79503)

<div class="topic-metadata">

**Author:** [@SK\_30](https://discourse.nodered.org/u/SK_30)\
**Replies:** 6\
**Last updated:** [13 August 2023 17:18 UTC](https://discourse.nodered.org/t/unable-to-write-values-to-the-opc-ua-server/79503 "2023-08-13T17:18:42Z")

</div>

Hello, I am using node-red-contrib-iiot-opcua node. I have created a server in my flow and some variables. I am receiving a boolean value from PLC, I want to write this value in my OPC UA server in node-red. I have ad…

---

## [Zigbee2mqtt error](https://discourse.nodered.org/t/zigbee2mqtt-error/80517)

<div class="topic-metadata">

**Author:** [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Replies:** 5\
**Last updated:** [13 August 2023 12:32 UTC](https://discourse.nodered.org/t/zigbee2mqtt-error/80517 "2023-08-13T12:32:09Z")

</div>

Hallo all Are the anyone there have an ideer to why I turn off a Zigbee2mqtt group, it also turn off a nother group\`? this here also turn off my group \[have\_lys\] ? Is there a way to many clean up my zigbee2mqtt ? \[{"…

---

## [Unhappy with Sonoff/Ewelink - Frequent drops](https://discourse.nodered.org/t/unhappy-with-sonoff-ewelink-frequent-drops/80525)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 5\
**Last updated:** [13 August 2023 12:21 UTC](https://discourse.nodered.org/t/unhappy-with-sonoff-ewelink-frequent-drops/80525 "2023-08-13T12:21:54Z")

</div>

Hey All, I've been running a couple of Sonoff smart plugs for the past few months and it's been less than stable. Occasionally it's a if my credentials expire and I have to reenter them and it works for a while. About…

---

## [Ghost thermostat for uibuilder?](https://discourse.nodered.org/t/ghost-thermostat-for-uibuilder/80043)

<div class="topic-metadata">

**Author:** [@magicman](https://discourse.nodered.org/u/magicman)\
**Replies:** 15\
**Last updated:** [13 August 2023 11:17 UTC](https://discourse.nodered.org/t/ghost-thermostat-for-uibuilder/80043 "2023-08-13T11:17:24Z")

</div>

I use the excellent Ghost thermostat on my dashboard but am developing my heating control system using uibuilder and was hoping if someone can guide me how to get the ghost thermostat working on my uibuilder? Thanks guy…

---

## [Syntax error in documentation for using context](https://discourse.nodered.org/t/syntax-error-in-documentation-for-using-context/80529)

<div class="topic-metadata">

**Author:** [@BJM](https://discourse.nodered.org/u/BJM)\
**Replies:** 7\
**Last updated:** [13 August 2023 11:02 UTC](https://discourse.nodered.org/t/syntax-error-in-documentation-for-using-context/80529 "2023-08-13T11:02:55Z")

</div>

A small note on a minor mistake.The node red documentation is great. So therefore a small feedback on what seems to be a minor systax error, bit it took me sometime to figure out what was srong when I wanted to enable th…

---

## [Alexa Remote2 event nodes not working (again)](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 32\
**Last updated:** [13 August 2023 07:51 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266 "2023-08-13T07:51:41Z")

</div>

I know at least a few of us use this node, it seems to be broken again. There are lots of reports on GitHub but no solutions. Has anyone here found a fix ?

---

## [Struggling to get lights on 60 mins before sunrise](https://discourse.nodered.org/t/struggling-to-get-lights-on-60-mins-before-sunrise/80463)

<div class="topic-metadata">

**Author:** [@benflux](https://discourse.nodered.org/u/benflux)\
**Replies:** 2\
**Last updated:** [13 August 2023 00:23 UTC](https://discourse.nodered.org/t/struggling-to-get-lights-on-60-mins-before-sunrise/80463 "2023-08-13T00:23:35Z")

</div>

Any suggestions? i've tried a few nodes with offsets but i'm struggling. I want to turn on the garden lights 60 mins before sunrise until sunrise :slight\_smile:

---

## [How to prevent trigger from happening until reset](https://discourse.nodered.org/t/how-to-prevent-trigger-from-happening-until-reset/80524)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 1\
**Last updated:** [12 August 2023 22:57 UTC](https://discourse.nodered.org/t/how-to-prevent-trigger-from-happening-until-reset/80524 "2023-08-12T22:57:26Z")

</div>

This what i have, i want it to send a pulse when the input is under 21, and then wait until the input is above 24 before sending another pulse, where each trigger prevents the itself from happening again until the other …

---

## [Get information about the serial com available with the node function](https://discourse.nodered.org/t/get-information-about-the-serial-com-available-with-the-node-function/80520)

<div class="topic-metadata">

**Author:** [@JorgeTorres01](https://discourse.nodered.org/u/JorgeTorres01)\
**Replies:** 1\
**Last updated:** [12 August 2023 16:20 UTC](https://discourse.nodered.org/t/get-information-about-the-serial-com-available-with-the-node-function/80520 "2023-08-12T16:20:11Z")

</div>

Continuing the discussion from Any possibility to choose the serial COM port in the dashboard?: Hello, I tried to solve the last issue adding multi nodes serialport in and out, and config them with COM1, COM2, .... thi…

---

## [Backup list of installed nodes on palette](https://discourse.nodered.org/t/backup-list-of-installed-nodes-on-palette/80469)

<div class="topic-metadata">

**Author:** [@stain3565](https://discourse.nodered.org/u/stain3565)\
**Replies:** 8\
**Last updated:** [12 August 2023 14:03 UTC](https://discourse.nodered.org/t/backup-list-of-installed-nodes-on-palette/80469 "2023-08-12T14:03:59Z")

</div>

I have set up a process to backup my flows on restart of nodered. This is fine but, as I know to my cost, when you have multiple flows developed over years with many different interfaces, it is not so simple to just rest…

---

## [Node Red SQL Node Rejects Valid SQL Statement?](https://discourse.nodered.org/t/node-red-sql-node-rejects-valid-sql-statement/80509)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 1\
**Last updated:** [12 August 2023 03:06 UTC](https://discourse.nodered.org/t/node-red-sql-node-rejects-valid-sql-statement/80509 "2023-08-12T03:06:26Z")

</div>

This is a valid SQL statement... SELECT Host FROM Host WHERE (Index = 1) The above returns 1 record. Column is named 'Host' and table is named 'Host', and the table has a primary key on column 'Index'. I happen to be…

---

## [Trouble in TUYA Land? The tuya-smart-device node can't find devices?](https://discourse.nodered.org/t/trouble-in-tuya-land-the-tuya-smart-device-node-cant-find-devices/79635)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 13\
**Last updated:** [12 August 2023 02:44 UTC](https://discourse.nodered.org/t/trouble-in-tuya-land-the-tuya-smart-device-node-cant-find-devices/79635 "2023-08-12T02:44:15Z")

</div>

Trouble in TUYA Land? The tuya-smart-device node can't find devices? I had to change my wifi security cofniguration, namely the SSID and passphrase. So I had to update all my IoT plugs. This of course changed the tuy…

---

## [MSSQL-PLUS Execute Procedure](https://discourse.nodered.org/t/mssql-plus-execute-procedure/80377)

<div class="topic-metadata">

**Author:** [@Mohamed\_1711](https://discourse.nodered.org/u/Mohamed_1711)\
**Replies:** 3\
**Last updated:** [11 August 2023 23:46 UTC](https://discourse.nodered.org/t/mssql-plus-execute-procedure/80377 "2023-08-11T23:46:34Z")

</div>

I Have function before my MSSQL-PLUS I want to send to MSSQL-PLUS the procedure Name : ProductNodeRedService And this procedure has 3 parameters and 2 return Value : Paramter\_Number\_1 Type: NVARCHAR(MAX) Paramter\_Nu…

---

## [Obfuscation of Javascript with a HTML Page](https://discourse.nodered.org/t/obfuscation-of-javascript-with-a-html-page/80506)

<div class="topic-metadata">

**Author:** [@wilsomrm2](https://discourse.nodered.org/u/wilsomrm2)\
**Replies:** 4\
**Last updated:** [11 August 2023 23:26 UTC](https://discourse.nodered.org/t/obfuscation-of-javascript-with-a-html-page/80506 "2023-08-11T23:26:12Z")

</div>

Hi All, I have a website using nodered behind the scene. I would like to obfuscate the javascript within the HTML pages. I have been trying to get node-red-contrib-obfuscator working but it is not documented. Has any…

---

## [How can I change the background of a cell or row in a table?](https://discourse.nodered.org/t/how-can-i-change-the-background-of-a-cell-or-row-in-a-table/80483)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 12\
**Last updated:** [11 August 2023 15:06 UTC](https://discourse.nodered.org/t/how-can-i-change-the-background-of-a-cell-or-row-in-a-table/80483 "2023-08-11T15:06:18Z")

</div>

I've got this simple piece of code to send 'mac address' and a 'name' to a table. Is there a simple way to color the background of a cell ? var lookupTable = {} lookupTable = flow.get("mac\_addresses"); let rec = {}; f…

---

## [Newbie Error Message](https://discourse.nodered.org/t/newbie-error-message/80486)

<div class="topic-metadata">

**Author:** [@Jewmac](https://discourse.nodered.org/u/Jewmac)\
**Replies:** 5\
**Last updated:** [11 August 2023 17:48 UTC](https://discourse.nodered.org/t/newbie-error-message/80486 "2023-08-11T17:48:20Z")

</div>

Hi All, I have not used Node-red in some time and when i go to start node-red I get the following error, can someone point me in the right direction as to how to fix this error. 11 Aug 16:17:25 - \[error\] server.failed-…

[Previous page](https://discourse.nodered.org/c/general/7.md?page=185)

[Next page](https://discourse.nodered.org/c/general/7.md?page=187)
