# General

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

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

**Page:** 64

---

## [Stand alone Node-Red flow](https://discourse.nodered.org/t/stand-alone-node-red-flow/94160)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 4\
**Last updated:** [26 December 2024 21:07 UTC](https://discourse.nodered.org/t/stand-alone-node-red-flow/94160 "2024-12-26T21:07:27Z")

</div>

According to chatGPT it is possible to compile and turn an Node-Red flow to run stand alone without having Node-red installed. So far it did not work for me. Anyone with positive experiences on making a flow runing sta…

---

## [Error trying to start NodeRed - Help me!!!](https://discourse.nodered.org/t/error-trying-to-start-nodered-help-me/94186)

<div class="topic-metadata">

**Author:** [@thiag000f](https://discourse.nodered.org/u/thiag000f)\
**Replies:** 2\
**Last updated:** [26 December 2024 19:38 UTC](https://discourse.nodered.org/t/error-trying-to-start-nodered-help-me/94186 "2024-12-26T19:38:11Z")

</div>

Hello, I try to start my node red with the commands pm2 start noderedlocal or openflow-nodered-cli --start noderedlocal. However, I get the following error: Class extends value # is not a constructor or null I've tr…

---

## [Send value from api to bacnet](https://discourse.nodered.org/t/send-value-from-api-to-bacnet/94112)

<div class="topic-metadata">

**Author:** [@Rippen85](https://discourse.nodered.org/u/Rippen85)\
**Replies:** 4\
**Last updated:** [26 December 2024 11:59 UTC](https://discourse.nodered.org/t/send-value-from-api-to-bacnet/94112 "2024-12-26T11:59:10Z")

</div>

I collect 24 points from Nordpool, then I want to send them to my bacnet unit. but it only takes the last value? How do I do between "chart data" and "write". \[ { "id": "3cb529667ade3110", "type": "i…

---

## [Node-red-contrib-i2c](https://discourse.nodered.org/t/node-red-contrib-i2c/94173)

<div class="topic-metadata">

**Author:** [@Le-Ze](https://discourse.nodered.org/u/Le-Ze)\
**Replies:** 1\
**Last updated:** [26 December 2024 10:35 UTC](https://discourse.nodered.org/t/node-red-contrib-i2c/94173 "2024-12-26T10:35:38Z")

</div>

Good morning. I have Node-Red on Raspberry. I have been connected by 3 expander for 4 years. I use via bash script and work. sudo i2cdetect -y 1 Are at 20,21,22. The IC2 Scaner node shows \[32,33,34\] Why?

---

## [How to Modularize and Reuse Function Node Code in Node-RED?](https://discourse.nodered.org/t/how-to-modularize-and-reuse-function-node-code-in-node-red/94012)

<div class="topic-metadata">

**Author:** [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Replies:** 14\
**Last updated:** [26 December 2024 07:07 UTC](https://discourse.nodered.org/t/how-to-modularize-and-reuse-function-node-code-in-node-red/94012 "2024-12-26T07:07:15Z")

</div>

I have a Node-RED flow where several function nodes contain more than 100 lines of JavaScript code each. Managing and writing unit tests for such large code blocks has become increasingly difficult. I’m looking for a wa…

---

## [Can't use message element with Function node](https://discourse.nodered.org/t/cant-use-message-element-with-function-node/94163)

<div class="topic-metadata">

**Author:** [@ralphjy](https://discourse.nodered.org/u/ralphjy)\
**Replies:** 4\
**Last updated:** [26 December 2024 05:30 UTC](https://discourse.nodered.org/t/cant-use-message-element-with-function-node/94163 "2024-12-26T05:30:55Z")

</div>

I'm having what I expect is a simple problem caused by my lack of understanding Node-Red. I have a JSON string received via MQTT. I set the MQTT input node to output a JSON object. This is data from object detection t…

---

## [Can't complete download, message says "packages are looking for funding"](https://discourse.nodered.org/t/cant-complete-download-message-says-packages-are-looking-for-funding/94168)

<div class="topic-metadata">

**Author:** [@N1WHA](https://discourse.nodered.org/u/N1WHA)\
**Replies:** 3\
**Last updated:** [26 December 2024 05:13 UTC](https://discourse.nodered.org/t/cant-complete-download-message-says-packages-are-looking-for-funding/94168 "2024-12-26T05:13:55Z")

</div>

Need help to complete download and install on Win 10 PC

---

## [Node-red-contrib-ui-time-scheduler node not working](https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141)

<div class="topic-metadata">

**Author:** [@Luupus](https://discourse.nodered.org/u/Luupus)\
**Replies:** 2\
**Last updated:** [25 December 2024 18:28 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-time-scheduler-node-not-working/94141 "2024-12-25T18:28:19Z")

</div>

Hi, I am using v.4.02, and the node-red-contrib-ui-time-scheduler @marozz/ 0.0.3. If I try to use it, I get the error message below. Even with the original 1.17.2 I get the same problem. Has anyone an idea what to do? …

---

## [Node Red in Home Assistant OS debug](https://discourse.nodered.org/t/node-red-in-home-assistant-os-debug/94126)

<div class="topic-metadata">

**Author:** [@eerke2021](https://discourse.nodered.org/u/eerke2021)\
**Replies:** 10\
**Last updated:** [25 December 2024 03:13 UTC](https://discourse.nodered.org/t/node-red-in-home-assistant-os-debug/94126 "2024-12-25T03:13:30Z")

</div>

Hi, I have a function node that I’ve coded wrong and was going to use: To figure out my mistake, because it allows connection to VS Code and the Google Chrome Developer debugger but they give an extra instruction for …

---

## [Http request for web relay](https://discourse.nodered.org/t/http-request-for-web-relay/94130)

<div class="topic-metadata">

**Author:** [@Democrat5](https://discourse.nodered.org/u/Democrat5)\
**Replies:** 9\
**Last updated:** [24 December 2024 23:45 UTC](https://discourse.nodered.org/t/http-request-for-web-relay/94130 "2024-12-24T23:45:44Z")

</div>

i am new to this and trying to use a http request to get the status of a multi 8-ch web relay. i get the below and the "output" is what i am interested in "10010100" one digit per relay first digit is 1 so the relay is …

---

## [My Template does not respond as I expect after a key press](https://discourse.nodered.org/t/my-template-does-not-respond-as-i-expect-after-a-key-press/94137)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 2\
**Last updated:** [24 December 2024 20:44 UTC](https://discourse.nodered.org/t/my-template-does-not-respond-as-i-expect-after-a-key-press/94137 "2024-12-24T20:44:38Z")

</div>

when I deploy here is what my screen looks like After I push a button here is what my screen looks like My flow is setup to push to the template the same setup every time. I would expect to see the different cells…

---

## [Use HTTP URL in nodered html page](https://discourse.nodered.org/t/use-http-url-in-nodered-html-page/94134)

<div class="topic-metadata">

**Author:** [@ameer.hamza2](https://discourse.nodered.org/u/ameer.hamza2)\
**Replies:** 1\
**Last updated:** [24 December 2024 14:14 UTC](https://discourse.nodered.org/t/use-http-url-in-nodered-html-page/94134 "2024-12-24T14:14:07Z")

</div>

Hi, I have developed an html page and I'm using an API hosted on HTTP URL but browser is not letting me call that API is there a way I can bypass this in node-red.

---

## [Function to orient the payload (of an energy meter) according to a number](https://discourse.nodered.org/t/function-to-orient-the-payload-of-an-energy-meter-according-to-a-number/94135)

<div class="topic-metadata">

**Author:** [@Ives25](https://discourse.nodered.org/u/Ives25)\
**Replies:** 5\
**Last updated:** [24 December 2024 13:48 UTC](https://discourse.nodered.org/t/function-to-orient-the-payload-of-an-energy-meter-according-to-a-number/94135 "2024-12-24T13:48:47Z")

</div>

Hello, The first part of the energy counting from a meter containing the energy values ​​and the tariff works. I started the second part which consists of starting from a meter containing only the active energy value t…

---

## [Huemagic Fork 1 group not working](https://discourse.nodered.org/t/huemagic-fork-1-group-not-working/94124)

<div class="topic-metadata">

**Author:** [@pabz](https://discourse.nodered.org/u/pabz)\
**Replies:** 1\
**Last updated:** [23 December 2024 16:52 UTC](https://discourse.nodered.org/t/huemagic-fork-1-group-not-working/94124 "2024-12-23T16:52:42Z")

</div>

Hey all, I just installed huegmagic-fork and for some reason I'm having trouble with 1 single group. When I inject to test the group, the lights will turn on, but it will not report the status of the group and when I ca…

---

## [Energy Dashboard + SQL](https://discourse.nodered.org/t/energy-dashboard-sql/94022)

<div class="topic-metadata">

**Author:** [@Egge](https://discourse.nodered.org/u/Egge)\
**Replies:** 15\
**Last updated:** [23 December 2024 15:35 UTC](https://discourse.nodered.org/t/energy-dashboard-sql/94022 "2024-12-23T15:35:54Z")

</div>

Hi my goal is to have a energy-dashboard for multiple consumers and a SQL-database for saving data. Hardware is up and running. Thanks to this forum, I already can read out all relevant data via modbus (node-red-contri…

---

## [Sunevent node to light lamp](https://discourse.nodered.org/t/sunevent-node-to-light-lamp/93971)

<div class="topic-metadata">

**Author:** [@pabz](https://discourse.nodered.org/u/pabz)\
**Replies:** 6\
**Last updated:** [23 December 2024 14:32 UTC](https://discourse.nodered.org/t/sunevent-node-to-light-lamp/93971 "2024-12-23T14:32:28Z")

</div>

Hi, I've been tinkering with HA and Node-Red for a few days now and I want to make the garden lights and the porch light turn on and off based on a sunevent (node-red-contrib-sunevents (node) - Node-RED). What I want i…

---

## [HomeWizard P1 working with DeviceName](https://discourse.nodered.org/t/homewizard-p1-working-with-devicename/94101)

<div class="topic-metadata">

**Author:** [@Tany](https://discourse.nodered.org/u/Tany)\
**Replies:** 18\
**Last updated:** [23 December 2024 09:50 UTC](https://discourse.nodered.org/t/homewizard-p1-working-with-devicename/94101 "2024-12-23T09:50:18Z")

</div>

The API of HomeWizard for P1 logging can work with IP and/or DeviceName. But after of power failure the IP is lost, and a new is assigned. So it is advised to work with DeviceName (suffix of mac) in scripts... or with …

---

## [Automatic Update of Node-RED?](https://discourse.nodered.org/t/automatic-update-of-node-red/94014)

<div class="topic-metadata">

**Author:** [@FloRu](https://discourse.nodered.org/u/FloRu)\
**Replies:** 10\
**Last updated:** [22 December 2024 21:48 UTC](https://discourse.nodered.org/t/automatic-update-of-node-red/94014 "2024-12-22T21:48:12Z")

</div>

Yesterday while I was trying to uninstall a certain node inside the palette manager, I had to restart node-red. After restarting node-red the version was increased to 3.1.15 (from 3.1.14). I wonder if I missed something…

---

## [Bluetooth causes Node Red to crash](https://discourse.nodered.org/t/bluetooth-causes-node-red-to-crash/94104)

<div class="topic-metadata">

**Author:** [@Switchblade2](https://discourse.nodered.org/u/Switchblade2)\
**Replies:** 3\
**Last updated:** [22 December 2024 15:13 UTC](https://discourse.nodered.org/t/bluetooth-causes-node-red-to-crash/94104 "2024-12-22T15:13:29Z")

</div>

Hi, I'm trying to use Node Red to control a bathroom fan via bluetooth using the native Bluetooth of a Raspberry Pi 4. In Node Red I've installed the node-red-contrib-generic-ble nodes and added Node Red to the Bluetoo…

---

## [Messed up menu and dialogs tags](https://discourse.nodered.org/t/messed-up-menu-and-dialogs-tags/94102)

<div class="topic-metadata">

**Author:** [@maxuser74](https://discourse.nodered.org/u/maxuser74)\
**Replies:** 2\
**Last updated:** [22 December 2024 10:20 UTC](https://discourse.nodered.org/t/messed-up-menu-and-dialogs-tags/94102 "2024-12-22T10:20:46Z")

</div>

Hi guys, don’t ask how but after some changes in security settings, now my node red menu and all the dialogs are messed up like this: Node Red in Docker container behind Nginx reverse proxy with Letsencrypt ssl an…

---

## [Flow.set using variable](https://discourse.nodered.org/t/flow-set-using-variable/94093)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 3\
**Last updated:** [22 December 2024 09:52 UTC](https://discourse.nodered.org/t/flow-set-using-variable/94093 "2024-12-22T09:52:20Z")

</div>

I thought this was asked before but can't find it. Is there a way , and if so how to write to flow using a variable name such as flow.set(MyVariable,1). I've got a workaround so now I'm in education mode. Thanks

---

## [Node-red-contrib-nighttime. Need to provide GPS Day or Night node via JSON](https://discourse.nodered.org/t/node-red-contrib-nighttime-need-to-provide-gps-day-or-night-node-via-json/94078)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 7\
**Last updated:** [21 December 2024 21:11 UTC](https://discourse.nodered.org/t/node-red-contrib-nighttime-need-to-provide-gps-day-or-night-node-via-json/94078 "2024-12-21T21:11:15Z")

</div>

I am using node-red-contrib-nighttime and currently I am typing LAT & LONG manualy. I need to make it autonomous so I am getting coordinates from on line service. Day\_or\_Night node says it can get LAT/LONG data from lo…

---

## [Container failing randomly without useful logs](https://discourse.nodered.org/t/container-failing-randomly-without-useful-logs/94081)

<div class="topic-metadata">

**Author:** [@martinjuhasz](https://discourse.nodered.org/u/martinjuhasz)\
**Replies:** 1\
**Last updated:** [21 December 2024 14:44 UTC](https://discourse.nodered.org/t/container-failing-randomly-without-useful-logs/94081 "2024-12-21T14:44:16Z")

</div>

Hi all, i'm wondering if somebody has an idea how i could debug this. my NodeRED container began stopping randomly every 2-3 days or so since two weeks (i didnt change anything). The only log messages i get are these …

---

## [Controlling Tasmota switch with Node Red](https://discourse.nodered.org/t/controlling-tasmota-switch-with-node-red/93945)

<div class="topic-metadata">

**Author:** [@OffGridNoob](https://discourse.nodered.org/u/OffGridNoob)\
**Replies:** 16\
**Last updated:** [20 December 2024 23:39 UTC](https://discourse.nodered.org/t/controlling-tasmota-switch-with-node-red/93945 "2024-12-20T23:39:49Z")

</div>

I have NR running on a Cerbo GX device which is WiFi. I have a Tasmota switch that is also WiFi. I would like my NR flows to turn the Tasmota switch ON/OFF. Do I need a third device to do this, or can I simply connect…

---

## [Writing Unsigned 32bit Integers to Modbus TCP Slave](https://discourse.nodered.org/t/writing-unsigned-32bit-integers-to-modbus-tcp-slave/94058)

<div class="topic-metadata">

**Author:** [@bigfeetneedbigboots](https://discourse.nodered.org/u/bigfeetneedbigboots)\
**Replies:** 2\
**Last updated:** [20 December 2024 22:55 UTC](https://discourse.nodered.org/t/writing-unsigned-32bit-integers-to-modbus-tcp-slave/94058 "2024-12-20T22:55:54Z")

</div>

Hi all, I'm reading modbus registers with U16 (Unsigned integer of 16-bit), U32, U64, S16 (Signed integer of 16-bit) and S32 integers and it's all working pretty well (except U64 ones, but I can deal with those later). …

---

## [CSS in dashboard 2.0](https://discourse.nodered.org/t/css-in-dashboard-2-0/94050)

<div class="topic-metadata">

**Author:** [@Placido](https://discourse.nodered.org/u/Placido)\
**Replies:** 5\
**Last updated:** [20 December 2024 19:17 UTC](https://discourse.nodered.org/t/css-in-dashboard-2-0/94050 "2024-12-20T19:17:42Z")

</div>

Hi, I'm trying to customize some CSS attributes in Dashboard 2.0, but some changes aren't taking effect. Here's an example: When the opacity change is applied correctly, but the background color modification only aff…

---

## [Thanks to all those Involved In Node-RED](https://discourse.nodered.org/t/thanks-to-all-those-involved-in-node-red/94049)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 1\
**Last updated:** [20 December 2024 14:34 UTC](https://discourse.nodered.org/t/thanks-to-all-those-involved-in-node-red/94049 "2024-12-20T14:34:01Z")

</div>

I would like to thank all those contributing to the development and ongoing maintenance of Node-RED and Dashboard (both 1 & 2) Merry Christmas and a Happy New Year

---

## [Combing elements of array in single variable](https://discourse.nodered.org/t/combing-elements-of-array-in-single-variable/94027)

<div class="topic-metadata">

**Author:** [@haplc2000](https://discourse.nodered.org/u/haplc2000)\
**Replies:** 20\
**Last updated:** [20 December 2024 11:19 UTC](https://discourse.nodered.org/t/combing-elements-of-array-in-single-variable/94027 "2024-12-20T11:19:23Z")

</div>

Dear All, I have a variable which I am reading using "OPC UA inject node". Please see pic 1 attached. The name of variable is "ActPowerTotal" and it is an array of four variables and each variables is represented as: p…

---

## [Node-red-contrib-ui-svg class doesn't update the sent via msg.payload](https://discourse.nodered.org/t/node-red-contrib-ui-svg-class-doesnt-update-the-sent-via-msg-payload/94038)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 1\
**Last updated:** [20 December 2024 07:18 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-svg-class-doesnt-update-the-sent-via-msg-payload/94038 "2024-12-20T07:18:23Z")

</div>

Hello, need help with node 'node-red-contrib-ui-svg'. I'm want to update class but it's only updating once and doesn't update the second time i.e. when blink\_red is pushed the rect in svg blinks red but when blink\_blue …

---

## [Close Websocket Connections to specific Sessions](https://discourse.nodered.org/t/close-websocket-connections-to-specific-sessions/94030)

<div class="topic-metadata">

**Author:** [@HrKnuddel\_2015](https://discourse.nodered.org/u/HrKnuddel_2015)\
**Replies:** 0\
**Last updated:** [19 December 2024 16:48 UTC](https://discourse.nodered.org/t/close-websocket-connections-to-specific-sessions/94030 "2024-12-19T16:48:33Z")

</div>

I have a Websocket server setup in my Node-Red and for that server you need to authenticate (It's a system to relay Messages from another source). From the beginning we wanted to automatically disconnect every Session th…

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

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