Rele T2, let's talk about it again

I want to share the capabilities of the T2 relay, for some users (as they say in the people “dummies”, please no offense :)) that it is just a relay that has dry contacts, but I want to break this myth about “just a relay”.
Let’s start our story with the history of the creation of the Aqara relay.
Initially, there was an extremely well-known Aqara 2-channel relay, which could only work with wet contacts at 220 volts. Craftsmen managed to convert it into a dry relay (by gnawing two tracks on the board) and some (including me) even perfectly started it to work from 5 volts with dry contacts. I still have this relay working for battery-powered emergency lighting (the relay is powered by 5 volts, the load is 12 volts).

Attention, I do not encourage making such changes to devices, this voids the warranty on Aqara and also electrical safety (a person with experience working with electricity)!

Now let’s continue the story about the newly created long-awaited relay T2.


This relay has a lot of useful and unusual things in contrast to the old relay.
The T2 relay now has a physical jumper that switches the relay from wet to dry contact.
The control contacts are brought out to a separate side, which is very convenient.
Let’s consider what settings Aqara gives us for the relay.
1- “Power-off memory” here the choice is quite extensive and clear, does not need any explanation.

2- “Switch type” selection of the operation of an external switch connected to the switch. There is a peculiarity here when choosing a pulse mode, I will tell you later and you will understand.

3- “Decoupled Switch Mode” is a mode that changes the physical button connected to T2 to a wireless switch, I emphasize once again, the switch (physical, on the wall or other) becomes an analogue of the Aqara wireless button, with only one action “press”. It does not control the relay contacts when pressed.

At this point I will return to the 2- setting.
Some users who have switched to the pulse mode of the “Press Button” relay (setting -2) complain that they cannot control other relays when using automation. To control the relay contacts, you need to have the wireless button enabled and then make an automation for the selected physical button (analogous to the automation you do for the wireless button and wall switch).
Also in this automation you need to include turning on (off) for the same relay (I call it “automation to itself”). An example of such automation is in the picture.


Also note that even the automation conditions of the T2 relay when using the “Press” mode have a small selection

4- parameter “Switch interlock”, this parameter theoretically (I emphasize, theoretically) makes a relay switch in which there can be a COM contact NO and NC contacts. You understand, the contacts themselves block each other.

Unfortunately, there is an unpleasant feature in this mode, I kindly ask you to pay attention to this! The button located on the relay body itself DOES NOT WORK in the interlock mode, it works in the On/Off mode for up to two contacts simultaneously. Therefore, I recommend that for use in reverse mode for motors, first install (pressing without load is possible) and then connect the equipment. Practice has shown that it is also possible to make emergency automation in which IF channel 1 and channel 2 are on THEN turn off channel 1 and channel 2. I tested these conditions, the shutdown is almost instantaneous.


5- parameter “Device mode”, this is one of the parameters that users have been waiting for a long time. It has the ability to select three modes, let’s talk about them.

A- wet contact mode, an analogue of the mode that was on the old Aqara type relay, there is no need to explain anything special here

B- Pulse relay operation mode.
Attention - for clean dry contacts, remove the jumper on the relay to work in this mode!


This mode has the following feature, you can select the time interval (setting range 300 msec (0.3s)÷-2000 msec (2ss)) when the relay will work. That is, On is set to Off delay.
As a rule, this range is used for pulse triggers for starting motors for closing roller shutters, blinds, or other commands that require an initial start to start other automation built on other control systems. In my other topics, I will describe the principle of operation of such control and give a link here.
C- dry contact mode.
Attention - for clean dry contacts, remove the jumper on the relay to work in this mode!

