whatisgithub

What is ha-ecoplug?

dmaidlow/ha-ecoplug — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 2/5LicenseSetup · moderate

In one sentence

A Home Assistant integration that controls ECO Plugs Wi-Fi outlets and pool pump timers locally, with no cloud or account needed.

Mindmap

mindmap
  root((repo))
    What it does
      Local plug control
      Auto discovery
      Online status
    Tech stack
      Python
      Home Assistant
      HACS
    Use cases
      Pool pump control
      Smart outlet switching
      Custom schedules
    Audience
      Home Assistant users
      Ops devops
    Setup
      Same network as plugs
      HACS install

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Control a pool pump timer directly from Home Assistant without the cloud.

USE CASE 2

Turn Dewenwils or ECO Plugs outlets on and off automatically with automations.

USE CASE 3

Build a dusk to dawn or fixed schedule inside Home Assistant instead of the vendor app.

What is it built with?

PythonHome AssistantHACS

How does it compare?

dmaidlow/ha-ecoplug0xhassaan/nn-from-scratch3ks/embedoc
Stars00
LanguagePythonPythonPython
Last pushed2023-06-08
MaintenanceDormant
Setup difficultymoderatemoderatehard
Complexity2/54/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Home Assistant must share a network segment with the plugs, which can require extra VLAN configuration.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

HA-EcoPlug is a local integration for Home Assistant, the open source home automation platform, that lets you control ECO Plugs and Dewenwils Wi-Fi outlets and timers without any cloud service or account. It is installed through HACS, a popular add-on manager for Home Assistant. The main device it targets is the TM-050B, a Wi-Fi controlled pool pump timer, but it also works with related outlets sold under names like WiOn, Woods, Workchoice, and KAB. Once installed, each discovered plug shows up as a simple on and off switch in Home Assistant, along with an online or offline status. The integration talks directly to the plugs over the local network using their own protocol, so there is no dependency on the manufacturer's app or servers after initial setup. It automatically finds new plugs added later through the vendor app. There are two versions of the underlying protocol these plugs use, and this integration speaks both, defaulting to trying each automatically. Newer devices use an encrypted protocol called KAB, while older ones use a simpler legacy protocol. A troubleshooting section explains how to check which protocol your device uses if automatic detection has trouble. Because these plugs rely on local network broadcasts, Home Assistant needs to be on the same network segment as the plugs. If you use network segments or VLANs, there are optional settings to point the integration at the right network interface. Two things this integration cannot do: it cannot report power or energy usage, since the hardware has no metering chip, and it cannot manage the plug's built in timer schedules, since those are only accessible through the cloud app. Instead, the README recommends recreating any schedules directly inside Home Assistant, which the author says is more reliable and works entirely on your local network. The project is a near complete rewrite building on protocol reverse engineering from other open source projects, and it is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me install ha-ecoplug through HACS and set up my TM-050B pool pump timer.
Prompt 2
Write a Home Assistant automation that turns my pool pump on at sunrise and off at sunset using this integration.
Prompt 3
Explain the difference between the KAB and legacy protocols this integration supports.
Prompt 4
Help me troubleshoot why Home Assistant cannot discover my ECO Plugs device on my VLAN.

Frequently asked questions

What is ha-ecoplug?

A Home Assistant integration that controls ECO Plugs Wi-Fi outlets and pool pump timers locally, with no cloud or account needed.

What language is ha-ecoplug written in?

Mainly Python. The stack also includes Python, Home Assistant, HACS.

What license does ha-ecoplug use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is ha-ecoplug to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ha-ecoplug for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.