# Latest

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

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

**Page:** 723

---

## [Transform array in Function](https://discourse.nodered.org/t/transform-array-in-function/51809)

<div class="topic-metadata">

**Author:** [@rploeg](https://discourse.nodered.org/u/rploeg)\
**Replies:** 10\
**Last updated:** [4 October 2021 06:36 UTC](https://discourse.nodered.org/t/transform-array-in-function/51809 "2021-10-04T06:36:34Z")

</div>

Hello, I am trying to convert an array to send the item as a number to an API. I get the data from a Modbus connector and receive it this way: I have tried several functions to get the data point (509) and send it as…

---

## [Margin between two widgets inside a group](https://discourse.nodered.org/t/margin-between-two-widgets-inside-a-group/51760)

<div class="topic-metadata">

**Author:** [@wolke](https://discourse.nodered.org/u/wolke)\
**Replies:** 5\
**Last updated:** [4 October 2021 03:53 UTC](https://discourse.nodered.org/t/margin-between-two-widgets-inside-a-group/51760 "2021-10-04T03:53:44Z")

</div>

Hi, I would like to reduce the vertical margin between two widgets inside a group. I would like to solve it with some "template.node" and "margin-top" property for example. But i don't know how to script the template-…

---

## [More "problems" with \`chart\` node. Times](https://discourse.nodered.org/t/more-problems-with-chart-node-times/51812)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [4 October 2021 00:41 UTC](https://discourse.nodered.org/t/more-problems-with-chart-node-times/51812 "2021-10-04T00:41:15Z")

</div>

Until the other day when I had to power cycle it, things were working fine. Then after booting the chart node/s are not working. Where as before I got the time line along the bottom. Now I am not seeing it. It is st…

---

## [Uncaught exception in node red dashboard (ui\_dropdown)](https://discourse.nodered.org/t/uncaught-exception-in-node-red-dashboard-ui-dropdown/51805)

<div class="topic-metadata">

**Author:** [@bart](https://discourse.nodered.org/u/bart)\
**Replies:** 7\
**Last updated:** [4 October 2021 00:16 UTC](https://discourse.nodered.org/t/uncaught-exception-in-node-red-dashboard-ui-dropdown/51805 "2021-10-04T00:16:39Z")

</div>

Hi! I found bug in ui\_dropdown. It crashes server. Windows 10! Inkednodered\_error\_LI|690x176 Please fix it ! :frowning: Thank you!

---

## [Generate flow from code](https://discourse.nodered.org/t/generate-flow-from-code/51787)

<div class="topic-metadata">

**Author:** [@p1swk](https://discourse.nodered.org/u/p1swk)\
**Replies:** 3\
**Last updated:** [3 October 2021 23:15 UTC](https://discourse.nodered.org/t/generate-flow-from-code/51787 "2021-10-03T23:15:54Z")

</div>

Node-RED creates code from a flow. Is there a way to generate flow from code? This would help me convert a teensy 3.1 routine to tennsy 4.0

---

## [Wired ESP32 (ethernet)](https://discourse.nodered.org/t/wired-esp32-ethernet/51811)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 1\
**Last updated:** [3 October 2021 21:50 UTC](https://discourse.nodered.org/t/wired-esp32-ethernet/51811 "2021-10-03T21:50:13Z")

</div>

Hi folks, While most people love to use wireless modules, I am quite the opposite of that. If I can install a wire (to avoid wireless troubles and batteries), then I will do it. That is why they call me the "cable guy…

---

## [Search in a Json with two criteria](https://discourse.nodered.org/t/search-in-a-json-with-two-criteria/51807)

<div class="topic-metadata">

**Author:** [@zamzon](https://discourse.nodered.org/u/zamzon)\
**Replies:** 4\
**Last updated:** [3 October 2021 20:55 UTC](https://discourse.nodered.org/t/search-in-a-json-with-two-criteria/51807 "2021-10-03T20:55:38Z")

</div>

Hi I need help searching in a json file where two criteria must be met before proceeding I need it to proceed when only Device\_code and box\_number is the same, as it is now it proceed when only the box\_number is meth a…

---

## [Truenas jail to notify node-red](https://discourse.nodered.org/t/truenas-jail-to-notify-node-red/51799)

<div class="topic-metadata">

**Author:** [@aihysp](https://discourse.nodered.org/u/aihysp)\
**Replies:** 0\
**Last updated:** [3 October 2021 12:26 UTC](https://discourse.nodered.org/t/truenas-jail-to-notify-node-red/51799 "2021-10-03T12:26:09Z")

</div>

Hello i am trying to do a small telegram flow that will... once a download is completed on torrent jail on truenas i will send a msg to node-red i have tried... send mqtt from console , but i am not able to find mo…

---

## [MODBUS connection problems](https://discourse.nodered.org/t/modbus-connection-problems/51786)

<div class="topic-metadata">

**Author:** [@blunoz](https://discourse.nodered.org/u/blunoz)\
**Replies:** 3\
**Last updated:** [3 October 2021 12:05 UTC](https://discourse.nodered.org/t/modbus-connection-problems/51786 "2021-10-03T12:05:26Z")

</div>

I've got a problem connecting to a Modbus device using the Modbus Getter modules of node-red-contrib-modbus https://github.com/BiancoRoyal/node-red-contrib-modbus I have tested the device with a USB RS485 interface to c…

---

## [Nibe Uplink API (Oauth2)](https://discourse.nodered.org/t/nibe-uplink-api-oauth2/51076)

<div class="topic-metadata">

**Author:** [@smort](https://discourse.nodered.org/u/smort)\
**Replies:** 1\
**Last updated:** [3 October 2021 09:12 UTC](https://discourse.nodered.org/t/nibe-uplink-api-oauth2/51076 "2021-10-03T09:12:10Z")

</div>

Have anyone had success talking to the Nibe Uplink API with Node red?

---

## [Docker/Portainer gives Error: EACCES: permission denied, copyfile -\> '/data/settings.js'](https://discourse.nodered.org/t/docker-portainer-gives-error-eacces-permission-denied-copyfile-data-settings-js/51797)

<div class="topic-metadata">

**Author:** [@Nap](https://discourse.nodered.org/u/Nap)\
**Replies:** 2\
**Last updated:** [3 October 2021 09:03 UTC](https://discourse.nodered.org/t/docker-portainer-gives-error-eacces-permission-denied-copyfile-data-settings-js/51797 "2021-10-03T09:03:31Z")

</div>

I am trying to install Node-RED using Docker/Portainer on my Pi4 running Raspbian but I'm getting permission errors when the container starts up. From the error message, this is a permission problem. I have tried creat…

---

## [Philips HUE return lux](https://discourse.nodered.org/t/philips-hue-return-lux/51794)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 4\
**Last updated:** [3 October 2021 08:56 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794 "2021-10-03T08:56:04Z")

</div>

Hello I am communicating to my philips HUE sensor via node-red -\> Conbee II. My flow simply uses it to turn a light on the room. It works very well but I only want this thing to trigger the light when its dark (no dayli…

---

## [Dashboard of sticky notes](https://discourse.nodered.org/t/dashboard-of-sticky-notes/51790)

<div class="topic-metadata">

**Author:** [@olab](https://discourse.nodered.org/u/olab)\
**Replies:** 6\
**Last updated:** [3 October 2021 08:42 UTC](https://discourse.nodered.org/t/dashboard-of-sticky-notes/51790 "2021-10-03T08:42:34Z")

</div>

Hi, I need to create a dashboard containing a illusion of sticky notes. Number of notes will be variable and will contain at mix of text, dates and status. The status value will set the background color of the note. It…

---

## [How to detect specific dates (daylight savings) with cron+ node](https://discourse.nodered.org/t/how-to-detect-specific-dates-daylight-savings-with-cron-node/51793)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [3 October 2021 08:19 UTC](https://discourse.nodered.org/t/how-to-detect-specific-dates-daylight-savings-with-cron-node/51793 "2021-10-03T08:19:32Z")

</div>

I know it should be easy, but I'm not that smart. I want to get cron+ (as an example) to tell me when 2 events happen. Daylight Savings - Start and Daylight Savings - End Starting: 02:00 First Sunday of October. En…

---

## [Doorbell with node red](https://discourse.nodered.org/t/doorbell-with-node-red/51779)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 2\
**Last updated:** [3 October 2021 07:15 UTC](https://discourse.nodered.org/t/doorbell-with-node-red/51779 "2021-10-03T07:15:32Z")

</div>

Hello I am looking for a doorbell that will integrate with node red. I know a few of them integrate with node red via home assistant, but I'd prefer to not use home assistant if possible. I'd also like the doorbell to …

---

## [Duplicate flow multiple times](https://discourse.nodered.org/t/duplicate-flow-multiple-times/51567)

<div class="topic-metadata">

**Author:** [@bar-shiratech](https://discourse.nodered.org/u/bar-shiratech)\
**Replies:** 8\
**Last updated:** [3 October 2021 04:33 UTC](https://discourse.nodered.org/t/duplicate-flow-multiple-times/51567 "2021-10-03T04:33:55Z")

</div>

Hi All, I have written a flow (attached is a shorter flow than mine, but it is the same) and I would like to duplicate this flow N times, at the request of the user I receive from the HTTP request node. Since I have a T…

---

## [Can't import demo examples for node-red-contrib-homekit-bridged](https://discourse.nodered.org/t/cant-import-demo-examples-for-node-red-contrib-homekit-bridged/51630)

<div class="topic-metadata">

**Author:** [@pawihd](https://discourse.nodered.org/u/pawihd)\
**Replies:** 3\
**Last updated:** [3 October 2021 03:58 UTC](https://discourse.nodered.org/t/cant-import-demo-examples-for-node-red-contrib-homekit-bridged/51630 "2021-10-03T03:58:18Z")

</div>

Always get error message: type not recognized!? What can i do?

---

## [Switch node with loops until 1 of 2 conditions is met](https://discourse.nodered.org/t/switch-node-with-loops-until-1-of-2-conditions-is-met/51171)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 30\
**Last updated:** [3 October 2021 03:09 UTC](https://discourse.nodered.org/t/switch-node-with-loops-until-1-of-2-conditions-is-met/51171 "2021-10-03T03:09:33Z")

</div>

I have a dispensing system that uses a vibratory scale to "shake off" the material over a set period of time. The key is to know the initial weight of the scale in order to calculate how many kg were shaken off. I am e…

---

## ["http in" and "file out" nodes in a subflow](https://discourse.nodered.org/t/http-in-and-file-out-nodes-in-a-subflow/51784)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 0\
**Last updated:** [2 October 2021 23:36 UTC](https://discourse.nodered.org/t/http-in-and-file-out-nodes-in-a-subflow/51784 "2021-10-02T23:36:41Z")

</div>

Hello, I've been working today on integrating the w2ui grid library to Node-RED. I almost created a custom node for it but decided to go the subflow route. Link to Gist on GitHub: Overall, it was moderately painless,…

---

## [Ping node output type not consistent](https://discourse.nodered.org/t/ping-node-output-type-not-consistent/51783)

<div class="topic-metadata">

**Author:** [@hoolahoous](https://discourse.nodered.org/u/hoolahoous)\
**Replies:** 2\
**Last updated:** [2 October 2021 20:13 UTC](https://discourse.nodered.org/t/ping-node-output-type-not-consistent/51783 "2021-10-02T20:13:24Z")

</div>

When a ping node is used, if it is successful in pinging, it returns time (number) for ping, however if not it returns a boolean (false). So output is either a boolean or a number. That makes it bit cumbersome to proces…

---

## [Adjusting for timezone to display the time on an analogue clock](https://discourse.nodered.org/t/adjusting-for-timezone-to-display-the-time-on-an-analogue-clock/51780)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 5\
**Last updated:** [2 October 2021 19:16 UTC](https://discourse.nodered.org/t/adjusting-for-timezone-to-display-the-time-on-an-analogue-clock/51780 "2021-10-02T19:16:19Z")

</div>

Edit - "function node" and "template node" swapped over. If I use a function node I can adjust the UTC timestamp from new Date() to account for BST let d = new Date(); // eg 2021-10-02T14:11:3…

---

## [Node-Red DNS Resolution](https://discourse.nodered.org/t/node-red-dns-resolution/51781)

<div class="topic-metadata">

**Author:** [@chrismo16](https://discourse.nodered.org/u/chrismo16)\
**Replies:** 5\
**Last updated:** [2 October 2021 18:28 UTC](https://discourse.nodered.org/t/node-red-dns-resolution/51781 "2021-10-02T18:28:50Z")

</div>

I have NR running as an addon in HomeAssistant. I have a msg.payload.url that only works when I use the ip address instead of the hostname. How can I make sure NR is using my internal dns servers? I read elsewhere that a…

---

## [How to create msg keys?](https://discourse.nodered.org/t/how-to-create-msg-keys/51777)

<div class="topic-metadata">

**Author:** [@waquete](https://discourse.nodered.org/u/waquete)\
**Replies:** 12\
**Last updated:** [2 October 2021 15:04 UTC](https://discourse.nodered.org/t/how-to-create-msg-keys/51777 "2021-10-02T15:04:10Z")

</div>

Hi ! I have some trouble creating "sub-keys" in msg.payload. This is for telegram bot, I need: msg.payload.content msg.payload.chatId msg.payload.type I want to build the message in a function node. Sometime using…

---

## [Search for value in an array](https://discourse.nodered.org/t/search-for-value-in-an-array/51733)

<div class="topic-metadata">

**Author:** [@fabien](https://discourse.nodered.org/u/fabien)\
**Replies:** 9\
**Last updated:** [2 October 2021 14:14 UTC](https://discourse.nodered.org/t/search-for-value-in-an-array/51733 "2021-10-02T14:14:13Z")

</div>

hello, i am trying a quick and easy way to look up a value in an array. I know who he discussed several times on the forum on the subject, but I did not find my happiness. my array contains 2 columns and 38,000 rows. I…

---

## [Photo slide error](https://discourse.nodered.org/t/photo-slide-error/51774)

<div class="topic-metadata">

**Author:** [@bvt-events](https://discourse.nodered.org/u/bvt-events)\
**Replies:** 5\
**Last updated:** [2 October 2021 12:03 UTC](https://discourse.nodered.org/t/photo-slide-error/51774 "2021-10-02T12:03:22Z")

</div>

a good afternoon, I tried to soften the following flow in my dashboard. Dashboard slideshow gallery I only see that it changes with my photo that are in the folder, only I get no picture at all with dashboard. what's w…

---

## [What to use to play WAV files](https://discourse.nodered.org/t/what-to-use-to-play-wav-files/51681)

<div class="topic-metadata">

**Author:** [@mcdonald\_ajr](https://discourse.nodered.org/u/mcdonald_ajr)\
**Replies:** 4\
**Last updated:** [2 October 2021 11:39 UTC](https://discourse.nodered.org/t/what-to-use-to-play-wav-files/51681 "2021-10-02T11:39:35Z")

</div>

I am looking for a node that can play WAV files on multiple operating systems (linux, windows, mac). It would be good to have control over the volume too. This is more complex than it seems, as it would be good to have…

---

## [$.ajax is not including Bearer if called from HTML](https://discourse.nodered.org/t/ajax-is-not-including-bearer-if-called-from-html/51773)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 2\
**Last updated:** [2 October 2021 09:54 UTC](https://discourse.nodered.org/t/ajax-is-not-including-bearer-if-called-from-html/51773 "2021-10-02T09:54:38Z")

</div>

Hi I am working on some security updates, that involves locking down some RED.httpAdmin endpoints. RED.httpAdmin.get( '/zwave-js/cfg-version', RED.auth.needsPermission('flows.read'), function (req, res) { …

---

## [Dashboard layout editor ERROR](https://discourse.nodered.org/t/dashboard-layout-editor-error/51680)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 13\
**Last updated:** [2 October 2021 09:12 UTC](https://discourse.nodered.org/t/dashboard-layout-editor-error/51680 "2021-10-02T09:12:19Z")

</div>

After the update, I can no longer resize my layout. I tried in 3 different browsers.

---

## [Enigma2 Receiver Alexa](https://discourse.nodered.org/t/enigma2-receiver-alexa/51531)

<div class="topic-metadata">

**Author:** [@Rufus\_0815](https://discourse.nodered.org/u/Rufus_0815)\
**Replies:** 3\
**Last updated:** [2 October 2021 07:16 UTC](https://discourse.nodered.org/t/enigma2-receiver-alexa/51531 "2021-10-02T07:16:43Z")

</div>

Hi i own a Amazon Cube with Alexa and use it for little playings like my garden irrigation flow. Now I´m looking for a way to control my Gigablue Receiver (Enigma2 Box) with Alexa, just to mute, change volume and chann…

---

## [Express Server with embedded Node-RED Instance](https://discourse.nodered.org/t/express-server-with-embedded-node-red-instance/51752)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 1\
**Last updated:** [2 October 2021 03:48 UTC](https://discourse.nodered.org/t/express-server-with-embedded-node-red-instance/51752 "2021-10-02T03:48:27Z")

</div>

I'm currently preparing a set of Node-RED flows and use cases for my students in order to motivate and encourage them to invent and build web sites and REST services without having to know, learn and program much. As an…

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

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