Project

homekit-steam-user-switcher

stable

Switch Steam accounts on a shared PC via HomeKit.

Overview

HAP-python service exposing each Steam account as a HomeKit Switch. Uses Steam's local --login flag — no Steam API, no Valve servers.

How it works

HAP-python advertises a HomeKit bridge on the local network. When you flip a switch, on_set_value runs subprocess with Steam's --login flag. Steam's local CLI handles the account switch without any Web API calls. The service reads the current active account from the Steam registry file on startup.

Features
🏠
HomeKit native

Siri, Shortcuts, automations all work.

🎮
No Steam API

Local --login flag only. No Valve network calls.

🐧
macOS and Linux

Runs as systemd service.

Architecture
HomeKit virtual switch HAP server Python HAP-python Steam config loginusers.vdf Active user registry write
Posts