# Codex created 2025-12-29_0224 # Configuration example for Pilot v2 # Special variables: # $hostname - Will be replaced by the system hostname at runtime device: name: $hostname # Use $hostname for automatic hostname, or a custom name like "my-pc" identifiers: ["$hostname"] manufacturer: "Pilot" # Manufacturer name shown in Home Assistant model: "PC Agent" # Model name (e.g., "Laptop", "Desktop", "Server") sw_version: "2.0.0" # Software version suggested_area: "Bureau" # Suggested area in Home Assistant (optional) mqtt: host: "127.0.0.1" port: 1883 username: "" password: "" base_topic: "pilot" discovery_prefix: "homeassistant" client_id: "$hostname" # MQTT client ID - use $hostname or a custom ID keepalive_s: 60 qos: 0 retain_states: true features: telemetry: enabled: true interval_s: 10 commands: enabled: true cooldown_s: 5 dry_run: true allowlist: ["shutdown", "reboot", "sleep", "screen"] power_backend: linux: "linux_logind_polkit" # or linux_sudoers windows: "windows_service" screen_backend: linux: "gnome_busctl" # or x11_xset windows: "winapi_session" # or external_tool publish: heartbeat_s: 30 availability: true paths: linux_config: "/etc/pilot/config.yaml" windows_config: "C:\\ProgramData\\Pilot\\config.yaml" # Codex modified 2025-12-29_0224