detect the press onthe regular light switch on your home
toggle the live wire using a relay
is connected in Zigbee and report state on this.
My question is that it may be possible to either:
find the same thing without the relay part, thus being way smaller
modify the existing module to remove the relay
Did anyone attempted this?
The use case is simple: my light bulb are already connected, I just need to listen for the physical switch change to toggle the light, rather then cutting the power on the light.
This is often called “detach mode” and from my personal experience with ZigBee devices can be a hit and miss if it supported and working at all. Sometimes quirks help - sometimes don’t. I waisted lots of time with that…
On the other hand all my esphome (WiFi) devices can do this (e.g. Shelly) completely independent from the manufacture.
I was so frustrated with the time I waisted with ZigBee and a few matter devices that I kicked them all out.
If you just need detect a button press you could use (if your juristication allows it) a simple esp for that task. Your wall switch (without AC!) will then just work as a switch on a GPIO. Also you need 3.3V/5V for that solution
Regarding using a GPIO and an ESP, this mean doing my own code to join a network (either zigbee or matter or etc, no wifi), plus the power convertion, and switch detection. I really wanted to avoid doing custom electric stuff, as it’s not my domain and don’t want anything to catch fire in the wall / behind the switch.
The module I linked above works very well on my side, and the HA automation was able to use it easily, I just didn’t use the relay out and only use it for switch detection, but it takes a lot of spaces and thus is not easy to install + the relay still makes sounds even if there is no wire on the relay out.
Yes but the final package size need to be very fin, and I don’t know anything about power supply to provide 5v or 3.3v for esphome. I wouldn’t mind making my own, but prefer to use by dev time on other topics if possible.