# General

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

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

**Page:** 689

---

## [Node-red-contrib-sonos-plus integration with Spotify](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-integration-with-spotify/30638)

<div class="topic-metadata">

**Author:** [@alex88](https://discourse.nodered.org/u/alex88)\
**Replies:** 5\
**Last updated:** [4 September 2020 20:46 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-integration-with-spotify/30638 "2020-09-04T20:46:01Z")

</div>

Hi @hklages or anyone else that can help, Background: I'm an old dinosaur on S1. I don't see myself upgrading to S2 as I was an early adopter of Sonos... 30% of a very big number is still a big number, if you know what …

---

## [A global context variable is getting changed and I can't find how/why](https://discourse.nodered.org/t/a-global-context-variable-is-getting-changed-and-i-cant-find-how-why/32426)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [4 September 2020 20:43 UTC](https://discourse.nodered.org/t/a-global-context-variable-is-getting-changed-and-i-cant-find-how-why/32426 "2020-09-04T20:43:53Z")

</div>

External node needed: node-red-contrib-fan node-red-contrib-counter It is handy to split flow into groups. Yes, I know the latest version allows that in the edit screen. I'm not up to speed with it and so use the fa…

---

## [New to MQTT... couple Qs](https://discourse.nodered.org/t/new-to-mqtt-couple-qs/32408)

<div class="topic-metadata">

**Author:** [@Negativ3](https://discourse.nodered.org/u/Negativ3)\
**Replies:** 32\
**Last updated:** [4 September 2020 18:39 UTC](https://discourse.nodered.org/t/new-to-mqtt-couple-qs/32408 "2020-09-04T18:39:38Z")

</div>

Hi all, I am a total noob with Node-Red and am struggling to connect Tasmota plus an ESP-Easy and getting them all to pub & sub. I am trying to implement the following: 1x ESP32 with a toggle switch. (controller) 3x …

---

## [Is node-red-contrib-mysql broken?](https://discourse.nodered.org/t/is-node-red-contrib-mysql-broken/32456)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [4 September 2020 18:33 UTC](https://discourse.nodered.org/t/is-node-red-contrib-mysql-broken/32456 "2020-09-04T18:33:53Z")

</div>

Is node-red-contrib-mysql broken? npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-mysql - Not found npm ERR! 404 npm ERR! 404 'node-red-contrib-mysql@latest' is not in the…

---

## [How to reset when flow is running](https://discourse.nodered.org/t/how-to-reset-when-flow-is-running/32455)

<div class="topic-metadata">

**Author:** [@sumasage](https://discourse.nodered.org/u/sumasage)\
**Replies:** 1\
**Last updated:** [4 September 2020 16:40 UTC](https://discourse.nodered.org/t/how-to-reset-when-flow-is-running/32455 "2020-09-04T16:40:52Z")

</div>

Hi guys, I have an automation setup to run my sprinkler system. https://ibb.co/9crnm6W How can i setup a "reset" to cancel the automation when it is running? I have sonoff basic that i use as a switch for manual run.…

---

## [Modbus Flex Server Setting](https://discourse.nodered.org/t/modbus-flex-server-setting/32451)

<div class="topic-metadata">

**Author:** [@tjuarez](https://discourse.nodered.org/u/tjuarez)\
**Replies:** 0\
**Last updated:** [4 September 2020 14:53 UTC](https://discourse.nodered.org/t/modbus-flex-server-setting/32451 "2020-09-04T14:53:46Z")

</div>

Hello everyone! Can anybody help me on how to set a modbus flex server node? I want to set a modbus server connection dynamically, and use that server in a modbus flex getter node to read some registers. I was searchi…

---

## [Get color from each image pixel of a PNG or JPG](https://discourse.nodered.org/t/get-color-from-each-image-pixel-of-a-png-or-jpg/32251)

<div class="topic-metadata">

**Author:** [@YT2310](https://discourse.nodered.org/u/YT2310)\
**Replies:** 6\
**Last updated:** [4 September 2020 14:27 UTC](https://discourse.nodered.org/t/get-color-from-each-image-pixel-of-a-png-or-jpg/32251 "2020-09-04T14:27:22Z")

</div>

Hello all, did anyone have experiences with getting the color of every pixel of an picture? I just know that from matlab but matlab give me just the part of a jpg file where the colortype is saved so that it is quit ea…

---

## [Problems with node-red-contrib-smartlifeair](https://discourse.nodered.org/t/problems-with-node-red-contrib-smartlifeair/32145)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 31\
**Last updated:** [4 September 2020 14:26 UTC](https://discourse.nodered.org/t/problems-with-node-red-contrib-smartlifeair/32145 "2020-09-04T14:26:31Z")

</div>

Having seen a notification on twitter and a post on another thread from @razorRun I've tried getting this to work with my tuya rgb light bulb I can get the smartlife app to control my bulb and I've registered myself on…

---

## [Error deleting a Csv](https://discourse.nodered.org/t/error-deleting-a-csv/32343)

<div class="topic-metadata">

**Author:** [@osancleca](https://discourse.nodered.org/u/osancleca)\
**Replies:** 13\
**Last updated:** [4 September 2020 13:52 UTC](https://discourse.nodered.org/t/error-deleting-a-csv/32343 "2020-09-04T13:52:38Z")

</div>

I have this error when I want to delete a csv through a timestamp, someone knows why it occurs ....... error: Error: EPERM: operation not permitted, unlink 'C:/Users/rnb/Desktop/DatosCsvT03\\Datos.csv' files are only …

---

## [NodeRED/MQTT disconnect from AWS EC2](https://discourse.nodered.org/t/nodered-mqtt-disconnect-from-aws-ec2/31505)

<div class="topic-metadata">

**Author:** [@tfmeier](https://discourse.nodered.org/u/tfmeier)\
**Replies:** 13\
**Last updated:** [4 September 2020 12:57 UTC](https://discourse.nodered.org/t/nodered-mqtt-disconnect-from-aws-ec2/31505 "2020-09-04T12:57:19Z")

</div>

I have successfully setup NodeRED on an AWS EC2 instance and use MQTT as a means to communicate from/to my IoT devices (ESP8266/ESP32 at the moment). I'm running a compiled version of Tasmota that has AWS IoT enabled. W…

---

## [Heatmap - only update changed values](https://discourse.nodered.org/t/heatmap-only-update-changed-values/32342)

<div class="topic-metadata">

**Author:** [@hermiot](https://discourse.nodered.org/u/hermiot)\
**Replies:** 5\
**Last updated:** [4 September 2020 11:26 UTC](https://discourse.nodered.org/t/heatmap-only-update-changed-values/32342 "2020-09-04T11:26:39Z")

</div>

Hi, I build a heatmap to monitore temperatures and CO2 values on a floor plan image. By design, the Heatmap Node displays a given Matrix which works like a charm. My sensors send their data via MQTT in different sampl…

---

## [Moon phase icons](https://discourse.nodered.org/t/moon-phase-icons/25802)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 19\
**Last updated:** [4 September 2020 09:54 UTC](https://discourse.nodered.org/t/moon-phase-icons/25802 "2020-09-04T09:54:53Z")

</div>

If you have been following this thread, you may be aware that I'm in the process of adding moon phase icons to weather-icons-lite, which would make them available as part of the dashboard core. However, I've hit a dilem…

---

## [Logitech Harmony Hub disconnects after a few hours](https://discourse.nodered.org/t/logitech-harmony-hub-disconnects-after-a-few-hours/14309)

<div class="topic-metadata">

**Author:** [@grexxen](https://discourse.nodered.org/u/grexxen)\
**Replies:** 1\
**Last updated:** [4 September 2020 09:03 UTC](https://discourse.nodered.org/t/logitech-harmony-hub-disconnects-after-a-few-hours/14309 "2020-09-04T09:03:14Z")

</div>

Hello together, I'm new in the Forum and want introduce me shortly. My name is Gregor and I'm from Germany. Me and my wife moved this year into our new house. We use KNX and Node-Red together to control different thing…

---

## [Date time input from Dashboard - how to?](https://discourse.nodered.org/t/date-time-input-from-dashboard-how-to/32369)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 8\
**Last updated:** [4 September 2020 08:41 UTC](https://discourse.nodered.org/t/date-time-input-from-dashboard-how-to/32369 "2020-09-04T08:41:35Z")

</div>

I need to be able to input a date and time in the Dashboard, and output the result in a message. So I have added two dashboard nodes (Date and Text, set to time picker), which output to flow context, then I can read them…

---

## [How to insert data to mongodb?](https://discourse.nodered.org/t/how-to-insert-data-to-mongodb/32425)

<div class="topic-metadata">

**Author:** [@Rony](https://discourse.nodered.org/u/Rony)\
**Replies:** 0\
**Last updated:** [4 September 2020 01:10 UTC](https://discourse.nodered.org/t/how-to-insert-data-to-mongodb/32425 "2020-09-04T01:10:32Z")

</div>

With this flow, how can I insert data in mongodb ? I mean the configuration of nodes and way of sending data. I'm new in node-red arena !

---

## [Auto Create new flow](https://discourse.nodered.org/t/auto-create-new-flow/32389)

<div class="topic-metadata">

**Author:** [@cherryhdt](https://discourse.nodered.org/u/cherryhdt)\
**Replies:** 4\
**Last updated:** [4 September 2020 01:02 UTC](https://discourse.nodered.org/t/auto-create-new-flow/32389 "2020-09-04T01:02:26Z")

</div>

I know how to upload a json file ,then it will create a new flow，but I want to come true this process in program.Do you have some advises?Thanks!

---

## [Node-red-contrib-infocache missing](https://discourse.nodered.org/t/node-red-contrib-infocache-missing/30858)

<div class="topic-metadata">

**Author:** [@GPG](https://discourse.nodered.org/u/GPG)\
**Replies:** 9\
**Last updated:** [3 September 2020 23:04 UTC](https://discourse.nodered.org/t/node-red-contrib-infocache-missing/30858 "2020-09-03T23:04:47Z")

</div>

Hi all, I'm trying to use UI Builder, but I'm not able to install \[node-red-contrib-infocache\] module. It isn't possible neither by Node-Red palette neither by npm install, it seems that this repo is missing in npm reg…

---

## [Time and date not making sense to me](https://discourse.nodered.org/t/time-and-date-not-making-sense-to-me/32402)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 12\
**Last updated:** [3 September 2020 22:10 UTC](https://discourse.nodered.org/t/time-and-date-not-making-sense-to-me/32402 "2020-09-03T22:10:51Z")

</div>

The time now (local) is 22:40 3 Sept 2020 Give or take for the minutes/seconds. This is an extract of a flow: \[{"id":"4b8ef85a.3c413","type":"inject","z":"242538c4.33ddf8","name":"","repeat":"","crontab":"","once":fal…

---

## [Fader Input level from serial](https://discourse.nodered.org/t/fader-input-level-from-serial/32421)

<div class="topic-metadata">

**Author:** [@iainharvey42](https://discourse.nodered.org/u/iainharvey42)\
**Replies:** 2\
**Last updated:** [3 September 2020 21:53 UTC](https://discourse.nodered.org/t/fader-input-level-from-serial/32421 "2020-09-03T21:53:06Z")

</div>

I have a fader which connects via serial passes a value in depending on its position. I am looking at using this to control a light however due to the serial rate we only get around 5 messages per fade. As such I need t…

---

## [Is there a "better" way to run this - i.e. how to remove the loop node](https://discourse.nodered.org/t/is-there-a-better-way-to-run-this-i-e-how-to-remove-the-loop-node/32397)

<div class="topic-metadata">

**Author:** [@greengolfer](https://discourse.nodered.org/u/greengolfer)\
**Replies:** 7\
**Last updated:** [3 September 2020 19:57 UTC](https://discourse.nodered.org/t/is-there-a-better-way-to-run-this-i-e-how-to-remove-the-loop-node/32397 "2020-09-03T19:57:32Z")

</div>

I am going to piggyback on this thread, as I have a question somehow related to the loop aspect. \[note by moderator: this post has been moved from another thread to keep them seperate\] I am currently using the loop nod…

---

## [Where is "Zombie" node?](https://discourse.nodered.org/t/where-is-zombie-node/32409)

<div class="topic-metadata">

**Author:** [@greengolfer](https://discourse.nodered.org/u/greengolfer)\
**Replies:** 10\
**Last updated:** [3 September 2020 17:37 UTC](https://discourse.nodered.org/t/where-is-zombie-node/32409 "2020-09-03T17:37:02Z")

</div>

Thanks to @Steve-Mcl I have removed my loop nodes and replace them with functions. I want to remove the loop node from the palette, but it appears to still be "in use" When I search in the flows where it is used I have…

---

## [Displaying an image on UIBuilder page from Node-red dashboard](https://discourse.nodered.org/t/displaying-an-image-on-uibuilder-page-from-node-red-dashboard/32239)

<div class="topic-metadata">

**Author:** [@DavidE1A](https://discourse.nodered.org/u/DavidE1A)\
**Replies:** 13\
**Last updated:** [3 September 2020 15:46 UTC](https://discourse.nodered.org/t/displaying-an-image-on-uibuilder-page-from-node-red-dashboard/32239 "2020-09-03T15:46:31Z")

</div>

Hi, I'm trying to create an escape room gm/hint system and one feature I'd like to have is to send through an image (preferably selected from a dropdown menu) to display on the UIBuilder page along with the timer. I've m…

---

## [Create opc-ua server](https://discourse.nodered.org/t/create-opc-ua-server/32405)

<div class="topic-metadata">

**Author:** [@Federica](https://discourse.nodered.org/u/Federica)\
**Replies:** 1\
**Last updated:** [3 September 2020 14:56 UTC](https://discourse.nodered.org/t/create-opc-ua-server/32405 "2020-09-03T14:56:46Z")

</div>

Hello, I want to create an opc-ua server structure using the "node-red-contrib-opcua" library, specifically the 'OPC-UA-Server' node, but I can't find any examples. Can you help me? Thank you

---

## [How to pass the array to the loop](https://discourse.nodered.org/t/how-to-pass-the-array-to-the-loop/32381)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 18\
**Last updated:** [3 September 2020 10:23 UTC](https://discourse.nodered.org/t/how-to-pass-the-array-to-the-loop/32381 "2020-09-03T10:23:19Z")

</div>

Hello Everyone, I'm completely new to node-red. I am trying to create a flow in which i have to loop while condition and within loop i need to add sub flows based on value of loop. ※sub flows are the same handling. I…

---

## [Node.send( ) stuck with loop](https://discourse.nodered.org/t/node-send-stuck-with-loop/32394)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [3 September 2020 10:51 UTC](https://discourse.nodered.org/t/node-send-stuck-with-loop/32394 "2020-09-03T10:51:20Z")

</div>

Given: msg.payload = 0 and msg.menu exists thus: {"1":"Show clock/time","2":"Show alarms","3":"Edit time/date","4":"Edit alarm/s","5":"Alarm run time"} I have done things similar and done things like this before. T…

---

## [Increasing PWM frequency beyond 100 Hz](https://discourse.nodered.org/t/increasing-pwm-frequency-beyond-100-hz/32382)

<div class="topic-metadata">

**Author:** [@88bit](https://discourse.nodered.org/u/88bit)\
**Replies:** 1\
**Last updated:** [3 September 2020 10:46 UTC](https://discourse.nodered.org/t/increasing-pwm-frequency-beyond-100-hz/32382 "2020-09-03T10:46:22Z")

</div>

Hi I'm using a Raspberry Pi to drive a PWM output. I use this output to regulate a 0-20 mA circuit . converting the PWM voltage into current. However the library node-red-node-pi-gpiod only allows a maximum of 100 Hz. T…

---

## [Making array and reading single values](https://discourse.nodered.org/t/making-array-and-reading-single-values/32391)

<div class="topic-metadata">

**Author:** [@vishalk](https://discourse.nodered.org/u/vishalk)\
**Replies:** 1\
**Last updated:** [3 September 2020 10:34 UTC](https://discourse.nodered.org/t/making-array-and-reading-single-values/32391 "2020-09-03T10:34:19Z")

</div>

Hello, I am little new to node red.I dont know javascript I want to read 8 bits from PLC and the for each single bit status is to be shown on LED display. But I dont know how to do it. picture shows the exmaple how …

---

## [Homematic Programme mit Ikea Tradfri koppeln in Node Red](https://discourse.nodered.org/t/homematic-programme-mit-ikea-tradfri-koppeln-in-node-red/32368)

<div class="topic-metadata">

**Author:** [@Alex280181](https://discourse.nodered.org/u/Alex280181)\
**Replies:** 3\
**Last updated:** [3 September 2020 10:05 UTC](https://discourse.nodered.org/t/homematic-programme-mit-ikea-tradfri-koppeln-in-node-red/32368 "2020-09-03T10:05:52Z")

</div>

Hallo, ich bin komplett neu bei Node Red und versuche gerade meine gerade meine Homematic Programme mit meinem Tradfri gateway zu koppeln. Sprich wenn Homematic ein Programm auslöst sollen auch bestimmte devices and m…

---

## [How to read files on Raspberry Pi](https://discourse.nodered.org/t/how-to-read-files-on-raspberry-pi/32377)

<div class="topic-metadata">

**Author:** [@lan](https://discourse.nodered.org/u/lan)\
**Replies:** 16\
**Last updated:** [3 September 2020 07:29 UTC](https://discourse.nodered.org/t/how-to-read-files-on-raspberry-pi/32377 "2020-09-03T07:29:17Z")

</div>

I want to know how to use fill in node in Raspberry Pi. On Windows, I need to use escape path separators, for example: \\Users\\myUser. But in Raspberry Pi I don't know how to fill in the address of the document. Below …

---

## [How to change output?](https://discourse.nodered.org/t/how-to-change-output/32306)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 14\
**Last updated:** [3 September 2020 07:20 UTC](https://discourse.nodered.org/t/how-to-change-output/32306 "2020-09-03T07:20:49Z")

</div>

I'm beginner in "Node-red", can you tell me what I'm doing wrong? I have output like this 01.09.2020, 17:13:21node: 1acab143.6805af zigbee2mqtt/0xec1bbdfffe6dff16 : msg.payload : Object object update\_available: true st…

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

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