This is also the long-awaited setting of the T2 relay. Here the fantasy of use has no limits. Controlling a heating boiler (dry contacts for supplying a direct signal to the boiler control board). Controlling poorly accurate devices when controlling a 220 volt relay winding. Controlling two different voltages, for example, I control emergency lighting, the relay is powered by 24 volts and the contacts supply power to 12 volt lamps.
Note for developers of future versions of the Aqara relay (if they read my description) - make the relay control range from 12 volts, ideally from 5 volts. Old relays work quite well at 5 volts (read the beginning of the story), this will allow users to use even ordinary power banks to control the relay. You can imagine how the range of use of such a relay in everyday life changes!
A separate explanation about the relay when operating at 24 volts.
If you use a 24 volt relay, be prepared that external switches (com, s1, s2) will not work. I warn you right away, do not experiment with applying other voltages to these contacts (com or 24 volts) to make the switches work. Learn from my mistake, I broke one relay during the experiment, broke the control system from the switch (com, s1, s2).

Features of control at 24 volts, control from the program or using automation (scenes)
This will end my story.
As I write topics related to the use of the T2 relay, I will provide links to them here.
Thank you for taking the time to read the description.

14 Likes

Unfortunately there’s a delay from when the physical switch is activated and the S1/S2/COM detects it of ~1s. This ruins for me a lot of the experience with it

3 Likes

Hello, at what voltage? I don’t have one.

2 Likes

By the way, what do you turn on? Old-style lamps, Aqara has this delay, new ones have settings for the on and off period.

1 Like

220/230V connected directly to my home wiring

1 Like

I’m using the relay, by turning on the decoupled switch settings, to turn on an Aqara bulb, it has a fade in/out animation when turned on or off, but because it’s turned on by an automation it should be instantaneous. I tried various things and I noticed that is always the relay itself that, when the COM and S1 ports detects the switch activating, wait a ~0.5/~1s before doing anything, physically or automation, idk if it’s a problem with my relay or not, but I’ve seen online other people that reported the same thing

2 Likes

This is the most detailed tutorial I’ve ever seen, thank you!

5 Likes

Let me check and write back, I will add videos for different types of Aqara lamps. I’m just at work now, I will have time to make videos at home.

1 Like

Thank you very much!

2 Likes

This is exactly what i needed to know and very comprehensive and easy to understand.

Thanks

3 Likes

Sure, thank you very much, if you’ll never experience any delay (so if it’s always almost instantaneous) while doing videos, ecc, maybe tell me, so that I’ll know that it’s a problem with my device or some misconfiguration

1 Like

Amazing tutorial!!!
Wondering if you could help me.
I want to trigger an automation when a Schuko socket gets powered, just to now it and run an automation.
What I want to achieve:

  • The T2 relay will always have power from Socket Schuko A (this is just its power supply).
  • The actual trigger should come from Socket Schuko B: whenever Socket B gets power, I want the T2 relay to close/open the circuit.

-I don’t want to actually switch ON equipment with the relay.
My goal is just to use the relay’s state as an event/automation trigger inside the Aqara ecosystem (basically: “when Socket B is powered, mark relay as ON”).

What I tried so far and didn’t work, reason using the relay now.

  • I tested with an Aqara smart plug to detect when was consuming power, but the detection was too slow for what I need.

What I think it could work but not sure:

  • Relay powered from Socket A (always on).
  • Socket B (monitored load) connects phase/live to L1 and neutral directly to the same neutral as socket A (outside relay).
  • No jumper between LIN–LOUT (not needed??).
  • Wet mode selected in Aqara app.

Will this work? Any other idea to achieve my goal?

Thank so much

2 Likes

Hello, can I joke with you, don’t be angry. What do you want to do with a calculator to hammer nails? Use such a T2 relay for its intended purpose, not as the simplest sensor
Now the essence of the question. Buy the cheapest blunt relay for 220 (with changeover contacts at the output).
Buy a budget Aqara leak sensor.
Installation.
1- Connect the dumb relay to your controlled outlet (220 volts).
2- In the leak sensor, unscrew the screws with a hexagon and connect the pieces of wire. Connect the resulting contacts to the dry contacts of the blunt relay.
Usage.
You will receive a trigger for instant information about the network status.
Disadvantages.
When using a leak sensor in automation, unfortunately there is no permanent state (°°), there is only an instantaneous state (°), but this is not a problem. Also note that the transition state from flooded to dry occurs with a delay of 3-5 seconds.
Conclusion.
Use your T2 relay (not cheap) for its intended purpose and enjoy your smart home with it.
Sorry for such a humorous form of response.
You can also see my cheat sheet on this topic.
Have a good time creating a smart home.:slightly_smiling_face:

