# General

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

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

**Page:** 70

---

## [Dashboard Template Colors Not Updating as Expected](https://discourse.nodered.org/t/dashboard-template-colors-not-updating-as-expected/93523)

<div class="topic-metadata">

**Author:** [@crokett](https://discourse.nodered.org/u/crokett)\
**Replies:** 3\
**Last updated:** [27 November 2024 18:09 UTC](https://discourse.nodered.org/t/dashboard-template-colors-not-updating-as-expected/93523 "2024-11-27T18:09:16Z")

</div>

I am working on a project that will eventually use a Raspberry Pi to start and stop my generator via relays on the fuel and starter solenoids. I have a basic POC working on my desk. I need to still work out the final l…

---

## [Random ECONNRESET & ETIMEDOUT http request errors](https://discourse.nodered.org/t/random-econnreset-etimedout-http-request-errors/93515)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 3\
**Last updated:** [27 November 2024 15:49 UTC](https://discourse.nodered.org/t/random-econnreset-etimedout-http-request-errors/93515 "2024-11-27T15:49:44Z")

</div>

Got some node red instances running on different locations, most are 'edge' instances running on physical pi5. One is 'cloud' instance running on azure. All of them send data, mostly http post / rest request API to Thing…

---

## [Dropdown not clearing when passing empty array](https://discourse.nodered.org/t/dropdown-not-clearing-when-passing-empty-array/93485)

<div class="topic-metadata">

**Author:** [@rbmgf7](https://discourse.nodered.org/u/rbmgf7)\
**Replies:** 9\
**Last updated:** [27 November 2024 12:47 UTC](https://discourse.nodered.org/t/dropdown-not-clearing-when-passing-empty-array/93485 "2024-11-27T12:47:26Z")

</div>

For some reason it's not working. It'll clear whatever value is present in the dropdown but the rest of the msg.options are still there when you click back on the dropdown. The instructions also say to pass a Boolean tr…

---

## [New Tab Opens Login Page Even When Already Logged In (Node-RED Session Issue)](https://discourse.nodered.org/t/new-tab-opens-login-page-even-when-already-logged-in-node-red-session-issue/93482)

<div class="topic-metadata">

**Author:** [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Replies:** 0\
**Last updated:** [26 November 2024 17:31 UTC](https://discourse.nodered.org/t/new-tab-opens-login-page-even-when-already-logged-in-node-red-session-issue/93482 "2024-11-26T17:31:57Z")

</div>

I'm working on a Node-RED application, and I'm encountering an issue with session handling when opening a new tab in the same browser. Here's what's happening: I log in to http://localhost:1880/api/login in one tab, wh…

---

## [Generate values and publish to MQTT topic](https://discourse.nodered.org/t/generate-values-and-publish-to-mqtt-topic/93519)

<div class="topic-metadata">

**Author:** [@atux\_null](https://discourse.nodered.org/u/atux_null)\
**Replies:** 2\
**Last updated:** [27 November 2024 14:30 UTC](https://discourse.nodered.org/t/generate-values-and-publish-to-mqtt-topic/93519 "2024-11-27T14:30:21Z")

</div>

setup consists of a MQTT broker running in a PC. Node red runs in a Raspberry PI. i would like to generate fake values every 5 secs repeatedly of WATTS in the range 1-5 with 2 decimal points. Then send those values to …

---

## [Live CKAN sensor data to Node-RED worldmap](https://discourse.nodered.org/t/live-ckan-sensor-data-to-node-red-worldmap/93517)

<div class="topic-metadata">

**Author:** [@540346411](https://discourse.nodered.org/u/540346411)\
**Replies:** 0\
**Last updated:** [27 November 2024 13:21 UTC](https://discourse.nodered.org/t/live-ckan-sensor-data-to-node-red-worldmap/93517 "2024-11-27T13:21:59Z")

</div>

Hello there, I'm trying to make a live map using real life data from a CKAN URL. I have never used NODE-Red before, so i am a complete noob, but love it so far! The problem I face is that the points on the map doesnt …

---

## [N2n node only passing payload?](https://discourse.nodered.org/t/n2n-node-only-passing-payload/93267)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 4\
**Last updated:** [27 November 2024 13:21 UTC](https://discourse.nodered.org/t/n2n-node-only-passing-payload/93267 "2024-11-27T13:21:09Z")

</div>

I am trying to use the n2n node that @dceejay created quite a few years ago. But it seems that the n2n input node only outputs payload. Here are some code examples: Input to n2n output node: but the output from a n2…

---

## [How to delete subjects?](https://discourse.nodered.org/t/how-to-delete-subjects/93505)

<div class="topic-metadata">

**Author:** [@pierredemay](https://discourse.nodered.org/u/pierredemay)\
**Replies:** 3\
**Last updated:** [27 November 2024 09:03 UTC](https://discourse.nodered.org/t/how-to-delete-subjects/93505 "2024-11-27T09:03:19Z")

</div>

Hi there, I just want to delete my subjects for some reasons, how can I do it ? Thanks.

---

## [Dim Homematic device with node-red](https://discourse.nodered.org/t/dim-homematic-device-with-node-red/93347)

<div class="topic-metadata">

**Author:** [@Pinky](https://discourse.nodered.org/u/Pinky)\
**Replies:** 4\
**Last updated:** [27 November 2024 07:55 UTC](https://discourse.nodered.org/t/dim-homematic-device-with-node-red/93347 "2024-11-27T07:55:53Z")

</div>

Hi everyone, I am currently installing a homeassistant. I connected several services in the homeassistant and all devices work fine in the homeassistant. I can switch and dim them in homeassistant. Now I try to access …

---

## [Sending MQTT topic as bytestring to ESP8266/32 modules?](https://discourse.nodered.org/t/sending-mqtt-topic-as-bytestring-to-esp8266-32-modules/93454)

<div class="topic-metadata">

**Author:** [@Jibun-no-Kage](https://discourse.nodered.org/u/Jibun-no-Kage)\
**Replies:** 5\
**Last updated:** [26 November 2024 21:35 UTC](https://discourse.nodered.org/t/sending-mqtt-topic-as-bytestring-to-esp8266-32-modules/93454 "2024-11-26T21:35:28Z")

</div>

So the MQTT support in MicroPython for ESP8266 and ESP32 modules is a bit unique. The MQTT topic needs to be 'b'string, i.e. a bytestring per python notation. I have been successful publishing MQTT messages from MicroP…

---

## [Flow performance review](https://discourse.nodered.org/t/flow-performance-review/86113)

<div class="topic-metadata">

**Author:** [@bohtho](https://discourse.nodered.org/u/bohtho)\
**Replies:** 15\
**Last updated:** [26 November 2024 19:16 UTC](https://discourse.nodered.org/t/flow-performance-review/86113 "2024-11-26T19:16:49Z")

</div>

Looong time user of nodered here, and have been amazed by the performance even under my elaborate and inefficient flows over the years. So I have been spared having to find bottlenecks and optimizing much. I recently re…

---

## [SQL array to dropdown just lists the labels](https://discourse.nodered.org/t/sql-array-to-dropdown-just-lists-the-labels/93462)

<div class="topic-metadata">

**Author:** [@rbmgf7](https://discourse.nodered.org/u/rbmgf7)\
**Replies:** 4\
**Last updated:** [26 November 2024 16:23 UTC](https://discourse.nodered.org/t/sql-array-to-dropdown-just-lists-the-labels/93462 "2024-11-26T16:23:18Z")

</div>

I can't figure out how to get the dropdown to list the values as the options. It only lists the labels so "PumpType" is listed 5 times in the dropdown. I need the dropdown to list the "Value1, Value2,...Value5" instea…

---

## [Help for NR to MQTT by variable msg](https://discourse.nodered.org/t/help-for-nr-to-mqtt-by-variable-msg/93480)

<div class="topic-metadata">

**Author:** [@stephane.olivier](https://discourse.nodered.org/u/stephane.olivier)\
**Replies:** 4\
**Last updated:** [26 November 2024 16:06 UTC](https://discourse.nodered.org/t/help-for-nr-to-mqtt-by-variable-msg/93480 "2024-11-26T16:06:17Z")

</div>

Hello, Thanks for reading me. I can send a message on a Mqtt topic, it works! But NR leaves me an error and I don't like that. Sending code: msg.topic = "EffiCompteV2\_485/Action"; msg.payload = "getModBus=01060011…

---

## [Node-Red in EC2-Amazon Linux accessed by https](https://discourse.nodered.org/t/node-red-in-ec2-amazon-linux-accessed-by-https/93477)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 5\
**Last updated:** [26 November 2024 14:20 UTC](https://discourse.nodered.org/t/node-red-in-ec2-amazon-linux-accessed-by-https/93477 "2024-11-26T14:20:29Z")

</div>

Hi Dears, I have a node-red application running with http on an EC2-Amazon Linux server. I would like to be able to access it using https. From what I've read, I'll have to put a certificate on EC2 and change the settin…

---

## [How to find a Junction](https://discourse.nodered.org/t/how-to-find-a-junction/93461)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 18\
**Last updated:** [26 November 2024 13:09 UTC](https://discourse.nodered.org/t/how-to-find-a-junction/93461 "2024-11-26T13:09:37Z")

</div>

I inserted a Junction in a flow, but the crafty beggar was nowhere to be found. I did find it eventually but there must be an easier way to find one than searching every mm of the editor. That (hopefully) being the case …

---

## [ReferenceError: nx is not defined in Vue.js Component Rendering Topology](https://discourse.nodered.org/t/referenceerror-nx-is-not-defined-in-vue-js-component-rendering-topology/93476)

<div class="topic-metadata">

**Author:** [@Nandhini-Subramaniya](https://discourse.nodered.org/u/Nandhini-Subramaniya)\
**Replies:** 1\
**Last updated:** [26 November 2024 12:54 UTC](https://discourse.nodered.org/t/referenceerror-nx-is-not-defined-in-vue-js-component-rendering-topology/93476 "2024-11-26T12:54:57Z")

</div>

I have included the next.js and next.css files as follows: I verified that the assets/nextjs/next.js file is available in the correct location. The topology rendering function (initializeTopology) is called in the mo…

---

## [Installing npm packages / nodes via Dockerfile](https://discourse.nodered.org/t/installing-npm-packages-nodes-via-dockerfile/93466)

<div class="topic-metadata">

**Author:** [@erxncxte](https://discourse.nodered.org/u/erxncxte)\
**Replies:** 9\
**Last updated:** [26 November 2024 08:59 UTC](https://discourse.nodered.org/t/installing-npm-packages-nodes-via-dockerfile/93466 "2024-11-26T08:59:01Z")

</div>

Hi, according to the Node Red Docker Github, you can add extra nodes via a Dockerfile. However, I am unable to get this to work with the same Dockerfile. Any pointers or ideas why this wouldn't be the case? I am run…

---

## [How is your experience on 24/7 operation?](https://discourse.nodered.org/t/how-is-your-experience-on-24-7-operation/93249)

<div class="topic-metadata">

**Author:** [@Leo\_3](https://discourse.nodered.org/u/Leo_3)\
**Replies:** 28\
**Last updated:** [26 November 2024 07:38 UTC](https://discourse.nodered.org/t/how-is-your-experience-on-24-7-operation/93249 "2024-11-26T07:38:12Z")

</div>

New to Node-RED. How is your experience on stability and reliability for running it 24/7? Is Linux is more stable for Node-RED? Is Debian CLI version (no desktop) good?

---

## [Inconsistent SQLite node query behaviour](https://discourse.nodered.org/t/inconsistent-sqlite-node-query-behaviour/93445)

<div class="topic-metadata">

**Author:** [@JesFo](https://discourse.nodered.org/u/JesFo)\
**Replies:** 10\
**Last updated:** [26 November 2024 06:30 UTC](https://discourse.nodered.org/t/inconsistent-sqlite-node-query-behaviour/93445 "2024-11-26T06:30:43Z")

</div>

I'm using the node-red-node-sqlite v1.1.0 node. And I'm reading my database like so: \[ { "id": "38680aaa86807ba1", "type": "http in", "z": "c35667a7f7c45a02", "name": "Submit", …

---

## [Postgres Timeout Error](https://discourse.nodered.org/t/postgres-timeout-error/93446)

<div class="topic-metadata">

**Author:** [@warby78](https://discourse.nodered.org/u/warby78)\
**Replies:** 5\
**Last updated:** [25 November 2024 21:07 UTC](https://discourse.nodered.org/t/postgres-timeout-error/93446 "2024-11-25T21:07:07Z")

</div>

Hi We have a busy node-red running frequent updates to postgres We are on Node-red version 3.02 with nodered-contrib-postgresql 14.2 on Redhat We are on Amazon RDS Postgres with Postgres V14.12 Hardware-wise we have …

---

## [How to Use HTTP-In Nodes in Node-RED to Serve Static HTML Pages Instead of Separate Express Code](https://discourse.nodered.org/t/how-to-use-http-in-nodes-in-node-red-to-serve-static-html-pages-instead-of-separate-express-code/93434)

<div class="topic-metadata">

**Author:** [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Replies:** 10\
**Last updated:** [25 November 2024 20:08 UTC](https://discourse.nodered.org/t/how-to-use-http-in-nodes-in-node-red-to-serve-static-html-pages-instead-of-separate-express-code/93434 "2024-11-25T20:08:34Z")

</div>

I am currently using separate Express.js code to serve static CSS and JS pages to html page like login.html, forgot-password.html, etc. How do I set the CSS, JS, and images in static files in node-red settings file? I…

---

## [Local Changes won't Commit](https://discourse.nodered.org/t/local-changes-wont-commit/93459)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 2\
**Last updated:** [25 November 2024 18:00 UTC](https://discourse.nodered.org/t/local-changes-wont-commit/93459 "2024-11-25T18:00:42Z")

</div>

I have two node-red instances on different servers. I am using project control and historically I would push instance#1 up to the repository and then pull it down to instance#2. I now wish to make instance#2 the source o…

---

## [Elementary Question Regarding Flow Execution](https://discourse.nodered.org/t/elementary-question-regarding-flow-execution/93457)

<div class="topic-metadata">

**Author:** [@mleemoore](https://discourse.nodered.org/u/mleemoore)\
**Replies:** 2\
**Last updated:** [25 November 2024 16:40 UTC](https://discourse.nodered.org/t/elementary-question-regarding-flow-execution/93457 "2024-11-25T16:40:17Z")

</div>

I have done a number of searches and have not found execution data is stored. I know where the flows themselves are stored, but I cannot locate execution data on a flow. I can see those that are executing in the dashboar…

---

## [Weird Node-Red errors when working project is running for about 30mins](https://discourse.nodered.org/t/weird-node-red-errors-when-working-project-is-running-for-about-30mins/93405)

<div class="topic-metadata">

**Author:** [@garynl](https://discourse.nodered.org/u/garynl)\
**Replies:** 2\
**Last updated:** [25 November 2024 15:36 UTC](https://discourse.nodered.org/t/weird-node-red-errors-when-working-project-is-running-for-about-30mins/93405 "2024-11-25T15:36:47Z")

</div>

I recently moved a project from a pi3 to a pi4. Everything seems fines for about 30 mins, then when I try to deploy I get the following; (hmm, I cant paste an image or include a graphic file) "Error: Cannot find module …

---

## [How to connect node-red template html file with local file css?](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442)

<div class="topic-metadata">

**Author:** [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Replies:** 3\
**Last updated:** [25 November 2024 11:37 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442 "2024-11-25T11:37:26Z")

</div>

This is my flow I have css, js, and images in my local directory, How do I connect with template node html code to local file css,js for serving?

---

## [Creating static files to serve CSS and JS to html files](https://discourse.nodered.org/t/creating-static-files-to-serve-css-and-js-to-html-files/93437)

<div class="topic-metadata">

**Author:** [@Logan251999](https://discourse.nodered.org/u/Logan251999)\
**Replies:** 1\
**Last updated:** [25 November 2024 11:33 UTC](https://discourse.nodered.org/t/creating-static-files-to-serve-css-and-js-to-html-files/93437 "2024-11-25T11:33:10Z")

</div>

I have html css js files in my local, without using expres how to serve static file, set the static file in css,js how to use settings.js file? I created the endpoint when i acess /api/login1 it's output ?

---

## [Use docker containers to run node-red and pm2 to manage the application. After running for a while, node-red service stops](https://discourse.nodered.org/t/use-docker-containers-to-run-node-red-and-pm2-to-manage-the-application-after-running-for-a-while-node-red-service-stops/93334)

<div class="topic-metadata">

**Author:** [@cstslqq](https://discourse.nodered.org/u/cstslqq)\
**Replies:** 3\
**Last updated:** [25 November 2024 09:12 UTC](https://discourse.nodered.org/t/use-docker-containers-to-run-node-red-and-pm2-to-manage-the-application-after-running-for-a-while-node-red-service-stops/93334 "2024-11-25T09:12:20Z")

</div>

Use docker containers to run node-red and pm2 to manage the application. After running for a while, node-red service stops. node-red version is 3.0.2. The following is the error message： 11:00:22 0|red | 21 Nov 11:00:2…

---

## [No flow backup in .node-red folder](https://discourse.nodered.org/t/no-flow-backup-in-node-red-folder/93433)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 2\
**Last updated:** [25 November 2024 08:56 UTC](https://discourse.nodered.org/t/no-flow-backup-in-node-red-folder/93433 "2024-11-25T08:56:14Z")

</div>

I had a problem so I thought I'll go and restore the flows.json backup file but nothing there simon@simon-HP-Desktop-M01-F1xxx:~/.node-red$ ls -l total 4512 -rwxr-xr-x 1 simon simon 6746 Sep 12 2023 alexaFile.txt …

---

## [Blastgate Automation Flow](https://discourse.nodered.org/t/blastgate-automation-flow/92812)

<div class="topic-metadata">

**Author:** [@steffstereo](https://discourse.nodered.org/u/steffstereo)\
**Replies:** 19\
**Last updated:** [11 November 2024 21:09 UTC](https://discourse.nodered.org/t/blastgate-automation-flow/92812 "2024-11-11T21:09:41Z")

</div>

Hey, I would like to install a blastgate automation in my woodworking shop. The hardware is already installed and all components work as planned. Unfortunately, creating a flow for my application is now much more compli…

---

## [Timer to show how many hours of gas left in generator tank, best way to approach?](https://discourse.nodered.org/t/timer-to-show-how-many-hours-of-gas-left-in-generator-tank-best-way-to-approach/93406)

<div class="topic-metadata">

**Author:** [@OffGridNoob](https://discourse.nodered.org/u/OffGridNoob)\
**Replies:** 1\
**Last updated:** [24 November 2024 21:49 UTC](https://discourse.nodered.org/t/timer-to-show-how-many-hours-of-gas-left-in-generator-tank-best-way-to-approach/93406 "2024-11-24T21:49:24Z")

</div>

I have multiple flows that start or stop a generator based on various things. I have one flow that checks when the generator runs out of gas and then de-energizes the relay so it doesn't try to start. Then when I fill …

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

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