Przejdź do treści

Frequently asked questions

Do I need MQTT?

No, but it is the better way. With MQTT the computer appears in Home Assistant as a device, entities have unique IDs and can be renamed, buttons and switches can be pressed from a dashboard, and Home Assistant notices when the computer goes away. The WebSocket engine needs no broker and can do less.

Why are there two programs?

A Windows service cannot see a user's desktop: the focused window, the volume, the media that is playing. A program on the desktop cannot run before anybody signs in, or shut the computer down without asking. So the service holds the connection and does what needs no desktop, and the tray app adds the rest and hands it to the service. See Architecture.

Why does changing settings need administrator rights?

The settings decide what a service running with system rights does, including which PowerShell commands it runs. If any signed-in user could change them, any user could run anything as the system. Reading status and logs needs no special rights; your personal settings on the Settings page do not either.

Some entities are unavailable. Why?

  • All of them: the computer is off or asleep, or the service lost its connection.
  • The ones from the tray app (window, volume, media, activity and so on): the tray app is not running, nobody is signed in, or another user is at the computer. See Several users on one computer.

This is on purpose: a value from an hour ago should not look current.

The power buttons are missing in Home Assistant

They are off until you turn them on. See Controls.

Does HADA send anything anywhere else?

Only to the MQTT broker or the Home Assistant you configured. The one exception is the update check: once a day the service asks GitHub whether a newer version exists, which you can turn off on the Settings page.

How much memory does it use?

About 15 MB for the service and 20 to 25 MB for the tray app, measured on Windows 11 ARM64. The window takes about 125 MB while it is open and nothing once it is closed, because it is a separate process.

Windows warns me when I run the installer

The installers are not code-signed yet, so SmartScreen does not know them. Choose More info → Run anyway. Each release publishes SHA-256 checksums to compare the download with.

Can I install it without clicking through the installer?

Yes: msiexec /i HADA-<version>-x64.msi /qn. The tray app then starts at the next sign-in. Settings can be put in appsettings.json; see Configuration.

Can I use it without installing it, or without administrator rights?

Yes, with the portable version: a folder to unpack and run. Its service then runs as you instead of as a Windows service, so it does not work while nobody is signed in.

Where are my settings, and how do I remove everything?

Settings and logs are in %ProgramData%\HADA; personal settings under HKCU\Software\HADA. Uninstalling leaves both in place, so that updating keeps them. Delete them by hand to forget everything.

Is there a macOS or Linux version?

No. The connection to Home Assistant is portable, but the sensors, the controls and the window are written for Windows.

Something is wrong

Look at the Logs page first, then at Troubleshooting and the known limitations. Bugs and ideas are welcome as issues on GitHub.