Claude
d6ee57a7b9
[bthome_ble] Refactor to list-based sensor configuration
...
Refactored the component to use a list-based configuration structure that
reduces duplication and makes it clearer that multiple sensors come from
the same device.
New configuration format:
sensor:
- platform: bthome_ble
mac_address: "A4:C1:38:12:34:56"
bindkey: "..." # optional
sensors:
- type: temperature
name: "Temperature"
- type: humidity
name: "Humidity"
binary_sensor:
- platform: bthome_ble
mac_address: "A4:C1:38:9A:BC:DE"
binary_sensors:
- type: motion
name: "Motion"
- type: door
name: "Door"
Benefits:
- MAC address and bind key are specified once per device
- More efficient (one BLE listener per device instead of per sensor)
- Clearer relationship between sensors from the same device
- Matches user expectations for multi-sensor devices
Updated test configurations to demonstrate the new format.
2025-11-18 20:36:06 +00:00
Claude
21539bdeba
[bthome_ble] Add BTHome BLE packet parser component
...
Implements a BTHome v2 BLE advertisement parser component that allows ESPHome
to receive and parse sensor data from BTHome-compatible BLE devices.
Features:
- Parse BTHome v2 format BLE advertisements
- Support for sensors and binary sensors
- AES-CCM encryption support with 16-byte bind keys
- Independent sensor configuration (each sensor specifies MAC address and bind key)
- Supports 50+ BTHome object types including temperature, humidity, motion, door, etc.
Component structure:
- Main component: bthome_ble (BLE device listener)
- Sensor platform: supports numeric sensor types
- Binary sensor platform: supports boolean sensor types
Each sensor/binary_sensor independently listens for BLE advertisements from
the configured MAC address and extracts the specified object type. Multiple
sensors can monitor the same device by specifying the same MAC address and
bind key (if encrypted).
This is the complementary receiver component to the BTHome transmitter.
2025-11-18 20:31:08 +00:00
J. Nick Koston
70ed9c7c4d
[wifi] Fix captive portal unusable when WiFi credentials are wrong ( #11965 )
2025-11-19 08:17:21 +13:00
dependabot[bot]
81fe5deaa9
Bump github/codeql-action from 4.31.3 to 4.31.4 ( #11977 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-19 08:12:42 +13:00
Jonathan Swoboda
72e4b16a5b
[sfa30] Fix negative temperature values ( #11973 )
2025-11-18 13:29:40 -05:00
Jonathan Swoboda
fe2befcec2
[bme68x] Print error when no sensors are configured ( #11976 )
2025-11-18 13:18:09 -05:00
J. Nick Koston
1888f5ffd5
[scheduler] Add defensive nullptr checks and explicit locking requirements ( #11974 )
2025-11-18 18:16:18 +00:00
Jonathan Swoboda
c59af22217
[esp32] Fix Arduino build on some ESP32 S2 boards ( #11972 )
2025-11-18 12:40:31 -05:00
J. Nick Koston
33983b051b
[ld24xx] Use stack allocation for MAC and version formatting ( #11961 )
2025-11-18 10:51:47 -06:00
Clyde Stubbs
11d0d4d128
[lvgl] Apply scale to spinbox value ( #11946 )
2025-11-18 17:27:50 +13:00
Clyde Stubbs
a4242dee64
[build] Don't clear pio cache unless requested ( #11966 )
2025-11-18 15:11:49 +11:00
J. Nick Koston
0d6c9623ce
[dashboard_import] Store package import URL in .rodata instead of RAM ( #11951 )
2025-11-17 20:02:16 -06:00
strange_v
0923bcd2ca
[mipi_rgb] Fix GUITION-4848S040 colors ( #11709 )
2025-11-18 01:32:17 +00:00
J. Nick Koston
fdc7ae7760
[wifi] Skip redundant setter calls for default values ( #11943 )
2025-11-17 17:20:32 -06:00
J. Nick Koston
1a73f49cd2
[number] Modernize to C++17 nested namespaces ( #11945 )
2025-11-17 17:20:18 -06:00
dependabot[bot]
23f85162d0
Bump actions/checkout from 5.0.0 to 5.0.1 ( #11957 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 15:39:01 -06:00
dependabot[bot]
7a238028a7
Bump ruamel-yaml-clib from 0.2.14 to 0.2.15 ( #11956 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 15:38:44 -06:00
Jonathan Swoboda
3d6c361037
[core] Add support for setting environment variables ( #11953 )
2025-11-17 12:32:08 -05:00
Javier Peletier
9e1f8d83f8
[config] Support !remove and !extend with LVGL-style configs ( #11534 )
2025-11-17 18:03:11 +11:00
Jesse Hills
fa0aa6defc
Merge branch 'beta' into dev
2025-11-17 17:41:46 +13:00
Jesse Hills
70366d2124
Merge pull request #11944 from esphome/bump-2025.11.0b3
...
2025.11.0b3
2025.11.0b3
2025-11-17 17:41:11 +13:00
J. Nick Koston
10bdb47eae
[cover] Modernize to C++17 nested namespaces ( #11935 )
2025-11-16 20:37:06 -06:00
Jesse Hills
a38c4e0c6e
Bump version to 2025.11.0b3
2025-11-17 15:32:09 +13:00
Anton Sergunov and J. Nick Koston
6c6b03bda0
[uart] Setup uart pins only if flags are set ( #11914 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-11-17 15:32:09 +13:00
J. Nick Koston
9e02e31917
[web_server_idf] Fix lwIP assertion crash by shutting down sockets on connection close ( #11937 )
2025-11-17 15:32:09 +13:00
J. Nick Koston
3fd58f1a91
[web_server.ota] Merge multiple instances to prevent undefined behavior ( #11905 )
2025-11-17 15:32:09 +13:00
J. Nick Koston
9151489481
[sntp] Merge multiple instances to fix crash and undefined behavior ( #11904 )
2025-11-17 15:32:09 +13:00
J. Nick Koston
f19296ac7f
[analyze-memory] Show all core symbols > 100 B instead of top 15 ( #11909 )
2025-11-17 15:32:09 +13:00
J. Nick Koston
36868ee7b1
[scheduler] Fix timing breakage after 49 days of uptime on ESP8266/RP2040 ( #11924 )
2025-11-17 15:32:09 +13:00
J. Nick Koston
d559f9f52e
[ld2410] Add timeout filter to prevent stuck targets ( #11920 )
2025-11-17 15:32:09 +13:00
J. Nick Koston
6440b5fbf5
[ld2412] Fix stuck targets by adding timeout filter ( #11919 )
2025-11-17 15:32:09 +13:00
Jonathan Swoboda and J. Nick Koston
97c4914573
[uart] Improve error handling and validate buffer size ( #11895 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-11-17 15:32:09 +13:00
Edward Firmo
7ce94c27fe
[wifi] Allow use_psram with Arduino ( #11902 )
2025-11-17 15:32:09 +13:00
Edward Firmo
eb54c0026d
[light] Fix missing ColorMode::BRIGHTNESS case in logging ( #11836 )
2025-11-17 15:32:09 +13:00
Clyde Stubbs and Jonathan Swoboda
fe00e209ff
[esp32] Add sdkconfig flag to make OTA work for 32MB flash ( #11883 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-11-17 15:32:08 +13:00
Clyde Stubbs
aed80732f9
[esp32] Make esp-idf default framework for P4 ( #11884 )
2025-11-17 15:32:08 +13:00
Anton Sergunov and J. Nick Koston
aa097a2fe6
[uart] Setup uart pins only if flags are set ( #11914 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-11-17 14:25:00 +13:00
J. Nick Koston
3b860e784c
[web_server_idf] Fix lwIP assertion crash by shutting down sockets on connection close ( #11937 )
2025-11-17 13:39:01 +13:00
J. Nick Koston
96ee38759d
[web_server.ota] Merge multiple instances to prevent undefined behavior ( #11905 )
2025-11-17 13:38:52 +13:00
J. Nick Koston
986d3c8f13
[sntp] Merge multiple instances to fix crash and undefined behavior ( #11904 )
2025-11-17 13:38:38 +13:00
Clyde Stubbs
320120883c
[lvgl] Migrate lv_font creation into Font class and optimise ( #11915 )
2025-11-17 08:47:54 +11:00
J. Nick Koston
4fc4da6ed2
[analyze-memory] Show all core symbols > 100 B instead of top 15 ( #11909 )
2025-11-16 07:35:31 -06:00
J. Nick Koston
6f4042f401
Add tests for sensor timeout filters ( #11923 )
2025-11-15 22:21:38 -06:00
J. Nick Koston
ea2b4c3e25
[binary_sensor] Modernize to C++17 nested namespaces and remove redundant qualifications ( #11929 )
2025-11-16 04:21:06 +00:00
J. Nick Koston
fc546ca3f6
[scheduler] Fix timing breakage after 49 days of uptime on ESP8266/RP2040 ( #11924 )
2025-11-15 22:20:57 -06:00
J. Nick Koston
6b158e760d
[ld2410] Add timeout filter to prevent stuck targets ( #11920 )
2025-11-15 22:04:25 -06:00
J. Nick Koston
5710cab972
[ld2412] Fix stuck targets by adding timeout filter ( #11919 )
2025-11-15 22:03:43 -06:00
Clyde Stubbs
eb759efb3d
[font] Store glyph data in flash only ( #11926 )
2025-11-16 12:48:02 +11:00
dependabot[bot] and J. Nick Koston
1df996601d
Bump ruff from 0.14.4 to 0.14.5 ( #11910 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-11-14 19:14:07 +00:00
dependabot[bot]
c32891ec02
Bump github/codeql-action from 4.31.2 to 4.31.3 ( #11911 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-14 13:09:59 -06:00