Problem to add eWeLink to home-assistant

Dear all,

I’m following the instructions in the eWeLink app to connect it to Home Assistant:

I’ve already found the package via the GitHub link and want to install it, but I keep getting the following error message.

> Docker build failed for f4f71350/aarch64-addon-ewelink_smart_home_slug:1.4.3 (exit code 1). Build output: #0 building with "default" instance using docker driver #1 [internal] load build definitiode from Dockerfile #1 transferring dockerfile: 403B done #1 DONE 0.0s #2 [internal] load metadata for docker.io/library/node:14-slim #2 DONE 0.2s #3 [internal] load .dockerignore #3 transferring context: 2B done #3 DONE 0.0s #4 [1/7] FROM docker.io/library/node:14-slim@sha256:198142146b4c47193348f6415da769bdb5035c16fcab051c38c256a6b48f2e1c #4 CACHED #5 [internal] load build context #5 transferring context: 4.23MB 0.6s done #5 DONE 0.6s #6 [2/7] RUN apt-get update && apt-get install -y python build-essential #6 0.735 Ign:1 http://deb.debian.org/debian buster InRelease #6 0.760 Ign:2 http://deb.debian.org/debian-security buster/updates InRelease #6 0.771 Ign:3 http://deb.debian.org/debian buster-updates InRelease #6 0.781 Err:4 http://deb.debian.org/debian buster Release #6 0.781 404 Not Found [IP: 199.232.190.132 80] #6 0.805 Err:5 http://deb.debian.org/debian-security buster/updates Release #6 0.805 404 Not Found [IP: 199.232.190.132 80] #6 0.816 Err:6 http://deb.debian.org/debian buster-updates Release #6 0.816 404 Not Found [IP: 199.232.190.132 80] #6 0.826 Reading package lists... #6 0.854 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file. #6 0.854 E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file. #6 0.854 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file. #6 ERROR: process "/bin/sh -c apt-get update && apt-get install -y python build-essential" did not complete successfully: exit code: 100 ------ > [2/7] RUN apt-get update && apt-get install -y python build-essential: 0.781 Err:4 http://deb.debian.org/debian buster Release 0.781 404 Not Found [IP: 199.232.190.132 80] 0.805 Err:5 http://deb.debian.org/debian-security buster/updates Release 0.805 404 Not Found [IP: 199.232.190.132 80] 0.816 Err:6 http://deb.debian.org/debian buster-updates Release 0.816 404 Not Found [IP: 199.232.190.132 80] 0.826 Reading package lists... 0.854 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file. 0.854 E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file. 0.854 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file. ------ e[33m1 warning found (use docker --debug to expand): e[0m - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 13) Dockerfile:6 -------------------- 4 | FROM node:14-slim 5 | ENV CK_API_ENV=prod 6 | >>> RUN apt-get update && apt-get install -y python build-essential 7 | RUN mkdir -p /workspace/node_modules 8 | COPY ["./dist", "./package.json", "/workspace/"] -------------------- ERROR: failed to build: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y python build-essential" did not complete successfully: exit code: 100

could somebody help me?

Your Docker build is failing because the Debian Buster repositories have been deprecated and moved to an archive server. The error messages like 404 Not Found and does not have a Release file confirm that the URLs in your image are no longer valid.
By the way, this add-on is rather old and problematic. Use this instead.

1 Like

Thank you! in HA i got this failure:

image

Ah, classic mix-up! The GitHub repo AlexxIT/SonoffLAN is not an add-on repository for Home Assistant—it’s a custom integration, and that distinction matters more than you’d think.

If you’re running Home Assistant in Docker, you won’t have access to the Add-on Store (which is exclusive to Home Assistant OS and Supervised installations). Instead, you’ll need to install SonoffLAN via HACS (Home Assistant Community Store). Here’s how to do it properly:

How to Install SonoffLAN in Docker-based Home Assistant

  1. Install HACS If you haven’t already, follow the official HACS installation guide to get it set up.
  2. Add SonoffLAN as a Custom Repository in HACS
  • Go to HACS → Integrations → Click the three dots in the top right → Custom repositories
  • Add https://github.com/AlexxIT/SonoffLAN
  • Set category to Integration, not Add-on
  1. Install the Integration
  • Search for “Sonoff LAN” in HACS Integrations
  • Click Install
  • Restart Home Assistant
  1. Configure in configuration.yaml Add something like this:

yaml

sonoff:
  username: !secret sonoff_username
  password: !secret sonoff_password
  reload: always
  1. Restart Home Assistant Again Your Sonoff devices should now appear in the States tab.