# General

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

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

**Page:** 635

---

## [Squeezebox "socket hang up"](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875)

<div class="topic-metadata">

**Author:** [@oma](https://discourse.nodered.org/u/oma)\
**Replies:** 3\
**Last updated:** [22 December 2020 17:25 UTC](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875 "2020-12-22T17:25:32Z")

</div>

I was trying to add my squeezeboxes to NodeRED, and some commands like pause, status etc do work already. I would like to have a dedicated webstream played after pushing a button but i do get a "socket hang up" and i hav…

---

## [Look in payload for a specific string of text](https://discourse.nodered.org/t/look-in-payload-for-a-specific-string-of-text/37864)

<div class="topic-metadata">

**Author:** [@nappyjim](https://discourse.nodered.org/u/nappyjim)\
**Replies:** 3\
**Last updated:** [22 December 2020 14:22 UTC](https://discourse.nodered.org/t/look-in-payload-for-a-specific-string-of-text/37864 "2020-12-22T14:22:38Z")

</div>

I'm an idiot,figured it out. Hi guys, I'm a home assistant user, just beginning my journey with Node red. I know home assistant node red isnt quite the same, but I think my question is relevant for both. Quite simp…

---

## [Persistent context storage](https://discourse.nodered.org/t/persistent-context-storage/37858)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 4\
**Last updated:** [22 December 2020 13:52 UTC](https://discourse.nodered.org/t/persistent-context-storage/37858 "2020-12-22T13:52:59Z")

</div>

Hi everyone, What a really great feature! I put this into my settings.js file, I only need it to update every 10 minutes. I wish there was more info on this. A couple of questions for you..... Have I done it correc…

---

## [Unix mint file access denied](https://discourse.nodered.org/t/unix-mint-file-access-denied/37839)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 6\
**Last updated:** [22 December 2020 11:52 UTC](https://discourse.nodered.org/t/unix-mint-file-access-denied/37839 "2020-12-22T11:52:28Z")

</div>

I ported a flow from a raspi to a pc running unix mint. I get the below error when acessing this CSV file. Error: EACCES: permission denied, open '/home/hannes/standard-temp.CSV' The file has read and write access ena…

---

## [REDIS - global.get results in the ERROR](https://discourse.nodered.org/t/redis-global-get-results-in-the-error/37857)

<div class="topic-metadata">

**Author:** [@Tombcat](https://discourse.nodered.org/u/Tombcat)\
**Replies:** 2\
**Last updated:** [22 December 2020 10:52 UTC](https://discourse.nodered.org/t/redis-global-get-results-in-the-error/37857 "2020-12-22T10:52:58Z")

</div>

Hello I have changed the default context storage to the REDIS. Configuration: contextStorage: { redis: { module: require("node-red-context-redis"), config: { host: "\*\*, po…

---

## [HomeLink Car Integrations to NodeRed](https://discourse.nodered.org/t/homelink-car-integrations-to-nodered/37823)

<div class="topic-metadata">

**Author:** [@Meptik](https://discourse.nodered.org/u/Meptik)\
**Replies:** 1\
**Last updated:** [22 December 2020 06:55 UTC](https://discourse.nodered.org/t/homelink-car-integrations-to-nodered/37823 "2020-12-22T06:55:58Z")

</div>

Hey all - I've been researching integrations from HomeLink - the buttons found in most cars to control garage doors - to NodeRed. As I don't have a garage, I had been thinking that I could use it to further control the…

---

## [For the UIbuilder node, where are the index source files?](https://discourse.nodered.org/t/for-the-uibuilder-node-where-are-the-index-source-files/37663)

<div class="topic-metadata">

**Author:** [@adamelli](https://discourse.nodered.org/u/adamelli)\
**Replies:** 18\
**Last updated:** [21 December 2020 23:12 UTC](https://discourse.nodered.org/t/for-the-uibuilder-node-where-are-the-index-source-files/37663 "2020-12-21T23:12:07Z")

</div>

Every example I import into Node-RED, I get the same UIbuilder webpage (unless the index files are edited). I just want to see another simple webpage example like Quote of the Day.

---

## [Ui Builder learning reference](https://discourse.nodered.org/t/ui-builder-learning-reference/37775)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 8\
**Last updated:** [21 December 2020 21:06 UTC](https://discourse.nodered.org/t/ui-builder-learning-reference/37775 "2020-12-21T21:06:16Z")

</div>

From where should a noob start learning vue.js for the sole purpose of using it in node-red?

---

## [Serial Port RS485 question](https://discourse.nodered.org/t/serial-port-rs485-question/37817)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 11\
**Last updated:** [21 December 2020 18:43 UTC](https://discourse.nodered.org/t/serial-port-rs485-question/37817 "2020-12-21T18:43:54Z")

</div>

Hello, I wanted to update my Raspberry Pi to the newest Buster + Node RED, but I have a problem to activate the "NibePi Master" (https://github.com/anerdins/node-red-contrib-nibepi/ ) in Node RED using a RS485 hat: -…

---

## [Using NR with HA, how can I control multiple lights with a button and an event like sunset?](https://discourse.nodered.org/t/using-nr-with-ha-how-can-i-control-multiple-lights-with-a-button-and-an-event-like-sunset/37854)

<div class="topic-metadata">

**Author:** [@ghurty](https://discourse.nodered.org/u/ghurty)\
**Replies:** 0\
**Last updated:** [21 December 2020 17:25 UTC](https://discourse.nodered.org/t/using-nr-with-ha-how-can-i-control-multiple-lights-with-a-button-and-an-event-like-sunset/37854 "2020-12-21T17:25:19Z")

</div>

I am trying to use Node Red with HA to control lights and the alarm. I want to be able to control it based on a button as well as based on a timed event. How can I make it that a button is pressed in HA will write to…

---

## [Docker/Network/Port/Directory/Volume](https://discourse.nodered.org/t/docker-network-port-directory-volume/37843)

<div class="topic-metadata">

**Author:** [@pietrofduarte](https://discourse.nodered.org/u/pietrofduarte)\
**Replies:** 2\
**Last updated:** [21 December 2020 17:16 UTC](https://discourse.nodered.org/t/docker-network-port-directory-volume/37843 "2020-12-21T17:16:36Z")

</div>

Hi guys I am with a huge question about Node-Red in Docker. I need build four different containers in docker of Node-Red but I need run each container with a fix IPV4 in one specific docker-network, with a specific door …

---

## [Help with styling UI gauges with function](https://discourse.nodered.org/t/help-with-styling-ui-gauges-with-function/37730)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 30\
**Last updated:** [21 December 2020 15:41 UTC](https://discourse.nodered.org/t/help-with-styling-ui-gauges-with-function/37730 "2020-12-21T15:41:52Z")

</div>

Hello, in a somewhat OCD way, I wish to style/resize my node red gauges. I have done a lot of research but to little avail. Some help has come from: node-red-dashboard/config-fields.md at master · node-red/node-red-d…

---

## [Christmas lighting date questions](https://discourse.nodered.org/t/christmas-lighting-date-questions/37801)

<div class="topic-metadata">

**Author:** [@duaw](https://discourse.nodered.org/u/duaw)\
**Replies:** 4\
**Last updated:** [21 December 2020 15:19 UTC](https://discourse.nodered.org/t/christmas-lighting-date-questions/37801 "2020-12-21T15:19:03Z")

</div>

Dear all, I fire up my christmas lighting in the morning and in the evening for some time and not during daylight. This works nicely with node-red-contrib-light-scheduler. However all this should happen only starting A…

---

## [Help, I messed up weather-icons-lite](https://discourse.nodered.org/t/help-i-messed-up-weather-icons-lite/37796)

<div class="topic-metadata">

**Author:** [@thomasvjohansen](https://discourse.nodered.org/u/thomasvjohansen)\
**Replies:** 20\
**Last updated:** [21 December 2020 14:31 UTC](https://discourse.nodered.org/t/help-i-messed-up-weather-icons-lite/37796 "2020-12-21T14:31:55Z")

</div>

Hi, I messed up. when I updated with "npm i weather-icons-lite" it updated and I could see the changes in css. but node-red didnt reconize them. At some point, after I messed up..... when I now update a palette in nod…

---

## [Unit testing with config nodes?](https://discourse.nodered.org/t/unit-testing-with-config-nodes/10863)

<div class="topic-metadata">

**Author:** [@darkbluestudios](https://discourse.nodered.org/u/darkbluestudios)\
**Replies:** 2\
**Last updated:** [7 May 2019 16:23 UTC](https://discourse.nodered.org/t/unit-testing-with-config-nodes/10863 "2019-05-07T16:23:35Z")

</div>

I really would like to have unit tests for all my nodes, as it helps quite a bit in different ways. I'm having trouble understanding how to create my own flow for unit tests especially when there is a configuration no…

---

## [Compose msg.payload with msg.topic](https://discourse.nodered.org/t/compose-msg-payload-with-msg-topic/37836)

<div class="topic-metadata">

**Author:** [@nilsbaurx](https://discourse.nodered.org/u/nilsbaurx)\
**Replies:** 6\
**Last updated:** [21 December 2020 13:19 UTC](https://discourse.nodered.org/t/compose-msg-payload-with-msg-topic/37836 "2020-12-21T13:19:56Z")

</div>

Hello all, I would like to calculate the timestamp that is in the payload here by a date/time formatter minus one hour and then reconnect it to the value that is in the topic. Can someone help me quickly? Here is my f…

---

## [HTTP request node fails with CNAMEs](https://discourse.nodered.org/t/http-request-node-fails-with-cnames/37762)

<div class="topic-metadata">

**Author:** [@yesdred](https://discourse.nodered.org/u/yesdred)\
**Replies:** 10\
**Last updated:** [21 December 2020 13:07 UTC](https://discourse.nodered.org/t/http-request-node-fails-with-cnames/37762 "2020-12-21T13:07:00Z")

</div>

I see HTTP requests failing because of unresolvable names ("getaddrinfo ENOTFOUND"). The names could be resolved if the original CNAME entry delivered back from the server would be used for another request. It is my und…

---

## [Zigbee2mqtt bridge node](https://discourse.nodered.org/t/zigbee2mqtt-bridge-node/37422)

<div class="topic-metadata">

**Author:** [@Wim](https://discourse.nodered.org/u/Wim)\
**Replies:** 17\
**Last updated:** [21 December 2020 11:04 UTC](https://discourse.nodered.org/t/zigbee2mqtt-bridge-node/37422 "2020-12-21T11:04:12Z")

</div>

Hallo, I have a problem with the zigbee2mqtt bridge node node. It does not show any devices. This is the output from starting node red: 11 Dec 13:34:02 - \[info\] Starting flows 11 Dec 13:34:03 - \[info\] \[zigbee-shepher…

---

## [Can't open image fullscreen from node-red](https://discourse.nodered.org/t/cant-open-image-fullscreen-from-node-red/37807)

<div class="topic-metadata">

**Author:** [@coen17st](https://discourse.nodered.org/u/coen17st)\
**Replies:** 4\
**Last updated:** [21 December 2020 10:46 UTC](https://discourse.nodered.org/t/cant-open-image-fullscreen-from-node-red/37807 "2020-12-21T10:46:24Z")

</div>

Hi, I have Node-RED running on ubuntu dekstop locally and i want show a picture in fullscreen from a node-RED trigger, i thought that would be possible from the exec node but got these error \`Command failed: bash /hom…

---

## [Node-red flow -set timeout with js](https://discourse.nodered.org/t/node-red-flow-set-timeout-with-js/37710)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 3\
**Last updated:** [21 December 2020 10:26 UTC](https://discourse.nodered.org/t/node-red-flow-set-timeout-with-js/37710 "2020-12-21T10:26:15Z")

</div>

\[{"id":"175bb614.8e64ea","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"2c065ea1.db69e2","type":"function","z":"175bb614.8e64ea","name":"","func":"let counter = 0;\\n\\nfor (let i = 1; i \< 11; i++) {\\n …

---

## [\[Feature Request \] node-red-node-snmp 0.0.25](https://discourse.nodered.org/t/feature-request-node-red-node-snmp-0-0-25/37833)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 2\
**Last updated:** [21 December 2020 09:21 UTC](https://discourse.nodered.org/t/feature-request-node-red-node-snmp-0-0-25/37833 "2020-12-21T09:21:46Z")

</div>

Hello would be nice if you could define a SNMP Host, only ones (IP and Hostname ro value) so you don't have to add the ip address on many differen requests. have a nice day vinc

---

## [Node-Red via Docker on Phoenix PLC Next F 2152 need root rights](https://discourse.nodered.org/t/node-red-via-docker-on-phoenix-plc-next-f-2152-need-root-rights/37831)

<div class="topic-metadata">

**Author:** [@nilsbaurx](https://discourse.nodered.org/u/nilsbaurx)\
**Replies:** 1\
**Last updated:** [21 December 2020 09:10 UTC](https://discourse.nodered.org/t/node-red-via-docker-on-phoenix-plc-next-f-2152-need-root-rights/37831 "2020-12-21T09:10:32Z")

</div>

Hallo all, node-Red runs in a Docker container on the Plc Next F 2152. I am currently facing the problem that I would like to save CSV files on my PLC via Node-Red. Unfortunately, this controller currently refuses to e…

---

## [Shorten Java Script as Loop](https://discourse.nodered.org/t/shorten-java-script-as-loop/37829)

<div class="topic-metadata">

**Author:** [@nilsbaurx](https://discourse.nodered.org/u/nilsbaurx)\
**Replies:** 2\
**Last updated:** [21 December 2020 08:31 UTC](https://discourse.nodered.org/t/shorten-java-script-as-loop/37829 "2020-12-21T08:31:59Z")

</div>

Hello all, does anyone have an idea how I can shorten/simplify this function, also with regard to the fact that I have to use more than 9 variables in the future. var topic=msg.topic; //1 if (topic=="ns=5;s=Arp.Plc.E…

---

## [Http request - Use SSL/TLS Connection](https://discourse.nodered.org/t/http-request-use-ssl-tls-connection/37713)

<div class="topic-metadata">

**Author:** [@cdacruz](https://discourse.nodered.org/u/cdacruz)\
**Replies:** 3\
**Last updated:** [21 December 2020 08:28 UTC](https://discourse.nodered.org/t/http-request-use-ssl-tls-connection/37713 "2020-12-21T08:28:22Z")

</div>

Hi all, I'm trying to do a simple get request. The base url is : https://geodes.santepubliquefrance.fr/GC\_indic.php?lang=fr&prodhash=123456789&indic=tx\_pe\_gliss&dataset=sp\_ti\_tp\_7j&view=map2&filters=semaine\_glissante=20…

---

## [Subflow used to retrieve JSON key value](https://discourse.nodered.org/t/subflow-used-to-retrieve-json-key-value/37780)

<div class="topic-metadata">

**Author:** [@mengelsen](https://discourse.nodered.org/u/mengelsen)\
**Replies:** 15\
**Last updated:** [20 December 2020 22:53 UTC](https://discourse.nodered.org/t/subflow-used-to-retrieve-json-key-value/37780 "2020-12-20T22:53:48Z")

</div>

I am just starting to learn JavaScript & I would really appreciate some guidance. I am trying to create a subflow that will return the value of (2) keys nested within JSON output. (name and last use date) The "tricky pa…

---

## [Subflow - pass a payload value as input value on subflow](https://discourse.nodered.org/t/subflow-pass-a-payload-value-as-input-value-on-subflow/37816)

<div class="topic-metadata">

**Author:** [@nsoares](https://discourse.nodered.org/u/nsoares)\
**Replies:** 7\
**Last updated:** [20 December 2020 22:43 UTC](https://discourse.nodered.org/t/subflow-pass-a-payload-value-as-input-value-on-subflow/37816 "2020-12-20T22:43:16Z")

</div>

Hi all. I'm trying to pass a payload value as a input value on a subflow node. How can I pass the current msg.data.state value to subflow ? Thanks in advance for the help & time.

---

## [Splitting an array of objects](https://discourse.nodered.org/t/splitting-an-array-of-objects/37815)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 9\
**Last updated:** [20 December 2020 21:47 UTC](https://discourse.nodered.org/t/splitting-an-array-of-objects/37815 "2020-12-20T21:47:07Z")

</div>

Back again with what should be a simple solution, but over 5 hours in...I am still unable to accomplish, even with going through the basic videos and a multitude of other posts in the forum. I have an array of objects t…

---

## [Use dashboard color picker for deconz conbee2 RGBW stripe](https://discourse.nodered.org/t/use-dashboard-color-picker-for-deconz-conbee2-rgbw-stripe/37207)

<div class="topic-metadata">

**Author:** [@Georg](https://discourse.nodered.org/u/Georg)\
**Replies:** 6\
**Last updated:** [20 December 2020 20:21 UTC](https://discourse.nodered.org/t/use-dashboard-color-picker-for-deconz-conbee2-rgbw-stripe/37207 "2020-12-20T20:21:51Z")

</div>

Good evening everybody. I'm new to Node RED and have no real java experience. I'm using node red on a raspberry pi with a conbee2 stick in combination with node-red-contrib-deconz. Switching the stripe on and off, cha…

---

## [Advice please! | store data to file or database](https://discourse.nodered.org/t/advice-please-store-data-to-file-or-database/37797)

<div class="topic-metadata">

**Author:** [@Magnus\_P](https://discourse.nodered.org/u/Magnus_P)\
**Replies:** 5\
**Last updated:** [20 December 2020 15:19 UTC](https://discourse.nodered.org/t/advice-please-store-data-to-file-or-database/37797 "2020-12-20T15:19:11Z")

</div>

I have 3 energy meters (Shelly 3EM) showing graphs in the dashboard of the latest 24 hours data. The data is received by MQTT topics Now I want to store, search and preset the data in various graphs and histograms over …

---

## [Need some help with new sonos plus node](https://discourse.nodered.org/t/need-some-help-with-new-sonos-plus-node/37576)

<div class="topic-metadata">

**Author:** [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Replies:** 10\
**Last updated:** [20 December 2020 13:35 UTC](https://discourse.nodered.org/t/need-some-help-with-new-sonos-plus-node/37576 "2020-12-20T13:35:25Z")

</div>

I need some help to update my sonos node from version 3 to 4. I did a node update for sonos plus and my flow was broken. So i did cd ~/.node-red // home directory and then .node-red. In Docker /data/.node-red npm un…

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

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