To be honest, what I really need to tackle is getting the garage motor (controlled by a 433MHz remote) to work smoothly with Aqara. If I can pull that off, it’ll make a huge difference for me, a real game changer ![]()
I don’t mind dedicating the T2 relay to this task if it gets the job done – the goal is simply to have a reliable solution. Right now the situation is a bit awkward:
• If I use my phone, I can open the gate and disarm the sensors at the same time.
• But the rest of my family doesn’t use the shortcuts on the phone, so they rely on the Aqara wireless mini switch to disarm, and then use the separate 433MHz remote to open the garage.
So in practice, we’re all using slightly different routines, which isn’t ideal.
The closing sequence already works nicely: once the garage door closes and the sensor detects it, the system automatically re-arms the sensors. Where I see the big improvement is on the opening side — with the T2 relay handling the disarm right when the motor starts. That would also allow me to switch on the garage lights at the same time, and then turn them off automatically once the door is closed. When closing the door it will trigger again the disarm but it will arm once the door is closed.
This way, I could remove the mini switch completely and simplify the whole process for everyone.
I’d really value any comments or suggestions on this approach. I’m not an expert in automation or electronics, but I enjoy experimenting and learning as I go (includes $$$). ![]()
I m really stuck on how to interact with Aqara when the motor starts running. I placed all my faith in the Aqara Smart socket, but it takes up to 10 sec to identify the consumption ![]()
Take it, it’s good.
Friend, I have an idea. Why don’t you use this relay right away? Just put S1 and S2 into wireless button mode and perform the necessary automation with the stupid relay you ordered.
In short, I gave you an idea. I don’t have a specific scheme for gate automation. Analyze everything you want and do it. If I’m needed, write.
If you can be patient, Shelly is coming out with an energy monitor over Matter Shelly EM Mini Gen4 – Shelly Europe
Hello, @leorossi05.
I was testing my development and remembered that you asked to check the reaction to turning on the lamp. Sorry for the creative chaos on the table. Everything works fine. I took an old-type lamp (incandescent) to clearly show you that there is no delay. I also checked the switching on speed from the wireless button, everything is also fine. You will see everything in the video. The reason for your delay in turning on the lamps (I experimented with the Aqara lamp) is that they are smart lamps.
When you start a smart lamp, there is a delay, which is (most likely) an internal start-up in the lamp in smart device mode. Theoretically, smart lamps should be constantly powered so that they are always ready for a command (Zigbee channel). I specially shot a second video with the Aqara lamp to make it clear.
Thank you very much, i turn on the smart bulb via automation and keep the power always up so that the lamp is always ready, the delay that I talk about I think is in your first video too, it’s literally (I tested again) of only 0.3-0.5s, so it’s not that noticeable, but as we always had literally instantaneous light reaction because there were no smart involved, we notice that. From your video you can listen that the sound of the switch comes that delay time before the sound of the relay that go in action.
To confirm to you that the Aqara system is perfect in itself, if I turn on or off the smart bulb from the app it’s literally instantaneous.
I know it’s a very little delay
but you know, it’s good to report this things in any case.
Thank you again for the videos.
Hahaha, the sound you heard is the sound of the optocoupler relay that I am testing in conjunction with the T2. That is why you hear a loud sound. You should watch the part of the video where I press the wireless button. The button turns on the T2 relay, not the lamp.
I mean I expect that when the button is pressed (or released) it activate the T2 in that precise moment but you already have “lifted” the finger for a little bit before something happens. I don’t know if I’m hallucinating or if I pretend to much hahahah, it’s that with the app I’m literally impressed on how it’s really instantaneous, almost it seems that it react before I touch the screen hahaha
Please note that the video is compressed on the website, image jumps are possible.
You don’t think I’m cheating🤣
I’m not thinking that you’re cheating, don’t worry hahaha
I’ll try some other configurations, product or ideas, and another T2, to see if I can find a good configuration for me
Are your lamps “dumb”?
Hi @gafich10 ,
Received today the stupid relay, as I have another T2, I tested all and it works!!! But I still need some guidance from you
. What I did:
- 220v stupid relay connected to a 220v socket
- Connected the second circuit of the stupid relay to T2 in S1 and COM
- nothing more connected for the time being to T2
When I energize the stupid relay, the second circuit closes and T2 identifies it. I set an automation to trigger when button 1 is on, and all worked.
My problem now is how do I setup T2 to turn off button 1 when the relay opens again. If remove energy from stupid relay the circuit opens but T2 doesn’t recognize it, hence button 1 stays on.
I did an automation to turn it off, but I m sure there is a configuration in T2 to automatically do it once the “switch” changes status.
Any idea?
Thank you so much for your amazing support on this topics.
Ahhh , where did you get the optocoupler? That was my first option to the stupid relay but wasn’t able to find one.
Hello, you probably chose the pulse switching mode. Switch to the switch mode, and then it will be as you want. You are not using the relay for its intended purpose, just as a trigger?
If you need pulse mode, then there are no other options.
I have a 12 volt optocoupler with ready-made relays that the optocoupler controls.
I have it in dry mode and I tested the Rocker and button type, didn’t get it to turn off.
Should I choose Disabled?
For now I m just trying to trigger automations when the motor starts working. After it will try T2 to turn on a light when the first automation starts. The light will turn off either when the door sensor closes or the physical switch is pressed.
Sorry, I didn’t understand anything from your text ![]()
Write a simple IF THEN algorithm
If you use only S1, then try to do this. Give the middle point of the relay to COM and the other two to S1. Theoretically, when you switch the dumb relay there will be a pulse on the relay T2. You understand, at the moment of On/Off there will be this pulse. This is my version, check it to see if it will work. This is for the push mode (button).
What you mean?
If you can, take screenshots of the automation screen and T2 relay settings. Then I will understand and give advice.

