# General

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

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

**Page:** 449

---

## [Using InfluxDB 1.8 with node red](https://discourse.nodered.org/t/using-influxdb-1-8-with-node-red/55654)

<div class="topic-metadata">

**Author:** [@saxenaramesh](https://discourse.nodered.org/u/saxenaramesh)\
**Replies:** 4\
**Last updated:** [24 December 2021 18:10 UTC](https://discourse.nodered.org/t/using-influxdb-1-8-with-node-red/55654 "2021-12-24T18:10:59Z")

</div>

I am very new to Node-red. I am using node-red version v1.3.5 and Influxdb 1.8.10 I am trying to get data into node red from Influx. I am able to run the following query in node-red function node and it works well: msg…

---

## [Motion Sensor Bug - how to solve](https://discourse.nodered.org/t/motion-sensor-bug-how-to-solve/55405)

<div class="topic-metadata">

**Author:** [@Timsche2210](https://discourse.nodered.org/u/Timsche2210)\
**Replies:** 2\
**Last updated:** [24 December 2021 16:59 UTC](https://discourse.nodered.org/t/motion-sensor-bug-how-to-solve/55405 "2021-12-24T16:59:39Z")

</div>

Hi there, I use node red at my home assistant. This is my current flow: \[{"id":"af7416ee.37c178","type":"tab","label":"Deckenlampe Flur","disabled":false,"info":""},{"id":"973114867756a562","type":"switch","z":"af7416…

---

## [UART, I2C, SPI in node-red](https://discourse.nodered.org/t/uart-i2c-spi-in-node-red/54546)

<div class="topic-metadata">

**Author:** [@addi](https://discourse.nodered.org/u/addi)\
**Replies:** 9\
**Last updated:** [24 December 2021 12:44 UTC](https://discourse.nodered.org/t/uart-i2c-spi-in-node-red/54546 "2021-12-24T12:44:02Z")

</div>

Hello! Can anybody inform how to start working with UART, I2C, SPI of RPI B4 in node-red? If its possible Thanks

---

## [Degree symbol in msg.payload](https://discourse.nodered.org/t/degree-symbol-in-msg-payload/55635)

<div class="topic-metadata">

**Author:** [@dokho](https://discourse.nodered.org/u/dokho)\
**Replies:** 4\
**Last updated:** [24 December 2021 11:36 UTC](https://discourse.nodered.org/t/degree-symbol-in-msg-payload/55635 "2021-12-24T11:36:09Z")

</div>

Hello. I'm trying to add degree symbol (°C) in a msg.payload but something's wrong. I use the function below: msg.topic = "ECRAN-ENTREE/cmd"; msg.payload = Math.round(msg.payload.data\_day.temperature\_max\[1\]) msg.paylo…

---

## [Check the Result of a MySQL Query](https://discourse.nodered.org/t/check-the-result-of-a-mysql-query/55621)

<div class="topic-metadata">

**Author:** [@\_R\_A\_L\_F](https://discourse.nodered.org/u/_R_A_L_F)\
**Replies:** 2\
**Last updated:** [24 December 2021 11:00 UTC](https://discourse.nodered.org/t/check-the-result-of-a-mysql-query/55621 "2021-12-24T11:00:09Z")

</div>

Hello, as you can see on the picture, make a MySQL query to it can come to the following states: query to DB =\> the "chipnr" is not present, then I get \[empty\]. query to DB =\> the "chipnr" is available and I get the v…

---

## [Feature request: set default editor window zoom level](https://discourse.nodered.org/t/feature-request-set-default-editor-window-zoom-level/9195)

<div class="topic-metadata">

**Author:** [@stone](https://discourse.nodered.org/u/stone)\
**Replies:** 18\
**Last updated:** [24 December 2021 10:17 UTC](https://discourse.nodered.org/t/feature-request-set-default-editor-window-zoom-level/9195 "2021-12-24T10:17:55Z")

</div>

would be nice. perhaps in settings.js

---

## [Fs-ops-access node output formats](https://discourse.nodered.org/t/fs-ops-access-node-output-formats/55610)

<div class="topic-metadata">

**Author:** [@SS-Akhilesh-Appala](https://discourse.nodered.org/u/SS-Akhilesh-Appala)\
**Replies:** 8\
**Last updated:** [24 December 2021 06:12 UTC](https://discourse.nodered.org/t/fs-ops-access-node-output-formats/55610 "2021-12-24T06:12:14Z")

</div>

HI Team Can someone please help me here to understand the output format of fs-ops-access(a node used to check the file existence and access) Node under node-red-contrib-fs-ops. I am trying to build a sample flow with 2…

---

## [Palette Influxdb install issue](https://discourse.nodered.org/t/palette-influxdb-install-issue/55447)

<div class="topic-metadata">

**Author:** [@caven](https://discourse.nodered.org/u/caven)\
**Replies:** 13\
**Last updated:** [23 December 2021 21:42 UTC](https://discourse.nodered.org/t/palette-influxdb-install-issue/55447 "2021-12-23T21:42:02Z")

</div>

Hi, i was trying to install the palette of influxdb, but i got the following error: 2021-12-20T01:16:53.306Z Install : node-red-contrib-influxdb 0.6.1 2021-12-20T01:17:01.886Z npm install --no-audit --no-update-notifie…

---

## [.Length and Array of Objects ? What am i doing wrong?](https://discourse.nodered.org/t/length-and-array-of-objects-what-am-i-doing-wrong/55501)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 19\
**Last updated:** [23 December 2021 21:38 UTC](https://discourse.nodered.org/t/length-and-array-of-objects-what-am-i-doing-wrong/55501 "2021-12-23T21:38:22Z")

</div>

Guys, I have an array of objects - i wish to work my way through them, extract a certain property from each object and then sum that (plus get the length) so i can then get a running average I have found some (what i t…

---

## [Chart's X-Axis Time Values are 00:00:00](https://discourse.nodered.org/t/charts-x-axis-time-values-are-0000/8635)

<div class="topic-metadata">

**Author:** [@rando](https://discourse.nodered.org/u/rando)\
**Replies:** 14\
**Last updated:** [27 August 2019 10:30 UTC](https://discourse.nodered.org/t/charts-x-axis-time-values-are-0000/8635 "2019-08-27T10:30:57Z")

</div>

I have my node-red project deployed to a raspberry pi that is not connected to the internet. I have a dashboard chart that, when a button is pressed, it populates a "1" value so that a vertical line appears on the chart…

---

## [Converting float to a formatted string](https://discourse.nodered.org/t/converting-float-to-a-formatted-string/53962)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 7\
**Last updated:** [23 December 2021 21:04 UTC](https://discourse.nodered.org/t/converting-float-to-a-formatted-string/53962 "2021-12-23T21:04:26Z")

</div>

Hi there. Anybody know the best way to convert floats with an unknown number of digits before as well as after the dot, to a string with specific length so that the point is always at the same position in the string? Th…

---

## [How to add ( or append ) new variables to a payload](https://discourse.nodered.org/t/how-to-add-or-append-new-variables-to-a-payload/55499)

<div class="topic-metadata">

**Author:** [@senzary](https://discourse.nodered.org/u/senzary)\
**Replies:** 10\
**Last updated:** [23 December 2021 20:49 UTC](https://discourse.nodered.org/t/how-to-add-or-append-new-variables-to-a-payload/55499 "2021-12-23T20:49:20Z")

</div>

hello, i am new here and I am trying to add a variable devEui that will be eaul to a value received in payload // new variable -- var devEui =msg.end\_device\_id; var http\_packet = { payload: { …

---

## [Serious bug (overwrites all /usr/bin permissions) with the Debian-based install script](https://discourse.nodered.org/t/serious-bug-overwrites-all-usr-bin-permissions-with-the-debian-based-install-script/52237)

<div class="topic-metadata">

**Author:** [@lepgithub](https://discourse.nodered.org/u/lepgithub)\
**Replies:** 42\
**Last updated:** [23 December 2021 19:00 UTC](https://discourse.nodered.org/t/serious-bug-overwrites-all-usr-bin-permissions-with-the-debian-based-install-script/52237 "2021-12-23T19:00:40Z")

</div>

For years I've successfully installed Node-RED on 50+ rpi zeros via the Debian-based install script at Running on Raspberry Pi : Node-RED. However the latest script appears to have a bug where during the install process …

---

## [Workload of 500MB over HTTP Request and MQTT](https://discourse.nodered.org/t/workload-of-500mb-over-http-request-and-mqtt/55554)

<div class="topic-metadata">

**Author:** [@thejollypop](https://discourse.nodered.org/u/thejollypop)\
**Replies:** 5\
**Last updated:** [23 December 2021 17:44 UTC](https://discourse.nodered.org/t/workload-of-500mb-over-http-request-and-mqtt/55554 "2021-12-23T17:44:06Z")

</div>

Hello everyone, I have large files (buffers), 500mb each, I wish to stream/encode them as Base64 array and calculate their length and size, over the HTTP request node. This works well on workloads smaller than 100mb but…

---

## [How do you group by a certain key value](https://discourse.nodered.org/t/how-do-you-group-by-a-certain-key-value/55585)

<div class="topic-metadata">

**Author:** [@hawks76](https://discourse.nodered.org/u/hawks76)\
**Replies:** 9\
**Last updated:** [23 December 2021 17:43 UTC](https://discourse.nodered.org/t/how-do-you-group-by-a-certain-key-value/55585 "2021-12-23T17:43:54Z")

</div>

I'm working on a flow that pulls down weather alerts from the NWS API and i'm trying to figure out how to group alerts. So, for instance, if there has been 3 severe weather alerts (initial alert and 2 alerts extending t…

---

## [New version of NR, lost in \`settings.js\` file](https://discourse.nodered.org/t/new-version-of-nr-lost-in-settings-js-file/55165)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [23 December 2021 17:38 UTC](https://discourse.nodered.org/t/new-version-of-nr-lost-in-settings-js-file/55165 "2021-12-23T17:38:01Z")

</div>

Sorry folks. After a lot of messing around, I nearly have the machine working. In the old version I could set a variable to set the device's name. functionGlobalContext: { // os:require('os'), // o…

---

## [Node Red Loxone & Philips Hue Ambiance](https://discourse.nodered.org/t/node-red-loxone-philips-hue-ambiance/55617)

<div class="topic-metadata">

**Author:** [@liteworx](https://discourse.nodered.org/u/liteworx)\
**Replies:** 2\
**Last updated:** [23 December 2021 15:56 UTC](https://discourse.nodered.org/t/node-red-loxone-philips-hue-ambiance/55617 "2021-12-23T15:56:15Z")

</div>

Node Red - Philips HUE Ambiance vor 12 Minuten I'm using the node-red-contrib-loxone 0.10.11 along with the node-red-contrib-huemagic (node) to control HUE lamps from Loxone which works great when using Philips HUE RGB…

---

## [What is going on here with \`parsint(\`](https://discourse.nodered.org/t/what-is-going-on-here-with-parsint/55600)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 17\
**Last updated:** [23 December 2021 10:06 UTC](https://discourse.nodered.org/t/what-is-going-on-here-with-parsint/55600 "2021-12-23T10:06:20Z")

</div>

I seem to have played with this so much I have broken it. Sample flow/nodes: \[{"id":"6ffac257e6553cb2","type":"inject","z":"65c9b63cb09879a0","name":"","props":\[{"p":"payload"},{"p":"topic","vt":"str"}\],"repeat":"","cr…

---

## [Music streaming services - any good ones with API?](https://discourse.nodered.org/t/music-streaming-services-any-good-ones-with-api/55594)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 2\
**Last updated:** [23 December 2021 09:14 UTC](https://discourse.nodered.org/t/music-streaming-services-any-good-ones-with-api/55594 "2021-12-23T09:14:13Z")

</div>

Anyone know of any music streaming services that allow remote control for automations, e.g. play / pause a playlist, or search for a particular artist and return search results etc.? I currently use Youtube Music but co…

---

## [Using Node-RED to read from Telegram bot](https://discourse.nodered.org/t/using-node-red-to-read-from-telegram-bot/55506)

<div class="topic-metadata">

**Author:** [@damon](https://discourse.nodered.org/u/damon)\
**Replies:** 12\
**Last updated:** [23 December 2021 09:13 UTC](https://discourse.nodered.org/t/using-node-red-to-read-from-telegram-bot/55506 "2021-12-23T09:13:27Z")

</div>

Looking for some guidance, i installed the telegram node and i can see the message payload and view new messages as they come in. how do i look within the message payload and look for #ERROR or #CLOSED then based on the…

---

## [Wake up alarm with lights - fade in](https://discourse.nodered.org/t/wake-up-alarm-with-lights-fade-in/55578)

<div class="topic-metadata">

**Author:** [@derail\_green](https://discourse.nodered.org/u/derail_green)\
**Replies:** 4\
**Last updated:** [23 December 2021 06:24 UTC](https://discourse.nodered.org/t/wake-up-alarm-with-lights-fade-in/55578 "2021-12-23T06:24:57Z")

</div>

I’m using node-red to control my lights with zigbee2mqtt. Everything works as it should… I’m interested in having lights fade in over 30 minutes. What would be the best way to accomplish this? I doubt adding the transiti…

---

## [OPCUA data parsing issue](https://discourse.nodered.org/t/opcua-data-parsing-issue/54964)

<div class="topic-metadata">

**Author:** [@dtid](https://discourse.nodered.org/u/dtid)\
**Replies:** 25\
**Last updated:** [23 December 2021 00:50 UTC](https://discourse.nodered.org/t/opcua-data-parsing-issue/54964 "2021-12-23T00:50:46Z")

</div>

I'm having some difficulty understanding how to parse certain values from the data returned from the opcua client. The data that is being subscribed to looks like this: {e\[36m /\*RunInfo\*/e\[39m e\[33m jobGuid …

---

## [Modify SMA sunny portal plant parameter](https://discourse.nodered.org/t/modify-sma-sunny-portal-plant-parameter/55583)

<div class="topic-metadata">

**Author:** [@Whastie](https://discourse.nodered.org/u/Whastie)\
**Replies:** 0\
**Last updated:** [22 December 2021 20:05 UTC](https://discourse.nodered.org/t/modify-sma-sunny-portal-plant-parameter/55583 "2021-12-22T20:05:42Z")

</div>

Modify SMA sunny portal plant parameter I have a photovoltaic plant with: 1 energy meter 2.0 1 sunny boy 5.0 1 Sunny Island 4.4 I would need to switch from node-red when activating battery charging as done from sunn…

---

## [Find if item exist function node](https://discourse.nodered.org/t/find-if-item-exist-function-node/55502)

<div class="topic-metadata">

**Author:** [@ecombs](https://discourse.nodered.org/u/ecombs)\
**Replies:** 11\
**Last updated:** [22 December 2021 16:03 UTC](https://discourse.nodered.org/t/find-if-item-exist-function-node/55502 "2021-12-22T16:03:28Z")

</div>

I have been trying to figure out if a line number is in a database or not. I have created a merged object and i need to check to see if the po\_line is detected in the line\_items array. I have been trying to get it to re…

---

## [Throwing in the towel. What I'm I missing here?](https://discourse.nodered.org/t/throwing-in-the-towel-what-im-i-missing-here/55560)

<div class="topic-metadata">

**Author:** [@injector22](https://discourse.nodered.org/u/injector22)\
**Replies:** 6\
**Last updated:** [22 December 2021 15:11 UTC](https://discourse.nodered.org/t/throwing-in-the-towel-what-im-i-missing-here/55560 "2021-12-22T15:11:00Z")

</div>

I've been banging my head on this one for a couple of days now. I've even gone back and looked at some of my other node flows that use the same type of logic and are working fine. I have a flow (code below) controlling …

---

## [Output feed returns two values, how do I split it up into two separate strings?](https://discourse.nodered.org/t/output-feed-returns-two-values-how-do-i-split-it-up-into-two-separate-strings/55372)

<div class="topic-metadata">

**Author:** [@g00r](https://discourse.nodered.org/u/g00r)\
**Replies:** 4\
**Last updated:** [22 December 2021 14:27 UTC](https://discourse.nodered.org/t/output-feed-returns-two-values-how-do-i-split-it-up-into-two-separate-strings/55372 "2021-12-22T14:27:54Z")

</div>

This is the output of my inverter data stream {"String\_watts":\[654,1595\],"Todays\_Yeild":3.801,"Voltage":244.66,"grid\_feedin":0,"grid\_consumption":0,"power":2154,"available\_sessions":1} The \[654,1595\] is the problem…

---

## [Dynamic Energy Management for Home Automation](https://discourse.nodered.org/t/dynamic-energy-management-for-home-automation/55562)

<div class="topic-metadata">

**Author:** [@MangoPrince](https://discourse.nodered.org/u/MangoPrince)\
**Replies:** 0\
**Last updated:** [22 December 2021 14:32 UTC](https://discourse.nodered.org/t/dynamic-energy-management-for-home-automation/55562 "2021-12-22T14:32:19Z")

</div>

Hello, For my internship within home automation I was tasked with using Node-Red to integrate some devices and logic into an existing home. One of the key changes in our field in the introduction of a "capacity tariff"…

---

## [Need help with p1 smart meter](https://discourse.nodered.org/t/need-help-with-p1-smart-meter/55555)

<div class="topic-metadata">

**Author:** [@old-grumpy](https://discourse.nodered.org/u/old-grumpy)\
**Replies:** 7\
**Last updated:** [22 December 2021 13:51 UTC](https://discourse.nodered.org/t/need-help-with-p1-smart-meter/55555 "2021-12-22T13:51:47Z")

</div>

Fighting to read the results of the p1readernode. The gas gives value the actual electricity stay zero. The function i use var payload=msg.payload; var msg1 = {}; var msg2 = {}; var msg3 = {}; var msg4 = {}; msg1.paylo…

---

## [Best practise for a nodered gateway "local\>cloud" CSV files and OPC data](https://discourse.nodered.org/t/best-practise-for-a-nodered-gateway-local-cloud-csv-files-and-opc-data/55099)

<div class="topic-metadata">

**Author:** [@Billy2021](https://discourse.nodered.org/u/Billy2021)\
**Replies:** 4\
**Last updated:** [22 December 2021 12:26 UTC](https://discourse.nodered.org/t/best-practise-for-a-nodered-gateway-local-cloud-csv-files-and-opc-data/55099 "2021-12-22T12:26:49Z")

</div>

What would be the best way to upload my data to the cloud. I see many people doing all different things and using different providers etc... It gets me really confusing after days/weeks of experimenting and reading. C…

---

## [Node-RED FTP access locally and globally](https://discourse.nodered.org/t/node-red-ftp-access-locally-and-globally/55512)

<div class="topic-metadata">

**Author:** [@KrishnanRavichandran](https://discourse.nodered.org/u/KrishnanRavichandran)\
**Replies:** 6\
**Last updated:** [22 December 2021 11:20 UTC](https://discourse.nodered.org/t/node-red-ftp-access-locally-and-globally/55512 "2021-12-22T11:20:47Z")

</div>

Dear Node red experts, I have a connection of the hardware which has node-red in built in it. The Hardware is connected to a computer locally via (LAN 1) wired conection and thus the Node-RED dashboard and files insi…

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

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