# General

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

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

**Page:** 395

---

## [Disable a dropdown node on the basis of a switch node result](https://discourse.nodered.org/t/disable-a-dropdown-node-on-the-basis-of-a-switch-node-result/60882)

<div class="topic-metadata">

**Author:** [@QGIO](https://discourse.nodered.org/u/QGIO)\
**Replies:** 11\
**Last updated:** [7 April 2022 14:56 UTC](https://discourse.nodered.org/t/disable-a-dropdown-node-on-the-basis-of-a-switch-node-result/60882 "2022-04-07T14:56:09Z")

</div>

Is there a way to disable a dropdown node on the basis of a switch node result?

---

## [Ecobee Custom Preset Modes](https://discourse.nodered.org/t/ecobee-custom-preset-modes/60944)

<div class="topic-metadata">

**Author:** [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Replies:** 0\
**Last updated:** [7 April 2022 14:48 UTC](https://discourse.nodered.org/t/ecobee-custom-preset-modes/60944 "2022-04-07T14:48:31Z")

</div>

I have Ecobee integrated into Home Assistant and have 2 custom preset modes "School Day" and "Guest Mode". I can use the call service to change the default ones just fine home, away, sleep, but for some reason it will no…

---

## [Connect Hue with RGBW](https://discourse.nodered.org/t/connect-hue-with-rgbw/14925)

<div class="topic-metadata">

**Author:** [@wburst](https://discourse.nodered.org/u/wburst)\
**Replies:** 11\
**Last updated:** [7 April 2022 14:30 UTC](https://discourse.nodered.org/t/connect-hue-with-rgbw/14925 "2022-04-07T14:30:36Z")

</div>

Hi Guys I have a little Problem with Hue I have KNX and want to control Hue From KNX i just have seperate Objects for R,G,B,W and want to connect this to the Hue ligth. But how can i do this. theoretical i ned 4 Slid…

---

## [Table with temperatures in horizontal axe and timestamps in vertical axe](https://discourse.nodered.org/t/table-with-temperatures-in-horizontal-axe-and-timestamps-in-vertical-axe/60942)

<div class="topic-metadata">

**Author:** [@DemalCal96](https://discourse.nodered.org/u/DemalCal96)\
**Replies:** 0\
**Last updated:** [7 April 2022 14:24 UTC](https://discourse.nodered.org/t/table-with-temperatures-in-horizontal-axe-and-timestamps-in-vertical-axe/60942 "2022-04-07T14:24:08Z")

</div>

Hello everyone I have an MQTT IN node that receives temperature data (Temp1, Temp2, Temp3, Temp4) that can be distinguished by its topic. The Message payload contains a Value parameter (which is the temperature) and a T…

---

## [Best way to wire switches in parallell?](https://discourse.nodered.org/t/best-way-to-wire-switches-in-parallell/60707)

<div class="topic-metadata">

**Author:** [@houser](https://discourse.nodered.org/u/houser)\
**Replies:** 19\
**Last updated:** [7 April 2022 14:17 UTC](https://discourse.nodered.org/t/best-way-to-wire-switches-in-parallell/60707 "2022-04-07T14:17:20Z")

</div>

Hello, Would appreciate some help with the attached flow. The flow works but is a bit of a hack and I would appreciate a hint or two of how you would do this to optimize it. It is simply three switches wired in parall…

---

## [Gps data collating satellite info on GPGSV messages](https://discourse.nodered.org/t/gps-data-collating-satellite-info-on-gpgsv-messages/60832)

<div class="topic-metadata">

**Author:** [@vikingsraven](https://discourse.nodered.org/u/vikingsraven)\
**Replies:** 6\
**Last updated:** [7 April 2022 13:09 UTC](https://discourse.nodered.org/t/gps-data-collating-satellite-info-on-gpgsv-messages/60832 "2022-04-07T13:09:34Z")

</div>

Hi all, I'm working on some gps data using GSV messages. what i would like to do and am failing miserably at is to collate the data into a json message. GSV sends 19 blocks of data. blocks are 1 Total Number of mess…

---

## [Exec node can't execute the command but terminal does](https://discourse.nodered.org/t/exec-node-cant-execute-the-command-but-terminal-does/60892)

<div class="topic-metadata">

**Author:** [@Raver](https://discourse.nodered.org/u/Raver)\
**Replies:** 11\
**Last updated:** [7 April 2022 12:54 UTC](https://discourse.nodered.org/t/exec-node-cant-execute-the-command-but-terminal-does/60892 "2022-04-07T12:54:45Z")

</div>

Hi. I can run in terminal: "./speech.sh hello" all ok but in exec node runs with no error, i didn't hear "hello" from speakers and the output message is: Terminal type \`unknown' is not defined. Can anyone help me i tri…

---

## [No error logging with catch node](https://discourse.nodered.org/t/no-error-logging-with-catch-node/60933)

<div class="topic-metadata">

**Author:** [@AMWN](https://discourse.nodered.org/u/AMWN)\
**Replies:** 5\
**Last updated:** [7 April 2022 11:52 UTC](https://discourse.nodered.org/t/no-error-logging-with-catch-node/60933 "2022-04-07T11:52:55Z")

</div>

I really like to use te catch node, to catch errors and program logic after that.For example, I use this to response http 500, with error message to the client side. I mostly use node-red as backend (API). All loging fr…

---

## [Disregard "undefined" msg](https://discourse.nodered.org/t/disregard-undefined-msg/60918)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 7\
**Last updated:** [7 April 2022 11:38 UTC](https://discourse.nodered.org/t/disregard-undefined-msg/60918 "2022-04-07T11:38:01Z")

</div>

In a normal situation my payload is like this: 1:13.5230:14.0900:0.0000:0.0000:24:24:216:216 Time to time I get back messages like this: Cells : msg : Object object payload: object NaNVCNaN: undefined NaNTCNaN: u…

---

## [How add circles in svg based on number of incoming inputs](https://discourse.nodered.org/t/how-add-circles-in-svg-based-on-number-of-incoming-inputs/60773)

<div class="topic-metadata">

**Author:** [@Ganesh](https://discourse.nodered.org/u/Ganesh)\
**Replies:** 6\
**Last updated:** [7 April 2022 11:07 UTC](https://discourse.nodered.org/t/how-add-circles-in-svg-based-on-number-of-incoming-inputs/60773 "2022-04-07T11:07:05Z")

</div>

Hi I have around 250 Tags in database for every tag I want to display a circle on SVG Image , and the number of tags in dB keep varying , with it the circles in SVG should also vary Ex = if I have 50 Tags in dB then…

---

## [Twitter Direct Message](https://discourse.nodered.org/t/twitter-direct-message/2781)

<div class="topic-metadata">

**Author:** [@PdeJ](https://discourse.nodered.org/u/PdeJ)\
**Replies:** 5\
**Last updated:** [7 April 2022 10:30 UTC](https://discourse.nodered.org/t/twitter-direct-message/2781 "2022-04-07T10:30:14Z")

</div>

Would appreciate a walk through of how to send a direct message with the twitter node using "D {username} {message}".

---

## [Connect Azure IoT Hub to node red](https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926)

<div class="topic-metadata">

**Author:** [@moadoma](https://discourse.nodered.org/u/moadoma)\
**Replies:** 2\
**Last updated:** [7 April 2022 08:54 UTC](https://discourse.nodered.org/t/connect-azure-iot-hub-to-node-red/60926 "2022-04-07T08:54:52Z")

</div>

Hi! I'm having a problem with connecting my hub to node red. I was watching this tutorial and I have the same "Azure IoT Hub" node from "cloud", the difference is that when he edit the node in properties it says "conne…

---

## [Pause/resume and Home printer Octoprint API](https://discourse.nodered.org/t/pause-resume-and-home-printer-octoprint-api/60577)

<div class="topic-metadata">

**Author:** [@liminal](https://discourse.nodered.org/u/liminal)\
**Replies:** 4\
**Last updated:** [7 April 2022 01:53 UTC](https://discourse.nodered.org/t/pause-resume-and-home-printer-octoprint-api/60577 "2022-04-07T01:53:41Z")

</div>

Hey guys, I have been able to work out how to shutdown my printer using the function and HTTP nodes. But no idea how to send this POST /api/printer/printhead HTTP/1.1 Host: example.com Content-Type: application/json X…

---

## [HTTP IN node - gives 500 internal server error response](https://discourse.nodered.org/t/http-in-node-gives-500-internal-server-error-response/60899)

<div class="topic-metadata">

**Author:** [@hughjms](https://discourse.nodered.org/u/hughjms)\
**Replies:** 0\
**Last updated:** [6 April 2022 21:25 UTC](https://discourse.nodered.org/t/http-in-node-gives-500-internal-server-error-response/60899 "2022-04-06T21:25:47Z")

</div>

Hi , I am attempting to replicate the very simple use of the HTTP IN node from the documentation . It's part of my Home Assistant setup running on a rasberry Pi . Each time I attempt a curl statement from a PC to t…

---

## [Snap package, after update to 2.2.2 Error: EPERM: operation not permitted, copyfile](https://discourse.nodered.org/t/snap-package-after-update-to-2-2-2-error-eperm-operation-not-permitted-copyfile/60792)

<div class="topic-metadata">

**Author:** [@iamhermes](https://discourse.nodered.org/u/iamhermes)\
**Replies:** 2\
**Last updated:** [6 April 2022 20:14 UTC](https://discourse.nodered.org/t/snap-package-after-update-to-2-2-2-error-eperm-operation-not-permitted-copyfile/60792 "2022-04-06T20:14:02Z")

</div>

after update to newest stable from 2022-03-29 i can't apply changes in flows old version (677) works if i revert the 800 to 677 revision snap refresh did not work, error message did not disappear log entry: 2022-04-0…

---

## [Schedex of Cronplus node for a dashboard Alarm Clock?](https://discourse.nodered.org/t/schedex-of-cronplus-node-for-a-dashboard-alarm-clock/59789)

<div class="topic-metadata">

**Author:** [@gschmidt](https://discourse.nodered.org/u/gschmidt)\
**Replies:** 5\
**Last updated:** [6 April 2022 18:32 UTC](https://discourse.nodered.org/t/schedex-of-cronplus-node-for-a-dashboard-alarm-clock/59789 "2022-04-06T18:32:47Z")

</div>

Hi, I am trying to create a weekday alarm clock live dashboard. The image below is the user interface If the time is set and the day is activated, a music stream is send with a Castv2 Node to a Google Home mini devi…

---

## [Converter decimal 16 bits to UFT-8](https://discourse.nodered.org/t/converter-decimal-16-bits-to-uft-8/60883)

<div class="topic-metadata">

**Author:** [@bparra](https://discourse.nodered.org/u/bparra)\
**Replies:** 2\
**Last updated:** [6 April 2022 17:17 UTC](https://discourse.nodered.org/t/converter-decimal-16-bits-to-uft-8/60883 "2022-04-06T17:17:46Z")

</div>

Hi, I receive this array, it's a decimal 16 bits and I need to convert it to UFT-8 text It converted should show the date 06/04/22 How can I do this?

---

## [Status code decoding / partition function](https://discourse.nodered.org/t/status-code-decoding-partition-function/60889)

<div class="topic-metadata">

**Author:** [@Rawpnzl](https://discourse.nodered.org/u/Rawpnzl)\
**Replies:** 4\
**Last updated:** [6 April 2022 17:05 UTC](https://discourse.nodered.org/t/status-code-decoding-partition-function/60889 "2022-04-06T17:05:45Z")

</div>

Hello together, sorry for my bad english. In the past I could solve problems with Node Red by my own or with reading of this forum but at the moment I'm stuck with a problem or I don't see the obvious solution. I have …

---

## [Problem to open with excel with csv file generated from nodered](https://discourse.nodered.org/t/problem-to-open-with-excel-with-csv-file-generated-from-nodered/60887)

<div class="topic-metadata">

**Author:** [@bertaud](https://discourse.nodered.org/u/bertaud)\
**Replies:** 3\
**Last updated:** [6 April 2022 16:44 UTC](https://discourse.nodered.org/t/problem-to-open-with-excel-with-csv-file-generated-from-nodered/60887 "2022-04-06T16:44:07Z")

</div>

i have a problem with a flow. I use a file node to save a csv content on disk i use utf8 encoding if i open the file with notepad the content is ok and character with accent are well displayed. if i open with excel …

---

## [Shared Node-RED development on app server](https://discourse.nodered.org/t/shared-node-red-development-on-app-server/60846)

<div class="topic-metadata">

**Author:** [@SHAMOO](https://discourse.nodered.org/u/SHAMOO)\
**Replies:** 3\
**Last updated:** [6 April 2022 15:21 UTC](https://discourse.nodered.org/t/shared-node-red-development-on-app-server/60846 "2022-04-06T15:21:05Z")

</div>

Hi folks, We're making headway on moving PLC programming, MQTT, and Node-RED operations to an app server but I'm not quite understanding part of the Node-RED instructions. The paragraph here has me a little tripped up- h…

---

## [Remove manuel line break from string for msg.payload and switch](https://discourse.nodered.org/t/remove-manuel-line-break-from-string-for-msg-payload-and-switch/60835)

<div class="topic-metadata">

**Author:** [@LeonO](https://discourse.nodered.org/u/LeonO)\
**Replies:** 2\
**Last updated:** [6 April 2022 13:06 UTC](https://discourse.nodered.org/t/remove-manuel-line-break-from-string-for-msg-payload-and-switch/60835 "2022-04-06T13:06:37Z")

</div>

Hello everyone, I am currently working on a flow and I have now encountered the problem that the "exec" function gives me a string that I cannot process in the switch. I would like to use the function == in the switch.…

---

## [TypeError: Invalid character in header content \["getKeyByValue"\]](https://discourse.nodered.org/t/typeerror-invalid-character-in-header-content-getkeybyvalue/60829)

<div class="topic-metadata">

**Author:** [@Radstake](https://discourse.nodered.org/u/Radstake)\
**Replies:** 10\
**Last updated:** [6 April 2022 13:01 UTC](https://discourse.nodered.org/t/typeerror-invalid-character-in-header-content-getkeybyvalue/60829 "2022-04-06T13:01:54Z")

</div>

Hi, When I'm setting a header in the http out, I get this fatal error. TypeError: Invalid character in header content \["getKeyByValue"\] That wasnt there before, maybe it started after a nodejs upgrade. Some help in t…

---

## [I am very new to Node Red, have a question about Sliders](https://discourse.nodered.org/t/i-am-very-new-to-node-red-have-a-question-about-sliders/60853)

<div class="topic-metadata">

**Author:** [@mikhael47](https://discourse.nodered.org/u/mikhael47)\
**Replies:** 2\
**Last updated:** [6 April 2022 12:56 UTC](https://discourse.nodered.org/t/i-am-very-new-to-node-red-have-a-question-about-sliders/60853 "2022-04-06T12:56:24Z")

</div>

I am looking to take a slider and use it to adjust the value of the output of a dht22 humidity sensor. The Humidity value is stored in msg.humidity and I would like the interface to allow me to "calibrate" the humidity …

---

## [Manage Palette Is Missing any solution](https://discourse.nodered.org/t/manage-palette-is-missing-any-solution/60875)

<div class="topic-metadata">

**Author:** [@bilel](https://discourse.nodered.org/u/bilel)\
**Replies:** 6\
**Last updated:** [6 April 2022 12:37 UTC](https://discourse.nodered.org/t/manage-palette-is-missing-any-solution/60875 "2022-04-06T12:37:06Z")

</div>

---

## [Npm ERR! code ELIFECYCLE - Error: read ECONNRESET](https://discourse.nodered.org/t/npm-err-code-elifecycle-error-read-econnreset/60633)

<div class="topic-metadata">

**Author:** [@energyplot](https://discourse.nodered.org/u/energyplot)\
**Replies:** 5\
**Last updated:** [6 April 2022 11:40 UTC](https://discourse.nodered.org/t/npm-err-code-elifecycle-error-read-econnreset/60633 "2022-04-06T11:40:35Z")

</div>

I'm receiving this error and node-red is stopping every couple hours. \[red\] Uncaught Exception: Error: read ECONNRESET at TCP.onStreamRead (internal/stream\_base\_commons.js:111:27) npm ERR! code ELIFECYCLE npm ERR! e…

---

## [Reference function within another function node](https://discourse.nodered.org/t/reference-function-within-another-function-node/60870)

<div class="topic-metadata">

**Author:** [@Ashfaak](https://discourse.nodered.org/u/Ashfaak)\
**Replies:** 2\
**Last updated:** [6 April 2022 11:32 UTC](https://discourse.nodered.org/t/reference-function-within-another-function-node/60870 "2022-04-06T11:32:42Z")

</div>

Hi Consider 2 function nodes, A and B. Is it possible to reference a function written in A from node B? I've tried searching for "referencing functions" and "scope of functions in function node". Example: \[ { …

---

## [Intermittent error 403 with Email node](https://discourse.nodered.org/t/intermittent-error-403-with-email-node/60324)

<div class="topic-metadata">

**Author:** [@Ashfaak](https://discourse.nodered.org/u/Ashfaak)\
**Replies:** 2\
**Last updated:** [6 April 2022 09:58 UTC](https://discourse.nodered.org/t/intermittent-error-403-with-email-node/60324 "2022-04-06T09:58:40Z")

</div>

Hi NR v2.2.2 node-red-node-email 1.14.0 I've been getting intermittent faults sending emails recently. ~3/10 nearly identical emails fail. Not sure what the cause is. Caught the error using the catch node. As a workar…

---

## [Inject node with date](https://discourse.nodered.org/t/inject-node-with-date/60858)

<div class="topic-metadata">

**Author:** [@pool](https://discourse.nodered.org/u/pool)\
**Replies:** 1\
**Last updated:** [6 April 2022 05:35 UTC](https://discourse.nodered.org/t/inject-node-with-date/60858 "2022-04-06T05:35:24Z")

</div>

I am using a nordpool api to read the prices from Nordpool. The readme tells "Its also possible to inject a msg.date to get price from a specific date" How? msg.payload.date then date? I think I need the date in ms li…

---

## [How can I specify the message path to use reduce on multiple arrays to get an average value?](https://discourse.nodered.org/t/how-can-i-specify-the-message-path-to-use-reduce-on-multiple-arrays-to-get-an-average-value/60836)

<div class="topic-metadata">

**Author:** [@mikefila](https://discourse.nodered.org/u/mikefila)\
**Replies:** 6\
**Last updated:** [5 April 2022 19:57 UTC](https://discourse.nodered.org/t/how-can-i-specify-the-message-path-to-use-reduce-on-multiple-arrays-to-get-an-average-value/60836 "2022-04-05T19:57:08Z")

</div>

I would like to isolate state and then output an average of all the values.

---

## [View and process Pylontech battery data](https://discourse.nodered.org/t/view-and-process-pylontech-battery-data/60657)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 15\
**Last updated:** [5 April 2022 19:10 UTC](https://discourse.nodered.org/t/view-and-process-pylontech-battery-data/60657 "2022-04-05T19:10:25Z")

</div>

I connected today my Pylontech batteries via its console port into my Raspberry via USB. This allows me to query them via the serial node. Here is what the command looks like in PWR terminal emulation under Linux: F…

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

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