Files
pilot/pilot-v2/target/doc/rumqttc/all.html
Gilles Soulier c5381b7112 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>
2025-12-30 06:23:00 +01:00

1 line
12 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="rumqttc" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0 (ded5c06cf 2025-12-08)" data-channel="1.92.0" data-search-js="search-d69d8955.js" data-stringdex-js="stringdex-c3e638e9.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">All</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../rumqttc/index.html">rumqttc</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>List of all items</h1><rustdoc-toolbar></rustdoc-toolbar></div><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.AsyncClient.html">AsyncClient</a></li><li><a href="struct.Client.html">Client</a></li><li><a href="struct.Connection.html">Connection</a></li><li><a href="struct.EventLoop.html">EventLoop</a></li><li><a href="struct.Iter.html">Iter</a></li><li><a href="struct.MqttOptions.html">MqttOptions</a></li><li><a href="struct.MqttState.html">MqttState</a></li><li><a href="struct.NetworkOptions.html">NetworkOptions</a></li><li><a href="struct.RecvError.html">RecvError</a></li><li><a href="mqttbytes/struct.FixedHeader.html">mqttbytes::FixedHeader</a></li><li><a href="mqttbytes/v4/struct.ConnAck.html">mqttbytes::v4::ConnAck</a></li><li><a href="mqttbytes/v4/struct.Connect.html">mqttbytes::v4::Connect</a></li><li><a href="mqttbytes/v4/struct.Disconnect.html">mqttbytes::v4::Disconnect</a></li><li><a href="mqttbytes/v4/struct.LastWill.html">mqttbytes::v4::LastWill</a></li><li><a href="mqttbytes/v4/struct.Login.html">mqttbytes::v4::Login</a></li><li><a href="mqttbytes/v4/struct.PingReq.html">mqttbytes::v4::PingReq</a></li><li><a href="mqttbytes/v4/struct.PingResp.html">mqttbytes::v4::PingResp</a></li><li><a href="mqttbytes/v4/struct.PubAck.html">mqttbytes::v4::PubAck</a></li><li><a href="mqttbytes/v4/struct.PubComp.html">mqttbytes::v4::PubComp</a></li><li><a href="mqttbytes/v4/struct.PubRec.html">mqttbytes::v4::PubRec</a></li><li><a href="mqttbytes/v4/struct.PubRel.html">mqttbytes::v4::PubRel</a></li><li><a href="mqttbytes/v4/struct.Publish.html">mqttbytes::v4::Publish</a></li><li><a href="mqttbytes/v4/struct.SubAck.html">mqttbytes::v4::SubAck</a></li><li><a href="mqttbytes/v4/struct.Subscribe.html">mqttbytes::v4::Subscribe</a></li><li><a href="mqttbytes/v4/struct.SubscribeFilter.html">mqttbytes::v4::SubscribeFilter</a></li><li><a href="mqttbytes/v4/struct.UnsubAck.html">mqttbytes::v4::UnsubAck</a></li><li><a href="mqttbytes/v4/struct.Unsubscribe.html">mqttbytes::v4::Unsubscribe</a></li><li><a href="v5/struct.AsyncClient.html">v5::AsyncClient</a></li><li><a href="v5/struct.Client.html">v5::Client</a></li><li><a href="v5/struct.Connection.html">v5::Connection</a></li><li><a href="v5/struct.EventLoop.html">v5::EventLoop</a></li><li><a href="v5/struct.Iter.html">v5::Iter</a></li><li><a href="v5/struct.MqttOptions.html">v5::MqttOptions</a></li><li><a href="v5/struct.MqttState.html">v5::MqttState</a></li><li><a href="v5/mqttbytes/v5/struct.ConnAck.html">v5::mqttbytes::v5::ConnAck</a></li><li><a href="v5/mqttbytes/v5/struct.ConnAckProperties.html">v5::mqttbytes::v5::ConnAckProperties</a></li><li><a href="v5/mqttbytes/v5/struct.Connect.html">v5::mqttbytes::v5::Connect</a></li><li><a href="v5/mqttbytes/v5/struct.ConnectProperties.html">v5::mqttbytes::v5::ConnectProperties</a></li><li><a href="v5/mqttbytes/v5/struct.Disconnect.html">v5::mqttbytes::v5::Disconnect</a></li><li><a href="v5/mqttbytes/v5/struct.Filter.html">v5::mqttbytes::v5::Filter</a></li><li><a href="v5/mqttbytes/v5/struct.FixedHeader.html">v5::mqttbytes::v5::FixedHeader</a></li><li><a href="v5/mqttbytes/v5/struct.LastWill.html">v5::mqttbytes::v5::LastWill</a></li><li><a href="v5/mqttbytes/v5/struct.LastWillProperties.html">v5::mqttbytes::v5::LastWillProperties</a></li><li><a href="v5/mqttbytes/v5/struct.Login.html">v5::mqttbytes::v5::Login</a></li><li><a href="v5/mqttbytes/v5/struct.PingReq.html">v5::mqttbytes::v5::PingReq</a></li><li><a href="v5/mqttbytes/v5/struct.PingResp.html">v5::mqttbytes::v5::PingResp</a></li><li><a href="v5/mqttbytes/v5/struct.PubAck.html">v5::mqttbytes::v5::PubAck</a></li><li><a href="v5/mqttbytes/v5/struct.PubAckProperties.html">v5::mqttbytes::v5::PubAckProperties</a></li><li><a href="v5/mqttbytes/v5/struct.PubComp.html">v5::mqttbytes::v5::PubComp</a></li><li><a href="v5/mqttbytes/v5/struct.PubCompProperties.html">v5::mqttbytes::v5::PubCompProperties</a></li><li><a href="v5/mqttbytes/v5/struct.PubRec.html">v5::mqttbytes::v5::PubRec</a></li><li><a href="v5/mqttbytes/v5/struct.PubRecProperties.html">v5::mqttbytes::v5::PubRecProperties</a></li><li><a href="v5/mqttbytes/v5/struct.PubRel.html">v5::mqttbytes::v5::PubRel</a></li><li><a href="v5/mqttbytes/v5/struct.PubRelProperties.html">v5::mqttbytes::v5::PubRelProperties</a></li><li><a href="v5/mqttbytes/v5/struct.Publish.html">v5::mqttbytes::v5::Publish</a></li><li><a href="v5/mqttbytes/v5/struct.PublishProperties.html">v5::mqttbytes::v5::PublishProperties</a></li><li><a href="v5/mqttbytes/v5/struct.SubAck.html">v5::mqttbytes::v5::SubAck</a></li><li><a href="v5/mqttbytes/v5/struct.SubAckProperties.html">v5::mqttbytes::v5::SubAckProperties</a></li><li><a href="v5/mqttbytes/v5/struct.Subscribe.html">v5::mqttbytes::v5::Subscribe</a></li><li><a href="v5/mqttbytes/v5/struct.SubscribeProperties.html">v5::mqttbytes::v5::SubscribeProperties</a></li><li><a href="v5/mqttbytes/v5/struct.UnsubAck.html">v5::mqttbytes::v5::UnsubAck</a></li><li><a href="v5/mqttbytes/v5/struct.UnsubAckProperties.html">v5::mqttbytes::v5::UnsubAckProperties</a></li><li><a href="v5/mqttbytes/v5/struct.Unsubscribe.html">v5::mqttbytes::v5::Unsubscribe</a></li><li><a href="v5/mqttbytes/v5/struct.UnsubscribeProperties.html">v5::mqttbytes::v5::UnsubscribeProperties</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="enum.ClientError.html">ClientError</a></li><li><a href="enum.ConnectionError.html">ConnectionError</a></li><li><a href="enum.Event.html">Event</a></li><li><a href="enum.Outgoing.html">Outgoing</a></li><li><a href="enum.RecvTimeoutError.html">RecvTimeoutError</a></li><li><a href="enum.Request.html">Request</a></li><li><a href="enum.StateError.html">StateError</a></li><li><a href="enum.TlsConfiguration.html">TlsConfiguration</a></li><li><a href="enum.TlsError.html">TlsError</a></li><li><a href="enum.Transport.html">Transport</a></li><li><a href="enum.TryRecvError.html">TryRecvError</a></li><li><a href="mqttbytes/enum.Error.html">mqttbytes::Error</a></li><li><a href="mqttbytes/enum.PacketType.html">mqttbytes::PacketType</a></li><li><a href="mqttbytes/enum.Protocol.html">mqttbytes::Protocol</a></li><li><a href="mqttbytes/enum.QoS.html">mqttbytes::QoS</a></li><li><a href="mqttbytes/v4/enum.ConnectReturnCode.html">mqttbytes::v4::ConnectReturnCode</a></li><li><a href="mqttbytes/v4/enum.Packet.html">mqttbytes::v4::Packet</a></li><li><a href="mqttbytes/v4/enum.RetainForwardRule.html">mqttbytes::v4::RetainForwardRule</a></li><li><a href="mqttbytes/v4/enum.SubscribeReasonCode.html">mqttbytes::v4::SubscribeReasonCode</a></li><li><a href="v5/enum.ClientError.html">v5::ClientError</a></li><li><a href="v5/enum.ConnectionError.html">v5::ConnectionError</a></li><li><a href="v5/enum.Event.html">v5::Event</a></li><li><a href="v5/enum.Request.html">v5::Request</a></li><li><a href="v5/enum.StateError.html">v5::StateError</a></li><li><a href="v5/enum.TlsError.html">v5::TlsError</a></li><li><a href="v5/mqttbytes/enum.Error.html">v5::mqttbytes::Error</a></li><li><a href="v5/mqttbytes/enum.QoS.html">v5::mqttbytes::QoS</a></li><li><a href="v5/mqttbytes/v5/enum.ConnectReturnCode.html">v5::mqttbytes::v5::ConnectReturnCode</a></li><li><a href="v5/mqttbytes/v5/enum.DisconnectReasonCode.html">v5::mqttbytes::v5::DisconnectReasonCode</a></li><li><a href="v5/mqttbytes/v5/enum.Packet.html">v5::mqttbytes::v5::Packet</a></li><li><a href="v5/mqttbytes/v5/enum.PacketType.html">v5::mqttbytes::v5::PacketType</a></li><li><a href="v5/mqttbytes/v5/enum.PubAckReason.html">v5::mqttbytes::v5::PubAckReason</a></li><li><a href="v5/mqttbytes/v5/enum.PubCompReason.html">v5::mqttbytes::v5::PubCompReason</a></li><li><a href="v5/mqttbytes/v5/enum.PubRecReason.html">v5::mqttbytes::v5::PubRecReason</a></li><li><a href="v5/mqttbytes/v5/enum.PubRelReason.html">v5::mqttbytes::v5::PubRelReason</a></li><li><a href="v5/mqttbytes/v5/enum.RetainForwardRule.html">v5::mqttbytes::v5::RetainForwardRule</a></li><li><a href="v5/mqttbytes/v5/enum.SubscribeReasonCode.html">v5::mqttbytes::v5::SubscribeReasonCode</a></li><li><a href="v5/mqttbytes/v5/enum.UnsubAckReason.html">v5::mqttbytes::v5::UnsubAckReason</a></li></ul><h3 id="functions">Functions</h3><ul class="all-items"><li><a href="mqttbytes/fn.check.html">mqttbytes::check</a></li><li><a href="mqttbytes/fn.has_wildcards.html">mqttbytes::has_wildcards</a></li><li><a href="mqttbytes/fn.matches.html">mqttbytes::matches</a></li><li><a href="mqttbytes/fn.qos.html">mqttbytes::qos</a></li><li><a href="mqttbytes/v4/fn.read.html">mqttbytes::v4::read</a></li><li><a href="mqttbytes/fn.valid_filter.html">mqttbytes::valid_filter</a></li><li><a href="mqttbytes/fn.valid_topic.html">mqttbytes::valid_topic</a></li><li><a href="v5/mqttbytes/fn.has_wildcards.html">v5::mqttbytes::has_wildcards</a></li><li><a href="v5/mqttbytes/fn.matches.html">v5::mqttbytes::matches</a></li><li><a href="v5/mqttbytes/fn.qos.html">v5::mqttbytes::qos</a></li><li><a href="v5/mqttbytes/v5/fn.check.html">v5::mqttbytes::v5::check</a></li><li><a href="v5/mqttbytes/fn.valid_filter.html">v5::mqttbytes::valid_filter</a></li><li><a href="v5/mqttbytes/fn.valid_topic.html">v5::mqttbytes::valid_topic</a></li></ul><h3 id="types">Type Aliases</h3><ul class="all-items"><li><a href="type.Incoming.html">Incoming</a></li><li><a href="v5/type.Incoming.html">v5::Incoming</a></li></ul></section></div></main></body></html>