Jonathan Swoboda
e9aeb42e2b
[ld2410] Add frame header synchronization to readline_()
...
Add frame header validation to prevent the parser from getting stuck
in an overflow loop when it loses sync with the UART byte stream
(e.g. after module restart or UART noise). This is the same latent
bug fixed in ld2450 (PR #14135 ) and present in ld2420.
The fix validates the first 4 bytes of each frame match a known
header (DATA or CMD) before accumulating data. On header byte
mismatch, the buffer resets and checks if the mismatched byte starts
a new frame. Also adds a return after buffer overflow reset to
prevent immediately re-accumulating the overflowed byte.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 21:56:46 -05:00
J. Nick Koston
c1265a9490
[core] Use constexpr for hand-written PROGMEM arrays in C++ ( #14129 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:57 -06:00
J. Nick Koston
94712b3961
[esp8266][web_server] Use constexpr for PROGMEM arrays in codegen ( #14128 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:44 -06:00
J. Nick Koston
d29288547e
[core] Use constexpr for PROGMEM arrays ( #14127 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:33 -06:00
Jonathan Swoboda
1b4de55efd
[pulse_counter] Fix PCNT glitch filter calculation off by 1000x ( #14132 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 00:12:37 +00:00
J. Nick Koston
cceb109303
[uart] Always call pin setup for UART0 default pins on ESP-IDF ( #14130 )
2026-02-19 23:48:18 +00:00
Jonathan Swoboda
17a810b939
[wifi] Sync output_power with PHY max TX power to prevent brownout ( #14118 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 15:14:48 -05:00
J. Nick Koston
4aa8f57d36
[json] Add SerializationBuffer for stack-first JSON serialization ( #13625 )
2026-02-19 14:08:44 -06:00
Jonathan Swoboda
f2c98d6126
[safe_mode] Log brownout as reset reason on OTA rollback ( #14113 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:45:04 +00:00
J. Nick Koston
7a5c3cee0d
[esp32_ble] Enable CONFIG_BT_RELEASE_IRAM on ESP32-C2 ( #14109 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:41:00 +00:00
Jonathan Swoboda
9aa17984df
[pulse_counter] Fix build failure when use_pcnt is false ( #14111 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:25:26 +00:00
Jonathan Swoboda
da616e0557
[ethernet] Improve clk_mode deprecation warning with actionable YAML ( #14104 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:00:05 +00:00
Kevin Ahrendt
d2026b4cd7
[audio] Disable FLAC CRC validation to improve decoding efficiency ( #14108 )
2026-02-19 11:56:34 -05:00
Jonathan Swoboda
ed74790eed
[i2c] Remove deprecated stop parameter overloads and readv/writev methods ( #14106 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:56:06 +00:00
Jonathan Swoboda
bf2e22da4f
[esp32] Remove deprecated add_idf_component() parameters and IDF component refresh option ( #14105 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:55:03 +00:00
Jonathan Swoboda
bd50b80882
[opentherm] Remove deprecated opentherm_version config option ( #14103 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 11:34:40 -05:00
Kevin Ahrendt
b11ad26c4f
[audio] Support decoding audio directly from flash ( #14098 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-19 11:20:19 -05:00
J. Nick Koston
f7459670d3
[core] Optimize WarnIfComponentBlockingGuard::finish() hot path ( #14040 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:10:22 +00:00
Jonathan Swoboda
5304750215
[socket] Fix IPv6 compilation error on host platform ( #14101 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:00:34 +00:00
J. Nick Koston
a8171da003
[web_server] Reduce set_json_id flash and stack usage ( #14029 )
2026-02-19 09:38:57 -06:00
J. Nick Koston
916cf0d8b7
[e131] Replace std::map with std::vector for universe tracking ( #14087 )
2026-02-19 09:28:00 -06:00
J. Nick Koston
0484b2852d
[e131] Fix E1.31 on ESP8266 and RP2040 by restoring WiFiUDP support ( #14086 )
2026-02-19 09:27:05 -06:00
J. Nick Koston
b5a8e1c94c
[ci] Update lint message to recommend constexpr over static const ( #14099 )
2026-02-19 09:06:46 -06:00
dependabot[bot]
01a46f665f
Bump esptool from 5.1.0 to 5.2.0 ( #14058 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 09:42:22 -05:00
J. Nick Koston
535980b9bd
[cse7761] Use constexpr for compile-time constants ( #14081 )
2026-02-19 08:40:41 -06:00
J. Nick Koston
b0085e21f7
[core] Devirtualize call_loop() and mark_failed() in Component ( #14083 )
2026-02-19 08:40:23 -06:00
J. Nick Koston
6daca09794
[logger] Replace LogListener virtual interface with LogCallback struct ( #14084 )
2026-02-19 08:40:08 -06:00
J. Nick Koston
7b53a98950
[socket] Log error when UDP socket requested on LWIP TCP-only platforms ( #14089 )
2026-02-19 08:39:44 -06:00
Rodrigo Martín
4cc1e6a910
[esp32_ble_server] add test for lambda characteristic ( #14091 )
2026-02-19 09:23:22 -05:00
Marc Hörsken
4d05e4d576
[esp32_camera] Add support for sensors without JPEG support ( #9496 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-02-18 21:52:38 -06:00
Kevin Ahrendt
eefad194d0
[audio, speaker] Add support for decoding Ogg Opus files ( #13967 )
2026-02-18 21:51:33 -06:00
Kevin Ahrendt
ba7134ee3f
[mdns] add Sendspin advertisement support ( #14013 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-18 21:51:16 -06:00
Kevin Ahrendt
264c8faedd
[media_player] Add more commands to support Sendspin ( #12258 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-02-18 21:51:01 -06:00
Kevin Ahrendt
3c227eeca4
[audio] Add support for sinking via an arbitrary callback ( #14035 )
2026-02-18 21:50:39 -06:00
J. Nick Koston
c8598fe620
[bluetooth_proxy] Use constexpr for remaining compile-time constants ( #14080 )
2026-02-18 21:34:25 -06:00
J. Nick Koston
2f9b76f129
[pn7160] Use constexpr for compile-time constants ( #14078 )
2026-02-18 21:33:39 -06:00
J. Nick Koston
9a8b00a428
[nfc] Use constexpr for compile-time constants ( #14077 )
2026-02-18 21:33:23 -06:00
J. Nick Koston
eaf0d03a37
[ld2420] Use constexpr for compile-time constants ( #14079 )
2026-02-18 21:32:37 -06:00
J. Nick Koston
e7f2021864
[http_request] Replace std::map with std::vector in action template ( #14026 )
2026-02-18 21:32:24 -06:00
J. Nick Koston
dff9780d3a
[core] Use constexpr for compile-time constants ( #14071 )
2026-02-19 03:19:48 +00:00
J. Nick Koston
20239d1bb3
[remote_base] Use constexpr for compile-time constants ( #14076 )
2026-02-19 03:16:09 +00:00
J. Nick Koston
ee7d63f73a
[packet_transport] Use constexpr for compile-time constants ( #14074 )
2026-02-18 21:09:49 -06:00
J. Nick Koston
76c151c6e6
[api] Use constexpr for compile-time constant ( #14072 )
2026-02-18 21:07:38 -06:00
J. Nick Koston
9c9365c146
[bluetooth_proxy][esp32_ble_client][esp32_ble_server] Use constexpr for compile-time constants ( #14073 )
2026-02-18 21:07:06 -06:00
J. Nick Koston
7e118178b3
[web_server] Fix water_heater JSON key names and move traits to DETAIL_ALL ( #14064 )
2026-02-18 21:00:24 -06:00
J. Nick Koston
66d2ac8cb9
[web_server] Move climate static traits to DETAIL_ALL only ( #14066 )
2026-02-18 21:00:09 -06:00
J. Nick Koston
e4c233b6ce
[mqtt] Use constexpr for compile-time constants ( #14075 )
2026-02-18 20:59:31 -06:00
J. Nick Koston
be853afc24
[core] Conditionally compile setup_priority override infrastructure ( #14057 )
2026-02-18 20:57:56 -06:00
J. Nick Koston
565443b710
[pulse_counter] Fix compilation on ESP32-C6/C5/H2/P4 ( #14070 )
2026-02-18 19:08:53 -06:00
J. Nick Koston
3b869f1720
[web_server] Double socket allocation to prevent connection exhaustion ( #14067 )
2026-02-18 19:01:37 -06:00