# General

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

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

**Page:** 287

---

## [Global Entity or device](https://discourse.nodered.org/t/global-entity-or-device/71389)

<div class="topic-metadata">

**Author:** [@slima](https://discourse.nodered.org/u/slima)\
**Replies:** 1\
**Last updated:** [28 November 2022 16:39 UTC](https://discourse.nodered.org/t/global-entity-or-device/71389 "2022-11-28T16:39:57Z")

</div>

Hello, I use node-red with home assistant and do some automatisations I check for current state of some Entity (get from home assistant) and do something with that. But When I for example change bulb from philips to ik…

---

## [TypeError: Cannot set properties of undefined (setting 'mode')](https://discourse.nodered.org/t/typeerror-cannot-set-properties-of-undefined-setting-mode/71345)

<div class="topic-metadata">

**Author:** [@NathanM](https://discourse.nodered.org/u/NathanM)\
**Replies:** 2\
**Last updated:** [28 November 2022 15:52 UTC](https://discourse.nodered.org/t/typeerror-cannot-set-properties-of-undefined-setting-mode/71345 "2022-11-28T15:52:37Z")

</div>

Hello, I keep running into this issue with node-red and I'm not sure on how to fix it. Any help would be greatly appreciated. I ran standardfirmataplus on my arduino/Teensy. Node-red worked earlier but when I started an…

---

## [Control gree AC with node-red-contrig-gree-hvac](https://discourse.nodered.org/t/control-gree-ac-with-node-red-contrig-gree-hvac/71382)

<div class="topic-metadata">

**Author:** [@snaky69](https://discourse.nodered.org/u/snaky69)\
**Replies:** 0\
**Last updated:** [28 November 2022 14:59 UTC](https://discourse.nodered.org/t/control-gree-ac-with-node-red-contrig-gree-hvac/71382 "2022-11-28T14:59:48Z")

</div>

Good day to all, This is my first foray into Node-Red, I am currently running Home Assistant on a RPI4b to control a lot of stuff in my home including my Gree AC. One thing that Home Assistant cannot do is control the s…

---

## [Best install procedure for installing Debian on laptop exclusively dedicated to running Node Red](https://discourse.nodered.org/t/best-install-procedure-for-installing-debian-on-laptop-exclusively-dedicated-to-running-node-red/70155)

<div class="topic-metadata">

**Author:** [@nodeBoy816](https://discourse.nodered.org/u/nodeBoy816)\
**Replies:** 21\
**Last updated:** [28 November 2022 13:58 UTC](https://discourse.nodered.org/t/best-install-procedure-for-installing-debian-on-laptop-exclusively-dedicated-to-running-node-red/70155 "2022-11-28T13:58:15Z")

</div>

Howdy all! I'm going through the process of installing Debian for running Node Red on a (~2012-2014) HP 2000. AMD E2-1800, 4G ddr3 ram. I was able to burn the iso (debian-11.5.0-amd64-netinst.iso) from Debian's site usi…

---

## [Heating system improvements](https://discourse.nodered.org/t/heating-system-improvements/71096)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 19\
**Last updated:** [28 November 2022 11:08 UTC](https://discourse.nodered.org/t/heating-system-improvements/71096 "2022-11-28T11:08:58Z")

</div>

Hi Chaps Don’t know if this is something anyone here can help with but I’m looking to somehow aggregate the current weather conditions in my location i.e. wind speed, wind direction and external temperature. I then woul…

---

## [Type-Error Message on OpcUa-Server](https://discourse.nodered.org/t/type-error-message-on-opcua-server/71172)

<div class="topic-metadata">

**Author:** [@Tobi1](https://discourse.nodered.org/u/Tobi1)\
**Replies:** 1\
**Last updated:** [28 November 2022 11:01 UTC](https://discourse.nodered.org/t/type-error-message-on-opcua-server/71172 "2022-11-28T11:01:38Z")

</div>

Hi @all, for a project I try to create an OPC DA - UA converter. I used the OpcUa-Server Node. It works pretty well, but I am getting the error message in debug window "TypeError: Cannot read property 'indexOf' of undef…

---

## [Updating a flow example](https://discourse.nodered.org/t/updating-a-flow-example/71363)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 5\
**Last updated:** [28 November 2022 10:15 UTC](https://discourse.nodered.org/t/updating-a-flow-example/71363 "2022-11-28T10:15:50Z")

</div>

I just uploaded my first flow example (Tasmota power-plug with HTTP) and I noticed that it was automatically forwarded to GitHub. Now I have to update the flow, but I didn't see any possibility in Node-RED. But I could u…

---

## [Node-red editor not show (only the header and node-red logo are visible)](https://discourse.nodered.org/t/node-red-editor-not-show-only-the-header-and-node-red-logo-are-visible/71309)

<div class="topic-metadata">

**Author:** [@qy666](https://discourse.nodered.org/u/qy666)\
**Replies:** 14\
**Last updated:** [28 November 2022 07:08 UTC](https://discourse.nodered.org/t/node-red-editor-not-show-only-the-header-and-node-red-logo-are-visible/71309 "2022-11-28T07:08:34Z")

</div>

I have installed node.js and install node-red via npm sucessfully. But I visit 127.0.0.1:1880, there is nothing showed on the website(showed as following)......how could I do to fix it?Please help me :frowning: :sob: …

---

## [How to read phpmyadmin database (own ip address) to node red?](https://discourse.nodered.org/t/how-to-read-phpmyadmin-database-own-ip-address-to-node-red/71349)

<div class="topic-metadata">

**Author:** [@drmantech](https://discourse.nodered.org/u/drmantech)\
**Replies:** 1\
**Last updated:** [28 November 2022 05:33 UTC](https://discourse.nodered.org/t/how-to-read-phpmyadmin-database-own-ip-address-to-node-red/71349 "2022-11-28T05:33:53Z")

</div>

Firstly I have tried to read phpmyadmin database (localhost : 127.0.0.1) to node red and it successfully. Now, I try to read phpmyadmin database (own ip address) to node red and it not successfully. Anyone can help me h…

---

## [Is it possible to enable httpNodeAuth only for Dashboard? not HTTP Node](https://discourse.nodered.org/t/is-it-possible-to-enable-httpnodeauth-only-for-dashboard-not-http-node/71319)

<div class="topic-metadata">

**Author:** [@m0rep0w3r](https://discourse.nodered.org/u/m0rep0w3r)\
**Replies:** 3\
**Last updated:** [28 November 2022 01:46 UTC](https://discourse.nodered.org/t/is-it-possible-to-enable-httpnodeauth-only-for-dashboard-not-http-node/71319 "2022-11-28T01:46:48Z")

</div>

Is it possible to enable httpNodeAuth only for Dashboard? not HTTP Node I have enable httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz26dNbM6tl8sJgENOMcxWV9DN."} The dashboard is the only place where …

---

## [Wrong output to influxdb (Data as a string)](https://discourse.nodered.org/t/wrong-output-to-influxdb-data-as-a-string/5620)

<div class="topic-metadata">

**Author:** [@ColinBresser](https://discourse.nodered.org/u/ColinBresser)\
**Replies:** 14\
**Last updated:** [28 November 2022 01:40 UTC](https://discourse.nodered.org/t/wrong-output-to-influxdb-data-as-a-string/5620 "2022-11-28T01:40:20Z")

</div>

Hi, ... please could someone help me how "correctly" write values (with tags) to influxdb. The values in influxdb are not correctly writing (with " " symbol - like STRING) Thanks

---

## [Read PV forecast](https://discourse.nodered.org/t/read-pv-forecast/71339)

<div class="topic-metadata">

**Author:** [@tiks](https://discourse.nodered.org/u/tiks)\
**Replies:** 1\
**Last updated:** [27 November 2022 21:51 UTC](https://discourse.nodered.org/t/read-pv-forecast/71339 "2022-11-27T21:51:28Z")

</div>

Dear all, I try to read my solar forecast from forecast.solar with node red what works great. Nevertheless I don´t know how to use the data in a function node, because when I e.g. copy the path off "todays watt hours" i…

---

## [Motion-based light with 10-second dimming countdown](https://discourse.nodered.org/t/motion-based-light-with-10-second-dimming-countdown/71316)

<div class="topic-metadata">

**Author:** [@therealbuzzkill](https://discourse.nodered.org/u/therealbuzzkill)\
**Replies:** 2\
**Last updated:** [27 November 2022 21:27 UTC](https://discourse.nodered.org/t/motion-based-light-with-10-second-dimming-countdown/71316 "2022-11-27T21:27:59Z")

</div>

Hi forum. New user here :wave: I hope there is someone out there with some creative juices and relevant coding skills (note: I have none) that could help me improve my current setup. I have the following flow for motio…

---

## [AWS Lightsail Container Node-Red Şifre Oluşturma](https://discourse.nodered.org/t/aws-lightsail-container-node-red-sifre-olusturma/71048)

<div class="topic-metadata">

**Author:** [@buraking](https://discourse.nodered.org/u/buraking)\
**Replies:** 12\
**Last updated:** [27 November 2022 21:23 UTC](https://discourse.nodered.org/t/aws-lightsail-container-node-red-sifre-olusturma/71048 "2022-11-27T21:23:32Z")

</div>

Hello everyone. I recently started learning Node-red, but I am using it on amazon lightsail service by adding node-red image to container. So I can't create username and password at login. In the training videos, they do…

---

## [Changing node change a number](https://discourse.nodered.org/t/changing-node-change-a-number/71311)

<div class="topic-metadata">

**Author:** [@Herbert](https://discourse.nodered.org/u/Herbert)\
**Replies:** 2\
**Last updated:** [27 November 2022 19:03 UTC](https://discourse.nodered.org/t/changing-node-change-a-number/71311 "2022-11-27T19:03:04Z")

</div>

Hello, I have a short question for my heating system at home. I have set temperatures from 10 to 30 degreed. if the set value is under 18, then the changing node have to change it to 18 back. \[ { "id": "a…

---

## [Little stuck with JSON syntax using node.send in a function node](https://discourse.nodered.org/t/little-stuck-with-json-syntax-using-node-send-in-a-function-node/71304)

<div class="topic-metadata">

**Author:** [@philosoma](https://discourse.nodered.org/u/philosoma)\
**Replies:** 8\
**Last updated:** [27 November 2022 17:57 UTC](https://discourse.nodered.org/t/little-stuck-with-json-syntax-using-node-send-in-a-function-node/71304 "2022-11-27T17:57:49Z")

</div>

From a ZigBee extension lead I get states for each of the sockets like msg.payload.state\_l1. I'm using node.send to filter out the rest so the button node will work. msg.payload.state\_l1 = "ON"; node.send(\[{payload:msg.…

---

## [Problem when read data from MSSQL to Node-red](https://discourse.nodered.org/t/problem-when-read-data-from-mssql-to-node-red/71324)

<div class="topic-metadata">

**Author:** [@maskmanwithsword](https://discourse.nodered.org/u/maskmanwithsword)\
**Replies:** 1\
**Last updated:** [27 November 2022 16:08 UTC](https://discourse.nodered.org/t/problem-when-read-data-from-mssql-to-node-red/71324 "2022-11-27T16:08:26Z")

</div>

Hi all, I'm having a problem when I read data from MSSQL to Node-red, it has a space after the data i've read. Can someone help me in this? Thanks!

---

## [Are multiple threads a viable way to profile NodeRED?](https://discourse.nodered.org/t/are-multiple-threads-a-viable-way-to-profile-nodered/71189)

<div class="topic-metadata">

**Author:** [@jackcarey](https://discourse.nodered.org/u/jackcarey)\
**Replies:** 3\
**Last updated:** [27 November 2022 15:53 UTC](https://discourse.nodered.org/t/are-multiple-threads-a-viable-way-to-profile-nodered/71189 "2022-11-27T15:53:34Z")

</div>

I made a previous thread on profiling and observability in NR (below), but ran into an issue with the single-threaded nature of Node.js. I'm looking for advice on how I might best overcome this in relation to the NodeRED…

---

## [Outputting Text to a Windows file](https://discourse.nodered.org/t/outputting-text-to-a-windows-file/71312)

<div class="topic-metadata">

**Author:** [@HenryHA](https://discourse.nodered.org/u/HenryHA)\
**Replies:** 3\
**Last updated:** [27 November 2022 12:24 UTC](https://discourse.nodered.org/t/outputting-text-to-a-windows-file/71312 "2022-11-27T12:24:27Z")

</div>

I see from a previous post "Outputting text to a Windows shared folder" that Node Red running on Home Assistant on a Raspberry Pi cant output text to a Windows Folder as HA blocks that and only a modification to HA will …

---

## [Private cert possible causing "unable to get issuer cert locally" error](https://discourse.nodered.org/t/private-cert-possible-causing-unable-to-get-issuer-cert-locally-error/71221)

<div class="topic-metadata">

**Author:** [@ftabat](https://discourse.nodered.org/u/ftabat)\
**Replies:** 4\
**Last updated:** [27 November 2022 09:46 UTC](https://discourse.nodered.org/t/private-cert-possible-causing-unable-to-get-issuer-cert-locally-error/71221 "2022-11-27T09:46:01Z")

</div>

Hi, We had a perfectly working flow(in test) until last month when corporate issued us a new cert for our test server. Our prod will still be using a public cert until it expires. Now that we're having this issue, we'r…

---

## [Adding node-red for each user on a iot platform](https://discourse.nodered.org/t/adding-node-red-for-each-user-on-a-iot-platform/71307)

<div class="topic-metadata">

**Author:** [@ak-agus](https://discourse.nodered.org/u/ak-agus)\
**Replies:** 1\
**Last updated:** [27 November 2022 08:53 UTC](https://discourse.nodered.org/t/adding-node-red-for-each-user-on-a-iot-platform/71307 "2022-11-27T08:53:01Z")

</div>

Hi im in the starting point of adding node-red for each user on my iot platform. I know that arduino cloud haves this services, you create your user and the you have your own instance of node red. The idea like them, i…

---

## [Could not find user directory. Ensure $HOME is set for the current user, or use --userDir option](https://discourse.nodered.org/t/could-not-find-user-directory-ensure-home-is-set-for-the-current-user-or-use-userdir-option/68597)

<div class="topic-metadata">

**Author:** [@lpj669](https://discourse.nodered.org/u/lpj669)\
**Replies:** 18\
**Last updated:** [27 November 2022 05:46 UTC](https://discourse.nodered.org/t/could-not-find-user-directory-ensure-home-is-set-for-the-current-user-or-use-userdir-option/68597 "2022-11-27T05:46:28Z")

</div>

Hi everyone! I recently upgraded Node-Red for Raspberry PI4. It may be that I did something wrong, so Node-Red cannot run automatically. I typed 'node-red-start' in the command window(or click Application Menu --Program…

---

## [Modbus RTU obtaining sporadic values or missing/skipping entirely](https://discourse.nodered.org/t/modbus-rtu-obtaining-sporadic-values-or-missing-skipping-entirely/71298)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 2\
**Last updated:** [26 November 2022 21:23 UTC](https://discourse.nodered.org/t/modbus-rtu-obtaining-sporadic-values-or-missing-skipping-entirely/71298 "2022-11-26T21:23:38Z")

</div>

I have recently connected two Carrier chillers (unit ID: 32 and unit ID 6) via Modbus RTU to a Pi running Node-RED. The physical wiring is shown below. This is RS485 to USB adapter that I am using. My flow is quite …

---

## [Help with how to make a TEST SYSTEM to test someting](https://discourse.nodered.org/t/help-with-how-to-make-a-test-system-to-test-someting/71300)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [26 November 2022 20:43 UTC](https://discourse.nodered.org/t/help-with-how-to-make-a-test-system-to-test-someting/71300 "2022-11-26T20:43:25Z")

</div>

Ok, sort of getting back to my post/question on the Samsung TV control node set. Problem: Seems it doesn't like talking between certain types of networks. But not all. I'm not sure of the specifics. It would be nice…

---

## [Link two Discord chats with different languages with local LibreTranslate](https://discourse.nodered.org/t/link-two-discord-chats-with-different-languages-with-local-libretranslate/71287)

<div class="topic-metadata">

**Author:** [@BesPav](https://discourse.nodered.org/u/BesPav)\
**Replies:** 2\
**Last updated:** [26 November 2022 19:46 UTC](https://discourse.nodered.org/t/link-two-discord-chats-with-different-languages-with-local-libretranslate/71287 "2022-11-26T19:46:50Z")

</div>

Hi, folks! For curiosity i'm trying to use Node-RED for virtually linking two or more Discord chats in one stream. The goal is to provide two or more roms with different languages which are linked by Hode-RED flow tran…

---

## [SUBSTR in Change Node - HELP Needed](https://discourse.nodered.org/t/substr-in-change-node-help-needed/71148)

<div class="topic-metadata">

**Author:** [@championc](https://discourse.nodered.org/u/championc)\
**Replies:** 6\
**Last updated:** [26 November 2022 11:38 UTC](https://discourse.nodered.org/t/substr-in-change-node-help-needed/71148 "2022-11-26T11:38:23Z")

</div>

Hi all I have a Date and Time string - a runrise date and time - which I am simply looking to extract the time. from. But I keep getting an "undefined" result in the debug messages Here is a string sample - "2022-11-2…

---

## [BITMAP file to HEX string](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272)

<div class="topic-metadata">

**Author:** [@TWINMIND](https://discourse.nodered.org/u/TWINMIND)\
**Replies:** 1\
**Last updated:** [26 November 2022 07:10 UTC](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272 "2022-11-26T07:10:49Z")

</div>

Hi everyone Is there a simple way to convert a BITMAP file into a string of HEX (...0x00, 0x1f, 0xf8, 0xff, 0xf8, 0x00, 0x00...) ? Like this tool do https://javl.github.io/image2cpp/ The real story is: I want to auto…

---

## [Node.js version for a new install (in nearly 2023) - still v14?](https://discourse.nodered.org/t/node-js-version-for-a-new-install-in-nearly-2023-still-v14/71264)

<div class="topic-metadata">

**Author:** [@alastaira](https://discourse.nodered.org/u/alastaira)\
**Replies:** 2\
**Last updated:** [25 November 2022 20:52 UTC](https://discourse.nodered.org/t/node-js-version-for-a-new-install-in-nearly-2023-still-v14/71264 "2022-11-25T20:52:33Z")

</div>

Hi! I'm currently creating a new Node-RED installation on Windows 11. Am I right in saying that the latest Node-RED v3.0.2 still only runs on Node.js v14? (as described at Running on Windows : Node-RED )? According to …

---

## [Node-RED doesn't like to import to current flow](https://discourse.nodered.org/t/node-red-doesnt-like-to-import-to-current-flow/71261)

<div class="topic-metadata">

**Author:** [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Replies:** 4\
**Last updated:** [25 November 2022 20:45 UTC](https://discourse.nodered.org/t/node-red-doesnt-like-to-import-to-current-flow/71261 "2022-11-25T20:45:55Z")

</div>

I'm facing the issue, that my NR (3.0.2) doesn't like to import to the current flow - anymore?! Has anyone else already seen such an effect?

---

## [Node red crash suddenly](https://discourse.nodered.org/t/node-red-crash-suddenly/71219)

<div class="topic-metadata">

**Author:** [@298christian](https://discourse.nodered.org/u/298christian)\
**Replies:** 11\
**Last updated:** [25 November 2022 17:37 UTC](https://discourse.nodered.org/t/node-red-crash-suddenly/71219 "2022-11-25T17:37:59Z")

</div>

Hello all. Node-red gets the temperature values of the boiler via the serial port. While I was working with the telegram node, I deployed the last changes and everything got froze. The cpu of the raspberry run to 100% l…

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

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