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:
@@ -0,0 +1 @@
|
||||
This file has an mtime of when this was started.
|
||||
@@ -0,0 +1,6 @@
|
||||
#[doc(hidden)]
|
||||
pub mod __private228 {
|
||||
#[doc(hidden)]
|
||||
pub use crate::private::*;
|
||||
}
|
||||
use serde_core::__private228 as serde_core_private;
|
||||
13
pilot-v2/target/debug/build/serde-0c79bc1bb5bf9eba/output
Normal file
13
pilot-v2/target/debug/build/serde-0c79bc1bb5bf9eba/output
Normal file
@@ -0,0 +1,13 @@
|
||||
cargo:rerun-if-changed=build.rs
|
||||
cargo:rustc-cfg=if_docsrs_then_no_serde_core
|
||||
cargo:rustc-check-cfg=cfg(feature, values("result"))
|
||||
cargo:rustc-check-cfg=cfg(if_docsrs_then_no_serde_core)
|
||||
cargo:rustc-check-cfg=cfg(no_core_cstr)
|
||||
cargo:rustc-check-cfg=cfg(no_core_error)
|
||||
cargo:rustc-check-cfg=cfg(no_core_net)
|
||||
cargo:rustc-check-cfg=cfg(no_core_num_saturating)
|
||||
cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)
|
||||
cargo:rustc-check-cfg=cfg(no_serde_derive)
|
||||
cargo:rustc-check-cfg=cfg(no_std_atomic)
|
||||
cargo:rustc-check-cfg=cfg(no_std_atomic64)
|
||||
cargo:rustc-check-cfg=cfg(no_target_has_atomic)
|
||||
@@ -0,0 +1 @@
|
||||
/home/gilles/projects/pilot/pilot-v2/target/debug/build/serde-0c79bc1bb5bf9eba/out
|
||||
Reference in New Issue
Block a user