# Latest

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

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

**Page:** 929

---

## [Show image through UI\_Template node](https://discourse.nodered.org/t/show-image-through-ui-template-node/37846)

<div class="topic-metadata">

**Author:** [@kostasgioko](https://discourse.nodered.org/u/kostasgioko)\
**Replies:** 1\
**Last updated:** [21 December 2020 15:26 UTC](https://discourse.nodered.org/t/show-image-through-ui-template-node/37846 "2020-12-21T15:26:56Z")

</div>

Hello. I am trying to show an image in the browser that updates frequently. In order to avoid the flicker from loading the image too much, I am using some Javascript which seems to do the trick. The thing is, if I load t…

---

## [Modbus communication problem](https://discourse.nodered.org/t/modbus-communication-problem/37849)

<div class="topic-metadata">

**Author:** [@agmacedo](https://discourse.nodered.org/u/agmacedo)\
**Replies:** 0\
**Last updated:** [21 December 2020 15:26 UTC](https://discourse.nodered.org/t/modbus-communication-problem/37849 "2020-12-21T15:26:08Z")

</div>

My problem is in the Modbus Flex Getter node. If the injection node from bottom has a 10 secs interval then it works fine, but if I extend it to 20 secs or 1 min then the insert node fails because the modbus node fails …

---

## [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…

---

## ["Connection Lost" only on Tablet](https://discourse.nodered.org/t/connection-lost-only-on-tablet/37721)

<div class="topic-metadata">

**Author:** [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Replies:** 8\
**Last updated:** [21 December 2020 11:01 UTC](https://discourse.nodered.org/t/connection-lost-only-on-tablet/37721 "2020-12-21T11:01:03Z")

</div>

Hi, i use my old Asus P027 Tablet for Smart Home Center in my Floor. Before i completely changed to Node-red, i used Openhab Dashboard. It worked fine. Now i use Node-red Dashboard for a while and only on my Tablet i …

---

## [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 …

---

## [Why is my font size limit 7?](https://discourse.nodered.org/t/why-is-my-font-size-limit-7/37824)

<div class="topic-metadata">

**Author:** [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Replies:** 12\
**Last updated:** [21 December 2020 10:11 UTC](https://discourse.nodered.org/t/why-is-my-font-size-limit-7/37824 "2020-12-21T10:11:24Z")

</div>

Goodday, I have a small display so I want to blow the text up. However, it seems that \< font size=7\> {{msg.payload}} is the max? I'm using a pi zero w with a 800x640 display and node red V1.2.6 \[{"id":"e0718196.8a6b"…

---

## [\[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…

---

## [Config more than 9 colours in bar chart](https://discourse.nodered.org/t/config-more-than-9-colours-in-bar-chart/36826)

<div class="topic-metadata">

**Author:** [@Miguel](https://discourse.nodered.org/u/Miguel)\
**Replies:** 3\
**Last updated:** [20 December 2020 23:07 UTC](https://discourse.nodered.org/t/config-more-than-9-colours-in-bar-chart/36826 "2020-12-20T23:07:47Z")

</div>

Hello all May somebody know how I can define more than 9 series colours in a bar chart? Unfortunately, if I add more than 9 data series to the chart (the colours for the first 9 are well defined with chart node editor)…

---

## [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…

---

## [Node-red-ui-table submit button and send data](https://discourse.nodered.org/t/node-red-ui-table-submit-button-and-send-data/37792)

<div class="topic-metadata">

**Author:** [@efratha94](https://discourse.nodered.org/u/efratha94)\
**Replies:** 8\
**Last updated:** [20 December 2020 11:17 UTC](https://discourse.nodered.org/t/node-red-ui-table-submit-button-and-send-data/37792 "2020-12-20T11:17:07Z")

</div>

Hi, I'm building a table using the node-red-ui-table. I looked at older posts in this forum, at the documentations and at the examples, but still there's something I cannot find/understand how to implement - I have my …

---

## [Node to detect keyboard input?](https://discourse.nodered.org/t/node-to-detect-keyboard-input/37781)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [20 December 2020 10:14 UTC](https://discourse.nodered.org/t/node-to-detect-keyboard-input/37781 "2020-12-20T10:14:47Z")

</div>

Yes, I have searched the library, but not really had any luck. There are some nodes which claim to do it, but I think are way too old. I am looking for a node which will see keys pressed on the keyboard and send the re…

---

## [Pull line number from text](https://discourse.nodered.org/t/pull-line-number-from-text/37783)

<div class="topic-metadata">

**Author:** [@leftymuller](https://discourse.nodered.org/u/leftymuller)\
**Replies:** 5\
**Last updated:** [20 December 2020 10:11 UTC](https://discourse.nodered.org/t/pull-line-number-from-text/37783 "2020-12-20T10:11:45Z")

</div>

Hi all, Im sure this is really simple but I couldn't find anything in search that was helpful. I have a string returned from a solar inverter 1 1 EAB961770026 QRGQQBWVVXSTTVYP M11 17511-708R+17511-707R 11:45 20/…

---

## [Context value question](https://discourse.nodered.org/t/context-value-question/37755)

<div class="topic-metadata">

**Author:** [@gschmidt](https://discourse.nodered.org/u/gschmidt)\
**Replies:** 2\
**Last updated:** [20 December 2020 08:38 UTC](https://discourse.nodered.org/t/context-value-question/37755 "2020-12-20T08:38:43Z")

</div>

Hi, In a function node I store the "nvalue" of an On/Off switch (domoticz) in a context variable. This function node is part of a flow which turns a TV on/off if the Switch is turned On/Off. if (msg.payload.idx == '35…

---

## [Get node-red-contrib-persist to restore chart](https://discourse.nodered.org/t/get-node-red-contrib-persist-to-restore-chart/37776)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 7\
**Last updated:** [19 December 2020 23:44 UTC](https://discourse.nodered.org/t/get-node-red-contrib-persist-to-restore-chart/37776 "2020-12-19T23:44:54Z")

</div>

@DeanC Thank you for your persist nodes! I have read through the documentation many times and tried a number of different configurations to get one of my UI charts to restore after a reboot/refresh, but so far to no ava…

---

## [Function inserts '\[object Object\]' instead of it´s payload](https://discourse.nodered.org/t/function-inserts-object-object-instead-of-it-s-payload/37777)

<div class="topic-metadata">

**Author:** [@oma](https://discourse.nodered.org/u/oma)\
**Replies:** 2\
**Last updated:** [19 December 2020 23:00 UTC](https://discourse.nodered.org/t/function-inserts-object-object-instead-of-it-s-payload/37777 "2020-12-19T23:00:22Z")

</div>

Hi there, for whatever reason i fail inserting the value of a msg object into a topic - he only shows '\[object Object\]': I assume the error is within the "MakeSQL" function: var temp = {payload: msg.payload.temperat…

---

## [Cannot connect to MQTT broker on local network](https://discourse.nodered.org/t/cannot-connect-to-mqtt-broker-on-local-network/37743)

<div class="topic-metadata">

**Author:** [@crustaceanhate](https://discourse.nodered.org/u/crustaceanhate)\
**Replies:** 14\
**Last updated:** [19 December 2020 22:15 UTC](https://discourse.nodered.org/t/cannot-connect-to-mqtt-broker-on-local-network/37743 "2020-12-19T22:15:33Z")

</div>

Hey everybody, I currently have node-red running on a Raspberry Pi Zero and so far it's been great, but I've been running into some issues connecting to an MQTT broker on my lan. I have Mosquitto v1.6.7 running on a Fre…

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

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