Hasty Briefsbeta

Homekit-steam-user-switcher: A way to remotely switch Steam users using HomeKit

13 days ago
  • #Automation
  • #HomeKit
  • #Steam
  • Exposes a virtual HomeKit Television accessory where each input corresponds to a Steam user.
  • Selecting an input updates Steam’s AutoLoginUser; turning the "TV" off restarts Steam.
  • Designed for headless gaming machines to switch Steam users easily without a KVM.
  • HomeKit Television service with Active + ActiveIdentifier.
  • Inputs are Steam users (PersonaName as label, AccountName as slug).
  • Switching input sets AutoLoginUser accordingly.
  • Turning the TV off restarts Steam (killall steam).
  • Pairing/state stored under XDG state: ~/.local/state/homekit-steam-user-switcher/.
  • Requires Linux with Python 3.9+.
  • Install dependencies with pip install --user -r requirements.txt.
  • Install script into user bin directory.
  • Create and enable a systemd user unit for the service.
  • Pairing code: 111-11-111.
  • Add accessory in Apple Home via More Options.
  • Supports custom name, port, bind IP, or manual inputs.
  • Delete state directory and disable service for uninstallation.
  • MIT License.