|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Classes | |
| struct | PairingAdvice |
| One piece of advice, with the node/RSSI it pertains to (if any). More... | |
Enumerations | |
| enum class | PairingAdviceCode : uint8_t { NONE , ONE_WAY_PAIRING_TRAFFIC , CHANNEL_BUSY_LBT_DELAYED , FOREIGN_CONTROLLER_PAIRING , RF_SILENT } |
| Actionable diagnosis derived from a completed pairing attempt's telemetry. More... | |
Functions | |
| uint8_t | analyze_pairing_telemetry (const PairingTelemetry &telemetry, const uint8_t own_node_id[NODE_ID_SIZE], PairingAdvice out[PAIRING_ADVICE_MAX]) |
| Inspect a completed pairing attempt's telemetry and produce actionable advice. | |
| const char * | pairing_advice_code_name (PairingAdviceCode code) |
| std::string | pairing_advice_message (const PairingAdvice &advice) |
Variables | |
| static constexpr uint8_t | PAIRING_ADVICE_MAX = 4 |
| Maximum number of advice entries a single attempt can produce (one slot per non-NONE code). | |
|
strong |
Actionable diagnosis derived from a completed pairing attempt's telemetry.
Definition at line 24 of file pairing_advisor.h.
| uint8_t esphome::home_io_control::advisor::analyze_pairing_telemetry | ( | const PairingTelemetry & | telemetry, |
| const uint8_t | own_node_id[NODE_ID_SIZE], | ||
| PairingAdvice | out[PAIRING_ADVICE_MAX] ) |
Inspect a completed pairing attempt's telemetry and produce actionable advice.
Read-only: never mutates telemetry, never touches the radio or pairing state machine.
| telemetry | Completed (or in-progress) telemetry for one pairing attempt. |
| own_node_id | This controller's node ID, used to detect discovery responses addressed to a different controller. |
| out | Output buffer, must hold at least PAIRING_ADVICE_MAX entries. |
Definition at line 104 of file pairing_advisor.cpp.
| const char * esphome::home_io_control::advisor::pairing_advice_code_name | ( | PairingAdviceCode | code | ) |
Definition at line 121 of file pairing_advisor.cpp.
| std::string esphome::home_io_control::advisor::pairing_advice_message | ( | const PairingAdvice & | advice | ) |
Definition at line 137 of file pairing_advisor.cpp.
|
staticconstexpr |
Maximum number of advice entries a single attempt can produce (one slot per non-NONE code).
Definition at line 43 of file pairing_advisor.h.