Could you please be so kind and help me with deconz aqara relay t2 settings?
How can I change switch type from on/off to rocker type. I have this relay connected to my garage door. In the Aqara application there were few options, like: on/off, dry, wet contact, rocker type, pulse mode.
Is there any way to set this up in deconz by update of DDF or in the Phoscon app?
I am running raspberry pi, conbee2 and latest deconz version.
Thanks for your reply. Unfortunately, I don’t have a graphical interface. Is there a way to do it via API or some other method? Or how can I modify the DDF file?
Depend of OS.
You just need to edit the file with a text editor Aqara relay t2 switch type / DDF modification - #2 by Smanar so on normal OS it’s fast.
Then restart deconz, you will have a new setting to test called “config/clickmode”.
You can check if it have worked using Phoscon/help/API Information/sensors
Some third app make it visible else can use command line like.
curl -H 'Content-Type: application/json' -X PUT -d '{"clickmode": "rocker"}' http://IP/PORT/api/KEY/sensors/16/config
IP and PORT are the same used than for Phoscon, KEY is an API key.
I do have the clickmode rocker parameter, but what I want is interlock, so that when I activate one relay the other immediately cuts power. I’m using Debian and Jeedom.