# General

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

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

**Page:** 768

---

## [Home Assistant, events: xiaomi\_aqara.click](https://discourse.nodered.org/t/home-assistant-events-xiaomi-aqara-click/24636)

<div class="topic-metadata">

**Author:** [@daniel1411](https://discourse.nodered.org/u/daniel1411)\
**Replies:** 0\
**Last updated:** [11 April 2020 11:15 UTC](https://discourse.nodered.org/t/home-assistant-events-xiaomi-aqara-click/24636 "2020-04-11T11:15:47Z")

</div>

Hi i have 3 xiaomi aqara click button, and i want to create automation using this buttons. I understand that the only option i have is "listen" to event xiaomi\_aqara.click. so i listen and get this: {"event\_type":"…

---

## [Node-Red-NodeGen: Running Node-Red in docker with (Windows) local files](https://discourse.nodered.org/t/node-red-nodegen-running-node-red-in-docker-with-windows-local-files/24525)

<div class="topic-metadata">

**Author:** [@AiKju](https://discourse.nodered.org/u/AiKju)\
**Replies:** 2\
**Last updated:** [11 April 2020 09:54 UTC](https://discourse.nodered.org/t/node-red-nodegen-running-node-red-in-docker-with-windows-local-files/24525 "2020-04-11T09:54:03Z")

</div>

Hi I am running Node-Red from docker (on Linux): docker run -d -p 1880:1880 --name flow-machine --link msg-broker:msg-pipe -e FLOWS=flow-machine.json -v C:/Projekte/Lokal/software/develop/GitHub/NodeRed2Python/.node-red…

---

## [Home assistance alarm node red trigger notification](https://discourse.nodered.org/t/home-assistance-alarm-node-red-trigger-notification/24630)

<div class="topic-metadata">

**Author:** [@bhyatyab](https://discourse.nodered.org/u/bhyatyab)\
**Replies:** 0\
**Last updated:** [11 April 2020 08:47 UTC](https://discourse.nodered.org/t/home-assistance-alarm-node-red-trigger-notification/24630 "2020-04-11T08:47:53Z")

</div>

Hi. I’m using node red for my home assistant alarm. I’m trying to integrate Automations into my flows. I’m using a function node link to an email node, The email subjects works. the email body shows the below text inst…

---

## [Lock the switches against each other](https://discourse.nodered.org/t/lock-the-switches-against-each-other/24608)

<div class="topic-metadata">

**Author:** [@volker1078](https://discourse.nodered.org/u/volker1078)\
**Replies:** 4\
**Last updated:** [11 April 2020 08:35 UTC](https://discourse.nodered.org/t/lock-the-switches-against-each-other/24608 "2020-04-11T08:35:05Z")

</div>

Hello, I'm looking for a solution to interlock 2 switches in the dashboard. If 1 switch goes "on", switch 2 goes "off" and vice versa. I plan to have several switches and only one should always be on, all others must th…

---

## [Repost State of Mqtt Topic if other Topic's state is 1](https://discourse.nodered.org/t/repost-state-of-mqtt-topic-if-other-topics-state-is-1/24040)

<div class="topic-metadata">

**Author:** [@Chaosflori25](https://discourse.nodered.org/u/Chaosflori25)\
**Replies:** 21\
**Last updated:** [11 April 2020 08:24 UTC](https://discourse.nodered.org/t/repost-state-of-mqtt-topic-if-other-topics-state-is-1/24040 "2020-04-11T08:24:38Z")

</div>

Hi, I've run into a problem: I'd link to have a trigger on an MQTT topic(for ex. TopicY's state is 1 ) that repeats a current topic (TopicX(State: 3)) to topicX like this: https://imgur.com/a/RtuGcbJ It is for an AV-Re…

---

## [Create/append file on dashboard](https://discourse.nodered.org/t/create-append-file-on-dashboard/24560)

<div class="topic-metadata">

**Author:** [@lalo](https://discourse.nodered.org/u/lalo)\
**Replies:** 8\
**Last updated:** [11 April 2020 07:20 UTC](https://discourse.nodered.org/t/create-append-file-on-dashboard/24560 "2020-04-11T07:20:14Z")

</div>

Hi, I already ask this before but nobody answered I'm trying to create files or databases since the dashboard i was looking for some information about it so i found a function msg.filename so this file will have the info…

---

## [Text output of speech to text no showed?](https://discourse.nodered.org/t/text-output-of-speech-to-text-no-showed/24527)

<div class="topic-metadata">

**Author:** [@lingzhongli](https://discourse.nodered.org/u/lingzhongli)\
**Replies:** 5\
**Last updated:** [11 April 2020 07:12 UTC](https://discourse.nodered.org/t/text-output-of-speech-to-text-no-showed/24527 "2020-04-11T07:12:26Z")

</div>

Output: Why the text no show? but i try many times, sometime it can showed, sometime cannot showed.... And it show below error in terminal pi.... is that related? and how solve this problem?

---

## [Simple gate to switch on and off a flow](https://discourse.nodered.org/t/simple-gate-to-switch-on-and-off-a-flow/24611)

<div class="topic-metadata">

**Author:** [@volker1078](https://discourse.nodered.org/u/volker1078)\
**Replies:** 2\
**Last updated:** [11 April 2020 06:14 UTC](https://discourse.nodered.org/t/simple-gate-to-switch-on-and-off-a-flow/24611 "2020-04-11T06:14:07Z")

</div>

Hi there, I found this flow here in the forum: https://flows.nodered.org/flow/a985944e789d90e0cd2008d85b7aaa65 That is almost exactly what I am looking for .... I only need a second output so that the message takes th…

---

## [Raspberry Pi GPIO via HTML](https://discourse.nodered.org/t/raspberry-pi-gpio-via-html/24497)

<div class="topic-metadata">

**Author:** [@Askjerry](https://discourse.nodered.org/u/Askjerry)\
**Replies:** 8\
**Last updated:** [10 April 2020 13:57 UTC](https://discourse.nodered.org/t/raspberry-pi-gpio-via-html/24497 "2020-04-10T13:57:07Z")

</div>

I can write HTML and javascript... but I can't seem to find out how to connect a simple HTML button to trigger a GPIO to be on or off. I can do it with other methods... but somewhere between HTML and the msg.payload I'm …

---

## [Group.Light current state](https://discourse.nodered.org/t/group-light-current-state/24601)

<div class="topic-metadata">

**Author:** [@Merwenus](https://discourse.nodered.org/u/Merwenus)\
**Replies:** 1\
**Last updated:** [10 April 2020 19:59 UTC](https://discourse.nodered.org/t/group-light-current-state/24601 "2020-04-10T19:59:30Z")

</div>

Hello, Started to move from YAML to Node-Red couple a days ago, and I bumped into something I can't resolve, but it looks so easy, yet it does not work for me. I want to use a group of lights from Home Assistant to det…

---

## [Actual and history event-alarm](https://discourse.nodered.org/t/actual-and-history-event-alarm/24258)

<div class="topic-metadata">

**Author:** [@Marco\_C](https://discourse.nodered.org/u/Marco_C)\
**Replies:** 5\
**Last updated:** [10 April 2020 17:17 UTC](https://discourse.nodered.org/t/actual-and-history-event-alarm/24258 "2020-04-10T17:17:59Z")

</div>

Hello everyone, I'm new to using node-red. I come from the plc-hmi world. I explain my problem. At home I installed a plc that manages part of home automation, I use node-red on a raspberry that reads variables and al…

---

## [When disabling a node doesn't (Tuya-smart)](https://discourse.nodered.org/t/when-disabling-a-node-doesnt-tuya-smart/24566)

<div class="topic-metadata">

**Author:** [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Replies:** 4\
**Last updated:** [10 April 2020 17:00 UTC](https://discourse.nodered.org/t/when-disabling-a-node-doesnt-tuya-smart/24566 "2020-04-10T17:00:54Z")

</div>

I started using this node https://github.com/hgross/node-red-contrib-tuya-smart to control an oem Tuya switch. Disabling the node in the Editor has no effect, it continues to poll the device. There are no config nodes pr…

---

## [Mosquitto\_pub help, please](https://discourse.nodered.org/t/mosquitto-pub-help-please/24559)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 4\
**Last updated:** [10 April 2020 12:49 UTC](https://discourse.nodered.org/t/mosquitto-pub-help-please/24559 "2020-04-10T12:49:44Z")

</div>

I have an MQTT broker running on a Raspberry Pi (192.168.1.124). Been there for a couple of years. I am trying to send an MQTT message to that broker from another computer using: mosquitto\_pub -h 192.168.1.124 -t cmnd…

---

## [DropBox node - feature request: specify directory which shall be monitored](https://discourse.nodered.org/t/dropbox-node-feature-request-specify-directory-which-shall-be-monitored/24343)

<div class="topic-metadata">

**Author:** [@DamianosS](https://discourse.nodered.org/u/DamianosS)\
**Replies:** 1\
**Last updated:** [10 April 2020 12:48 UTC](https://discourse.nodered.org/t/dropbox-node-feature-request-specify-directory-which-shall-be-monitored/24343 "2020-04-10T12:48:51Z")

</div>

It would be great if we can customize a specific DropBox directory to be monitored. Use case: Flow A would be interested in files located in the directory /backup . Flow B would be interested in files located in the …

---

## [Serial node doeasnt connect](https://discourse.nodered.org/t/serial-node-doeasnt-connect/24587)

<div class="topic-metadata">

**Author:** [@sepehr](https://discourse.nodered.org/u/sepehr)\
**Replies:** 0\
**Last updated:** [10 April 2020 12:17 UTC](https://discourse.nodered.org/t/serial-node-doeasnt-connect/24587 "2020-04-10T12:17:37Z")

</div>

I'm using node-red with windows. I want to connect node-red to my Arduino with serial node. In my Arduino I connect HC-SR04 sensor to measure distance and I want to monitor distance in node-red. I managed node settings l…

---

## [Find my iphone node not working](https://discourse.nodered.org/t/find-my-iphone-node-not-working/24475)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 10\
**Last updated:** [10 April 2020 11:03 UTC](https://discourse.nodered.org/t/find-my-iphone-node-not-working/24475 "2020-04-10T11:03:56Z")

</div>

Dear all, I have an idea to track all location I visited. I founf find my iphone node ( which is working exactly that by utilising icloud. I created flow shown in the bellow diagram, bot somehow it is not working. The…

---

## [Best practices for presence detection](https://discourse.nodered.org/t/best-practices-for-presence-detection/24575)

<div class="topic-metadata">

**Author:** [@Edo78](https://discourse.nodered.org/u/Edo78)\
**Replies:** 3\
**Last updated:** [10 April 2020 10:31 UTC](https://discourse.nodered.org/t/best-practices-for-presence-detection/24575 "2020-04-10T10:31:47Z")

</div>

Hi, I'm trying to figure out how to manage a pretty classic presence detection management. I have multiple devices that can be detected near a light. If only one of them is close then I have to turn on the light but I …

---

## [Alexa-smart-home-v3 acknowledge problem?](https://discourse.nodered.org/t/alexa-smart-home-v3-acknowledge-problem/24568)

<div class="topic-metadata">

**Author:** [@pgScorpio](https://discourse.nodered.org/u/pgScorpio)\
**Replies:** 0\
**Last updated:** [10 April 2020 06:53 UTC](https://discourse.nodered.org/t/alexa-smart-home-v3-acknowledge-problem/24568 "2020-04-10T06:53:08Z")

</div>

Hi all, I'm using several alexa-smart-home-v3 nodes to control several lights, tv etc. from google home. All work fine, but I get "could not reach" messages from google assistant when addressing more than 2 alexa-smart…

---

## [Can't load Node-Red along side Hoobs 3 on a Pi4](https://discourse.nodered.org/t/cant-load-node-red-along-side-hoobs-3-on-a-pi4/24565)

<div class="topic-metadata">

**Author:** [@dscott](https://discourse.nodered.org/u/dscott)\
**Replies:** 3\
**Last updated:** [10 April 2020 06:28 UTC](https://discourse.nodered.org/t/cant-load-node-red-along-side-hoobs-3-on-a-pi4/24565 "2020-04-10T06:28:18Z")

</div>

Hello, I've looked through the forum and discovered two other posts with the same issue as me. I attempted to load Node-Red alongside Hoobs3. On the hoobs 3 website they claim this can be done here https://hoobs.org/kno…

---

## [Switch object info to diffrent outputs](https://discourse.nodered.org/t/switch-object-info-to-diffrent-outputs/24558)

<div class="topic-metadata">

**Author:** [@espenbo](https://discourse.nodered.org/u/espenbo)\
**Replies:** 5\
**Last updated:** [10 April 2020 05:24 UTC](https://discourse.nodered.org/t/switch-object-info-to-diffrent-outputs/24558 "2020-04-10T05:24:34Z")

</div>

Hello I have a output from a energy meter. I can send it to a mqtt broker. But how do i switch the object info from the meter node to diffrent messageses. I'm intrested inn the values from: act\_pow\_pos: act\_pow\_n…

---

## [Node-red locally with webhook url](https://discourse.nodered.org/t/node-red-locally-with-webhook-url/24563)

<div class="topic-metadata">

**Author:** [@lexcus](https://discourse.nodered.org/u/lexcus)\
**Replies:** 0\
**Last updated:** [10 April 2020 04:15 UTC](https://discourse.nodered.org/t/node-red-locally-with-webhook-url/24563 "2020-04-10T04:15:26Z")

</div>

Hello, did anyone known how to create the node-red url for webhook my node-red is download locally did you guys known how to connect the webhook for node-red to connect to facebook messenger and line messaging

---

## [This site can't be reached](https://discourse.nodered.org/t/this-site-cant-be-reached/24546)

<div class="topic-metadata">

**Author:** [@panafrican](https://discourse.nodered.org/u/panafrican)\
**Replies:** 2\
**Last updated:** [9 April 2020 22:55 UTC](https://discourse.nodered.org/t/this-site-cant-be-reached/24546 "2020-04-09T22:55:22Z")

</div>

I suddenly can't open Node-RED running on RPi3A+. I have Node-RED as a bookmark with the address 127.0.0.1:1880/#flow/27d1362d.4b7eda. After startup and a little wait, I get these messages when I use the bookmark: "Th…

---

## [Error writing to 1602 LCD Using lcd node](https://discourse.nodered.org/t/error-writing-to-1602-lcd-using-lcd-node/24549)

<div class="topic-metadata">

**Author:** [@lavoieeric1](https://discourse.nodered.org/u/lavoieeric1)\
**Replies:** 0\
**Last updated:** [9 April 2020 20:46 UTC](https://discourse.nodered.org/t/error-writing-to-1602-lcd-using-lcd-node/24549 "2020-04-09T20:46:01Z")

</div>

Hello I am trying to send text to a 1602a LCD on raspberry pi 3+ using the Node-Red LCD node but I always get a typedError message. I have search all over for the correct format with no success. I am pretty sure the wi…

---

## [Simple Door Sensor with Email Notification](https://discourse.nodered.org/t/simple-door-sensor-with-email-notification/24539)

<div class="topic-metadata">

**Author:** [@rnormore](https://discourse.nodered.org/u/rnormore)\
**Replies:** 1\
**Last updated:** [9 April 2020 20:11 UTC](https://discourse.nodered.org/t/simple-door-sensor-with-email-notification/24539 "2020-04-09T20:11:43Z")

</div>

Hi Folks I am a new user to Node Red. I am looking to do a simple project. I have one zwave door sensor which is showing connected in node red and I can see the state change from on and off when opening and closing door…

---

## [MOXA Serial Convertor: "node-red-node-serialport" node - Resolved](https://discourse.nodered.org/t/moxa-serial-convertor-node-red-node-serialport-node-resolved/19845)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 5\
**Last updated:** [9 April 2020 19:29 UTC](https://discourse.nodered.org/t/moxa-serial-convertor-node-red-node-serialport-node-resolved/19845 "2020-04-09T19:29:15Z")

</div>

I want to use a MOXA N5100A serial convertor to input an RS232 stream to Node-Red. Node-Red is running on a Raspberry Pi 4, Raspian OS. In Node-Red, I am using the "node-red-node-serialport" node. I have successfully …

---

## [Combine similar payloads then split](https://discourse.nodered.org/t/combine-similar-payloads-then-split/24284)

<div class="topic-metadata">

**Author:** [@srynearson](https://discourse.nodered.org/u/srynearson)\
**Replies:** 4\
**Last updated:** [9 April 2020 19:08 UTC](https://discourse.nodered.org/t/combine-similar-payloads-then-split/24284 "2020-04-09T19:08:52Z")

</div>

Hi all, I am trying to combine two streams of data. One feed has some of the attributes I need, and the other has the rest. Each stream has many nodes but most of the nodes can be singled out in each stream by their MAC …

---

## [Remove white spaces](https://discourse.nodered.org/t/remove-white-spaces/24541)

<div class="topic-metadata">

**Author:** [@srynearson](https://discourse.nodered.org/u/srynearson)\
**Replies:** 3\
**Last updated:** [9 April 2020 18:16 UTC](https://discourse.nodered.org/t/remove-white-spaces/24541 "2020-04-09T18:16:14Z")

</div>

This might be an easy question to answer but I have not been able to figure it out. I have an incoming flow that has white spaces in some of the ordered pairs. What nodes can I use to remove the white spaces? I tried rep…

---

## [Create an dashboard by photon that connect to ncd thermocouple](https://discourse.nodered.org/t/create-an-dashboard-by-photon-that-connect-to-ncd-thermocouple/11382)

<div class="topic-metadata">

**Author:** [@deb](https://discourse.nodered.org/u/deb)\
**Replies:** 5\
**Last updated:** [9 April 2020 18:11 UTC](https://discourse.nodered.org/t/create-an-dashboard-by-photon-that-connect-to-ncd-thermocouple/11382 "2020-04-09T18:11:11Z")

</div>

I have an thermocouple ( IoT Long Range Wireless Thermocouple Temperature Sensor) by ncd and I want to make a dashboard that show the connection by the Photon (Particle) and the thermocouple. I made the sensors mannuals …

---

## [Issues using $parent. from a subflow](https://discourse.nodered.org/t/issues-using-parent-from-a-subflow/23231)

<div class="topic-metadata">

**Author:** [@nileio](https://discourse.nodered.org/u/nileio)\
**Replies:** 14\
**Last updated:** [9 April 2020 18:06 UTC](https://discourse.nodered.org/t/issues-using-parent-from-a-subflow/23231 "2020-04-09T18:06:06Z")

</div>

Hi all, I am facing issues with using $parent.var from a subflow in order to access the parent flow context. Though my context variable exists, the subflow does not return any value. It does not even return undefined. t…

---

## [Flow =\> wifi outlet =\> mqtt =\> node-red =\> cloud Iot core](https://discourse.nodered.org/t/flow-wifi-outlet-mqtt-node-red-cloud-iot-core/24493)

<div class="topic-metadata">

**Author:** [@chuckinSpace](https://discourse.nodered.org/u/chuckinSpace)\
**Replies:** 10\
**Last updated:** [9 April 2020 17:29 UTC](https://discourse.nodered.org/t/flow-wifi-outlet-mqtt-node-red-cloud-iot-core/24493 "2020-04-09T17:29:37Z")

</div>

Hi my friends, first of all sorry for my ignorance but I just landed on node-red after being researching about the IoT world, I can seem to understand how to connect a real device, like a tecking wifi outlet, that is cur…

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

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