# General

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

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

**Page:** 619

---

## [Trigger node startup question](https://discourse.nodered.org/t/trigger-node-startup-question/39453)

<div class="topic-metadata">

**Author:** [@Kazzy](https://discourse.nodered.org/u/Kazzy)\
**Replies:** 3\
**Last updated:** [21 January 2021 07:16 UTC](https://discourse.nodered.org/t/trigger-node-startup-question/39453 "2021-01-21T07:16:36Z")

</div>

Hi, Just wondered if there maybe a better way to do this. I have two trigger per diagram flow below, one to set of at 7am everyday and one at Midnight. these basically set some defaults for brightness etc. so got t…

---

## [Grab image - resize - iframe](https://discourse.nodered.org/t/grab-image-resize-iframe/39378)

<div class="topic-metadata">

**Author:** [@leftymuller](https://discourse.nodered.org/u/leftymuller)\
**Replies:** 5\
**Last updated:** [21 January 2021 05:06 UTC](https://discourse.nodered.org/t/grab-image-resize-iframe/39378 "2021-01-21T05:06:31Z")

</div>

Hi All, Ive been trying to grab a weather radar image from a website which is then put it in an iframe.. I can get this to happen but its too big and i get this I tried using the image tool palette but I keep gett…

---

## [Schedule Motion Events using INPUT Datetime helpers in Home Assistant](https://discourse.nodered.org/t/schedule-motion-events-using-input-datetime-helpers-in-home-assistant/39474)

<div class="topic-metadata">

**Author:** [@nld77](https://discourse.nodered.org/u/nld77)\
**Replies:** 0\
**Last updated:** [21 January 2021 03:02 UTC](https://discourse.nodered.org/t/schedule-motion-events-using-input-datetime-helpers-in-home-assistant/39474 "2021-01-21T03:02:08Z")

</div>

I am new to Node Red, and I am using it to automate my existing Home Assistant automations. I am looking to achieve a fairly simple automation for you guys out there.. I have created a sequence where a Binary Motion Se…

---

## [Auto light with unlock](https://discourse.nodered.org/t/auto-light-with-unlock/39471)

<div class="topic-metadata">

**Author:** [@killahbee](https://discourse.nodered.org/u/killahbee)\
**Replies:** 0\
**Last updated:** [21 January 2021 01:17 UTC](https://discourse.nodered.org/t/auto-light-with-unlock/39471 "2021-01-21T01:17:38Z")

</div>

Hi All, I am trying to automate a light coming on when there is motion at the front door followed by the door unlocking. This is my current flow, the problem is that if I unlock the door then leave it still goes off so…

---

## [Influx retention policy and remote storage location](https://discourse.nodered.org/t/influx-retention-policy-and-remote-storage-location/39238)

<div class="topic-metadata">

**Author:** [@bkenobi](https://discourse.nodered.org/u/bkenobi)\
**Replies:** 6\
**Last updated:** [21 January 2021 00:59 UTC](https://discourse.nodered.org/t/influx-retention-policy-and-remote-storage-location/39238 "2021-01-21T00:59:40Z")

</div>

I am working on a flow that takes data from MQTT (mostly rtl\_433 sensors) and converts the inputs to meaningful data that then is output to an Influx database. The tutorials I've read have gotten me started and after a …

---

## [Web Socket Help](https://discourse.nodered.org/t/web-socket-help/37927)

<div class="topic-metadata">

**Author:** [@antsals](https://discourse.nodered.org/u/antsals)\
**Replies:** 25\
**Last updated:** [20 January 2021 22:44 UTC](https://discourse.nodered.org/t/web-socket-help/37927 "2021-01-20T22:44:29Z")

</div>

I'm a total novice to coding and just can't get my head around the web socket. I'm sure this is super simple..... I have connect PLC to node red successfully and have data logging to a mysql database. The next thing I…

---

## [Managing schedule of mutually exclusive scenes](https://discourse.nodered.org/t/managing-schedule-of-mutually-exclusive-scenes/39024)

<div class="topic-metadata">

**Author:** [@robcos](https://discourse.nodered.org/u/robcos)\
**Replies:** 8\
**Last updated:** [20 January 2021 22:42 UTC](https://discourse.nodered.org/t/managing-schedule-of-mutually-exclusive-scenes/39024 "2021-01-20T22:42:05Z")

</div>

Say that I have 2 scenes, morning and evening and I want different nodes to trigger every x minutes. For the sake of the example, the Night node triggers every 5 minutes during the morning and the Evening node triggers e…

---

## [Error: EBUSY: resource busy or locked, rename](https://discourse.nodered.org/t/error-ebusy-resource-busy-or-locked-rename/39467)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 1\
**Last updated:** [20 January 2021 21:51 UTC](https://discourse.nodered.org/t/error-ebusy-resource-busy-or-locked-rename/39467 "2021-01-20T21:51:47Z")

</div>

Hi, I have a node red application Node-RED version: v1.1.3 Node.js version: v12.18.3 move (fs-ops-move node) the file from folder\_A to folder\_B after 1 minute by setting the repetition in the inject node: I pu…

---

## [Read CSV file and Replace the name of a variable](https://discourse.nodered.org/t/read-csv-file-and-replace-the-name-of-a-variable/39465)

<div class="topic-metadata">

**Author:** [@Roger](https://discourse.nodered.org/u/Roger)\
**Replies:** 2\
**Last updated:** [20 January 2021 21:36 UTC](https://discourse.nodered.org/t/read-csv-file-and-replace-the-name-of-a-variable/39465 "2021-01-20T21:36:34Z")

</div>

Hi all, I have thounsands of sensors which has his deveui (identificator) with numbers like 54-23-12-54.... In a csv file I have in the first colum this deveui and in the second the name that I want to put at my sensor.…

---

## [Node\_module\_version](https://discourse.nodered.org/t/node-module-version/39460)

<div class="topic-metadata">

**Author:** [@TinkyLv](https://discourse.nodered.org/u/TinkyLv)\
**Replies:** 1\
**Last updated:** [20 January 2021 20:38 UTC](https://discourse.nodered.org/t/node-module-version/39460 "2021-01-20T20:38:16Z")

</div>

Hey. I am trying to run Node-Red on my raspberry pi 4 but I am getting error: Flows stopped due to missing node types. serial-port In the Node-Red terminal I have the following issue which I cannot solve and could us…

---

## [Get flow name in function-node](https://discourse.nodered.org/t/get-flow-name-in-function-node/39429)

<div class="topic-metadata">

**Author:** [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Replies:** 2\
**Last updated:** [20 January 2021 20:28 UTC](https://discourse.nodered.org/t/get-flow-name-in-function-node/39429 "2021-01-20T20:28:47Z")

</div>

Hi, I want to get the name of the flow (e.g. "Flow3") that a function node is working in. (in this case: lets assume functionnode is part of Flow3) Is there any possibility to get that name?

---

## [Python3 output buffer content to msg.payload](https://discourse.nodered.org/t/python3-output-buffer-content-to-msg-payload/39463)

<div class="topic-metadata">

**Author:** [@votecoffee](https://discourse.nodered.org/u/votecoffee)\
**Replies:** 0\
**Last updated:** [20 January 2021 20:11 UTC](https://discourse.nodered.org/t/python3-output-buffer-content-to-msg-payload/39463 "2021-01-20T20:11:39Z")

</div>

I've got a raspberry pi 4 and a pimoroni automation hat which has an I2C device ads1015. I'm trying to format a command to the device using the python3 node. I'm trying to pass buffer data back to the ms.payload, but b…

---

## [TCP tunnel between application and device](https://discourse.nodered.org/t/tcp-tunnel-between-application-and-device/39449)

<div class="topic-metadata">

**Author:** [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Replies:** 3\
**Last updated:** [20 January 2021 19:53 UTC](https://discourse.nodered.org/t/tcp-tunnel-between-application-and-device/39449 "2021-01-20T19:53:37Z")

</div>

Hi I have an application that communicates using tcp with a device. I would like to send this communication through NR so that I can capture the response from the device to use the information. I have started with a tc…

---

## [MODULE\_NOT FOUND error breaking Node-RED after upgrade (Windows)](https://discourse.nodered.org/t/module-not-found-error-breaking-node-red-after-upgrade-windows/39457)

<div class="topic-metadata">

**Author:** [@alastaira](https://discourse.nodered.org/u/alastaira)\
**Replies:** 1\
**Last updated:** [20 January 2021 19:39 UTC](https://discourse.nodered.org/t/module-not-found-error-breaking-node-red-after-upgrade-windows/39457 "2021-01-20T19:39:02Z")

</div>

Hi, I've had an instance of Node-RED running happily on my Windows 10 machine for some time. As I was about to go and revise some old flows, I thought I'd also take this opportunity to update to the latest version. (I be…

---

## [Xml query possible?](https://discourse.nodered.org/t/xml-query-possible/39447)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 3\
**Last updated:** [20 January 2021 18:32 UTC](https://discourse.nodered.org/t/xml-query-possible/39447 "2021-01-20T18:32:33Z")

</div>

Hi, is it easy possible to query one value of this xml: its just from another RPi http://ip from RPi:8080/semp i need AveragePower 288 every 60s for some calculations in my exisiting flow. greetings

---

## [Electron + Node-RED = Palette editor disabled](https://discourse.nodered.org/t/electron-node-red-palette-editor-disabled/14201)

<div class="topic-metadata">

**Author:** [@brandlmax](https://discourse.nodered.org/u/brandlmax)\
**Replies:** 9\
**Last updated:** [20 January 2021 18:04 UTC](https://discourse.nodered.org/t/electron-node-red-palette-editor-disabled/14201 "2021-01-20T18:04:38Z")

</div>

Hello everybody, I'm currently trying to get Node-RED (0.20.7) to run inside Electron (6.0.1). I use the embedding example code inside the main process: https://nodered.org/docs/user-guide/runtime/embedding When I us…

---

## [Help with button and iframe for a news feed](https://discourse.nodered.org/t/help-with-button-and-iframe-for-a-news-feed/39415)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 3\
**Last updated:** [20 January 2021 17:53 UTC](https://discourse.nodered.org/t/help-with-button-and-iframe-for-a-news-feed/39415 "2021-01-20T17:53:07Z")

</div>

Hi all, I created a news feed for my dashboard which works well, however running it in kiosk mode is a problem. If a user clicks on the thumb nail using code below it it takes them to the web link, but there is no back…

---

## [Raspberry Pi GPIO pull up or down](https://discourse.nodered.org/t/raspberry-pi-gpio-pull-up-or-down/39262)

<div class="topic-metadata">

**Author:** [@brendonhatcher](https://discourse.nodered.org/u/brendonhatcher)\
**Replies:** 7\
**Last updated:** [20 January 2021 17:23 UTC](https://discourse.nodered.org/t/raspberry-pi-gpio-pull-up-or-down/39262 "2021-01-20T17:23:04Z")

</div>

Hi I have attached a momentary button to GPIO 10. The rpi-gpio in node has an option to set it as pull up or down. I had a flow open in which the pin was set as pull up. I deployed it. Then I closed that flow, opene…

---

## [Setup in a Function Node](https://discourse.nodered.org/t/setup-in-a-function-node/39445)

<div class="topic-metadata">

**Author:** [@LucaCarminati](https://discourse.nodered.org/u/LucaCarminati)\
**Replies:** 2\
**Last updated:** [20 January 2021 15:59 UTC](https://discourse.nodered.org/t/setup-in-a-function-node/39445 "2021-01-20T15:59:14Z")

</div>

Hi to all, A probably stupid question...how can I use the setup tab in a function Node? I need to set the Var i = 0 for the first time that the function node is called, and then go on with the code written in the fu…

---

## [Installation error for Xbee Node](https://discourse.nodered.org/t/installation-error-for-xbee-node/39448)

<div class="topic-metadata">

**Author:** [@FahadFaez](https://discourse.nodered.org/u/FahadFaez)\
**Replies:** 0\
**Last updated:** [20 January 2021 15:57 UTC](https://discourse.nodered.org/t/installation-error-for-xbee-node/39448 "2021-01-20T15:57:07Z")

</div>

Hi everyone , i have tried to install library for Xbee Node , but i'm having the below error log which i couldn't figure out why , if someone can help me i would be grateful , 20 Jan 18:42:04 - \[warn\] Installation of m…

---

## [Node-red-node-pi-gpio output stopped](https://discourse.nodered.org/t/node-red-node-pi-gpio-output-stopped/38363)

<div class="topic-metadata">

**Author:** [@Jamos1988](https://discourse.nodered.org/u/Jamos1988)\
**Replies:** 7\
**Last updated:** [20 January 2021 12:05 UTC](https://discourse.nodered.org/t/node-red-node-pi-gpio-output-stopped/38363 "2021-01-20T12:05:13Z")

</div>

I am having an issue with the node node-red-node-pi-gpio (node) - Node-RED This is the flow I am using: \[{"id":"881428ed.66fe88","type":"rpi-gpio out","z":"bc3b26f0.b8e538","name":"","pin":"29","set":true,"level":"0","…

---

## [Run commands on Windows from Linux NodeRed](https://discourse.nodered.org/t/run-commands-on-windows-from-linux-nodered/2882)

<div class="topic-metadata">

**Author:** [@fraser](https://discourse.nodered.org/u/fraser)\
**Replies:** 14\
**Last updated:** [20 January 2021 10:30 UTC](https://discourse.nodered.org/t/run-commands-on-windows-from-linux-nodered/2882 "2021-01-20T10:30:25Z")

</div>

I've got Node Red running on a Pi3. I use it to do some scheduling of operations on various Linux VMs and other Pis, this all works fine with the exec node and passwordless SSH. However I also want to run some operations…

---

## [Node Red Does not Start: Freezes on third info line](https://discourse.nodered.org/t/node-red-does-not-start-freezes-on-third-info-line/39321)

<div class="topic-metadata">

**Author:** [@axelfs](https://discourse.nodered.org/u/axelfs)\
**Replies:** 4\
**Last updated:** [20 January 2021 10:13 UTC](https://discourse.nodered.org/t/node-red-does-not-start-freezes-on-third-info-line/39321 "2021-01-20T10:13:52Z")

</div>

Hello! I have installed Node-red in a server with Windows Server 2012 and when i installed it, everything worked fine. I also installed PM2 to boot it at startup and worked with no problem. After a few days, when i log…

---

## [Using node-red-contrib-tfjs-coco-ssd locally](https://discourse.nodered.org/t/using-node-red-contrib-tfjs-coco-ssd-locally/38856)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 12\
**Last updated:** [20 January 2021 09:08 UTC](https://discourse.nodered.org/t/using-node-red-contrib-tfjs-coco-ssd-locally/38856 "2021-01-20T09:08:41Z")

</div>

Hi, I'm trying to use node-red-contrib-tfjs-coco-ssd locally (offline) withouth success. windows 10 node-red V1.2.6 node.js V14.15.4 I tryed installing the node in both way, via "npm" and "manage palette": It works g…

---

## [Using huemagic to troubleshoot Lights?](https://discourse.nodered.org/t/using-huemagic-to-troubleshoot-lights/39419)

<div class="topic-metadata">

**Author:** [@casperse](https://discourse.nodered.org/u/casperse)\
**Replies:** 0\
**Last updated:** [20 January 2021 08:45 UTC](https://discourse.nodered.org/t/using-huemagic-to-troubleshoot-lights/39419 "2021-01-20T08:45:31Z")

</div>

Hi All I have (Like others) some lights that just turn on, but no way to find out what is causing this? I recently found huemagic and I was wondering if any one have managed to create some logfile output identifing wha…

---

## [Failed to update a palette](https://discourse.nodered.org/t/failed-to-update-a-palette/39202)

<div class="topic-metadata">

**Author:** [@mauog](https://discourse.nodered.org/u/mauog)\
**Replies:** 2\
**Last updated:** [20 January 2021 07:08 UTC](https://discourse.nodered.org/t/failed-to-update-a-palette/39202 "2021-01-20T07:08:00Z")

</div>

I am trying to update the palette node-red-contrib-home-assistant-websocket from 0.37.8 to 0.30.1 Unfortunately I got this error: 2021-01-15T21:51:42.521Z Install : node-red-contrib-home-assistant-websocket 0.30.1 202…

---

## [I would like to know if Node-RED installed on the IoT gateway can continuously receive data from the Watson IoT Platform](https://discourse.nodered.org/t/i-would-like-to-know-if-node-red-installed-on-the-iot-gateway-can-continuously-receive-data-from-the-watson-iot-platform/39372)

<div class="topic-metadata">

**Author:** [@Tanimoto](https://discourse.nodered.org/u/Tanimoto)\
**Replies:** 0\
**Last updated:** [19 January 2021 08:29 UTC](https://discourse.nodered.org/t/i-would-like-to-know-if-node-red-installed-on-the-iot-gateway-can-continuously-receive-data-from-the-watson-iot-platform/39372 "2021-01-19T08:29:28Z")

</div>

Hi, I'm a newbie to node-red so please bear with me if I'm asking stupid questions. I was able to confirm that I received data by debugging. But when I switch on the "IoT gateway" again, I can't receive any data. I…

---

## [How to change between 12 and 24 hour time display?](https://discourse.nodered.org/t/how-to-change-between-12-and-24-hour-time-display/39359)

<div class="topic-metadata">

**Author:** [@sdschramm](https://discourse.nodered.org/u/sdschramm)\
**Replies:** 10\
**Last updated:** [20 January 2021 00:12 UTC](https://discourse.nodered.org/t/how-to-change-between-12-and-24-hour-time-display/39359 "2021-01-20T00:12:47Z")

</div>

Hello, is there a way to change these history messages into 12 hour (AM/PM) time format? I've searched for a solution to this and see a lot of people struggling to input time, but I am just trying to display time in 1…

---

## [Node to accept array from SQL](https://discourse.nodered.org/t/node-to-accept-array-from-sql/39395)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 3\
**Last updated:** [19 January 2021 19:44 UTC](https://discourse.nodered.org/t/node-to-accept-array-from-sql/39395 "2021-01-19T19:44:56Z")

</div>

I have a SQL query that returns an array whereby it shows 5 generators (labeled 301, 302, 303, 304 and 305) and a TRUE/FALSE GeneratorIsMapped status for each. Every 60 minutes, the SQL query will run. Based on which…

---

## [Node-red-contrib-smartmeter doesnt works on Raspi Zero](https://discourse.nodered.org/t/node-red-contrib-smartmeter-doesnt-works-on-raspi-zero/39368)

<div class="topic-metadata">

**Author:** [@DrS1981](https://discourse.nodered.org/u/DrS1981)\
**Replies:** 2\
**Last updated:** [19 January 2021 19:13 UTC](https://discourse.nodered.org/t/node-red-contrib-smartmeter-doesnt-works-on-raspi-zero/39368 "2021-01-19T19:13:35Z")

</div>

I used the node-red-contrib-smartmeter on a Raspi 3B and it works fine. Now i want to run the flow on an Raspi Zero but i cant install the node-red-contrib-smartmeter package on it! NPM Verion is V6.7.0 NodeJs Version…

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

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