|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Per-device poll scheduling state. More...
#include <status_poll_policy.h>
Public Attributes | |
| uint32_t | interval_ms {0} |
| Configured follow-up poll interval (0 = no configured cadence; delays fall back to remaining time / default settle delay). | |
| uint32_t | next_update {0} |
| Absolute millis() timestamp for the next poll; 0 = idle. | |
| uint32_t | poll_deadline {0} |
| Hard stop for bounded follow-up polling. | |
| uint8_t | status_poll_failures {0} |
| Consecutive background poll failures (silent — no reply). | |
| uint8_t | auth_poll_failures {0} |
| Consecutive background poll failures that saw a 0x3C challenge. | |
| uint8_t | moving_poll_misses {0} |
| Consecutive failed polls of a moving device skipped so far (see MOVING_POLL_MISSES_SKIPPED); not counted in the two streaks above. | |
| bool | stop_settle {false} |
| The next poll reads where an accepted STOP left the device (a settling read). | |
| bool | confirm_stopped {false} |
| The next poll confirms a stop off target (a settling read, see decisions::StoppedReport::SETTLING). | |
| uint32_t | settle_update {0} |
| Absolute millis() timestamp of the predicted-end read; 0 = none planned. | |
| std::optional< uint16_t > | last_remaining_s |
| Remaining time of the last report that was aimed at (> 2 s). | |
| uint8_t | stale_reports {0} |
| Reports in a row whose remaining time did not fall. | |
| bool | predicted_end_read {false} |
| The next poll is the predicted-end read (a settling read). | |
Per-device poll scheduling state.
Definition at line 181 of file status_poll_policy.h.
| uint8_t esphome::home_io_control::PollTracking::auth_poll_failures {0} |
Consecutive background poll failures that saw a 0x3C challenge.
Definition at line 187 of file status_poll_policy.h.
| bool esphome::home_io_control::PollTracking::confirm_stopped {false} |
The next poll confirms a stop off target (a settling read, see decisions::StoppedReport::SETTLING).
Definition at line 191 of file status_poll_policy.h.
| uint32_t esphome::home_io_control::PollTracking::interval_ms {0} |
Configured follow-up poll interval (0 = no configured cadence; delays fall back to remaining time / default settle delay).
Definition at line 182 of file status_poll_policy.h.
| std::optional<uint16_t> esphome::home_io_control::PollTracking::last_remaining_s |
Remaining time of the last report that was aimed at (> 2 s).
Definition at line 194 of file status_poll_policy.h.
| uint8_t esphome::home_io_control::PollTracking::moving_poll_misses {0} |
Consecutive failed polls of a moving device skipped so far (see MOVING_POLL_MISSES_SKIPPED); not counted in the two streaks above.
Definition at line 188 of file status_poll_policy.h.
| uint32_t esphome::home_io_control::PollTracking::next_update {0} |
Absolute millis() timestamp for the next poll; 0 = idle.
Definition at line 184 of file status_poll_policy.h.
| uint32_t esphome::home_io_control::PollTracking::poll_deadline {0} |
Hard stop for bounded follow-up polling.
Definition at line 185 of file status_poll_policy.h.
| bool esphome::home_io_control::PollTracking::predicted_end_read {false} |
The next poll is the predicted-end read (a settling read).
Definition at line 196 of file status_poll_policy.h.
| uint32_t esphome::home_io_control::PollTracking::settle_update {0} |
Absolute millis() timestamp of the predicted-end read; 0 = none planned.
Definition at line 193 of file status_poll_policy.h.
| uint8_t esphome::home_io_control::PollTracking::stale_reports {0} |
Reports in a row whose remaining time did not fall.
Definition at line 195 of file status_poll_policy.h.
| uint8_t esphome::home_io_control::PollTracking::status_poll_failures {0} |
Consecutive background poll failures (silent — no reply).
Definition at line 186 of file status_poll_policy.h.
| bool esphome::home_io_control::PollTracking::stop_settle {false} |
The next poll reads where an accepted STOP left the device (a settling read).
Definition at line 190 of file status_poll_policy.h.