# AlexxIT/SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant

Repository: https://github.com/AlexxIT/SonoffLAN
Canonical: https://ross.abutalabs.com/products/sonofflan
Language: Python
License: MIT
License Family: permissive
Topics: ewelink, sonoff, home-assistant, hacs
Last push: 2026-07-17T14:12:30+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 88, longevity 100
- inputs: {"age_days": 2482, "days_push": 47, "days_rel": 81, "gap_med": 8.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3296, forks 470 (observed 2026-08-28T04:07:54.085862+00:00)

## What it is
A Home Assistant custom component (HACS integration) for controlling Sonoff devices running original eWeLink firmware over both local network (LAN) and the eWeLink cloud. It supports switches, sensors, RF bridges, and cameras without requiring firmware flashing.

## Use cases
- control sonoff switches from home assistant without flashing firmware
- integrate ewelink devices with home assistant
- control sonoff devices locally over lan
- read power and energy sensors from sonoff pow devices
- use sonoff rf bridge 433 with home assistant
- manage multiple ewelink accounts and homes in home assistant
- get instant device state updates without cloud dependency

## When to choose
- you own Sonoff devices with stock eWeLink firmware and want Home Assistant integration
- you want local LAN control without reflashing devices with custom firmware
- you need both cloud and local control simultaneously
- you use Sonoff TH, Pow, RF Bridge, or GK-200MP2-B camera devices

## When to avoid
- you have already flashed your devices with Tasmota or ESPHome (use native integrations instead)
- you need real-time power/current/voltage sensor updates via cloud (blocked by eWeLink since 2026)
- you don't use Home Assistant
- you need a standalone smart home control app outside Home Assistant

## Facets
- artifact type: plugin
- maturity: active
- function: iot, workflow-automation, developer-tools
- domain: iot, self-hosted
- platform: python, self-hosted
- tags: home-assistant, hacs, sonoff, ewelink, smart-home, custom-component, local-control, cloud-control, home-automation, linux

## Member repositories
- AlexxIT/SonoffLAN (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:54.085862+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:22:42.476632+00:00, confidence not recorded.
  - readme: https://github.com/AlexxIT/SonoffLAN (fetched 2026-08-28T04:07:54.085862+00:00, sha 90fa5cc2352c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
