Commit Graph
24009 Commits
Author SHA1 Message Date
J. Nick Koston 21fb5975d6 Merge remote-tracking branch 'upstream/dev' into integration
# Conflicts:
#	esphome/components/esphome/ota/ota_esphome.h
#	esphome/components/http_request/ota/ota_http_request.cpp
#	esphome/components/http_request/ota/ota_http_request.h
#	esphome/components/ota/ota_backend_factory.h
#	esphome/components/web_server/ota/ota_web_server.cpp
#	esphome/components/wifi/wifi_component.cpp
2026-03-05 10:57:44 -10:00
b0be02e16d [modbus] Fix timing bugs and better adhere to spec (#8032)
Co-authored-by: brambo123 <52667932+brambo123@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick+github@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-03-05 20:54:17 +00:00
Jonathan SwobodaandClaude Opus 4.6 d11e7cab46 [xiaomi_ble][pvvx_mithermometer][atc_mithermometer] Add BLE service data bounds checks (#14514)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 20:18:54 +00:00
e25d740968 [wifi] Cache is_connected() for cheap inline access (#14463)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-05 09:58:58 -10:00
Jonathan SwobodaandClaude Opus 4.6 291679126f [nfc] Fix off-by-one in NDEF message parsing (#14485)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 09:55:54 -10:00
dependabot[bot] 99a805cba6 Bump the docker-actions group across 1 directory with 2 updates (#14520)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 09:52:10 -10:00
Jonathan SwobodaandCopilot bb37887a8c [wled][lcd_base][touchscreen][ee895] Fix off-by-one, buffer overrun, empty deref, and uninitialized pointers (#14513)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-05 09:51:32 -10:00
5c5ea8824e [audio_file] New component for embedding files into firmware (#14434)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-03-05 09:51:08 -10:00
Jonathan SwobodaandClaude Opus 4.6 22d90d702d [usb_cdc_acm][scd4x][pulse_counter][mopeka_std_check][ruuvi_ble] Fix assorted one-liner bugs (#14495)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 09:47:55 -10:00
9961c8180a [alpha3][mpu6886][emc2101] Fix copy-paste bugs (#14492)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-03-05 09:47:32 -10:00
d6f3186b3d [haier][bedjet][vbus][lightwaverf] Fix buffer overflow bugs (#14493)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-03-05 09:47:10 -10:00
05ddc85412 [rc522][sml][kamstrup_kmp] Fix buffer bounds checks (#14515)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-03-05 09:46:56 -10:00
Jonathan SwobodaandJ. Nick Koston 6f0460b0ee [sim800l][tormatic][tx20] Fix OOB access, div-by-zero, and off-by-one (#14512)
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-03-05 09:46:47 -10:00
Olivier ARCHER 44d314d069 [GPS] fix component Python declaration to match C++ implementation (#14519) 2026-03-05 09:22:37 -10:00
J. Nick Koston e210e414bd [ota] Devirtualize OTA backend calls (#14473) 2026-03-05 19:15:02 +00:00
Jonathan SwobodaandClaude Opus 4.6 cce7a09fa9 [pn532_spi] Fix preamble check logic and OOB access when full_len is zero (#14486)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 14:09:34 -05:00
e1d0c6da09 [dfplayer][ufire_ise][ufire_ec][qmp6988][atm90e26] Fix wrong operators and masks (#14491)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-03-05 14:09:23 -05:00
rwrozelleandJ. Nick Koston 9518d88a2a [openthread] static log level code quality improvement (#14456)
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-03-05 08:35:20 -10:00
Jonathan SwobodaandClaude Opus 4.6 4a5d8449fd [sht4x][grove_tb6612fng] Fix logic bugs (#14497)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 08:33:12 -10:00
Jonathan SwobodaandClaude Opus 4.6 3df4ef9362 [ssd1322][ssd1325][ssd1327] Fix nibble mask bug in grayscale draw_pixel (#14496)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 08:31:26 -10:00
Jonathan SwobodaandClaude Opus 4.6 01f4275202 [veml7700] Fix initial settling timeout using raw enum instead of milliseconds (#14487)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:16:33 -05:00
Jonathan SwobodaandClaude Opus 4.6 a061397469 [dfrobot_sen0395][sx1509] Fix structural bugs (#14494)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:16:06 -05:00
J. Nick Koston e1fef3aa2a Merge branch 'integration' of https://github.com/esphome/esphome into integration 2026-03-05 07:34:44 -10:00
J. Nick Koston 414bf6120e Merge branch 'wifi-cache-is-connected' into integration 2026-03-05 07:33:53 -10:00
J. Nick KostonandJonathan Swoboda 7b05ad690b Update esphome/components/wifi/wifi_component.cpp
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-03-05 07:33:29 -10:00
J. Nick Koston 60cab9b784 Merge branch 'dev' into wifi-cache-is-connected 2026-03-05 07:30:52 -10:00
J. Nick Koston 2777d35990 [api] Devirtualize frame helper calls when protocol is fixed at compile time (#14468) 2026-03-05 07:21:44 -10:00
J. Nick KostonandCopilot c49c23d5d9 [network] Inline network::is_connected() and ethernet is_connected() (#14464)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-05 07:21:04 -10:00
J. Nick Koston 8c6fa636c9 Merge branch 'dev' into wifi-cache-is-connected 2026-03-05 01:28:47 -10:00
J. Nick Koston ca67a667fa Merge branch 'enable-captive-portal-rp2040' into integration 2026-03-05 01:17:46 -10:00
J. Nick Koston 980b55710a Merge remote-tracking branch 'origin/fix-rp2040-wifi-ap-fallback' into enable-captive-portal-rp2040 2026-03-05 01:17:33 -10:00
J. Nick Koston 296b412bd3 Fix AP not being disabled and ap_started_ when ap is nullopt 2026-03-05 01:16:37 -10:00
J. Nick Koston a84b04fa91 Merge branch 'enable-captive-portal-rp2040' into integration 2026-03-05 01:15:22 -10:00
J. Nick Koston 7b071793fb [captive_portal] Enable support for RP2040 2026-03-05 01:15:02 -10:00
J. Nick Koston 2789884133 Use is_connected_() for wifi_rssi() to check internal state 2026-03-05 01:14:52 -10:00
J. Nick Koston 31e4da5543 Merge branch 'enable-captive-portal-rp2040' into integration 2026-03-05 01:08:01 -10:00
J. Nick Koston caa50ca199 [captive_portal] Enable support for RP2040 2026-03-05 01:06:46 -10:00
J. Nick Koston 1ea0ea935f Remove debug logging 2026-03-05 00:52:24 -10:00
J. Nick Koston 837ac62b7e fix 2026-03-05 00:46:52 -10:00
J. Nick Koston 58329c52de bump 2026-03-05 00:37:42 -10:00
J. Nick Koston fc07796acf [wifi] Remove WiFi.disconnect() from wifi_mode_ to fix AP_STA mode
WiFi.disconnect() sets _wifiHWInitted=false and _mode=WIFI_OFF, which
causes beginAP to run in AP-only mode (_mode=WIFI_AP). In AP-only mode,
subsequent beginNoBlock() calls hit the ESP8266 compatibility hack in
_beginInternal that redirects to beginAP() instead of starting a STA
connection, creating a connect/disconnect loop.

Without WiFi.disconnect(), _wifiHWInitted stays true and beginAP
correctly enters AP_STA mode, allowing STA reconnection attempts to
work properly alongside the fallback AP.

The wifi_sta_connected() helper from the previous commit is sufficient
to prevent false CONNECTED reports by checking WiFi.localIP() instead
of the AP-contaminated WiFi.status().
2026-03-05 00:05:22 -10:00
J. Nick Koston de85e75bfb fix 2026-03-04 23:58:42 -10:00
J. Nick Koston b71965b031 fix 2026-03-04 23:56:27 -10:00
J. Nick Koston bad6a62226 [wifi] Fix RP2040 falsely reporting WiFi connected after AP fallback
Two bugs combined to make the RP2040 Pico W immediately think it was
connected to WiFi after starting the fallback AP, causing it to disable
the AP and stop retrying:

1. wifi_mode_(false, {}) was a no-op for STA disable — restart_adapter()
   calls this to tear down STA, but the implementation only handled
   sta=true. The CYW43 STA link state remained CYW43_LINK_JOIN from
   the timed-out connection attempt.

2. wifi_ap_ip_config_() called WiFi.config(192.168.4.1) which configured
   the STA interface's IP (not the AP's). When wifi_sta_connect_status_()
   checked WiFi.status(), CYW43lwIP::status() saw CYW43_LINK_JOIN +
   localIP().isSet() and returned WL_CONNECTED.

Fix wifi_mode_() to call WiFi.disconnect() when sta=false to clear stale
link state. Remove the WiFi.config() call from wifi_ap_ip_config_() since
WiFi.beginAP() already configures the AP IP internally. Also fix
wifi_soft_ap_ip() to use WiFi.softAPIP() instead of WiFi.localIP().
2026-03-04 23:39:58 -10:00
J. Nick Koston 17b1f59bda Merge remote-tracking branch 'origin/integration' into integration 2026-03-04 23:22:55 -10:00
J. Nick Koston 445e049976 Merge branch 'rp2040-socket-wake' into integration 2026-03-04 23:22:36 -10:00
J. Nick Koston 1a353fedc2 Wire wake_loop_any_context() for RP2040 via socket_wake() 2026-03-04 23:22:13 -10:00
J. Nick Koston 89f190af56 Merge branch 'rp2040-socket-wake' into integration 2026-03-04 22:52:49 -10:00
J. Nick Koston 1e2c892139 Consume pre-existing socket_wake before sleeping 2026-03-04 22:52:42 -10:00
J. Nick Koston 3c90c0bf28 Merge branch 'rp2040-socket-wake' into integration 2026-03-04 22:50:52 -10:00