mirror of
https://github.com/esphome/esphome.git
synced 2026-09-19 02:58:38 +00:00
fe571539388827a1567748375cb50eaa786c584c
The socket abstraction layer on ESP8266/RP2040 (USE_SOCKET_IMPL_LWIP_TCP) only supports TCP. When E1.31 was migrated from WiFiUDP to sockets, it silently broke on these platforms since SOCK_DGRAM requests get TCP sockets that never receive UDP data. Restore WiFiUDP as the transport on LWIP_TCP platforms while keeping the socket-based implementation on BSD/LWIP socket platforms (ESP32, etc.). This follows the same dual-path pattern used by the udp and wake_on_lan components.
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
610 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
