mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 15:46:54 +00:00
116f66953dd1711bc4fdd32c0ba2b6cc43145eb8
**dump_config efficiency:** - Combine 6 separate ESP_LOGCONFIG calls into 1 with newlines - Reduces network packets from 6 to 1 (83% reduction) - Follows ESPHome logging best practices for configuration dumps - Important when API clients connect frequently **loop() optimization:** - Remove regular data change handling from loop() - Only handle immediate advertising requests in loop() - Regular sensor updates wait for next advertising callback - The on_advertise_() callback already rebuilds when data_changed_ **Benefits:** - Less overhead in loop() - only runs when immediate advertising needed - More predictable advertising timing tied to BLE intervals - Cleaner separation: loop handles urgent, callback handles periodic
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
393 MiB
Languages
C++
60.7%
Python
38.9%
C
0.3%
