# Latest

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

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

**Page:** 1031

---

## [How to control a Brushless DC Motor?](https://discourse.nodered.org/t/how-to-control-a-brushless-dc-motor/30306)

<div class="topic-metadata">

**Author:** [@brunozanardi](https://discourse.nodered.org/u/brunozanardi)\
**Replies:** 19\
**Last updated:** [28 July 2020 23:32 UTC](https://discourse.nodered.org/t/how-to-control-a-brushless-dc-motor/30306 "2020-07-28T23:32:56Z")

</div>

Hello group, I'm trying to control a Brushless DC motor with a ESC using Node Red in my Raspberry Pi 3b+, but until now I've not been sucessfull :disappointed\_relieved: My node is very simple, only a PWM output to a Ra…

---

## [Light Scheduler - Schedule not selectable](https://discourse.nodered.org/t/light-scheduler-schedule-not-selectable/30779)

<div class="topic-metadata">

**Author:** [@renecloosterman](https://discourse.nodered.org/u/renecloosterman)\
**Replies:** 6\
**Last updated:** [28 July 2020 17:58 UTC](https://discourse.nodered.org/t/light-scheduler-schedule-not-selectable/30779 "2020-07-28T17:58:47Z")

</div>

Hi, I noticed that i cannot select a scedule anymore. Normally just drag and drop active times, but now i cant select anything anymore. Tried Chrome and Edge, both same problem. Anyone else this problem? Regards, …

---

## [Disable errors? (or one specific one at least)](https://discourse.nodered.org/t/disable-errors-or-one-specific-one-at-least/30833)

<div class="topic-metadata">

**Author:** [@evane241](https://discourse.nodered.org/u/evane241)\
**Replies:** 1\
**Last updated:** [28 July 2020 17:05 UTC](https://discourse.nodered.org/t/disable-errors-or-one-specific-one-at-least/30833 "2020-07-28T17:05:39Z")

</div>

New to NodeRed but find it absolutely beautiful so far. This has been bugging me however, and I can't seem to get it to stop.. I think this is just a side-effect of selecting "a parsed JSON object" for the type of Output…

---

## [Proper way of including variable in msg.payload](https://discourse.nodered.org/t/proper-way-of-including-variable-in-msg-payload/30829)

<div class="topic-metadata">

**Author:** [@eibyer\_nr](https://discourse.nodered.org/u/eibyer_nr)\
**Replies:** 1\
**Last updated:** [28 July 2020 15:25 UTC](https://discourse.nodered.org/t/proper-way-of-including-variable-in-msg-payload/30829 "2020-07-28T15:25:11Z")

</div>

Do I have this formatted correctly? I'm using http request node to hit an endpoint with the data payload. msg.payload = \`\`{ "data": {{mac1Status}, {mac2Status}, {mac3Status}, {mac4Status}} }\`; return msg; Note: There'…

---

## [Simple read from i2c device?](https://discourse.nodered.org/t/simple-read-from-i2c-device/30830)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 0\
**Last updated:** [28 July 2020 14:48 UTC](https://discourse.nodered.org/t/simple-read-from-i2c-device/30830 "2020-07-28T14:48:59Z")

</div>

I think I am missing some thing basic here, I have si7021 sensor, the various node js modules are all very old and can't be used with NR, or so has been my experience. So, I figure why not try using i2c-bus? This senso…

---

## [Time out OPC UA Server](https://discourse.nodered.org/t/time-out-opc-ua-server/30548)

<div class="topic-metadata">

**Author:** [@roberto](https://discourse.nodered.org/u/roberto)\
**Replies:** 3\
**Last updated:** [28 July 2020 14:23 UTC](https://discourse.nodered.org/t/time-out-opc-ua-server/30548 "2020-07-28T14:23:52Z")

</div>

Hi, I get an OPC UA connection error if I try to connect to OPC UA Server: OPC UA connection error: The connection has been rejected by server, Please check that client certificate is trusted by server. Err = (Transact…

---

## [Cannot run install script](https://discourse.nodered.org/t/cannot-run-install-script/30688)

<div class="topic-metadata">

**Author:** [@mrohner](https://discourse.nodered.org/u/mrohner)\
**Replies:** 9\
**Last updated:** [28 July 2020 13:14 UTC](https://discourse.nodered.org/t/cannot-run-install-script/30688 "2020-07-28T13:14:09Z")

</div>

I try to use suggested install script: bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) The commend returned: -sh: 8: Syntax error: "(" unexpected This…

---

## [Video on Dashboard](https://discourse.nodered.org/t/video-on-dashboard/30824)

<div class="topic-metadata">

**Author:** [@meakash](https://discourse.nodered.org/u/meakash)\
**Replies:** 1\
**Last updated:** [28 July 2020 13:11 UTC](https://discourse.nodered.org/t/video-on-dashboard/30824 "2020-07-28T13:11:03Z")

</div>

I need to play a video from Youtube or Google Drive or Local Storage after a trigger. Please if anyone can suggest how to do this it would be a great help. I have tried using the UI\_template Node and the UI\_Media Node…

---

## [PiFace\_LCD node - really need help understanding why things are happening](https://discourse.nodered.org/t/piface-lcd-node-really-need-help-understanding-why-things-are-happening/30803)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [28 July 2020 09:53 UTC](https://discourse.nodered.org/t/piface-lcd-node-really-need-help-understanding-why-things-are-happening/30803 "2020-07-28T09:53:35Z")

</div>

This is a whole new take on my other post about PiFace CAD hat. This is more about the actual node. The node code But I have modified it for reasons I hope to explain shortly. So I am nearly making a node. But I do…

---

## ["Have a MPL115A2 Sensor? And..."](https://discourse.nodered.org/t/have-a-mpl115a2-sensor-and/30809)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 0\
**Last updated:** [28 July 2020 02:37 UTC](https://discourse.nodered.org/t/have-a-mpl115a2-sensor-and/30809 "2020-07-28T02:37:56Z")

</div>

Well, every single node module I found for node.js or NR that supports the MPL115A2 sensor chip, is either very old and broken over time, fails to compile, and/or seems to refuse to load into npm, etc. Moreover, the MPL…

---

## [Updating Documentation to match with Node-RED 1.1 and above features](https://discourse.nodered.org/t/updating-documentation-to-match-with-node-red-1-1-and-above-features/30651)

<div class="topic-metadata">

**Author:** [@gauravdasgupta](https://discourse.nodered.org/u/gauravdasgupta)\
**Replies:** 2\
**Last updated:** [28 July 2020 05:02 UTC](https://discourse.nodered.org/t/updating-documentation-to-match-with-node-red-1-1-and-above-features/30651 "2020-07-28T05:02:04Z")

</div>

Hi All, I am doing some explorations with Node-RED and in the process I observed that some places the documentation doesn't match with today's position of Node-RED. For instance check the screenshot, the docs for enabli…

---

## [Trying to understand why PCF8574 model is trying to compile old version of epoll?](https://discourse.nodered.org/t/trying-to-understand-why-pcf8574-model-is-trying-to-compile-old-version-of-epoll/30794)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [28 July 2020 02:44 UTC](https://discourse.nodered.org/t/trying-to-understand-why-pcf8574-model-is-trying-to-compile-old-version-of-epoll/30794 "2020-07-28T02:44:58Z")

</div>

I am trying to load the PCF8574 module for NR. It is ancient so not surprised I am running into issues. But one specific issue, has me... confused I guess. I explicitly loaded the latest version of the dependencies fo…

---

## [Cloning Repositories not working](https://discourse.nodered.org/t/cloning-repositories-not-working/17008)

<div class="topic-metadata">

**Author:** [@GregorR1](https://discourse.nodered.org/u/GregorR1)\
**Replies:** 1\
**Last updated:** [27 July 2020 22:28 UTC](https://discourse.nodered.org/t/cloning-repositories-not-working/17008 "2020-07-27T22:28:56Z")

</div>

Hi, I've set up node-red on my Windows machine and am now trying to clone my GitHub repositories using the projects feature. The issue I'm getting is that if I try to use the "git@github.com:username/repo" URL I'm getti…

---

## [Integer to time (HH:MM:SS)](https://discourse.nodered.org/t/integer-to-time-hhss/13424)

<div class="topic-metadata">

**Author:** [@HakanBodin](https://discourse.nodered.org/u/HakanBodin)\
**Replies:** 6\
**Last updated:** [19 July 2019 14:49 UTC](https://discourse.nodered.org/t/integer-to-time-hhss/13424 "2019-07-19T14:49:45Z")

</div>

I have an integer that I want to convert into time(HH:MM:SS) It's a countdown timer (in seconds) from 24 hours == 86400 seconds to zero, and I've tried to do this in a function block, but don't get it correct! Grateful …

---

## [Flow library markdown](https://discourse.nodered.org/t/flow-library-markdown/30789)

<div class="topic-metadata">

**Author:** [@lodegaard](https://discourse.nodered.org/u/lodegaard)\
**Replies:** 5\
**Last updated:** [27 July 2020 20:32 UTC](https://discourse.nodered.org/t/flow-library-markdown/30789 "2020-07-27T20:32:32Z")

</div>

I just uploaded a node to the library, and for the most part it works like a charm: https://flows.nodered.org/node/node-red-contrib-scinan However, the markdown in README from github doesn't seem to be rendered correctl…

---

## [Chart with one two-color line (battery charging)](https://discourse.nodered.org/t/chart-with-one-two-color-line-battery-charging/30783)

<div class="topic-metadata">

**Author:** [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Replies:** 1\
**Last updated:** [27 July 2020 19:26 UTC](https://discourse.nodered.org/t/chart-with-one-two-color-line-battery-charging/30783 "2020-07-27T19:26:59Z")

</div>

Hi! I want to display a chart which shows the (dis-)charging of the battery of my (Linux) notebook as xx% full. I'm filling the chart with a function node. BTW: I get the result from a exec node, which calls acpi -b…

---

## [When disableEditor is true, and I use a Custom Authentication Token, Node-Red Admin API method "settings" fails to work](https://discourse.nodered.org/t/when-disableeditor-is-true-and-i-use-a-custom-authentication-token-node-red-admin-api-method-settings-fails-to-work/30786)

<div class="topic-metadata">

**Author:** [@sebascarra](https://discourse.nodered.org/u/sebascarra)\
**Replies:** 0\
**Last updated:** [27 July 2020 18:50 UTC](https://discourse.nodered.org/t/when-disableeditor-is-true-and-i-use-a-custom-authentication-token-node-red-admin-api-method-settings-fails-to-work/30786 "2020-07-27T18:50:06Z")

</div>

Please take a look at the following Github issue. Any feedback is appreciated. https://github.com/node-red/node-red/issues/2662

---

## [Convert buffer to uInt8array](https://discourse.nodered.org/t/convert-buffer-to-uint8array/30770)

<div class="topic-metadata">

**Author:** [@vmoscolini](https://discourse.nodered.org/u/vmoscolini)\
**Replies:** 5\
**Last updated:** [27 July 2020 17:14 UTC](https://discourse.nodered.org/t/convert-buffer-to-uint8array/30770 "2020-07-27T17:14:01Z")

</div>

Hi guys, I am using node-red to implement an ap and I am racking my brains to figure out how to a buffer to uint8array (I am not sure that is that type). The node "jimp-image" of module "node-red-contrib-image-tools" o…

---

## [Display multiple group names or groups below each other](https://discourse.nodered.org/t/display-multiple-group-names-or-groups-below-each-other/17443)

<div class="topic-metadata">

**Author:** [@Mavericklp](https://discourse.nodered.org/u/Mavericklp)\
**Replies:** 1\
**Last updated:** [27 July 2020 16:17 UTC](https://discourse.nodered.org/t/display-multiple-group-names-or-groups-below-each-other/17443 "2020-07-27T16:17:04Z")

</div>

Hi, I want to show 2 groups below each other. Since I have not yet found a way to do this, I would also like to have a fixed text ad. As 2nd heading in a group. That is what is look at the moment That is what i wa…

---

## [Node-red-contrib-sonos-plus (4.1.0) How can I play an imported Playlist](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-4-1-0-how-can-i-play-an-imported-playlist/30758)

<div class="topic-metadata">

**Author:** [@Eberhard](https://discourse.nodered.org/u/Eberhard)\
**Replies:** 4\
**Last updated:** [27 July 2020 16:07 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-4-1-0-how-can-i-play-an-imported-playlist/30758 "2020-07-27T16:07:12Z")

</div>

All my CDs have an RFID-Card inside. They are controlled(played) by the UID on the card. Every CD has its own playlist in a special folder on a NAS. The playlists looks like "14-18-170-209.m3u". Therefore the playlists U…

---

## [Need Help with Making a Countdown Timer Display](https://discourse.nodered.org/t/need-help-with-making-a-countdown-timer-display/30387)

<div class="topic-metadata">

**Author:** [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Replies:** 56\
**Last updated:** [27 July 2020 16:00 UTC](https://discourse.nodered.org/t/need-help-with-making-a-countdown-timer-display/30387 "2020-07-27T16:00:38Z")

</div>

Hi. I want to use a dropdown for users to select the time amount. Then, I want to display that on the UI, while it is counting down. I was thinking of after selecting a time amount from the menu, the user could press a b…

---

## [Sending data to a Rest API](https://discourse.nodered.org/t/sending-data-to-a-rest-api/30774)

<div class="topic-metadata">

**Author:** [@DanielBerith](https://discourse.nodered.org/u/DanielBerith)\
**Replies:** 9\
**Last updated:** [27 July 2020 14:49 UTC](https://discourse.nodered.org/t/sending-data-to-a-rest-api/30774 "2020-07-27T14:49:39Z")

</div>

Good day, I hope you are doing well, i'm trying to send data to a Rest API, that i have created using node.js and express. i am using the post request, i'm new to node-red, the GET request work fine but i'm kinda stuc…

---

## [Unknown system error -122](https://discourse.nodered.org/t/unknown-system-error-122/30670)

<div class="topic-metadata">

**Author:** [@m\_elias](https://discourse.nodered.org/u/m_elias)\
**Replies:** 6\
**Last updated:** [27 July 2020 14:25 UTC](https://discourse.nodered.org/t/unknown-system-error-122/30670 "2020-07-27T14:25:34Z")

</div>

I recently updated Node Red to ver 1.1.2 and updated all the nodes in my palette. The VM has been rebooted since then and Node-Red has been restarted. Today I was happily working on a new flow (no new node types, only in…

---

## [🎉 Node-RED 1.1.2 released](https://discourse.nodered.org/t/node-red-1-1-2-released/29872)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 16\
**Last updated:** [27 July 2020 13:02 UTC](https://discourse.nodered.org/t/node-red-1-1-2-released/29872 "2020-07-27T13:02:37Z")

</div>

Just when you thought it was the weekend... along comes a surprise Node-RED release. This release fixes the scrolling issues on iOS. It also fixes a few other usability issues on touch screens in general: the workspac…

---

## [App.min.js:148 TypeError: Cannot read property 'themeState' of undefined](https://discourse.nodered.org/t/app-min-js-148-typeerror-cannot-read-property-themestate-of-undefined/28343)

<div class="topic-metadata">

**Author:** [@shrey.garg](https://discourse.nodered.org/u/shrey.garg)\
**Replies:** 21\
**Last updated:** [27 July 2020 12:38 UTC](https://discourse.nodered.org/t/app-min-js-148-typeerror-cannot-read-property-themestate-of-undefined/28343 "2020-07-27T12:38:23Z")

</div>

Hi, I am trying to embed the node-red app into an existing app using this doc. I have created a file according to the official doc. Now I want to inject a flow and see its dashboard. var http = require('http'); var ex…

---

## [Arr.flat() method](https://discourse.nodered.org/t/arr-flat-method/30764)

<div class="topic-metadata">

**Author:** [@efratha94](https://discourse.nodered.org/u/efratha94)\
**Replies:** 4\
**Last updated:** [27 July 2020 12:00 UTC](https://discourse.nodered.org/t/arr-flat-method/30764 "2020-07-27T12:00:40Z")

</div>

Hi, After struggling with parsing nested arrays and objects, I thought it would be nice if the JS arr.flat() method could work in Node-Red too. Thanks,

---

## [Sending msg.payload after Countdown](https://discourse.nodered.org/t/sending-msg-payload-after-countdown/30622)

<div class="topic-metadata">

**Author:** [@Andreas703](https://discourse.nodered.org/u/Andreas703)\
**Replies:** 11\
**Last updated:** [27 July 2020 11:53 UTC](https://discourse.nodered.org/t/sending-msg-payload-after-countdown/30622 "2020-07-27T11:53:51Z")

</div>

Hi, I am not good at Angular JS. I am trying to send an msg.payload after an countdown, see the code below. \<script\> var myTimer; function clock() { var myTimer = setInterval(myClock, 1000); …

---

## [Store flows in ibm cloudant](https://discourse.nodered.org/t/store-flows-in-ibm-cloudant/30610)

<div class="topic-metadata">

**Author:** [@emicjed](https://discourse.nodered.org/u/emicjed)\
**Replies:** 5\
**Last updated:** [27 July 2020 11:27 UTC](https://discourse.nodered.org/t/store-flows-in-ibm-cloudant/30610 "2020-07-27T11:27:21Z")

</div>

Hello, I am looking for advice on how to save files with flow created locally in cloudant, I tried to connect the cludant to my project, I was able to do it, unfortunately when deploying files are not transferred to the …

---

## [Help with what I am seeing going through \`template\` node](https://discourse.nodered.org/t/help-with-what-i-am-seeing-going-through-template-node/30760)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 11\
**Last updated:** [27 July 2020 09:43 UTC](https://discourse.nodered.org/t/help-with-what-i-am-seeing-going-through-template-node/30760 "2020-07-27T09:43:07Z")

</div>

(NOT the GUI one) This is the code: \[{"id":"46f61a5c.0b4104","type":"inject","z":"280a6f57.28406","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y"…

---

## [Making a simple cloning node](https://discourse.nodered.org/t/making-a-simple-cloning-node/17143)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 16\
**Last updated:** [27 July 2020 09:29 UTC](https://discourse.nodered.org/t/making-a-simple-cloning-node/17143 "2020-07-27T09:29:07Z")

</div>

Following this discussion I'm thinking of making a simple contrib node to let users make a copy of an object e.g msg/flow/global.xxx to msg/flow/global.yyy (I searched for clone and copy in the palette and didn't fin…

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

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