ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
898 stars 91 forks source link

Support for SNZB-01 (SONOFF Mini Switch) #1022

Closed svn2208 closed 3 years ago

svn2208 commented 3 years ago

Issue

Currently, it seems, that the SONOFF SNZB-01 is currently not supported.

If I am not mistaken, the actions onc click, double click and long click are supported by this switch. https://sonoff.tech/product/smart-home-security/snzb-01/

I brought it to deconz and it is working over there.

https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2990

Log Messages

[9/1/2021, 11:50:22 AM] [Hue] xxx: /sensors/15: warning: ignoring unknown ZHASwitch sensor {"config":{"battery":100,"group":"11","on":true,"reachable":true},"ep":1,"etag":"xxx","lastannounced":"2021-08-31T22:02:59Z","lastseen":"2021-09-01T09:32Z","manufacturername":"eWeLink","mode":1,"modelid":"WB01","name":"Switchy","state":{"buttonevent":1002,"lastupdated":"2021-09-01T09:07:18.915"},"swversion":"20201026","type":"ZHASwitch","uniqueid":"xxxx"}

I could provide logfiles, if needed.

ebaauw commented 3 years ago

In PR #1023. Merged into v0.13.22.