Commit Graph

20926 Commits

Author SHA1 Message Date
J. Nick Koston e8a8463251 Merge branch 'tx20_heap_heap_heap' into integration 2026-01-21 21:36:45 -10:00
J. Nick Koston 7949e0f231 Merge branch 'dev' into tx20_heap_heap_heap 2026-01-21 21:34:25 -10:00
J. Nick Koston 9634ea06bf address copilot comments 2026-01-21 21:32:54 -10:00
J. Nick Koston 5bbf9153ca [http_request] Fix OTA failures on ESP8266/Arduino by making read semantics consistent (#13435)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-21 19:48:32 -10:00
J. Nick Koston 098b77b477 Merge branch 'mqtt_stack_part_2' into integration 2026-01-21 19:17:48 -10:00
J. Nick Koston 1908fa819e Merge branch 'globals_polling' into integration 2026-01-21 19:05:49 -10:00
J. Nick Koston 1ac259e9c5 split schema 2026-01-21 19:04:56 -10:00
J. Nick Koston 57b3820500 revert 2026-01-21 18:40:54 -10:00
J. Nick Koston 57a52d37a9 schema tweaks 2026-01-21 18:39:08 -10:00
J. Nick Koston e006216ad3 Merge branch 'dev' into mqtt_stack_part_2 2026-01-21 18:37:55 -10:00
J. Nick Koston a1c4d56268 [alarm_control_panel] Reduce heap allocations in arm/disarm methods (#13358) 2026-01-21 18:37:13 -10:00
J. Nick Koston a9ce3df04c [esp8266] Use SmallBufferWithHeapFallback in preferences (#13397) 2026-01-21 18:36:12 -10:00
J. Nick Koston 99aa83564e [mqtt] Reduce heap allocations in hot paths (#13362)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-01-21 18:35:59 -10:00
J. Nick Koston aa5092bdc2 [mqtt] Use stack buffers for discovery message formatting (#13216)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-01-21 18:35:43 -10:00
J. Nick Koston 5942b7b350 Merge branch 'reduce_lwip_pbuf_pressure_logging' into integration 2026-01-21 18:22:31 -10:00
J. Nick Koston 2f69399e87 naming 2026-01-21 18:20:49 -10:00
J. Nick Koston 8b7a4a92de Merge branch 'reduce_lwip_pbuf_pressure_logging' into integration 2026-01-21 18:16:15 -10:00
J. Nick Koston 1d9ca60c20 Update esphome/components/api/api_frame_helper.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-21 18:10:23 -10:00
J. Nick Koston 900f875816 [api] Limit Nagle batching for log messages to reduce LWIP buffer pressure 2026-01-21 17:59:21 -10:00
J. Nick Koston 399a7004a3 Merge remote-tracking branch 'upstream/ard_idf_http_request' into integration 2026-01-21 16:33:24 -10:00
J. Nick Koston c363553841 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-21 16:33:20 -10:00
Edward Firmo 645832a070 [nextion] Add configurable startup and queue timeout constants (#11098)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick+github@koston.org>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2026-01-21 20:10:12 -06:00
J. Nick Koston d8b7097acc idf http sync does not actually work 2026-01-21 15:53:09 -10:00
Jonathan Swoboda 19c1d3aee7 [esp32] Bump Arduino to 3.3.6, platform to 55.03.36 (#13438)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:41:59 -05:00
J. Nick Koston 133cf0be1e remove unnecessary duration_ms update on early return 2026-01-21 15:38:33 -10:00
J. Nick Koston ce5ec7a78f [spi] Fix display init failure by marking displays as write-only for half-duplex mode (#13431) 2026-01-21 14:04:07 -10:00
J. Nick Koston ebf589560d [wifi] Fix bk72xx manual_ip preventing API connection (#13426) 2026-01-21 14:03:49 -10:00
J. Nick Koston d708dc648b fix cleanup crash (existing bug)
[13:35:00.591][I][http_request.ota:175]: Done in 542 seconds
[13:35:00.696][V][esp-idf:000]: E (669073) boot_comm: mismatch chip ID, expected 9, found 3424
[13:35:00.698][V][esp-idf:000]: E (669076) esp_ota_ops: New image failed verification
[13:35:00.699][W][http_request.ota:198]: Error ending update! error_code: 132
[13:35:00.701][V][http_request.ota:073]: Aborting OTA backend
[13:35:00.702][V][http_request.ota:076]: Aborting HTTP connection
[13:35:00.703]Guru Meditation Error: Core  1 panic'ed (InstrFetchProhibited). Exception was unhandled.

[13:35:00.703]Core  1 register dump:
[13:35:00.703]PC      : 0x11101080  PS      : 0x00060630  A0      : 0x8203e461  A1      : 0x3fceded0
[13:35:00.703]A2      : 0x3fc9e45c  A3      : 0x3fcee840  A4      : 0x0000003f  A5      : 0x3fcee840
[13:35:00.703]A6      : 0x0000003e  A7      : 0x3fcafccc  A8      : 0x8203e43a  A9      : 0x3fcede40
[13:35:00.703]A10     : 0x3fc9e45c  A11     : 0x00000001  A12     : 0x0000003f  A13     : 0x3fc9ee08
[13:35:00.704]A14     : 0x0000006d  A15     : 0x3fcee674  SAR     : 0x00000008  EXCCAUSE: 0x00000014
[13:35:00.704]EXCVADDR: 0x11101080  LBEG    : 0x40056f08  LEND    : 0x40056f12  LCOUNT  : 0x00000000

[13:35:00.706]Backtrace: 0x1110107d:0x3fceded0 0x4203e45e:0x3fcedef0 0x4203e46e:0x3fcedf10 0x4201f561:0x3fcedf30 0x420078fc:0x3fcedf50 0x4200817f:0x3fcedf80 0x42008c89:0x3fcedfa0 0x42008da9:0x3fcee1d0 0x42014e45:0x3fcee1f0 0x4209e323:0x3fcee230 0x4209e337:0x3fcee250 0x4209e505:0x3fcee270 0x4201402e:0x3fcee290 0x42006555:0x3fcee2b0 0x4200376c:0x3fcee2d0 0x4209d809:0x3fcee2f0 0x42005b6d:0x3fcee310 0x42005cb9:0x3fcee350 0x420042b4:0x3fcee370 0x4200620f:0x3fcee3a0 0x4209e0ed:0x3fcee3f0 0x42012889:0x3fcee410 0x4201243e:0x3fcee430 0x420140d2:0x3fcee490 0x420070fe:0x3fcee4b0
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x4203e45e: esp_transport_list_clean at /Users/bdraco/.platformio/packages/framework-espidf/components/tcp_transport/transport.c:85
WARNING Decoded 0x4203e46e: esp_transport_list_destroy at /Users/bdraco/.platformio/packages/framework-espidf/components/tcp_transport/transport.c:74
WARNING Decoded 0x4201f561: esp_http_client_cleanup at /Users/bdraco/.platformio/packages/framework-espidf/components/esp_http_client/esp_http_client.c:1027
WARNING Decoded 0x420078fc: esphome::http_request::HttpContainerIDF::end() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/http_request/http_request_idf.cpp:270
WARNING Decoded 0x4200817f: esphome::http_request::OtaHttpRequestComponent::cleanup_(std::unique_ptr<esphome::ota::OTABackend, std::default_delete<esphome::ota::OTABackend> >, std::shared_ptr<esphome::http_request::HttpContainer> const&) at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/http_request/ota/ota_http_request.cpp:77 (discriminator 1)
WARNING Decoded 0x42008c89: esphome::http_request::OtaHttpRequestComponent::do_ota_() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/http_request/ota/ota_http_request.cpp:199 (discriminator 1)
WARNING Decoded 0x42008da9: esphome::http_request::OtaHttpRequestComponent::flash() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/http_request/ota/ota_http_request.cpp:49
WARNING Decoded 0x42014e45: esphome::http_request::OtaHttpRequestComponentFlashAction<>::play() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/http_request/ota/automation.h:33
WARNING Decoded 0x4209e323: esphome::Action<>::play_complex() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/automation.h:268
WARNING Decoded 0x4209e337: esphome::Action<>::play_next_() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/automation.h:299
 (inlined by) esphome::Action<>::play_complex() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/automation.h:269
WARNING Decoded 0x4209e505: esphome::ActionList<>::play() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/automation.h:347
 (inlined by) esphome::Automation<>::trigger() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/automation.h:389
 (inlined by) esphome::Trigger<>::trigger() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/automation.h:241
WARNING Decoded 0x4201402e: esphome::button::ButtonPressTrigger::ButtonPressTrigger(esphome::button::Button*)::{lambda()#1}::operator()() const at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/button/automation.h:22
 (inlined by) void std::__invoke_impl<void, esphome::button::ButtonPressTrigger::ButtonPressTrigger(esphome::button::Button*)::{lambda()#1}&>(std::__invoke_other, esphome::button::ButtonPressTrigger::ButtonPressTrigger(esphome::button::Button*)::{lambda()#1}&) at /Users/bdraco/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/invoke.h:61
 (inlined by) std::enable_if<is_invocable_r_v<void, esphome::button::ButtonPressTrigger::ButtonPressTrigger(esphome::button::Button*)::{lambda()#1}&>, void>::type std::__invoke_r<void, esphome::button::ButtonPressTrigger::ButtonPressTrigger(esphome::button::Button*)::{lambda()#1}&>(esphome::button::ButtonPressTrigger::ButtonPressTrigger(esphome::button::Button*)::{lambda()#1}&) at /Users/bdraco/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/invoke.h:111
 (inlined by) std::_Function_handler<void (), esphome::button::ButtonPressTrigger::ButtonPressTrigger(esphome::button::Button*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) at /Users/bdraco/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/std_function.h:290
WARNING Decoded 0x42006555: std::function<void ()>::operator()() const at /Users/bdraco/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include/c++/14.2.0/bits/std_function.h:591
 (inlined by) esphome::CallbackManager<void ()>::call() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/helpers.h:1335
 (inlined by) esphome::LazyCallbackManager<void ()>::call() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/helpers.h:1387
 (inlined by) esphome::button::Button::press() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/button/button.cpp:24
WARNING Decoded 0x4200376c: esphome::api::APIConnection::button_command(esphome::api::ButtonCommandRequest const&) at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/api/api_connection.cpp:941
WARNING Decoded 0x4209d809: esphome::api::APIServerConnection::on_button_command_request(esphome::api::ButtonCommandRequest const&) at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/api/api_pb2_service.cpp:692
WARNING Decoded 0x42005b6d: esphome::api::APIServerConnectionBase::read_message(unsigned long, unsigned long, unsigned char const*) at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/api/api_pb2_service.cpp:526
WARNING Decoded 0x42005cb9: esphome::api::APIServerConnection::read_message(unsigned long, unsigned long, unsigned char const*) at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/api/api_pb2_service.cpp:864
WARNING Decoded 0x420042b4: esphome::api::APIConnection::loop() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/api/api_connection.cpp:210
WARNING Decoded 0x4200620f: esphome::api::APIServer::loop() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/api/api_server.cpp:183 (discriminator 1)
WARNING Decoded 0x4209e0ed: esphome::Component::call_loop() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/component.cpp:211
WARNING Decoded 0x42012889: esphome::Component::call() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/component.cpp:266
WARNING Decoded 0x4201243e: esphome::Application::loop() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/core/application.cpp:164
WARNING Decoded 0x420140d2: loop() at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/test_http_ota_esp32s3.yaml:162
WARNING Decoded 0x420070fe: esphome::loop_task(void*) at /Users/bdraco/esphome/.esphome/build/test-http-ota-s3/src/esphome/components/esp32/core.cpp:62 (discriminator 1)

[13:35:00.706]ELF file SHA256: 84cefc24a

[13:35:00.706]Rebooting...
[13:35:02.193]ESP-ROM:esp32s3-20210327
[13:35:02.193]Build:Mar 27 2021
[13:35:02.193]rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
[13:35:02.193]Saved PC:0x40378c02
WARNING Decoded 0x40378c02: esp_cpu_wait_for_intr at /Users/bdraco/.platformio/packages/framework-espidf/components/esp_hw_support/cpu.c:64
[13:35:02.193]SPIWP:0xee
[13:35:02.193]mode:DIO, clock div:1
[13:35:02.193]load:0x3fce2820,len:0x15c8
[13:35:02.193]load:0x403c8700,len:0xce4
[13:35:02.193]load:0x403cb700,len:0x2f98
2026-01-21 13:56:37 -10:00
J. Nick Koston 802549362f help clang-tidy 2026-01-21 12:57:59 -10:00
J. Nick Koston dd4bfc7b0b unify, make consistant 2026-01-21 12:52:39 -10:00
J. Nick Koston 0d0899b10e unify, make consistant 2026-01-21 12:52:15 -10:00
J. Nick Koston 9b155a3126 document document document 2026-01-21 12:50:39 -10:00
J. Nick Koston 371a1f71a8 document document document 2026-01-21 12:50:20 -10:00
J. Nick Koston d56554100b document document document 2026-01-21 12:50:06 -10:00
J. Nick Koston 5efe5ff9fd fix all the use 2026-01-21 12:35:00 -10:00
J. Nick Koston af76ddeda4 unify, make consistant 2026-01-21 12:31:18 -10:00
J. Nick Koston 6a8bae5b1c unify, make consistant 2026-01-21 12:30:42 -10:00
J. Nick Koston dffc9257dd Update esphome/components/http_request/http_request_idf.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-21 12:25:54 -10:00
J. Nick Koston 68b328c019 match difficult ard behavior 2026-01-21 12:25:28 -10:00
J. Nick Koston 81df19dd4b handle failure 2026-01-21 12:18:52 -10:00
Jonathan Swoboda 8dd1aec606 [esp32] Add warning for experimental 400MHz on ESP32-P4 (#13433)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 17:17:11 -05:00
J. Nick Koston cbcd2b2a70 [http_request] Fix OTA failures on ESP8266/Arduino by making read semantics consistent 2026-01-21 12:14:27 -10:00
J. Nick Koston bb1c26040e Merge branch 'mqtt_stack_part_2' into integration 2026-01-21 11:08:45 -10:00
J. Nick Koston d66d05dbfc [mqtt] Use stack buffers for publish_state() topic building 2026-01-21 11:08:06 -10:00
J. Nick Koston bba447e656 Merge branch 'dev' into mqtt_formatting 2026-01-21 11:06:26 -10:00
J. Nick Koston baa3a58e53 mqtt publish stack topic 2026-01-21 11:05:25 -10:00
J. Nick Koston e396160bf6 Merge remote-tracking branch 'upstream/dev' into integration 2026-01-21 10:33:13 -10:00
Joakim Plate 9d967b01c8 Expose sockaddr to string formatter (#12351) 2026-01-21 10:32:39 -10:00
tomaszduda23 11e0d536e4 [debug] Print reg0 value from config if mismatched on nrf52 (#11867)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-01-21 20:15:51 +00:00
dependabot[bot] 673f46f761 Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 (#13430)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 09:37:18 -10:00