CoolKit-Technologies / ha-addon

Apache License 2.0
280 stars 124 forks source link

Source Code Link

Home-Assistant-AddOn

ADD-ON:

DOCKER:

  1. git clone https://github.com/CoolKit-Technologies/ha-addon.git
  2. cd ha-addon/eWeLink_Smart_Home/
  3. docker build . -t ewelink_smart_home
  4. Run the code below. Replace yourHomeAssistantUrl with 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
  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
  1. Access port 3000.