HADA

Your computer in Home Assistant

HADA runs in the background on Windows and Linux, tells Home Assistant what the computer is doing, and lets Home Assistant control it.

Version from the latest release · Windows 10 and 11, Linux as a preview ·free, MIT license

The Overview page of the HADA window

Download

  • Windows

    Windows 10 (1809 or newer) and Windows 11.

    Installer
    x64 ARM64
    Portable version, without installing
    x64 ARM64
  • Linux Preview

    GNOME and KDE. Checked by automated tests only; nobody has tried it by hand yet.

    AppImage, runs without installing
    x64 ARM64
    .deb for Debian and Ubuntu
    x64 ARM64
    .rpm for Fedora and openSUSE
    x64 ARM64

Version from the latest release · x64 is for Intel and AMD processors · What works on Linux · every file and its checksum on the releases page

What it does

  • Reports the computer's state

    Whether the screen is on, the session locked, somebody at the keyboard; what is playing; whether the microphone or camera is in use; battery, network, disks and more.

  • Takes commands

    Volume and mute, media keys, the display, lock, sleep, shut down and restart, all from Home Assistant.

  • Shows notifications

    Sent from Home Assistant; on Windows and Linux with pictures and buttons that start automations.

  • Your own sensors and buttons

    Without writing code: whether a program runs, whether a dock is connected, the output of a PowerShell or shell command, a button that starts a program or presses keys.

  • Quick actions

    Start automations from the menu of HADA's icon in the tray, or with a keyboard shortcut.

  • Your dashboard at hand

    Your Home Assistant dashboard, opened from HADA's icon: in a small window on Windows, in the browser on Linux.

How it is built

  • A service and a small app

    The service keeps the connection; the app beside it adds what only a signed-in user's desktop can tell. On Windows the service works with nobody signed in; on Linux it runs in your session, without root.

  • Light

    About 15 MB of memory for the service and 20 to 25 MB for the tray app, measured on Windows. The window only exists while it is open.

  • MQTT discovery

    The computer shows up in Home Assistant as a device with all its entities; nothing to write in YAML. A direct WebSocket connection works too.

  • Yours to control

    Every entity has a switch. The buttons that switch the computer off stay off until you turn them on. On Windows only an administrator can change settings.

Start here

  • Install HADA

    On Windows run the installer, or unpack the portable version, which needs no administrator rights. On Linux take the package for your system.

  • Connect it to Home Assistant

    Open HADA from its icon and set up a connection to your MQTT broker or straight to Home Assistant.

  • Use it in automations

    Dim the lights when a film starts, switch the desk lamp off when you lock the computer.