Page 1 of 1

garage door opener with switch+relais and contact sensor and use in homebridge

Posted: Monday 08 June 2020 14:48
by chmod
Hi,
currently i'm using an impuls switch (type on/off) with a relais connected to the switch. I made a dummy switch (type push on button) with a block-script that switches the impuls switch "on" and after 1 second "off".
I also connected a contact sensor to the door so i can see if the door is open or closed.

Is there a smarter way to do this? I would like to combine those three switches to one. Is that posible??

and last but not least: Is it posible to present these switches as one garage door in Home Bridge for the use with home kit?

Thnx for the help!

Re: garage door opener with switch+relais and contact sensor and use in homebridge

Posted: Thursday 05 August 2021 21:17
by anp21
This is what I am using after several unsuccessful attempts to pair GD00Z-1. I use Conbee2 and Deconz.
1.Sonoff SNZB-04 Door sensor -replace magnetic sensor with tilt sensor;
2.Tuya WHD02 Mini Smart Switch - modify relay output, you have to isolate the contacts;
3. Use Zigbee 3 Gang Remote and Lua script
If anyone is interested, I can post more info
20210805_135445-1200.jpg
20210805_135445-1200.jpg (94.34 KiB) Viewed 477 times
20210805_135339-1200.jpg
20210805_135339-1200.jpg (80.83 KiB) Viewed 477 times
20210805_135514-1200.jpg
20210805_135514-1200.jpg (81.82 KiB) Viewed 477 times

Re: garage door opener with switch+relais and contact sensor and use in homebridge

Posted: Monday 21 March 2022 18:25
by sarvex
anp21 wrote: Thursday 05 August 2021 21:17 This is what I am using after several unsuccessful attempts to pair GD00Z-1. I use Conbee2 and Deconz.
1.Sonoff SNZB-04 Door sensor -replace magnetic sensor with tilt sensor;
2.Tuya WHD02 Mini Smart Switch - modify relay output, you have to isolate the contacts;
3. Use Zigbee 3 Gang Remote and Lua script
If anyone is interested, I can post more info

20210805_135445-1200.jpg20210805_135339-1200.jpg20210805_135514-1200.jpg
Hi anp21!!!
¿how did you do to modify WHD02 to convert it in dry relay?
Thanks in advance!!

Re: garage door opener with switch+relais and contact sensor and use in homebridge

Posted: Wednesday 06 April 2022 17:51
by anp21
Sorry for the delay, attached is zip file with all pictures. Also you can use no-name Zigbee switch, much easier to modifyImage

Re: garage door opener with switch+relais and contact sensor and use in homebridge

Posted: Wednesday 06 April 2022 17:54
by anp21
20220406_104343-600.jpg
20220406_104343-600.jpg (19.75 KiB) Viewed 343 times