This enhanced Sonoff (eWeLink) Binding integrates eWeLink-based devices with openHAB. It focuses on enabling native control of the devices from Sonoff (Itead) via openHAB, with no need to consider alternative firmware.
More
The binding builds on top of the excellent work by delid4ve
As an extensive user of Sonoff devices, I have implemented several necessary adjustments, including adding support for new devices and bug fixes. I am sharing this BETA version publicly in the hope that these updates might also prove useful to others.
Installation & Setup
- Mandatory: Uninstall any previous Sonoff binding version before installing this beta version.
Changelog
Details of enhancements and fixes can be found in the Milestones and Release Notes.
Version 0.1 - 0.8: First release to Market place.
Comparing to original version it adds support for:
-
Sonoff S60 Plug: (WiFi and ZigBee)
-
Single Switch: MiniR4, MiniR4M, Mini-D, BasicGen (1GS)
-
1-3 Channel Wall switches version from series M5, T5
-
Sonoff SG-100-300 (prototype devices)
-
ZigBee Bridges: Ultra, Pro
-
ZigBee Sensors: SNZB-02P, SNZB-02D, SNZB-04P
-
Bouffalo Lab BL602 (CK-BL602-4SW-HS)
A couple of fixes and some code refactoring
Consideration
The binding includes a several code refactoring and for some of the devices for example POWR2 not all channels might be visible, if you switch to this version. It may require the Thing recreation. While the procedure is unfortunately manual, it doesn’t mean you lose the items’ configurations and data collected. Workaround described is here.
Acknowledgments
This enhanced version is built on the foundation of the original Sonoff Binding project. I would like to acknowledge the original development work and the critical contributions from the community that made this project possible:
- Original Developer: The initial binding was based on the excellent work by delid4ve and and the OpenHAB community
Resources
JAR File
Source Code & Full Documentation
Report Issues for my best effort fixes