Home Assistant Integration for Sonoff eWeLink smart devices. Using the stock firmware, works alongside the eWeLink mobile app!
This was inspired by HASS-sonoff-ewelink
WARNING: completely deactivate the sonoff
integration from Home Assistant while doing a firmware update, due to auto-relogin function you might be kicked out of the app before the process is completed. I would not be held liable for any problems occuring if not following this steps!
And copy the *.py files in custom_components
folder using the same structure like defined here:
custom_components
└── sonoff
└── __init__.py
└── switch.py
└── sensor.py
- Open the integrations page in Home Assistant e.g.: http://homeassitant.local/config/integrations
- Click
Add Integration
- Choose for
eWeLink Sonoff
- Enter your eWeLink login credentials
- @peterbuga for providing a good base to work with
- @skydiver for the super useful eWeLink API in javascript @skydiver