# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=575

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

**Page:** 576

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Display hourly production in bar graph](https://discourse.nodered.org/t/display-hourly-production-in-bar-graph/43591)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 8\
**Last updated:** [3 April 2021 12:08 UTC](https://discourse.nodered.org/t/display-hourly-production-in-bar-graph/43591 "2021-04-03T12:08:35Z")

</div>

Hello! I Need to display hourly production (24 hr) on a bar chart, below given is the flow I've created : sharing only half of the flow due to character limitation of 32000. \[{"id":"887bdbcf.967d28","type":"function"…

---

## [From MSSQL to csv to email](https://discourse.nodered.org/t/from-mssql-to-csv-to-email/14315)

<div class="topic-metadata">

**Author:** [@petrdolejs](https://discourse.nodered.org/u/petrdolejs)\
**Replies:** 6\
**Last updated:** [3 April 2021 09:29 UTC](https://discourse.nodered.org/t/from-mssql-to-csv-to-email/14315 "2021-04-03T09:29:10Z")

</div>

Hello, little problem here. I'm reading data from MSSQL and I want them to put in csv file(create that file and put in) and after that send that by email. I think it should be easy but I can't figure that. Here are my n…

---

## [Problem to use node-red-contrib-telegrambot](https://discourse.nodered.org/t/problem-to-use-node-red-contrib-telegrambot/43512)

<div class="topic-metadata">

**Author:** [@ThibautRuy](https://discourse.nodered.org/u/ThibautRuy)\
**Replies:** 3\
**Last updated:** [3 April 2021 08:21 UTC](https://discourse.nodered.org/t/problem-to-use-node-red-contrib-telegrambot/43512 "2021-04-03T08:21:33Z")

</div>

Hi, I am using the node-red-contrib-telegrambot to send messages and receive answers from my bot, but so far I do not get anything back. I think I properly set up my bot and I have received my API token I set up my Bo…

---

## [Control Panasonic TV with Node Red](https://discourse.nodered.org/t/control-panasonic-tv-with-node-red/12923)

<div class="topic-metadata">

**Author:** [@nodecentral](https://discourse.nodered.org/u/nodecentral)\
**Replies:** 55\
**Last updated:** [3 April 2021 05:43 UTC](https://discourse.nodered.org/t/control-panasonic-tv-with-node-red/12923 "2021-04-03T05:43:47Z")

</div>

Hi I’ve come across some javascript code to control a Panasonic tv, please could someone help me to work this into a flow ? var VieraJS = require("viera.js-g30r93g"); var viera = new VieraJS("ipAddress"); vier…

---

## [Problem with EXEC node and command line parameters](https://discourse.nodered.org/t/problem-with-exec-node-and-command-line-parameters/43542)

<div class="topic-metadata">

**Author:** [@Tontze](https://discourse.nodered.org/u/Tontze)\
**Replies:** 10\
**Last updated:** [3 April 2021 03:33 UTC](https://discourse.nodered.org/t/problem-with-exec-node-and-command-line-parameters/43542 "2021-04-03T03:33:31Z")

</div>

Im trying to execute and get output to debug node. My command is : sudo python3 read\_wavemini.py 2920004430 10 It looks like it does not understand command line options: 2.4.2021 klo 13.33.41node: 734014ef.7c82a4 msg.…

---

## [Ping Network Devices From a List](https://discourse.nodered.org/t/ping-network-devices-from-a-list/43563)

<div class="topic-metadata">

**Author:** [@Broutech](https://discourse.nodered.org/u/Broutech)\
**Replies:** 17\
**Last updated:** [2 April 2021 23:42 UTC](https://discourse.nodered.org/t/ping-network-devices-from-a-list/43563 "2021-04-02T23:42:11Z")

</div>

Good day, I am looking for a way to ping network devices (that I specify) from a list or database in Node-RED. I am using the "ping" node at the moment but I have to use one ping node per device which is very time cons…

---

## [Run a google script from a node](https://discourse.nodered.org/t/run-a-google-script-from-a-node/43564)

<div class="topic-metadata">

**Author:** [@kusi](https://discourse.nodered.org/u/kusi)\
**Replies:** 5\
**Last updated:** [2 April 2021 22:58 UTC](https://discourse.nodered.org/t/run-a-google-script-from-a-node/43564 "2021-04-02T22:58:16Z")

</div>

How do I run a google script from a node? The most obvioius way it to use the REST API via HTTP POST Calling a google script involves a redirect (HTTP 302 moved temporarily). The redirect is not handled with the "htt…

---

## [Send picture telegram - NO USB CAMERA, the nightmare continues](https://discourse.nodered.org/t/send-picture-telegram-no-usb-camera-the-nightmare-continues/43478)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 5\
**Last updated:** [2 April 2021 22:46 UTC](https://discourse.nodered.org/t/send-picture-telegram-no-usb-camera-the-nightmare-continues/43478 "2021-04-02T22:46:16Z")

</div>

Hi all! I'm working on this project again (Send picture telegram - NO USB CAMERA - #38 by Marty1982), but i'm stuck on the same place over again. The thing is that i can upload a picture via telegram, the node can recog…

---

## [Why my nodered cannot detect USB device on my raspberrry pi](https://discourse.nodered.org/t/why-my-nodered-cannot-detect-usb-device-on-my-raspberrry-pi/43572)

<div class="topic-metadata">

**Author:** [@alex1](https://discourse.nodered.org/u/alex1)\
**Replies:** 3\
**Last updated:** [2 April 2021 20:53 UTC](https://discourse.nodered.org/t/why-my-nodered-cannot-detect-usb-device-on-my-raspberrry-pi/43572 "2021-04-02T20:53:23Z")

</div>

[Previous page](https://discourse.nodered.org/c/general/7.md?page=574)

[Next page](https://discourse.nodered.org/c/general/7.md?page=576)
