Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::decisions::TargetEvidence Struct Reference

What the hub knows about the device an exchange is addressed to, as the exchange engine sees it. More...

#include <hub_decisions.h>

Collaboration diagram for esphome::home_io_control::decisions::TargetEvidence:

Public Attributes

uint32_t last_moving_evidence_ms
 Last sign the receiver is travelling (see note_moving_evidence(), clear_moving_evidence()).
uint32_t last_seen_ms
 Last frame received from the receiver, any command.
bool confirms_execute
 The device has closed a CMD_EXECUTE exchange with a reply before.

Detailed Description

What the hub knows about the device an exchange is addressed to, as the exchange engine sees it.

The engine has no device registry of its own; the hub hands this over through ExchangeEngine::set_target_evidence_provider(), and every per-target decision the engine makes reads from it: wake_belief() and retry_after_unconfirmed_accept_is_safe(). Timestamps are millis() values, 0 = never.

Definition at line 400 of file hub_decisions.h.

Member Data Documentation

◆ confirms_execute

bool esphome::home_io_control::decisions::TargetEvidence::confirms_execute

The device has closed a CMD_EXECUTE exchange with a reply before.

Definition at line 404 of file hub_decisions.h.

◆ last_moving_evidence_ms

uint32_t esphome::home_io_control::decisions::TargetEvidence::last_moving_evidence_ms

Last sign the receiver is travelling (see note_moving_evidence(), clear_moving_evidence()).

Definition at line 401 of file hub_decisions.h.

◆ last_seen_ms

uint32_t esphome::home_io_control::decisions::TargetEvidence::last_seen_ms

Last frame received from the receiver, any command.

Definition at line 403 of file hub_decisions.h.


The documentation for this struct was generated from the following file: