mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 11:26:39 +00:00
6c78b480c49ce46995c70f0e742f30558055d7a1
The measured layout showed 56+48 = 104 B/slot vs dev's 96. Two changes that only pay together (the wrapper is 8-aligned, so nothing under a full 8 helps): - The tail packs into 2 bytes of bitfields; remote_addr_type_ becomes a start_connect_ parameter (written and read on adjacent lines only) - The wrapper's duplicate 10 s teardown timer is gone: the backend owns the whole safety window. Its timer now also arms for a teardown scheduled during CONNECTING (the one case the wrapper covered alone), a late OPEN_EVT on a given-up slot closes the link instead of resurrecting it, and the wrapper's transient-refusal branch collapses because both backends return nonzero only when already idle 48 + 48 = 96 B/slot, the split at dev parity.
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
588 MiB
Languages
C++
54.7%
Python
44.6%
C
0.4%
JavaScript
0.2%
