# \[APP\] Aqara & Xiaomi Smart Home - Simplify your life with a smarter home

**URL:** <https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156>\
**Category:** Apps\
**Tags:** app, zigbee\
**Created:** [August 22, 2018, 8:18pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156 "2018-08-22T20:18:09Z")\
**Posts on this page:** 20\
**Page:** 52

<div class="post-metadata">

**Author:** ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)\
**Post date:** [September 24, 2019, 11:08am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1085 "2019-09-24T11:08:55Z")

</div>

I think I already answered your question… 😌  
Or I don’t understand it…

I do count 2 options for OFF “Zet uit” the relay…

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [September 24, 2019, 11:11am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1086 "2019-09-24T11:11:34Z")

</div>

I think we are not understanding each other.

Where do I find these flow cards:

“Zet aan (linker schakelaar)”  
“Zet uit (linker schakelaar)”

PS  
Could it be that - because I only have connected L and N and left the RED wire as it arrived, but without a load / other connections the relay behaves like this?)

---

<div class="post-metadata">

**Author:** ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)\
**Post date:** [September 24, 2019, 11:34am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1087 "2019-09-24T11:34:09Z")

</div>

See my response above… already answered…

> [@TedTolboom](#):
>
> One flow with in THEN the “Zet uit” (read for the left switch) & “Zet uit (rechter schakelaar)” action cards?

As direct response:  
“Zet aan” = “Zet aan (linker schakelaar)”  
“Zet uit” = “Zet uit (linker schakelaar)”

Ie. “Switch on” / “Switch off” is controlling the left relay, “Switch on (right switch)” / “Switch off (right switch)” is controlling the right relay

> Insights behind the answer:  
> The current Zigbee implementation does not support multiChannelNodes, like Z-wave does… So I’m not able to make a child devices for the second switch. The left switch uses the default trigger cards, for the right switch I need to use custom trigger cards.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [September 24, 2019, 11:40am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1088 "2019-09-24T11:40:00Z")

</div>

Aha!  
Now I understand!

Thanks again Ted!

---

<div class="post-metadata">

**Author:** ![Rdw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rdw/32/10679_2.png) [@Rdw](https://community.homey.app/u/Rdw)\
**Post date:** [September 24, 2019, 4:18pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1089 "2019-09-24T16:18:27Z")

</div>

In my experience after the 0.6.0 and 0.6.1 updates my Aqara body sensors seem waaaay less responsive.

I tried a homey reboot but without succes. It is not that some sensors are consequent offline. But more that some sensors report motion for 10 minutes and then half an hour nothing with the same amount of motion around them. After that they pick up again for some time. And so on. Anyone else experiencing this issue?

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [September 24, 2019, 5:24pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1090 "2019-09-24T17:24:52Z")

</div>

Great thank you very much. I didnt find Toggle on/off for second channel in the Flow nevertheless I could program the same under the virtual device created as a second channel.  
Only one more small question, is there any way to change the icon of the device? I have light connected to relay and unlike other lights I have different icon. But this is no big issue. In this matter i want to ask the purpose of the possibility to select the plugged device as Light etc. Many thanks

---

<div class="post-metadata">

**Author:** ![Berni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berni/32/9528_2.png) [@Berni](https://community.homey.app/u/Berni)\
**Post date:** [September 24, 2019, 5:56pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1091 "2019-09-24T17:56:59Z")

</div>

My vibration sensor is still dead after 0.6.0 and even wake up can not solve it… I will investigate more time over the weekend to evaluate the background.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [September 25, 2019, 6:59am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1092 "2019-09-25T06:59:53Z")

</div>

I have a question about the 2-way relay **Aqara LLKZMK11LM**.

 ![50](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6e0a63acfe6cea02a2cbf21228f5ca0512b0d7cf.jpeg)

It is not about the use of the App, but how to use it as a potential free relay. If you use it to switch 230 v lights, it should be connected like this:

 ![43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/79b71bf587b45e04eb389cf93b9bab99f0f08419.jpeg)

In my case I want to be able to switch potential free; so basically closing or opening the relay without it being loaded with 230v.

What is the best way to do so?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 25, 2019, 7:36am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1093 "2019-09-25T07:36:50Z")

</div>

> [@Eternity](#):
>
> In my case I want to be able to switch potential free; so basically closing or opening the relay without it being loaded with 230v.
> 
> What is the best way to do so?

Judging by that schematic, you can’t, because the internal relays are switching the L(ive) feed. Also see [this post](https://community.hubitat.com/t/new-xiaomi-aqara-relay-2-channel/13335/39) on the Hubitat forum, specifically this quote: _“The input mains is NOT isolated from the relay contacts. So if you need to close contacts for lower voltages, you will need to close a secondary relay that has an activation coil of the same voltage as the input voltage.”_

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [September 25, 2019, 9:33am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1094 "2019-09-25T09:33:40Z")

</div>

@robertklep

Thank you!

Did some testing myself. Not being an electrician, I was not very comfortable doing so. But, I guess I have an answer.

I connected the first two connectors to mains 230v and left the red wire connected between two and 3.

I used a multimeter to measure between the still not used IN (fourth from the left connector) and the L1.

Switching the relay via Homey to on/off I measured NO voltages on these two connectors (multi meter set to AC and 500v range). After setting the meter to DC and 20 volt range still no voltage detected in ON or OFF.

Now I switched the multimeter to measure resistance (ohm). With Homey switching the relay ON and Off, I see the meter responding from 1 (on state) to 0 (off state).

To me that means it is switching potential free. Or, I am doing something wrong?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 25, 2019, 9:40am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1095 "2019-09-25T09:40:16Z")

</div>

> [@Eternity](#):
>
> To me that means it is switching potential free. Or, I am doing something wrong?

IN and L1 will probably be connected by the relay, so they are at the same voltage level (a multimeter measures voltage _difference_). You need to measure the voltage between N and L1 in both cases (on/off).

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [September 25, 2019, 11:15am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1096 "2019-09-25T11:15:44Z")

</div>

Thanks for your patience, Robert!

> [@robertklep](#):
>
> You need to measure the voltage between N and L1 in both cases (on/off)

Measuring between N en L1 returns 230v in ON state (and 0v in Off state). So, you are absolutely correct!

PS  
What if I ‘mis-use’ port IN and L; on/off is switchable via Homey. Would that no just be a ‘dry’ contact?

PPS  
And, to stress your patience, what is the RED connector for…? Why is that removable?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [September 25, 2019, 11:22am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1097 "2019-09-25T11:22:04Z")

</div>

Remove the red jumper and you have 2 potential free contacts!

Rem: Both IN terminals are internal connected, so this is the common for both contacts.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 25, 2019, 11:33am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1098 "2019-09-25T11:33:06Z")

</div>

[https://community.hubitat.com/t/new-xiaomi-aqara-relay-2-channel/13335/33:](https://community.hubitat.com/t/new-xiaomi-aqara-relay-2-channel/13335/33:)  
“Okay, more testing and a  
!!! WARNING!!!  
with only N and L connected to mains voltage and jumper removed, when the relay is switched on there is 120 volts at L1 or L2 depending which relay is energized”

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 25, 2019, 11:41am UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1099 "2019-09-25T11:41:11Z")

</div>

> [@Eternity](#):
>
> PS  
> What if I ‘mis-use’ port IN and L; on/off is switchable via Homey. Would that no just be a ‘dry’ contact?

I don’t understand: both IN and L are inputs, no switching occurs between those two.

> [@](#):
>
> PPS  
> And, to stress your patience, what is the RED connector for…? Why is that removable?

According to [this](https://community.hubitat.com/t/new-xiaomi-aqara-relay-2-channel/13335/36), it may be required to get the full current to the relay contacts.

A possible solution for what you’re trying to do is mentioned [here](https://community.hubitat.com/t/new-xiaomi-aqara-relay-2-channel/13335/37): use the Aqara device to switch _another_ relay. That relay’s output would be potential-free.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [September 25, 2019, 2:15pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1100 "2019-09-25T14:15:25Z")

</div>

> [@robertklep](#):
>
> I don’t understand: both IN and L are inputs, no switching occurs between those two.

Weird, isn’t it!  
I hear a loud click in the relay and I see the resistance go from 0 to 1 whilst switching.  
I am talking about using connection 4 and 5 (from left to right).

My brother has more knowledge of relais and will pop over Friday. Let’s see if he ca shed some light on this issue!

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 25, 2019, 3:34pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1101 "2019-09-25T15:34:26Z")

</div>

> [@Eternity](#):
>
> and I see the resistance go from 0 to 1 whilst switching

If you mean 0 to 1 ohms, it’s a dead short (both are connected). An increase from 0 to 1 is not significant.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [September 25, 2019, 3:39pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1102 "2019-09-25T15:39:07Z")

</div>

> [@JPe4619](#):
>
> Both IN terminals are internal connected, so these are the common for both contacts

L is Line (fase)  
N is Neutral (nul)  
IN and IN are the Common of the relay contacts, connected to each-other  
L1 is Line out from Relay-1 to the Load-1  
L2 is Line out from Relay-2 to the Load-2  
S1 is input from switch-1 (the other side of the switch is connected to Line )  
S2 is input from switch-2 (the other side of the switch is connected to Line )

The red link is to provide the Line voltage to both the IN and the L connector.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [September 25, 2019, 3:55pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1103 "2019-09-25T15:55:13Z")

</div>

Thanks guys!

My brother was able to explain it to me. He too mentions ‘dead short’ and agrees the Aqara is not a potential free relais, due to the disign of the devise (transistor?).

We compared it to a Fibaro FGS-222 and that indeed is a true potential free relais, **if** the Common (= IN) is not connected with the L(ive):

![41](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/81ef4beb3d1245760d280c1a87460c76b77d4051.png)

Guess I will need to find another solution than the (cheaper) Aqara relais tot have a potential free relay.

Again, thanks for your hep and patience! Appreciated!

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [September 25, 2019, 4:29pm UTC](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/1104 "2019-09-25T16:29:54Z")

</div>

> **[5V ESP8266 Dual WiFi Relay Module Internet Of Things Smart Home Mobile APP...](https://www.banggood.com/5V-ESP8266-Dual-WiFi-Relay-Module-Internet-Of-Things-Smart-Home-Mobile-APP-Remote-Switch-p-1270421.html?rmmds=detail-left-hotproducts__2&cur_warehouse=CN)**
>
> Online Shopping at Banggood.com！

[Previous page](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156.md?page=51)

[Next page](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156.md?page=53)
