feat(yoga14): remote control, app management, install script

- Add keycode module: G7BTS Rii remote control support (evdev, auto-reconnect)
- Add key bindings: single/double press detection with configurable window
  - KEY_HOMEPAGE: single=VacuumTube, double=LiveboxTV
  - KEY_OK: inject Enter keypress via ydotool
  - KEY_PAGEUP/DOWN: LiveboxTV channel navigation
- Add M3U parser and channel selector for LiveboxTV (51 channels)
- Add volume entity (wpctl/PipeWire, 2s polling)
- Add app management: vacuum_tube, livebox_tv (start/stop/state via MQTT)
- Add grace period to prevent app state bounce after stop
- Fix screen ON via GNOME busctl: add SimulateUserActivity
- Fix power commands: trigger on ON, publish OFF immediately (momentary buttons)
- Disable GPU temp/usage entities
- Add install script: build, deploy to ~/pilot, systemd user service
- Fix service startup: WantedBy=graphical-session.target (full GNOME env at launch)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 17:16:12 +01:00
parent 6c4c6ee866
commit ffabf65b35
17 changed files with 2226 additions and 252 deletions

20
error.md Normal file
View File

@@ -0,0 +1,20 @@
=KEY_HOMEPAGE found=true
2026-03-15T13:32:56.417224Z INFO pilot_v2::keycode: keycode: key pressed device=/dev/input/event16 key=KEY_HOMEPAGE code=172
2026-03-15T13:32:56.417523Z INFO pilot_v2::runtime: keycode received key=KEY_HOMEPAGE
2026-03-15T13:32:56.417614Z INFO pilot_v2::runtime: keycode: binding lookup key=KEY_HOMEPAGE found=true
25120
2026-03-15T13:32:56.549211Z INFO pilot_v2::runtime: key binding: stopping app app=livebox_tv
2026-03-15T13:32:56.662775Z INFO pilot_v2::runtime: key binding: double press key=KEY_HOMEPAGE action=livebox_tv
25120
2026-03-15T13:32:59.848170Z INFO pilot_v2::keycode: keycode: key pressed device=/dev/input/event16 key=KEY_HOMEPAGE code=172
2026-03-15T13:32:59.848290Z INFO pilot_v2::runtime: keycode received key=KEY_HOMEPAGE
2026-03-15T13:32:59.848372Z INFO pilot_v2::runtime: keycode: binding lookup key=KEY_HOMEPAGE found=true
25120
2026-03-15T13:33:00.083099Z INFO pilot_v2::keycode: keycode: key pressed device=/dev/input/event16 key=KEY_HOMEPAGE code=172
2026-03-15T13:33:00.083265Z INFO pilot_v2::runtime: keycode received key=KEY_HOMEPAGE
2026-03-15T13:33:00.083364Z INFO pilot_v2::runtime: keycode: binding lookup key=KEY_HOMEPAGE found=true
25120
2026-03-15T13:33:00.117737Z INFO pilot_v2::runtime: key binding: stopping app app=livebox_tv
2026-03-15T13:33:00.147219Z INFO pilot_v2::runtime: key binding: double press key=KEY_HOMEPAGE action=livebox_tv
25120