# Latest

**URL:** https://discourse.nodered.org/latest.md?page=796

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

**Page:** 797

---

## [Unit Test calles multiple times done](https://discourse.nodered.org/t/unit-test-calles-multiple-times-done/46991)

<div class="topic-metadata">

**Author:** [@TruFox](https://discourse.nodered.org/u/TruFox)\
**Replies:** 1\
**Last updated:** [10 June 2021 15:38 UTC](https://discourse.nodered.org/t/unit-test-calles-multiple-times-done/46991 "2021-06-10T15:38:08Z")

</div>

Hello, i have a problem with a unit test. The node i develope sends msg in a loop like this: for( let i = 0; i \< array.lenght; i++){ node.send(\[array\[i\], null, null,\]); } Unit Test: it('should get data (Array)…

---

## [I need help, search within a sql database](https://discourse.nodered.org/t/i-need-help-search-within-a-sql-database/46977)

<div class="topic-metadata">

**Author:** [@ultim0](https://discourse.nodered.org/u/ultim0)\
**Replies:** 3\
**Last updated:** [10 June 2021 14:40 UTC](https://discourse.nodered.org/t/i-need-help-search-within-a-sql-database/46977 "2021-06-10T14:40:09Z")

</div>

I want to search for a certain table within the sql database, and view the contents of a certain period. All via the nodered interface. Do you have any advice ????

---

## [Issue with building array (create undefined row)](https://discourse.nodered.org/t/issue-with-building-array-create-undefined-row/46987)

<div class="topic-metadata">

**Author:** [@bigman](https://discourse.nodered.org/u/bigman)\
**Replies:** 2\
**Last updated:** [10 June 2021 14:23 UTC](https://discourse.nodered.org/t/issue-with-building-array-create-undefined-row/46987 "2021-06-10T14:23:28Z")

</div>

Hi, I have an issue with my flow (i think it used to work on previous node-red version). When i delete a line from a splitting \[5\] array i have still \[5\] array but with undefined row even if only 4 messages are sent t…

---

## [Conditional inputs issue](https://discourse.nodered.org/t/conditional-inputs-issue/46916)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 4\
**Last updated:** [10 June 2021 14:19 UTC](https://discourse.nodered.org/t/conditional-inputs-issue/46916 "2021-06-10T14:19:56Z")

</div>

Hello folks, I am currently working on a project where I have data running through a function. What I want is the function to not return any data unless a additional input condition is met. So there two inputs - one …

---

## [Store content variables permanently](https://discourse.nodered.org/t/store-content-variables-permanently/46986)

<div class="topic-metadata">

**Author:** [@Pinky](https://discourse.nodered.org/u/Pinky)\
**Replies:** 2\
**Last updated:** [10 June 2021 13:16 UTC](https://discourse.nodered.org/t/store-content-variables-permanently/46986 "2021-06-10T13:16:35Z")

</div>

Hi everybody, I am running node red on a raspberry pi 4 (8gb) as an instance of iobroker. That means Paths and so on are not as given in the usual installation way but different. I noticed, that all my variables are lo…

---

## [Need to create a simulated route on node red](https://discourse.nodered.org/t/need-to-create-a-simulated-route-on-node-red/46963)

<div class="topic-metadata">

**Author:** [@ffazul64](https://discourse.nodered.org/u/ffazul64)\
**Replies:** 3\
**Last updated:** [10 June 2021 13:04 UTC](https://discourse.nodered.org/t/need-to-create-a-simulated-route-on-node-red/46963 "2021-06-10T13:04:47Z")

</div>

I have the following coordinates which i want to plot periodically one after the other on world maps at an interval of 10 seconds one after the other. At a time only one coordinate should show on the map. Any help would…

---

## [Install an older version of Node-RED](https://discourse.nodered.org/t/install-an-older-version-of-node-red/46974)

<div class="topic-metadata">

**Author:** [@JoachimCo](https://discourse.nodered.org/u/JoachimCo)\
**Replies:** 2\
**Last updated:** [10 June 2021 12:41 UTC](https://discourse.nodered.org/t/install-an-older-version-of-node-red/46974 "2021-06-10T12:41:18Z")

</div>

Hello to all, I would like to install an older version of Node-RED on the Pi. The reason is that in the current version of Node-RED, the SenseHAT is not queried properly. Unfortunately, I could not find a way or instruc…

---

## [Problem Installing node-red-node-pi-gpiod](https://discourse.nodered.org/t/problem-installing-node-red-node-pi-gpiod/46935)

<div class="topic-metadata">

**Author:** [@Hessianerd](https://discourse.nodered.org/u/Hessianerd)\
**Replies:** 4\
**Last updated:** [10 June 2021 12:24 UTC](https://discourse.nodered.org/t/problem-installing-node-red-node-pi-gpiod/46935 "2021-06-10T12:24:19Z")

</div>

When I try to add the pi-gpiod node from the web interface I get an "Error Install failed" message, with the following message in the event log: "added 15 packages from 3 contributors and removed 302 packages in 128.05…

---

## [Help displaying two lines on a chart from SQL data](https://discourse.nodered.org/t/help-displaying-two-lines-on-a-chart-from-sql-data/46969)

<div class="topic-metadata">

**Author:** [@dapadk](https://discourse.nodered.org/u/dapadk)\
**Replies:** 1\
**Last updated:** [10 June 2021 11:13 UTC](https://discourse.nodered.org/t/help-displaying-two-lines-on-a-chart-from-sql-data/46969 "2021-06-10T11:13:55Z")

</div>

Hello I'm trying to display data pulled from an SQL database in a chart, i have a function that works with the array of data and displays the line chart no problem. but now i need to add a second (and possibly third) ar…

---

## [Payload inside style element](https://discourse.nodered.org/t/payload-inside-style-element/46964)

<div class="topic-metadata">

**Author:** [@watwat](https://discourse.nodered.org/u/watwat)\
**Replies:** 1\
**Last updated:** [10 June 2021 10:34 UTC](https://discourse.nodered.org/t/payload-inside-style-element/46964 "2021-06-10T10:34:49Z")

</div>

I am trying to have a color picker that sends a payload with color data, where the background of the whole dashboard should be changed on sent. The easiest way to do so what I've found, is to use a Template node that tak…

---

## [Another subflow I made for use with \`button\` nodes](https://discourse.nodered.org/t/another-subflow-i-made-for-use-with-button-nodes/46955)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [10 June 2021 10:06 UTC](https://discourse.nodered.org/t/another-subflow-i-made-for-use-with-button-nodes/46955 "2021-06-10T10:06:25Z")

</div>

This is another subflow to use with button nodes. Though you could use other ones, I am sticking to the basic idea of a button and accidentally pressing it. The button has two states: ON and OFF. For me that is used…

---

## [Installing npm packages in docker - nodered](https://discourse.nodered.org/t/installing-npm-packages-in-docker-nodered/46972)

<div class="topic-metadata">

**Author:** [@crester](https://discourse.nodered.org/u/crester)\
**Replies:** 0\
**Last updated:** [10 June 2021 09:46 UTC](https://discourse.nodered.org/t/installing-npm-packages-in-docker-nodered/46972 "2021-06-10T09:46:14Z")

</div>

Hello is it possible to install packages inside docker nodered? I try to install eml-parser, html-pdf and mailparser and I have lots of errors I am just a simple docker user (up to docker run....) thank you

---

## [Https webservice communication (SAP) with Kerberos x.509 certificate](https://discourse.nodered.org/t/https-webservice-communication-sap-with-kerberos-x-509-certificate/46970)

<div class="topic-metadata">

**Author:** [@riesenbaer](https://discourse.nodered.org/u/riesenbaer)\
**Replies:** 0\
**Last updated:** [10 June 2021 09:33 UTC](https://discourse.nodered.org/t/https-webservice-communication-sap-with-kerberos-x-509-certificate/46970 "2021-06-10T09:33:56Z")

</div>

Hello, we communicate with a SAP system via https-node providing an XML file to the node, basic authentication with user and password and getting the result. everything works very good and stable. BUT now our securi…

---

## [Simple music / playlist playback](https://discourse.nodered.org/t/simple-music-playlist-playback/46952)

<div class="topic-metadata">

**Author:** [@bnew](https://discourse.nodered.org/u/bnew)\
**Replies:** 3\
**Last updated:** [10 June 2021 08:05 UTC](https://discourse.nodered.org/t/simple-music-playlist-playback/46952 "2021-06-10T08:05:51Z")

</div>

Hi - pretty new to node-red and I could use some advice on how to handle a particular feature implementation for my project. I would like to have a playlist of music (stored as mp3s or wavs in a single directory) be cont…

---

## [Ui-leds grey after update](https://discourse.nodered.org/t/ui-leds-grey-after-update/45634)

<div class="topic-metadata">

**Author:** [@Fluidus](https://discourse.nodered.org/u/Fluidus)\
**Replies:** 22\
**Last updated:** [10 June 2021 06:57 UTC](https://discourse.nodered.org/t/ui-leds-grey-after-update/45634 "2021-06-10T06:57:58Z")

</div>

After updating my nodered-system yesterday, the ui-leds in my dashboard are grey and not green or red as usual. I can force the ui-leds to green or red by manually injecting true or false. For example this log entry tur…

---

## [Two MQTT IN to SQLITE](https://discourse.nodered.org/t/two-mqtt-in-to-sqlite/46880)

<div class="topic-metadata">

**Author:** [@jjcfrank](https://discourse.nodered.org/u/jjcfrank)\
**Replies:** 23\
**Last updated:** [10 June 2021 05:48 UTC](https://discourse.nodered.org/t/two-mqtt-in-to-sqlite/46880 "2021-06-10T05:48:19Z")

</div>

Hello, I have never used Node-Red before so I am still trying to figure it out. I have two MQTT IN, one is temperature and the other one is humidity. I want to separately have them in the sqlite database. The idea is t…

---

## [MQTT mosquitto connection problem](https://discourse.nodered.org/t/mqtt-mosquitto-connection-problem/46941)

<div class="topic-metadata">

**Author:** [@flayy](https://discourse.nodered.org/u/flayy)\
**Replies:** 12\
**Last updated:** [10 June 2021 02:10 UTC](https://discourse.nodered.org/t/mqtt-mosquitto-connection-problem/46941 "2021-06-10T02:10:54Z")

</div>

NR 1.3.5 Node.js v12.21.0 Ubuntu 21.04 trying to connect mqtt in and mqtt out nodes MQTT broker is running correctly (tested by MQTT Explorer : localhost:1883) credentials are typed in properly yellow dot on both node…

---

## [Ultrasonic sensor give false values](https://discourse.nodered.org/t/ultrasonic-sensor-give-false-values/46915)

<div class="topic-metadata">

**Author:** [@Stian\_Algroy](https://discourse.nodered.org/u/Stian_Algroy)\
**Replies:** 10\
**Last updated:** [9 June 2021 21:57 UTC](https://discourse.nodered.org/t/ultrasonic-sensor-give-false-values/46915 "2021-06-09T21:57:20Z")

</div>

Hi! I'm currently using the ultrasonic sensor for my node red project to calculate distance. Often it gives me the correct distance, but sometimes it sends a random value. This is the sensor i'm using: https://www.di…

---

## [No Space left on PI](https://discourse.nodered.org/t/no-space-left-on-pi/46547)

<div class="topic-metadata">

**Author:** [@swanside](https://discourse.nodered.org/u/swanside)\
**Replies:** 19\
**Last updated:** [9 June 2021 22:35 UTC](https://discourse.nodered.org/t/no-space-left-on-pi/46547 "2021-06-09T22:35:01Z")

</div>

It seems that my Node Red flows which are all writing to an InFlux DB and accessed by grafana have filled up my SD card. Is there a way I could use a USB 2TB hard drive as the storage for the Influx DB? Cheers

---

## [Node-red simple CSV two column lookup](https://discourse.nodered.org/t/node-red-simple-csv-two-column-lookup/46945)

<div class="topic-metadata">

**Author:** [@Stretchuar](https://discourse.nodered.org/u/Stretchuar)\
**Replies:** 5\
**Last updated:** [9 June 2021 21:41 UTC](https://discourse.nodered.org/t/node-red-simple-csv-two-column-lookup/46945 "2021-06-09T21:41:35Z")

</div>

Hi, I'm hoping someone can help as I've trawled through forums and posted flows and not been able to do what I want to achieve. In principle, its quite simple. I have some excel data, 2 columns worth, relating a 'part…

---

## [Mysql output as input for list node](https://discourse.nodered.org/t/mysql-output-as-input-for-list-node/46934)

<div class="topic-metadata">

**Author:** [@pvklink](https://discourse.nodered.org/u/pvklink)\
**Replies:** 5\
**Last updated:** [9 June 2021 21:15 UTC](https://discourse.nodered.org/t/mysql-output-as-input-for-list-node/46934 "2021-06-09T21:15:25Z")

</div>

I made a dashboard for learning IR and RF codes and execute them. Storage is in mysql. I have 99% working, but the last part wont . I like to fill a list node based on devices that are 'learned'and already saved in th…

---

## [Problem with X/Y graph with ui\_graph](https://discourse.nodered.org/t/problem-with-x-y-graph-with-ui-graph/46713)

<div class="topic-metadata">

**Author:** [@vlturner](https://discourse.nodered.org/u/vlturner)\
**Replies:** 8\
**Last updated:** [9 June 2021 20:38 UTC](https://discourse.nodered.org/t/problem-with-x-y-graph-with-ui-graph/46713 "2021-06-09T20:38:22Z")

</div>

I seem to be doing something wrong with the X/Y coordinates to get them into the graph. Any suggestions? \[{"id":"2510564a.26004a","type":"inject","z":"52d0e4d.d0a231c","name":"Start","props":\[{"p":"payload"}\],"repeat":"…

---

## [Split Node & whitespace](https://discourse.nodered.org/t/split-node-whitespace/46930)

<div class="topic-metadata">

**Author:** [@dokoral](https://discourse.nodered.org/u/dokoral)\
**Replies:** 3\
**Last updated:** [9 June 2021 18:59 UTC](https://discourse.nodered.org/t/split-node-whitespace/46930 "2021-06-09T18:59:18Z")

</div>

I am trying to use white spaces (space between words in text string) has a delimiter. I tried the " \\s " js Metacharacter but it doesn't work. Any help will be appreciated. Dan (NR v1.3.5, Nodejs v12.22)

---

## [How do I inject a service to a call service node?](https://discourse.nodered.org/t/how-do-i-inject-a-service-to-a-call-service-node/46814)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 5\
**Last updated:** [9 June 2021 18:42 UTC](https://discourse.nodered.org/t/how-do-i-inject-a-service-to-a-call-service-node/46814 "2021-06-09T18:42:21Z")

</div>

How do I inject a service to a call service node? I tried setting msg.service in the inject node to {{turn\_on}}, but that isn't working. This is part of an experiment to clean up one of my flows. I am turning selecte…

---

## [Create a subflow that takes entity ids as parameters](https://discourse.nodered.org/t/create-a-subflow-that-takes-entity-ids-as-parameters/46937)

<div class="topic-metadata">

**Author:** [@eamonn.sullivan](https://discourse.nodered.org/u/eamonn.sullivan)\
**Replies:** 2\
**Last updated:** [9 June 2021 18:23 UTC](https://discourse.nodered.org/t/create-a-subflow-that-takes-entity-ids-as-parameters/46937 "2021-06-09T18:23:44Z")

</div>

This is likely a very dumb, newby question, but my google foo seems to be failing me and I can't find the answer. I have a series of nearly identical flows connected to different motion sensors. One half of the flows tu…

---

## [Looking for direction](https://discourse.nodered.org/t/looking-for-direction/46752)

<div class="topic-metadata">

**Author:** [@Cyprus125](https://discourse.nodered.org/u/Cyprus125)\
**Replies:** 4\
**Last updated:** [9 June 2021 18:12 UTC](https://discourse.nodered.org/t/looking-for-direction/46752 "2021-06-09T18:12:48Z")

</div>

Hello, so i've been playing with node red, and have sensors displaying information on a web gui. is there a way to have a pi 3 a+ at flash up just display and node red dashboard with out a web browser? any sort of dire…

---

## [Modify the Node-Id in the node OPCUA Browser from a text input](https://discourse.nodered.org/t/modify-the-node-id-in-the-node-opcua-browser-from-a-text-input/46932)

<div class="topic-metadata">

**Author:** [@khadija](https://discourse.nodered.org/u/khadija)\
**Replies:** 0\
**Last updated:** [9 June 2021 17:21 UTC](https://discourse.nodered.org/t/modify-the-node-id-in-the-node-opcua-browser-from-a-text-input/46932 "2021-06-09T17:21:58Z")

</div>

Hello everyone, I am a beginner in node red, I work now with IIoT-OPCUA, I need to connect my server to my client OPC UA through an interface in node red Dashboard and then access all the data in the server. I want to …

---

## [Changing Node-red editor](https://discourse.nodered.org/t/changing-node-red-editor/46899)

<div class="topic-metadata">

**Author:** [@Shaor99](https://discourse.nodered.org/u/Shaor99)\
**Replies:** 2\
**Last updated:** [9 June 2021 17:04 UTC](https://discourse.nodered.org/t/changing-node-red-editor/46899 "2021-06-09T17:04:52Z")

</div>

Hi All, I'm working on a new project around no-code and it looks like node-red is just perfect for me however, I'm looking to change a few elements on the editor and make it more user-friendly (for non-programmers). Is …

---

## [Modbus and OPCUA nodes](https://discourse.nodered.org/t/modbus-and-opcua-nodes/46923)

<div class="topic-metadata">

**Author:** [@AskNodeRed](https://discourse.nodered.org/u/AskNodeRed)\
**Replies:** 0\
**Last updated:** [9 June 2021 16:01 UTC](https://discourse.nodered.org/t/modbus-and-opcua-nodes/46923 "2021-06-09T16:01:49Z")

</div>

Hello, Could someone tell me please, what are the different possible connection status of MODBUS and OPCUA nodes (active, connecting, offline....?) Thank you in advance

---

## [Barix Barionet temperature monitoring with Node-RED, InfluxDB and Grafana](https://discourse.nodered.org/t/barix-barionet-temperature-monitoring-with-node-red-influxdb-and-grafana/46920)

<div class="topic-metadata">

**Author:** [@giacomo](https://discourse.nodered.org/u/giacomo)\
**Replies:** 0\
**Last updated:** [9 June 2021 14:57 UTC](https://discourse.nodered.org/t/barix-barionet-temperature-monitoring-with-node-red-influxdb-and-grafana/46920 "2021-06-09T14:57:12Z")

</div>

Hi All, I want to point you to this project about Barix Barionet temperature monitoring with Node-RED, InfluxDB and Grafana: https://help.barix.com/barionet/knowledge-base/barionet-temperature-monitoring-with-node-red-…

[Previous page](https://discourse.nodered.org/latest.md?page=795)

[Next page](https://discourse.nodered.org/latest.md?page=797)