3 Likes

:joy: no worries, I enjoy good humor :rofl:.
I will explain better what I want to achieve :smiley:
I have a garage gate with a motor, with 433mhz remotes.
I want to trigger an automation each time the motor starts. The automation is to disarm some Aqara sensors (door sensor and vibration sensor).
I tried with an Aqara Smart Socket but it takes too much time to sense consumption and trigger the automation that will disarm the sensors.
I already have a T2 relay being used to simulate the remote (will post photo in the end), I thought to use another one to sense when the motor starts. I thought in two possible approaches. Easiest way for me. I have a master slave electrical extension that each time the motor starts (plugged into master socket) the slaves would open, having the T2 Relay L1 circuit plugged into a slave socket, if it will sense Live in one of the wires and would trigger the automation.
The second option is to open the motor cover and connect the T2 Relay L1 to the courtesy bulb of the motor.
The issue is that I don’t know if it will work with T2 relay neither how to connect it :grinning:

This is how I used T2 to trigger the remote to open the two garage gates .

2 Likes

As I already wrote, the T2 relay will not monitor the presence of voltage, only the consumption current (with wet contacts for alternating current).
Can you give a diagram that you want to implement so that it is clear?
As I know, to start opening the gate, an instant start is required, which will break the limit sensors of the opening and will rotate the motor until the limit sensor closes on the other side.
Another question, do you sometimes have unused limit contacts on the garage door that are not involved in the blinds movement control circuit.
Example - the blinds moved, the dry contact closed or opened at the moment the movement began.

I had an idea, and if you put an additional limit switch (clean) on the gate and connect a leak sensor to it, it will instantly turn off everything you need. The gate moved, the contact closed, the “flooded” signal worked, the automation started. You can also upgrade the door opening sensor. I soldered wires to the reed switch in the housing, and now I use this sensor for information signals (water level control, water leak sensor, etc.)

The goal is for the sensors to act as an alarm. I have in the garage door a door sensor, that works by gravity. Is in the top of the last garage door blade, when this blade moves to horizontal position triggers the siren. Also a vibration sensor, if it vibrates triggers a 1 sec alarm just to warn. If the vibration sensor moves, will trigger the alarm.
I want to continue to have the alarm triggered once the garage door moves, hence not possible to use other sensors to trigger a disarm. Not possible to disarm with limits of the motor, bcz when trying to open manually the garage door it will have to be by brute force and will move everything.
What I thought now it could work, as T2 relay doesn’t directly fit the purpose, to use a 220v mechanical relay.
Once the coil is energized it opens the second circuit like a wall switch. I will connect this second circuit, which has no power, to S1 and COM to T2 Aqara relay. Will be in Dry mode. Will it work? I don’t even need to have anything in L1.
For testing, I can use a Master Slave electrical extension. Plug the motor in Master and once it starts the slaves are energized till it stops. Mechanical relay plugged into one of the slaves, when slave energizes, second circuit opens, acts like a switch to Aqara T2 and automation is triggered.
What do you think? Will it work? :smile::smile::smile:

My door sensors adapted to the door.
Had to use weight due to the magnet, I could have done the other way around by placing the magnet in the fixed side of the door…:grinning:


Yes, your scheme will work. But let’s think about the algorithm and the feasibility of using T2. Do you plan to continue using it only as a trigger (L1). Will this be feasible and effective? I offer an example - if On S1 (in wireless mode) then … any operation with L1 or L2 (selected operations can be associated with turning on the security light, etc.). You understand what I mean. Theoretically, in this case you have a trigger in the form of S1 and a fully functional relay T2 on two channels (L1,L2). And the second part of the “Marmaison ballet” will be the analysis and writing of automation. Here, perhaps, you need to make the automation one-time (with its re-launch from another automation). First, make an algorithm of actions that you want and optimize it for yourself. If it is difficult, then contact me, I will help.

1 Like