# Latest

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

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

**Page:** 846

---

## [Ping troubles with hostname](https://discourse.nodered.org/t/ping-troubles-with-hostname/43381)

<div class="topic-metadata">

**Author:** [@MegalomaniacGT](https://discourse.nodered.org/u/MegalomaniacGT)\
**Replies:** 19\
**Last updated:** [4 April 2021 23:22 UTC](https://discourse.nodered.org/t/ping-troubles-with-hostname/43381 "2021-04-04T23:22:16Z")

</div>

Greetings, I am facing an unusual issue. When I ping via a local IP address it pings as it should, false if nothing is connected and a number greater than 0 if something is connected. However, when I ping using hostname…

---

## [Help with scheduler and illuminance](https://discourse.nodered.org/t/help-with-scheduler-and-illuminance/19454)

<div class="topic-metadata">

**Author:** [@mikron](https://discourse.nodered.org/u/mikron)\
**Replies:** 18\
**Last updated:** [4 April 2021 22:07 UTC](https://discourse.nodered.org/t/help-with-scheduler-and-illuminance/19454 "2021-04-04T22:07:00Z")

</div>

Hello! I´m a newbie on node-red and now I asking of your professional help. I´m using the light-scheduler to turn on/off my lights. But now I also have a lux sensor that I want to implement in my nodes. I still want t…

---

## [Configurable timeout for Trigger node](https://discourse.nodered.org/t/configurable-timeout-for-trigger-node/43664)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 2\
**Last updated:** [4 April 2021 21:46 UTC](https://discourse.nodered.org/t/configurable-timeout-for-trigger-node/43664 "2021-04-04T21:46:02Z")

</div>

Hi, as per the following forum posts, I think it would be a really nice idea to be able to define a msg.delay (or msg.timeout?) for the Trigger node. @knolleary rightly points out in the first of the below posts that a …

---

## [Slight confusion on custom edit behavior docs](https://discourse.nodered.org/t/slight-confusion-on-custom-edit-behavior-docs/43654)

<div class="topic-metadata">

**Author:** [@kolban](https://discourse.nodered.org/u/kolban)\
**Replies:** 1\
**Last updated:** [4 April 2021 17:23 UTC](https://discourse.nodered.org/t/slight-confusion-on-custom-edit-behavior-docs/43654 "2021-04-04T17:23:10Z")

</div>

In the scheme of things, small beer ... Was reading this paragraph: https://nodered.org/docs/creating-nodes/properties#custom-edit-behavior It said: A node definition can include two functions to customize the edit …

---

## [Call iOS app via Node-red possible?](https://discourse.nodered.org/t/call-ios-app-via-node-red-possible/43588)

<div class="topic-metadata">

**Author:** [@RaiRoo](https://discourse.nodered.org/u/RaiRoo)\
**Replies:** 6\
**Last updated:** [4 April 2021 17:17 UTC](https://discourse.nodered.org/t/call-ios-app-via-node-red-possible/43588 "2021-04-04T17:17:16Z")

</div>

When using Node-Red on my iPad I would like to call the iOS Shortcuts app to execute a specific shortcut. The URL is shortcuts://run-shortcut?name=AppleTV. If put this URL in Safari, the shortcut is opened as expected. …

---

## [Dynamic Data into the HTML Page](https://discourse.nodered.org/t/dynamic-data-into-the-html-page/43573)

<div class="topic-metadata">

**Author:** [@ashur\_3d](https://discourse.nodered.org/u/ashur_3d)\
**Replies:** 8\
**Last updated:** [4 April 2021 16:24 UTC](https://discourse.nodered.org/t/dynamic-data-into-the-html-page/43573 "2021-04-04T16:24:43Z")

</div>

Hi, A user gave me the flow below and it make sense the way it works, but my question now is, what if we replace that change node with a dynamic value or data points coming from, let's say a sensor or device, that has r…

---

## [Problem SPLITting and SWITCHing data from a Serial Port stream](https://discourse.nodered.org/t/problem-splitting-and-switching-data-from-a-serial-port-stream/43647)

<div class="topic-metadata">

**Author:** [@championc](https://discourse.nodered.org/u/championc)\
**Replies:** 6\
**Last updated:** [4 April 2021 16:04 UTC](https://discourse.nodered.org/t/problem-splitting-and-switching-data-from-a-serial-port-stream/43647 "2021-04-04T16:04:02Z")

</div>

Hi all, I have a problem which I just cannot understand and therefore, haven't managed to solve. I'm pretty new to Node Red but have done programming in the past I am reading data in from a serial connection to my Sol…

---

## [Ng-repeat - forcing JSONata to always return an array - when array has 1 object](https://discourse.nodered.org/t/ng-repeat-forcing-jsonata-to-always-return-an-array-when-array-has-1-object/43621)

<div class="topic-metadata">

**Author:** [@umtksa](https://discourse.nodered.org/u/umtksa)\
**Replies:** 2\
**Last updated:** [4 April 2021 13:29 UTC](https://discourse.nodered.org/t/ng-repeat-forcing-jsonata-to-always-return-an-array-when-array-has-1-object/43621 "2021-04-04T13:29:08Z")

</div>

Hi all I'm getting data from google calendar for my dashboard. I'm using ng-repeat to render incoming data, here is my problem it needs more than 1 data to render correctly here is the screenshot, when I delete one of …

---

## [Enable a flow help](https://discourse.nodered.org/t/enable-a-flow-help/43639)

<div class="topic-metadata">

**Author:** [@biros](https://discourse.nodered.org/u/biros)\
**Replies:** 13\
**Last updated:** [4 April 2021 13:25 UTC](https://discourse.nodered.org/t/enable-a-flow-help/43639 "2021-04-04T13:25:26Z")

</div>

Hello, new user here and pretty much 0 experience with javascript. Weirdly i managed to install rpi os strecth, mqtt and nr to a pi zero w and flashed tasmota to one of my smart switches without any issue. Even did a fe…

---

## [Missing socketID impacts dashboard template](https://discourse.nodered.org/t/missing-socketid-impacts-dashboard-template/43634)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 2\
**Last updated:** [4 April 2021 13:30 UTC](https://discourse.nodered.org/t/missing-socketid-impacts-dashboard-template/43634 "2021-04-04T13:30:21Z")

</div>

Working in a dashboard that has a tab that will be visualized in two (or three) different monitors at the same time (queue control in an hospital sector). I simplified and changed the flow to the minimum size that reprod…

---

## [Variable in JSON path](https://discourse.nodered.org/t/variable-in-json-path/43648)

<div class="topic-metadata">

**Author:** [@cerietke](https://discourse.nodered.org/u/cerietke)\
**Replies:** 8\
**Last updated:** [4 April 2021 13:25 UTC](https://discourse.nodered.org/t/variable-in-json-path/43648 "2021-04-04T13:25:11Z")

</div>

Hi! Not quite sure how to call this, hopefully this question hasn't been answered many times before. I have MyStrom light bulbs. When asked for their current state they return payload.(mac address).(various variables…

---

## [Connection Node-RED to postgreSQL server!](https://discourse.nodered.org/t/connection-node-red-to-postgresql-server/43620)

<div class="topic-metadata">

**Author:** [@tboekhorst](https://discourse.nodered.org/u/tboekhorst)\
**Replies:** 21\
**Last updated:** [4 April 2021 12:38 UTC](https://discourse.nodered.org/t/connection-node-red-to-postgresql-server/43620 "2021-04-04T12:38:18Z")

</div>

Hello everyone, This will be my very first post! I want to connect Node-RED to a PostgreSQL server and for test reasons just create a table into the database. However, after configuration, I am not able to create a tab…

---

## [\[Newbie\] RFXCOM -\> specific adress only](https://discourse.nodered.org/t/newbie-rfxcom-specific-adress-only/43630)

<div class="topic-metadata">

**Author:** [@FlorianJena](https://discourse.nodered.org/u/FlorianJena)\
**Replies:** 1\
**Last updated:** [4 April 2021 11:20 UTC](https://discourse.nodered.org/t/newbie-rfxcom-specific-adress-only/43630 "2021-04-04T11:20:47Z")

</div>

hi, I have a beginner question :slight\_smile: I receive from a button this data: 4/4/2021, 09:37:07node: 566a81a3.766e7 PT2262 : msg.payload : string\[2\] "on" Now I want to set the PT2262 RFXCOM to respond only to t…

---

## [Vlc in uibuilder](https://discourse.nodered.org/t/vlc-in-uibuilder/43507)

<div class="topic-metadata">

**Author:** [@cdg123](https://discourse.nodered.org/u/cdg123)\
**Replies:** 6\
**Last updated:** [4 April 2021 09:49 UTC](https://discourse.nodered.org/t/vlc-in-uibuilder/43507 "2021-04-04T09:49:39Z")

</div>

I'm still very much on the learning curve of using Node-Red and Vue.js but now I have the basics I am trying to work out how to add a vlc media player to my index.html, index.js files and don't know where to start. Has a…

---

## [Documentation on msg format for custom logging](https://discourse.nodered.org/t/documentation-on-msg-format-for-custom-logging/43624)

<div class="topic-metadata">

**Author:** [@kolban](https://discourse.nodered.org/u/kolban)\
**Replies:** 3\
**Last updated:** [4 April 2021 08:11 UTC](https://discourse.nodered.org/t/documentation-on-msg-format-for-custom-logging/43624 "2021-04-04T08:11:12Z")

</div>

I am looking to provide a custom logging provider. When I read the docs found here: https://nodered.org/docs/user-guide/runtime/logging#custom-logging-module I see that I am responsible for returning a function that t…

---

## [Extract a value of an array](https://discourse.nodered.org/t/extract-a-value-of-an-array/10071)

<div class="topic-metadata">

**Author:** [@smalhao](https://discourse.nodered.org/u/smalhao)\
**Replies:** 4\
**Last updated:** [4 April 2021 08:08 UTC](https://discourse.nodered.org/t/extract-a-value-of-an-array/10071 "2021-04-04T08:08:27Z")

</div>

I want to extract the value of a specific position in an array that I am receiving from Inject sent from a Raspberry Pi with the protocol OPC - UA as 'int' variable but I do not know how to do it in Node - RED Node-RED …

---

## [Connection Node-RED to postgreSQL server](https://discourse.nodered.org/t/connection-node-red-to-postgresql-server/43619)

<div class="topic-metadata">

**Author:** [@tboekhorst](https://discourse.nodered.org/u/tboekhorst)\
**Replies:** 1\
**Last updated:** [4 April 2021 08:04 UTC](https://discourse.nodered.org/t/connection-node-red-to-postgresql-server/43619 "2021-04-04T08:04:11Z")

</div>

Hello everyone, This will be my very first post! I want to connect Node-RED to a PostgreSQL server and for test reasons just create a table into the database. However, after configuration, I am not able to create a tab…

---

## [Modbus TCP error/fails](https://discourse.nodered.org/t/modbus-tcp-error-fails/43628)

<div class="topic-metadata">

**Author:** [@zeastank](https://discourse.nodered.org/u/zeastank)\
**Replies:** 1\
**Last updated:** [4 April 2021 07:05 UTC](https://discourse.nodered.org/t/modbus-tcp-error-fails/43628 "2021-04-04T07:05:04Z")

</div>

Hi everyone, i need some help. I'm using modbusflex-getter from node-red-contrib-modbus 5.13.3 to get value from modbus TCP. Everything was fine, but the problem occured when i'm using one modbus-flex-getter for quanti…

---

## [Error after changing port](https://discourse.nodered.org/t/error-after-changing-port/43582)

<div class="topic-metadata">

**Author:** [@quarfie](https://discourse.nodered.org/u/quarfie)\
**Replies:** 12\
**Last updated:** [4 April 2021 03:54 UTC](https://discourse.nodered.org/t/error-after-changing-port/43582 "2021-04-04T03:54:24Z")

</div>

I would like Node-RED to listen on port 443. I changed uiPort: process.env.PORT || 1880, to uiPort: 443, and also tried uiPort: process.env.PORT || 443, but in both cases I got this error when trying to start Node…

---

## [Dashboard button to start file download](https://discourse.nodered.org/t/dashboard-button-to-start-file-download/43614)

<div class="topic-metadata">

**Author:** [@davidz](https://discourse.nodered.org/u/davidz)\
**Replies:** 6\
**Last updated:** [3 April 2021 21:40 UTC](https://discourse.nodered.org/t/dashboard-button-to-start-file-download/43614 "2021-04-03T21:40:56Z")

</div>

First, the file can be downloaded via a template node form submission. So file download is not the problem. But how to link the dashboard button to file download? That is: If a person clicks the download button, the the…

---

## [Access to Timestamp different values](https://discourse.nodered.org/t/access-to-timestamp-different-values/43600)

<div class="topic-metadata">

**Author:** [@IvanG](https://discourse.nodered.org/u/IvanG)\
**Replies:** 9\
**Last updated:** [3 April 2021 20:53 UTC](https://discourse.nodered.org/t/access-to-timestamp-different-values/43600 "2021-04-03T20:53:12Z")

</div>

Hey guys, I'm using "Inject" node with payload: timestamp, connected to a "debug" node(attachment). I've just found there are four different values of the timestamp when you click on the payload in the debug section. I…

---

## [Complex time based schedule for roller shutter: sun event + static time](https://discourse.nodered.org/t/complex-time-based-schedule-for-roller-shutter-sun-event-static-time/43603)

<div class="topic-metadata">

**Author:** [@brathes](https://discourse.nodered.org/u/brathes)\
**Replies:** 16\
**Last updated:** [3 April 2021 19:17 UTC](https://discourse.nodered.org/t/complex-time-based-schedule-for-roller-shutter-sun-event-static-time/43603 "2021-04-03T19:17:32Z")

</div>

Hi All, I'm newbie to Node-RED, but really enjoying to use it. I'm successful with several automation, but not able to solve this issue: I want to have a schedule for my roller shutters. I want to trigger the "UP" comm…

---

## [Super presentation from Node-RED in tensorflow js show and tell ... #MadeWithTFJS](https://discourse.nodered.org/t/super-presentation-from-node-red-in-tensorflow-js-show-and-tell-madewithtfjs/43565)

<div class="topic-metadata">

**Author:** [@gauravdasgupta](https://discourse.nodered.org/u/gauravdasgupta)\
**Replies:** 1\
**Last updated:** [3 April 2021 17:19 UTC](https://discourse.nodered.org/t/super-presentation-from-node-red-in-tensorflow-js-show-and-tell-madewithtfjs/43565 "2021-04-03T17:19:20Z")

</div>

It is the most exciting show and tells I have seen. no doubt that tensorflow js has unlimited possibilities But the way Node-RED superpower was demonstrated, the whole crowd was moved and amazed! Watch it here if you m…

---

## [Refresh token for alexa-remote-routine failing](https://discourse.nodered.org/t/refresh-token-for-alexa-remote-routine-failing/43611)

<div class="topic-metadata">

**Author:** [@rsybel](https://discourse.nodered.org/u/rsybel)\
**Replies:** 0\
**Last updated:** [3 April 2021 17:14 UTC](https://discourse.nodered.org/t/refresh-token-for-alexa-remote-routine-failing/43611 "2021-04-03T17:14:53Z")

</div>

I've been using node-red to communicate from a Vera home controller to Alexa, when certain security events happen. Suddenly, refreshing the token from Amazon started failing. When I attempt to check the token by hand, I …

---

## [Serial communication issue with esp8266](https://discourse.nodered.org/t/serial-communication-issue-with-esp8266/43593)

<div class="topic-metadata">

**Author:** [@francuz152](https://discourse.nodered.org/u/francuz152)\
**Replies:** 12\
**Last updated:** [3 April 2021 16:58 UTC](https://discourse.nodered.org/t/serial-communication-issue-with-esp8266/43593 "2021-04-03T16:58:24Z")

</div>

Hi, i have a problem when i try to communicate with an esp8266 true the RX/TX pins on my raspberry pi 4 here is my flow: \[{"id":"eb5487b1.abca58","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"1e06d3…

---

## [Logged in and logged out at the same time when I close the website, using dashboards](https://discourse.nodered.org/t/logged-in-and-logged-out-at-the-same-time-when-i-close-the-website-using-dashboards/43604)

<div class="topic-metadata">

**Author:** [@Franco](https://discourse.nodered.org/u/Franco)\
**Replies:** 0\
**Last updated:** [3 April 2021 14:59 UTC](https://discourse.nodered.org/t/logged-in-and-logged-out-at-the-same-time-when-i-close-the-website-using-dashboards/43604 "2021-04-03T14:59:03Z")

</div>

Hello, I am trying to create a simple log-in (without encryption and any recommendation of security, just testing the dashboards) using a MySQL database. The database has just one username and password to test it. The …

---

## [Too many same payloads](https://discourse.nodered.org/t/too-many-same-payloads/43594)

<div class="topic-metadata">

**Author:** [@Tontze](https://discourse.nodered.org/u/Tontze)\
**Replies:** 2\
**Last updated:** [3 April 2021 13:52 UTC](https://discourse.nodered.org/t/too-many-same-payloads/43594 "2021-04-03T13:52:21Z")

</div>

My harmony hub outputs too many times, im reading a value(activty) to change toggle switch, so its a problem for me :confused: Is there a way to limit it to one, or how should this be handled ? -T

---

## [Node-RED triggers using UTC instead of local timezone](https://discourse.nodered.org/t/node-red-triggers-using-utc-instead-of-local-timezone/7324)

<div class="topic-metadata">

**Author:** [@Hisma](https://discourse.nodered.org/u/Hisma)\
**Replies:** 6\
**Last updated:** [3 April 2021 13:48 UTC](https://discourse.nodered.org/t/node-red-triggers-using-utc-instead-of-local-timezone/7324 "2021-04-03T13:48:01Z")

</div>

running node red docker container latest v8, node red version 19.5. I generated the container using docker-compose, and I have the volumes "/etc/localtime:/etc/localtime:ro" and "etc/timezone:/etc/timezone:ro" set. I …

---

## [2 sliders, label value not correct](https://discourse.nodered.org/t/2-sliders-label-value-not-correct/43552)

<div class="topic-metadata">

**Author:** [@haegar33](https://discourse.nodered.org/u/haegar33)\
**Replies:** 1\
**Last updated:** [3 April 2021 13:30 UTC](https://discourse.nodered.org/t/2-sliders-label-value-not-correct/43552 "2021-04-03T13:30:05Z")

</div>

Hello! I finally found a ui\_template which displays sliders (at least vertically) on all my devices. I got a little javascript embedded to display the current value below. However when placing 2 sliders on one sheet t…

---

## [Transfer images between 2 node red install ( pi - windows )](https://discourse.nodered.org/t/transfer-images-between-2-node-red-install-pi-windows/16458)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 11\
**Last updated:** [3 April 2021 12:40 UTC](https://discourse.nodered.org/t/transfer-images-between-2-node-red-install-pi-windows/16458 "2021-04-03T12:40:02Z")

</div>

Hi! I am looking for some advice. I want to send an image from a windows pc to a pi both running node red. Now i think about ftp to do the transfer or send the data file trough mqtt but i guess that is not ideal What…

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

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