mirror of
https://github.com/esphome/esphome.git
synced 2026-02-19 07:55:35 -07:00
1b13f49e1b2affaf45533213f5d476ecd9b2d6d2
On ESP8266 and RP2040, MDNS.update() is called every loop iteration (~120 Hz) but only manages timer-driven probe/announce state machines. Incoming mDNS packets are handled independently via the lwIP onRx UDP callback and are unaffected by update() frequency. The shortest internal timer is the 250ms probe interval (RFC 6762). Throttling to 50ms provides sufficient resolution while reducing CPU overhead by ~84% (from ~360ms to ~60ms per 60s measurement period).
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
373 MiB
Languages
C++
64.2%
Python
35.5%
C
0.2%
