mirror of
https://github.com/esphome/esphome.git
synced 2026-09-23 21:14:03 +00:00
ec60e2c228177c4422d0879573030c61218b5105
interval=0 causes infinite loop (reschedules at same time, never breaks). interval=1 with millis() doesn't work (real time doesn't advance fast enough between inner iterations for intervals to re-fire). Solution: use interval=1 with monotonically increasing fake time (now++) and disable WarnIfComponentBlockingGuard at compile time via -DWARN_IF_BLOCKING_OVER_MS=UINT32_MAX in benchmark build flags. This prevents the guard's (millis() - started_) underflow when fake time exceeds real millis().
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
626 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
