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:
13
docs/planning_v2.md
Normal file
13
docs/planning_v2.md
Normal file
@@ -0,0 +1,13 @@
|
||||
<!-- Codex created 2025-12-29_0224 -->
|
||||
# Planning v2
|
||||
|
||||
1. Backup + analyse v1
|
||||
2. Spec MQTT + config YAML
|
||||
3. Squelette Rust + MQTT connect + LWT + status/capabilities
|
||||
4. Telemetry de base (cpu/mem/net)
|
||||
5. Commandes power (shutdown/reboot/sleep)
|
||||
6. Ecran (2 backends par OS)
|
||||
7. Home Assistant discovery
|
||||
8. Packaging + services (systemd / windows)
|
||||
9. Tests + release
|
||||
<!-- Codex modified 2025-12-29_0224 -->
|
||||
Reference in New Issue
Block a user