-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NEW DEVICE] Support for Sonoff SNZB-01 Wireless Switch (button) #170
Comments
Sorry, I accidentally set this as a feature request rather than a request for new device support! |
Hi @wafliron, Could you add in here the ZHA events that this controller fire and specify which actions were done (press, hold, release, etc)? Thank you :) |
Will do - I think I know what you need / where to get it (haven't made a request by this before). Bear with me a couple of days though, need to find a few spare moments to gather the info! Thanks. |
Hi @xaviml, Here's what I've gathered - let me know if I've done anything wrong / you need any more info. Device Signature:
Single Click Event:
Double Click Event:
Hold Event (fires once after holding for about two seconds - no further events fired after this, tested with hold time up to about 30 seconds):
There doesn't appear to be an event for release. There also doesn't appear to be specific events for any more than double click - 3+ clicks just results in a combination of the "on" and "toggle" events firing. e.g. 3 clicks is 1 x "on" followed by 1 x "toggle", 4 clicks is 2 x "on", 5 clicks is 2 x "on" followed by 1 x "toggle", etc). Thanks for looking at this! |
Hi @wafliron, Thanks for the details. I will be adding this controller for the next release :) Regards, |
Thanks very much. I'll keep an eye out for the release and give it a test. |
This controller has been added to ControllerX v4.2.0. |
I've finally had a chance to test this (sorry it took so long) and thought I should report back: all appears to be working fine, just a pity the button itself isn't capable of more (like the Xiaomi buttons are). Thanks very much for adding support, appreciate it. |
Feature Request
Is your feature request related to a problem?
No
Describe the solution / feature you'd like
I've been experimenting with the new(-ish) range of Sonoff ZigBee devices using Home Assistant and ZHA. So far my results have been very positive - they look like a great alternative to Xiaomi devices if you need a cheap motion sensor / contact sensor / temp sensor / button.
I already use ControllerX extensively with a variety of Ikea and Xiaomi buttons/remotes (and thank-you for providing such a great add-on!) - it would be great if it supported the SNZB-01 Wireless Switch. This device is just a basic button, similar to the Xiaomi Aqara WXKG01LM
Describe alternatives you've considered
Not really applicable, but using HA automations / NodeRed instead of ControllerX with this button type.
Additional context
Nothing at this point, but please let me know if any other information may be helpful if you decide to add support for the SNZB-01.
The text was updated successfully, but these errors were encountered: