mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
811d4ddfbdaea2b2fa43676bd53190bdacf60ab6
- mdns_esp8266.cpp: narrow setup()'s listener block and on_ip_state from USE_MDNS_EVENT_DRIVEN_POLLING to USE_MDNS_WIFI_LISTENER. ESP8266 has no ethernet so the practical effect is identical, but the tighter guard is symmetric with mdns_rp2040.cpp and more defensible if the listener macros ever drift. - MDNS_POLL_WINDOW_MS 12000 → 15000. The RFC-compliant LEAmDNS phase is ~9s worst case, but a blocked main loop (long component setup, WiFi scan, flash writes) can stretch the deadlines between our polls. 6s of margin absorbs that without materially extending the steady-state quiet period. - Header comment for MDNS_POLL_WINDOW_MS now breaks down the 9s derivation with the exact LEAmDNS constants (MDNS_PROBE_DELAY × MDNS_PROBE_COUNT + MDNS_ANNOUNCE_DELAY × MDNS_ANNOUNCE_COUNT + jitter + debounce hop) so future library bumps can be justified against the same math.
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
546 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
