This repository has been archived and is no longer maintained.
There will be no further updates, bug fixes, or security patches for this project.
We have released a new eWeLink Smart Home add-on, which already supports the same devices as the legacy version and will continue to expand support for more SONOFF devices in the future. However, the new add-on no longer provides a built-in device control UI, nor does it support syncing Home Assistant devices back to the eWeLink cloud.
- Refer to Wiki
- Use host network to discover and control DIY and LAN devices.
- Currently, port forwarding is not supported, please make sure that port 3000 is idle.
git clone https://github.com/CoolKit-Technologies/ha-addon.gitcd ha-addon/eWeLink_Smart_Home/docker build . -t ewelink_smart_home- Run the code below. Replace
yourHomeAssistantUrlwith your current Home Assisant URL.
docker run -d \
--restart=unless-stopped \
--network host \
-e HA_URL=yourHomeAssistantUrl \
-e SUPERVISOR_TOKEN=yourHomeAssitantLongLivedAccessToken \
-v ./volume:/data \
--name ewelink_smart_home \
ewelink_smart_home
- Example:
docker run -d \
--restart=unless-stopped \
--network host \
-e HA_URL=http://192.168.1.100:8123 \
-e SUPERVISOR_TOKEN=eyJ~iJ9.eyJ~jF9.CkQ~Lho \
-v ./volume:/data \
--name ewelink_smart_home \
ewelink_smart_home
- Access port
3000.