# Latest

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

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

**Page:** 1006

---

## [Using an external JS library in function node, I'm sure it's easy](https://discourse.nodered.org/t/using-an-external-js-library-in-function-node-im-sure-its-easy/32481)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 20\
**Last updated:** [6 September 2020 15:09 UTC](https://discourse.nodered.org/t/using-an-external-js-library-in-function-node-im-sure-its-easy/32481 "2020-09-06T15:09:35Z")

</div>

Further to this post, can someone help me use momentJS in a function node? Sorry I need a bit of hand holding on this, so if anyone could spell it out for me, that would be most appreciated. Here's what I have done so f…

---

## [Select part of the msg.payload properties](https://discourse.nodered.org/t/select-part-of-the-msg-payload-properties/32480)

<div class="topic-metadata">

**Author:** [@Carbar](https://discourse.nodered.org/u/Carbar)\
**Replies:** 5\
**Last updated:** [6 September 2020 11:13 UTC](https://discourse.nodered.org/t/select-part-of-the-msg-payload-properties/32480 "2020-09-06T11:13:26Z")

</div>

From the msg.payload that I previously filtered I am only interested in the properties name and biography. In a Change node I have made three deletes of the properties that don't interest me but it doesn't work. How can …

---

## [Null instead of undefined](https://discourse.nodered.org/t/null-instead-of-undefined/32490)

<div class="topic-metadata">

**Author:** [@Daneev](https://discourse.nodered.org/u/Daneev)\
**Replies:** 23\
**Last updated:** [6 September 2020 10:25 UTC](https://discourse.nodered.org/t/null-instead-of-undefined/32490 "2020-09-06T10:25:09Z")

</div>

Good day. const set = \[ \]; set.push (undefined) msg.payload = \[... set\]; return msg; the result is null msg.payload: array \[1\] \[null\] Why not undefined? The same code in the browser: const set = \[ \]; set.pus…

---

## [How to connect server using sftp node](https://discourse.nodered.org/t/how-to-connect-server-using-sftp-node/32488)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 10\
**Last updated:** [6 September 2020 10:08 UTC](https://discourse.nodered.org/t/how-to-connect-server-using-sftp-node/32488 "2020-09-06T10:08:10Z")

</div>

I would like to get the file from the server using sftp in Node-RED, so I installed XAMPP as the file server. After installing XAMPP, I configured FileZilla to port 22 and set the username and password. I used the…

---

## [Global set objects from csv Rows of configuration file](https://discourse.nodered.org/t/global-set-objects-from-csv-rows-of-configuration-file/32479)

<div class="topic-metadata">

**Author:** [@Letis009](https://discourse.nodered.org/u/Letis009)\
**Replies:** 5\
**Last updated:** [6 September 2020 09:43 UTC](https://discourse.nodered.org/t/global-set-objects-from-csv-rows-of-configuration-file/32479 "2020-09-06T09:43:39Z")

</div>

I am sure this is a basic coding principle but i am unable to find a forum thread for the problem I receive (tcp) data with a device number and need to correlate it to an ip and a name We want to load the parameters to…

---

## [Delay command until the top of the minute](https://discourse.nodered.org/t/delay-command-until-the-top-of-the-minute/32487)

<div class="topic-metadata">

**Author:** [@martin8094](https://discourse.nodered.org/u/martin8094)\
**Replies:** 7\
**Last updated:** [6 September 2020 09:24 UTC](https://discourse.nodered.org/t/delay-command-until-the-top-of-the-minute/32487 "2020-09-06T09:24:08Z")

</div>

Hi, I need to sync a command on multiple raspberry pis running node red. Currently all the pis are connected to the internet and sync with a NTP clock (I am using the node which shows the time on the dashboard top right …

---

## [Display MQTT data in Table](https://discourse.nodered.org/t/display-mqtt-data-in-table/32492)

<div class="topic-metadata">

**Author:** [@88bit](https://discourse.nodered.org/u/88bit)\
**Replies:** 1\
**Last updated:** [6 September 2020 06:45 UTC](https://discourse.nodered.org/t/display-mqtt-data-in-table/32492 "2020-09-06T06:45:41Z")

</div>

Hi all I getting data from a MQTT Broker and try to display them in a table using the dashboard table ui\_table. I convert the incoming into a json object. {"time":"2020-09-06T05:26:53Z","local":"30:AE:A4:9D:59:30","mac"…

---

## [Media source extension video player for live streaming mp4](https://discourse.nodered.org/t/media-source-extension-video-player-for-live-streaming-mp4/31958)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 61\
**Last updated:** [5 September 2020 21:58 UTC](https://discourse.nodered.org/t/media-source-extension-video-player-for-live-streaming-mp4/31958 "2020-09-05T21:58:44Z")

</div>

I am in need of development recommendations for making a node video player based on media source extensions (similar to what hls.js uses). What I know: I can make a very basic node, e.g. node-red-contrib-pipe2jpeg I h…

---

## [Groups of nodes freeze](https://discourse.nodered.org/t/groups-of-nodes-freeze/32482)

<div class="topic-metadata">

**Author:** [@sdalee](https://discourse.nodered.org/u/sdalee)\
**Replies:** 2\
**Last updated:** [5 September 2020 20:55 UTC](https://discourse.nodered.org/t/groups-of-nodes-freeze/32482 "2020-09-05T20:55:54Z")

</div>

Hi, Sometimes (quite often), when I'd like to move a node of group (new property of node-red) the browser window is frozen and after I have to close and reopen node-red browser window. What's the problem? (I use the la…

---

## [Keeping flows with hostname change?](https://discourse.nodered.org/t/keeping-flows-with-hostname-change/32474)

<div class="topic-metadata">

**Author:** [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Replies:** 13\
**Last updated:** [5 September 2020 19:37 UTC](https://discourse.nodered.org/t/keeping-flows-with-hostname-change/32474 "2020-09-05T19:37:16Z")

</div>

I clone a fair number of systems running my AI person detector. That part is easy, but when I change the hostname and reboot, I lose the running flow. Any easy solution? I tried renaming the flows\_hostname.json file b…

---

## [Modbus read node dynamic configuration](https://discourse.nodered.org/t/modbus-read-node-dynamic-configuration/31789)

<div class="topic-metadata">

**Author:** [@tjuarez](https://discourse.nodered.org/u/tjuarez)\
**Replies:** 5\
**Last updated:** [5 September 2020 17:12 UTC](https://discourse.nodered.org/t/modbus-read-node-dynamic-configuration/31789 "2020-09-05T17:12:03Z")

</div>

Hello everyone! My english is not really good, so forgive me if I'm not clear enough. Main question is: is it possible to set the modbus read configuration dynamically? I have a modbus read node which connects to an …

---

## [UIBuilder Bootstrap-Vue Question](https://discourse.nodered.org/t/uibuilder-bootstrap-vue-question/32462)

<div class="topic-metadata">

**Author:** [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Replies:** 2\
**Last updated:** [5 September 2020 17:04 UTC](https://discourse.nodered.org/t/uibuilder-bootstrap-vue-question/32462 "2020-09-05T17:04:12Z")

</div>

I am working my way through the Bootstrap-Vue documentation since that is installed by default with uibuilder and seems like a reasonable framework to become familar with. Going through the various components and getting…

---

## [Gmail error rsa key](https://discourse.nodered.org/t/gmail-error-rsa-key/32476)

<div class="topic-metadata">

**Author:** [@rene\_1](https://discourse.nodered.org/u/rene_1)\
**Replies:** 0\
**Last updated:** [5 September 2020 14:22 UTC](https://discourse.nodered.org/t/gmail-error-rsa-key/32476 "2020-09-05T14:22:13Z")

</div>

Hi, As a test I tryed to send the current waether to my personal account on gmail. The following error occurs: 5 Sep 15:26:35 - \[error\] \[e-mail:my\_account@gmail.com\] Error: 1996451840:error:0607907F:digital envelope r…

---

## [Resolving git merge conflicts for flow.json](https://discourse.nodered.org/t/resolving-git-merge-conflicts-for-flow-json/32472)

<div class="topic-metadata">

**Author:** [@mannharleen](https://discourse.nodered.org/u/mannharleen)\
**Replies:** 0\
**Last updated:** [5 September 2020 13:36 UTC](https://discourse.nodered.org/t/resolving-git-merge-conflicts-for-flow-json/32472 "2020-09-05T13:36:16Z")

</div>

Typically, more than one of us are working on the same project 'locally'. We would follow the usual the git approach: Master branch exists For change 1, I create: feature1 branch (checkout from master) For change 2,…

---

## [Linear Level Gauge size](https://discourse.nodered.org/t/linear-level-gauge-size/32466)

<div class="topic-metadata">

**Author:** [@makram](https://discourse.nodered.org/u/makram)\
**Replies:** 1\
**Last updated:** [5 September 2020 12:24 UTC](https://discourse.nodered.org/t/linear-level-gauge-size/32466 "2020-09-05T12:24:35Z")

</div>

Hi all, Is there any way to increase the size of the linear Level Bars.

---

## [A handy little routine/flow to monitor for sustained values over a time](https://discourse.nodered.org/t/a-handy-little-routine-flow-to-monitor-for-sustained-values-over-a-time/32464)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [5 September 2020 05:08 UTC](https://discourse.nodered.org/t/a-handy-little-routine-flow-to-monitor-for-sustained-values-over-a-time/32464 "2020-09-05T05:08:23Z")

</div>

Instructions in the comment nodes indicated with a \*. As is, it is set to the extremes, so may not be too handy, but it easily editable. Concept: You are getting data coming in (values/numbers) that have a range. In t…

---

## [Help with timestamps and values returned](https://discourse.nodered.org/t/help-with-timestamps-and-values-returned/32460)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [4 September 2020 22:42 UTC](https://discourse.nodered.org/t/help-with-timestamps-and-values-returned/32460 "2020-09-04T22:42:34Z")

</div>

I have a machine with an RTC. For the sake of..... (something), I compare it to the software one at regular intervals. (Say 20 seconds) To help keep things simple with the maths (and size of numbers) I resolve it down…

---

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

---

## [Ctrl-z undo question](https://discourse.nodered.org/t/ctrl-z-undo-question/7481)

<div class="topic-metadata">

**Author:** [@Simo219h](https://discourse.nodered.org/u/Simo219h)\
**Replies:** 4\
**Last updated:** [4 September 2020 20:44 UTC](https://discourse.nodered.org/t/ctrl-z-undo-question/7481 "2020-09-04T20:44:35Z")

</div>

Hi, How does one handle a node, when the user hits ctrl-z? Is there a function with something like "oneditundo"? My current problem is that my node gets in a bad state, if it is configured, and then undo-ed afterwards w…

---

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

---

## [Ui-table and css - fails for more than one table](https://discourse.nodered.org/t/ui-table-and-css-fails-for-more-than-one-table/32453)

<div class="topic-metadata">

**Author:** [@jodelkoenig](https://discourse.nodered.org/u/jodelkoenig)\
**Replies:** 7\
**Last updated:** [4 September 2020 20:18 UTC](https://discourse.nodered.org/t/ui-table-and-css-fails-for-more-than-one-table/32453 "2020-09-04T20:18:51Z")

</div>

Hi there, due to a private discussion with a fellow member of this forum I came across a limitation of my approach to customize a ui-table with css. While it works great for one table, it falls back to default if I cho…

---

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

---

## [/ui protection using httpNodeAuth in settings.js](https://discourse.nodered.org/t/ui-protection-using-httpnodeauth-in-settings-js/32430)

<div class="topic-metadata">

**Author:** [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Replies:** 3\
**Last updated:** [4 September 2020 14:06 UTC](https://discourse.nodered.org/t/ui-protection-using-httpnodeauth-in-settings-js/32430 "2020-09-04T14:06:18Z")

</div>

I am trying to protect /ui with user name and password ,and I am aware that I can do this with httpNodeAuth in settings.js . The problem I am facing is my application have many other endpoint which does not need any p…

---

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

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

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