Pilot v2: Core implementation + battery telemetry

Major updates:
- Complete Rust rewrite (pilot-v2/) with working MQTT client
- Fixed MQTT event loop deadlock (background task pattern)
- Battery telemetry for Linux (auto-detected via /sys/class/power_supply)
- Home Assistant auto-discovery for all sensors and switches
- Comprehensive documentation (AVANCEMENT.md, CLAUDE.md, roadmap)
- Docker test environment with Mosquitto broker
- Helper scripts for development and testing

Features working:
 MQTT connectivity with LWT
 YAML configuration with validation
 Telemetry: CPU, memory, IP, battery (Linux)
 Commands: shutdown, reboot, sleep, screen (dry-run tested)
 HA discovery and integration
 Allowlist and cooldown protection

Ready for testing on real hardware.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Gilles Soulier
2025-12-30 06:23:00 +01:00
parent b7e67c6501
commit c5381b7112
4453 changed files with 78647 additions and 0 deletions
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
a1e5f696e5c0d36f
@@ -0,0 +1 @@
{"rustc":4758242423518056681,"features":"[\"default\", \"once_cell\", \"std\"]","declared_features":"[\"default\", \"once_cell\", \"std\", \"valuable\"]","target":14276081467424924844,"profile":15960269462403795582,"path":4098484952028930724,"deps":[[3722963349756955755,"once_cell",false,15889998849383108737]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tracing-core-653eeb4cc3461430/dep-lib-tracing_core","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}