# General

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

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

**Page:** 469

---

## [Append Daemon node arguments](https://discourse.nodered.org/t/append-daemon-node-arguments/53674)

<div class="topic-metadata">

**Author:** [@Nbra](https://discourse.nodered.org/u/Nbra)\
**Replies:** 0\
**Last updated:** [13 November 2021 12:00 UTC](https://discourse.nodered.org/t/append-daemon-node-arguments/53674 "2021-11-13T12:00:08Z")

</div>

Im trying to transfer from using the exec node to the daemon node for running my ffmpeg batch scripts as I want the ability to pass commands while its running. However, how do I get the same argument append option as wi…

---

## [Atomic processing of multiple nodes](https://discourse.nodered.org/t/atomic-processing-of-multiple-nodes/45668)

<div class="topic-metadata">

**Author:** [@augjoh](https://discourse.nodered.org/u/augjoh)\
**Replies:** 40\
**Last updated:** [13 November 2021 11:03 UTC](https://discourse.nodered.org/t/atomic-processing-of-multiple-nodes/45668 "2021-11-13T11:03:38Z")

</div>

The following flow tries to read data from a file, compute an update, and store the update in the file read before. How to arrange this flow, so that multiple clients do not interfere with each other?

---

## [Npm audit fails](https://discourse.nodered.org/t/npm-audit-fails/50525)

<div class="topic-metadata">

**Author:** [@augjoh](https://discourse.nodered.org/u/augjoh)\
**Replies:** 28\
**Last updated:** [13 November 2021 10:57 UTC](https://discourse.nodered.org/t/npm-audit-fails/50525 "2021-11-13T10:57:35Z")

</div>

When running npm audit with the latest node-red version (2.0.5) it cannot fix all issues: \> npm audit fix \[...\] up to date in 4.834s 76 packages are looking for funding run \`npm fund\` for details fixed 0 of 3 vulner…

---

## [Raspberry pi Zero v2](https://discourse.nodered.org/t/raspberry-pi-zero-v2/53455)

<div class="topic-metadata">

**Author:** [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Replies:** 10\
**Last updated:** [13 November 2021 10:43 UTC](https://discourse.nodered.org/t/raspberry-pi-zero-v2/53455 "2021-11-13T10:43:08Z")

</div>

Hi Has anyone tried running NR on the new Raspberry Pi Zero v2. I have two of these that both perform in a similar way. The editor loses connection to the server when you deploy a flow. If I do not use the editor the P…

---

## [Tried to send a message of type string (function node)](https://discourse.nodered.org/t/tried-to-send-a-message-of-type-string-function-node/53667)

<div class="topic-metadata">

**Author:** [@fmejialo](https://discourse.nodered.org/u/fmejialo)\
**Replies:** 4\
**Last updated:** [13 November 2021 10:35 UTC](https://discourse.nodered.org/t/tried-to-send-a-message-of-type-string-function-node/53667 "2021-11-13T10:35:18Z")

</div>

Hello, I am writing the following function, when the message enters the node, the debug reports the following error, someone can help me correct it. "Error": "Function tried to send a message of type string" The functi…

---

## [Switch node and buffer](https://discourse.nodered.org/t/switch-node-and-buffer/53632)

<div class="topic-metadata">

**Author:** [@Karlll](https://discourse.nodered.org/u/Karlll)\
**Replies:** 5\
**Last updated:** [13 November 2021 10:14 UTC](https://discourse.nodered.org/t/switch-node-and-buffer/53632 "2021-11-13T10:14:39Z")

</div>

Hi, I need some advice or direction. I have a device that has 100 inputs and communicates via UDP. According to certain parameters in the packet I want to route to a specific output using the switch function. I'm tryin…

---

## [Mssql-plus issue with mustache format for server name and user/pwd](https://discourse.nodered.org/t/mssql-plus-issue-with-mustache-format-for-server-name-and-user-pwd/53662)

<div class="topic-metadata">

**Author:** [@ramesh.rajendran](https://discourse.nodered.org/u/ramesh.rajendran)\
**Replies:** 8\
**Last updated:** [13 November 2021 10:00 UTC](https://discourse.nodered.org/t/mssql-plus-issue-with-mustache-format-for-server-name-and-user-pwd/53662 "2021-11-13T10:00:35Z")

</div>

Hi, I'm using mssql-plus 0.6.4 version. Node red and node js version: not sure, using with Litmus edge I could not connect to sql using env variable for connection informations. This is helpful for me to connect to di…

---

## [Sunny Home Manager Flow](https://discourse.nodered.org/t/sunny-home-manager-flow/53661)

<div class="topic-metadata">

**Author:** [@Ben\_F](https://discourse.nodered.org/u/Ben_F)\
**Replies:** 1\
**Last updated:** [13 November 2021 08:13 UTC](https://discourse.nodered.org/t/sunny-home-manager-flow/53661 "2021-11-13T08:13:45Z")

</div>

Hi, it is possible to get more data from the home manager. I still need the following data: Current active power in W battery charge level in% Battery charging power in W Battery discharge power in W I read out the …

---

## [JSONata expression tester does not recognize $moment() function?](https://discourse.nodered.org/t/jsonata-expression-tester-does-not-recognize-moment-function/53650)

<div class="topic-metadata">

**Author:** [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Replies:** 5\
**Last updated:** [12 November 2021 23:16 UTC](https://discourse.nodered.org/t/jsonata-expression-tester-does-not-recognize-moment-function/53650 "2021-11-12T23:16:42Z")

</div>

I'm running the latest NR v2.1.3 and just found this oddity -- not sure if it worked on older versions: The inject node expression works fine when injected, but does not work inside the JSONata expression test window…

---

## [Installation of node red on k3s](https://discourse.nodered.org/t/installation-of-node-red-on-k3s/53644)

<div class="topic-metadata">

**Author:** [@hitenlulla](https://discourse.nodered.org/u/hitenlulla)\
**Replies:** 3\
**Last updated:** [12 November 2021 22:21 UTC](https://discourse.nodered.org/t/installation-of-node-red-on-k3s/53644 "2021-11-12T22:21:03Z")

</div>

Hello sir, I am trying to create a server using a Raspberry Pi Cluster to use node red. Can you help me how to install node red on K3S Kubernetes by creating a YAML file? I need to install using yaml because I want load …

---

## [Calculation of complex numbers for fft](https://discourse.nodered.org/t/calculation-of-complex-numbers-for-fft/53641)

<div class="topic-metadata">

**Author:** [@lucmun](https://discourse.nodered.org/u/lucmun)\
**Replies:** 4\
**Last updated:** [12 November 2021 22:19 UTC](https://discourse.nodered.org/t/calculation-of-complex-numbers-for-fft/53641 "2021-11-12T22:19:44Z")

</div>

hey, since the available fft-node isn't working, i want to code my own fft. I did it before with matlab and now i want to try it as a function in javascript. how can I include complex numbers in my calculation? I did a…

---

## [Any way to check for the absence of an expected email?](https://discourse.nodered.org/t/any-way-to-check-for-the-absence-of-an-expected-email/53603)

<div class="topic-metadata">

**Author:** [@theloneranger](https://discourse.nodered.org/u/theloneranger)\
**Replies:** 2\
**Last updated:** [12 November 2021 20:50 UTC](https://discourse.nodered.org/t/any-way-to-check-for-the-absence-of-an-expected-email/53603 "2021-11-12T20:50:24Z")

</div>

Every X days I receive a task result from a system by email. If a system is not working properly, for example if email stops working, if it has network issues, whatever reason, then I won't receive the email. The absence…

---

## [Decode special characters from js to html](https://discourse.nodered.org/t/decode-special-characters-from-js-to-html/53512)

<div class="topic-metadata">

**Author:** [@Giu-seppe](https://discourse.nodered.org/u/Giu-seppe)\
**Replies:** 15\
**Last updated:** [12 November 2021 16:40 UTC](https://discourse.nodered.org/t/decode-special-characters-from-js-to-html/53512 "2021-11-12T16:40:55Z")

</div>

Hello everyone, I need to pop-up and write on a text sheet from an error belonging to the command prompt. This message may contain special characters such as è or ' but any special characters is encoded in ' or . The…

---

## [Replacing Values in Payload](https://discourse.nodered.org/t/replacing-values-in-payload/53635)

<div class="topic-metadata">

**Author:** [@rlongfield](https://discourse.nodered.org/u/rlongfield)\
**Replies:** 6\
**Last updated:** [12 November 2021 16:47 UTC](https://discourse.nodered.org/t/replacing-values-in-payload/53635 "2021-11-12T16:47:43Z")

</div>

I don't know if this is a question for here or a more programming forum. But since it's in Node-Red I thought I'd start here. I have a function that started off checking for spaces in a value for a specific object in th…

---

## [Inserting data into sqlite db](https://discourse.nodered.org/t/inserting-data-into-sqlite-db/53634)

<div class="topic-metadata">

**Author:** [@Tanglefoot](https://discourse.nodered.org/u/Tanglefoot)\
**Replies:** 2\
**Last updated:** [12 November 2021 16:05 UTC](https://discourse.nodered.org/t/inserting-data-into-sqlite-db/53634 "2021-11-12T16:05:10Z")

</div>

I've been trying to follow the advice given in this post but still having problems I've created a table using the inject node CREATE TABLE myroute(id INTEGER PRIMARY KEY AUTOINCREMENT, ModeS TEXT, Reg TEXT, Type TEXT) …

---

## [Template Button - How do I Change its Appearance?](https://discourse.nodered.org/t/template-button-how-do-i-change-its-appearance/52846)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 26\
**Last updated:** [12 November 2021 16:04 UTC](https://discourse.nodered.org/t/template-button-how-do-i-change-its-appearance/52846 "2021-11-12T16:04:43Z")

</div>

Hi All, I have made the most basic of basic dashboard buttons... \[ { "id": "5773e8c258209a92", "type": "debug", "z": "bb0c8939b7b482ce", "name": "", "active": true, "…

---

## [JSONata array lookup using msg property](https://discourse.nodered.org/t/jsonata-array-lookup-using-msg-property/53637)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [12 November 2021 14:21 UTC](https://discourse.nodered.org/t/jsonata-array-lookup-using-msg-property/53637 "2021-11-12T14:21:24Z")

</div>

The trouble I have using JSONata once a year is that I can never work out the syntax required msg.random contains number 0..2 How can I pick out the corresponding colour from the array? Currently getting undefined

---

## [Problems to update node-red](https://discourse.nodered.org/t/problems-to-update-node-red/53620)

<div class="topic-metadata">

**Author:** [@Eberhard](https://discourse.nodered.org/u/Eberhard)\
**Replies:** 7\
**Last updated:** [12 November 2021 14:07 UTC](https://discourse.nodered.org/t/problems-to-update-node-red/53620 "2021-11-12T14:07:26Z")

</div>

Hi, running the update command bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) my Raspi tells me: Sorry - cannot connect to internet - not going to to…

---

## [Using Node-RED to import & reformat InfluxDB 1.8 data](https://discourse.nodered.org/t/using-node-red-to-import-reformat-influxdb-1-8-data/53631)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 3\
**Last updated:** [12 November 2021 13:29 UTC](https://discourse.nodered.org/t/using-node-red-to-import-reformat-influxdb-1-8-data/53631 "2021-11-12T13:29:50Z")

</div>

I am working on a project whereby we will start Jan 1, 2022 with a clean Influx 2.0 database. All the fields & tags in the new database have been thought through and configured, new Flux queries written, etc. From roug…

---

## [Running Node-RED on Windows 11 (yes, it works)](https://discourse.nodered.org/t/running-node-red-on-windows-11-yes-it-works/53454)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 12\
**Last updated:** [12 November 2021 12:46 UTC](https://discourse.nodered.org/t/running-node-red-on-windows-11-yes-it-works/53454 "2021-11-12T12:46:37Z")

</div>

As expected, it seems to work just fine. Haven't had time to do extensive testing and haven't loaded old flows. But created some simple flow tabs and they all seem to work ok. Not unexpected since W11 is mostly still W1…

---

## [Node.send(msg,false) and multiple outputs](https://discourse.nodered.org/t/node-send-msg-false-and-multiple-outputs/53624)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 6\
**Last updated:** [12 November 2021 11:59 UTC](https://discourse.nodered.org/t/node-send-msg-false-and-multiple-outputs/53624 "2021-11-12T11:59:18Z")

</div>

Hi, I need to send messages asynchronously, within a function node, and with the second argument set as false. My problem is that I need to send two messages on two separate output, and for both of them using the cloneab…

---

## [HTTP Control of device on local network - HTTP request POST](https://discourse.nodered.org/t/http-control-of-device-on-local-network-http-request-post/53615)

<div class="topic-metadata">

**Author:** [@MarkC](https://discourse.nodered.org/u/MarkC)\
**Replies:** 12\
**Last updated:** [12 November 2021 10:34 UTC](https://discourse.nodered.org/t/http-control-of-device-on-local-network-http-request-post/53615 "2021-11-12T10:34:19Z")

</div>

Hi all, I am trying to control a device on my local network via the HTTP request node and POST option - but getting the '404 page not found' error below, regardless what I try: The control documentation for the devic…

---

## [Regression node - x(time) format](https://discourse.nodered.org/t/regression-node-x-time-format/53614)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 4\
**Last updated:** [12 November 2021 10:06 UTC](https://discourse.nodered.org/t/regression-node-x-time-format/53614 "2021-11-12T10:06:13Z")

</div>

exporttest3.txt (2.5 MB) Hi there, I am trying to use the node-red-contribution-regression node. My x values are date time coming from a flow. In which format should I feed the data/time to the regression node? At p…

---

## [How to change the niceness value on nodered.service](https://discourse.nodered.org/t/how-to-change-the-niceness-value-on-nodered-service/53608)

<div class="topic-metadata">

**Author:** [@janedoe123](https://discourse.nodered.org/u/janedoe123)\
**Replies:** 2\
**Last updated:** [12 November 2021 09:26 UTC](https://discourse.nodered.org/t/how-to-change-the-niceness-value-on-nodered-service/53608 "2021-11-12T09:26:41Z")

</div>

Hi all, I want to give a higher priority to Node-RED process by setting the nice value to -20. However, I can't seems to find the option in the nodered.service file as described here : Change Node-RED's nice value .…

---

## [Problem in installing node-red on android](https://discourse.nodered.org/t/problem-in-installing-node-red-on-android/638)

<div class="topic-metadata">

**Author:** [@ardv](https://discourse.nodered.org/u/ardv)\
**Replies:** 38\
**Last updated:** [12 November 2021 09:23 UTC](https://discourse.nodered.org/t/problem-in-installing-node-red-on-android/638 "2021-11-12T09:23:23Z")

</div>

i get this error when trying to install node-red on android: cannot read property ‘length’ of undefined this error shown when i type: npm i -g --unsafe-perm node-red

---

## [Change part of state](https://discourse.nodered.org/t/change-part-of-state/53622)

<div class="topic-metadata">

**Author:** [@jhavn](https://discourse.nodered.org/u/jhavn)\
**Replies:** 2\
**Last updated:** [12 November 2021 08:47 UTC](https://discourse.nodered.org/t/change-part-of-state/53622 "2021-11-12T08:47:12Z")

</div>

Hi I have a problem with my strings please help 592 : msg.payload : string\[13\] "0.0 &deg;C T7" i need to change the "°c" part to just C

---

## [Switching several lights at once](https://discourse.nodered.org/t/switching-several-lights-at-once/53565)

<div class="topic-metadata">

**Author:** [@GooSe](https://discourse.nodered.org/u/GooSe)\
**Replies:** 5\
**Last updated:** [12 November 2021 06:43 UTC](https://discourse.nodered.org/t/switching-several-lights-at-once/53565 "2021-11-12T06:43:43Z")

</div>

Is there a smart/easy way to switch several lights off ? At the moment im using Link in and Linkt out with a button on the dashboard, but I only have a few light running and if i manage to get the Tradfri into Node Red t…

---

## [Looping through objects](https://discourse.nodered.org/t/looping-through-objects/53578)

<div class="topic-metadata">

**Author:** [@lynq](https://discourse.nodered.org/u/lynq)\
**Replies:** 4\
**Last updated:** [12 November 2021 06:29 UTC](https://discourse.nodered.org/t/looping-through-objects/53578 "2021-11-12T06:29:33Z")

</div>

Hello. I've tried to find a way to do what I'm looking for but can't seem to figure it out. What i need to do is loop through "msg.payload.data.Nodes\[1 through however many there are\]" and search for key "Name" and Pro…

---

## [Odroid-io crashes nodered](https://discourse.nodered.org/t/odroid-io-crashes-nodered/53478)

<div class="topic-metadata">

**Author:** [@habakuk25](https://discourse.nodered.org/u/habakuk25)\
**Replies:** 10\
**Last updated:** [12 November 2021 04:33 UTC](https://discourse.nodered.org/t/odroid-io-crashes-nodered/53478 "2021-11-12T04:33:56Z")

</div>

hello! I am Running node-red 1.3.0-beta.1 with node.js V 12.11.1 on Odroid C2 on Kernel 5.14.19 . I installed npm install johnny-five with no problems then I installed npm install odroid-io with no problems either…

---

## [Neopixel WS2812B und Modbus](https://discourse.nodered.org/t/neopixel-ws2812b-und-modbus/53592)

<div class="topic-metadata">

**Author:** [@WolfgangW](https://discourse.nodered.org/u/WolfgangW)\
**Replies:** 1\
**Last updated:** [12 November 2021 04:25 UTC](https://discourse.nodered.org/t/neopixel-ws2812b-und-modbus/53592 "2021-11-12T04:25:02Z")

</div>

Hallo ich bin neu im Forum und habe auch erst angefangen mit Node Red zu arbeiten. Leider ist mein Englisch nicht ausreichend um ein technisches Problem zu beschreiben, daher versuche ich es in deutsch. Hier mein Probl…

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

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