Commit Graph
21749 Commits
Author SHA1 Message Date
Christian Baars 03d9c93472 MI32: harden Berry BLE client and server handling (#24970)
Fix write and subscription behavior, reuse GATT discovery caches, preserve notification metadata, and harden server buffers, event headers, and BLE.info diagnostics.
2026-08-20 13:59:47 +02:00
Theo Arends 40276f2a92 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2026-08-19 16:10:13 +02:00
Theo Arends 68760f2a61 Add more BTHome decodes 2026-08-19 16:10:02 +02:00
Christian Baars 9e05c4440d MI32: Harden packet parsing and BLE operation state (#24967) 2026-08-19 16:07:46 +02:00
Theo Arends cc310d0a34 Reduce code size and add support from Mi32Block 2026-08-19 10:50:18 +02:00
Theo Arends e4e56b6ba4 BTHome: fix decryption counter issue 2026-08-18 17:08:18 +02:00
Christian Baars c9087e48b6 MI32: Harden Berry BLE buffer handling (#24966) 2026-08-18 17:01:44 +02:00
Theo Arends 9978459714 Update change logs 2026-08-18 11:47:31 +02:00
Norbert Richter 168ec0de54 NeoPool delocalize all JSON outputs (#24965) 2026-08-18 11:10:34 +02:00
s-hadinger ff8130c59a Berry fix sortedmap to act like a map (#24964) 2026-08-18 10:17:24 +02:00
s-hadinger fc2b58652d Berry make sortedmap subclass of map (#24961) 2026-08-18 08:27:41 +02:00
Theo Arends 88c6ec4dfd Make BLE GUI look nicer 2026-08-17 14:06:11 +02:00
Theo Arends 3e9ebb7d50 Fix intermittent lost ble webpage 2026-08-17 13:54:03 +02:00
Theo Arends 63e278de74 Update change logs 2026-08-17 11:01:49 +02:00
Norbert Richter 1d682c823a NeoPool fix issue with localized JSON key (#24962) 2026-08-17 10:56:18 +02:00
Theo Arends 0e940c955f Add BTHome acceleration decoding 2026-08-16 15:10:57 +02:00
Theo Arends 7c5a9104e3 Add BTHome max 8 button support 2026-08-16 12:50:26 +02:00
Theo Arends ed3650b7f0 Add chk for duplicates 2026-08-15 22:47:08 +02:00
52b2d232e1 Fix build error: use #ifdef for USE_UNIVERSAL_TOUCH in UDSP_DEBUG block (#24957)
Building with UDSP_DEBUG enabled fails:

  lib/lib_display/UDisplay/src/uDisplay.cpp:908:24: error: #if with no expression
    908 | #if USE_UNIVERSAL_TOUCH
        |                        ^

USE_UNIVERSAL_TOUCH is defined without a value (my_user_config.h and the
user_config_override.h convention both use a bare `#define`), so `#if` expands
to an empty expression and the preprocessor errors out.

Every other test of this macro already uses #ifdef:

  uDisplay.cpp:47        #ifdef USE_UNIVERSAL_TOUCH
  uDisplay.cpp:792       #ifdef USE_UNIVERSAL_TOUCH
  uDisplay_touch.cpp:4   #ifdef USE_UNIVERSAL_TOUCH

so this looks like a typo rather than a deliberate value test.

Introduced in a1639507d ("Udisp SPI fix for mono color display", #24899). It
goes unnoticed in normal builds because the block sits inside #ifdef
UDSP_DEBUG, which ships commented out at uDisplay.cpp:27 — it only surfaces
for anyone who turns that debug logging on. Found on an ESP32-P4 build with
UDSP_DEBUG enabled for DSI init diagnostics.

Co-authored-by: Ari Friedman <afriedman@millsupplyco.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 13:30:40 +02:00
Theo Arends deb9a42ad1 BTHome disable event on button none 2026-08-14 14:43:22 +02:00
Theo Arends b20522054a Clean up and sync messages 2026-08-13 17:06:15 +02:00
Theo Arends 0d651080b9 Extend BTHome decoding with pressure and voltage 2026-08-13 16:31:46 +02:00
Theo Arends 4999f2bd5e Update change logs 2026-08-13 14:02:12 +02:00
SteWers 1e769b93ca [EQ3-TRV] Code refactor (#24956)
Large refactor of the EQ3/TRV ESP32 BLE driver. The primary goal was to replace `strcmp`-based logic in TRV subcommand handling with an index-driven approach.

Additional improvements included:
* Optimizing ESP32 memory management using `constexpr` and removing obsolete `PSTR` and `PROGMEM` statements
* Adjusting variable types for better efficiency
* Improving overall code readability
* Enabling safer, compile-time constants

These changes reduce binary size, flash usage, RAM footprint, and CPU overhead.
Functional behavior remains entirely unchanged.
2026-08-13 13:18:44 +02:00
s-hadinger db56cd62aa Berry extend sortedmap constructor (#24955) 2026-08-12 17:02:22 +02:00
Christian Baars b626d38df1 Fixes broken sensor table layout when HTTP/MQTT bridges run alongside local sensors (#24953) 2026-08-12 16:49:43 +02:00
s-hadinger 650d525699 Berry json.dump() works with subclasses of map and list (#24954) 2026-08-12 15:41:17 +02:00
Christian BaarsandChristian Baars d8578c5a3f add remote devices via MQTT (#24951)
Co-authored-by: Christian Baars <christianbaars@MacStudio-von-Christian.local>
2026-08-12 07:49:44 +02:00
Theo Arends 53b5911ce6 Prep BTHome more sensor decoding 2026-08-11 15:56:38 +02:00
SteWers 6a7ac34eaa [EQ3-TRV] Add command names to log (#24944)
* [EQ3-TRV] Add command names to log

Enhance EQ3 TRV logging to include command names and clearer messages.

* Log queued command
2026-08-10 14:22:57 +02:00
Theo Arends 58907cf579 Update change logs 2026-08-10 14:22:15 +02:00
s-hadinger 7e2157d591 HASPmota better support for textarea (#24946) 2026-08-08 17:10:40 +02:00
Theo Arends 351a1e64ec Add some more checks 2026-08-06 16:42:22 +02:00
Theo Arends bb8ce1773e Add limited support for BLE BTHome (#20763) 2026-08-06 14:56:48 +02:00
Theo Arends 552ddc5b1d Restructure source file header 2026-08-05 15:40:34 +02:00
Theo Arends d5a127fe7d Fix AddLog(0 regression 2026-08-05 15:20:01 +02:00
Theo Arends 81bf049836 Fix AddLog(0 regression 2026-08-05 15:13:54 +02:00
SteWers 4764987f19 [EQ3-TRV] Update parsing and logging (#24941)
* [EQ3-TRV] Update parsing and logging

Here are a lot of optimizations for parsing the command data. They make it smaller and saver.
Some adjustments of the log logic.
Cleaning up code in common.

* Fix MAC in Log
2026-08-05 14:21:41 +02:00
Theo Arends 2093a23da1 BLE BTHome add undecoded logging 2026-08-04 15:27:49 +02:00
Theo Arends 6637b637b6 Extent BTHome support (v0.9.3.1) 2026-08-04 12:52:26 +02:00
SteWers 4be02fc837 [EQ3-TRV] Use atof instead of sscanf for float values (#24936)
Replace `sscanf` float parses with `atof`, because `sscanf` does not work anymore for float values
2026-08-03 22:35:41 +02:00
SteWers e8da90ade9 Possibility to set all BLE log levels at once (#24937)
Allow setting all BLE log levels at once with `BLEDebug0`
2026-08-03 22:35:06 +02:00
Theo Arends 771cf97e2f Update BLE MI32 version to V0.9.3.0 2026-08-03 18:26:25 +02:00
Theo Arends a154c3b2a2 Add BLE MI32 BTHome decryption 2026-08-03 18:06:59 +02:00
Theo Arends 2113a7d8f7 Add BTHOme V2 WIP support (#20763) 2026-08-03 14:58:44 +02:00
SteWers ecb7c82e78 Adapt BLEDebug to common command syntax (#24931)
* Adapt `BLEDebug` to common command syntax

Adapt `BLEDebug` to common command syntax:
- `BLEDebug` - show debug logging status
- `BLEDebug 0` - turn off
- `BLEDebug 1` - turn on

A bit code cleanup without functional changes.

* More cleanup

* Implement per-level BLE logging

Replace the single BLEDebugMode flag with a BLELogLevel[] array and route BLE logging through per-level checks. Added a fast path in AddLog to skip loglevel==0. Updated the BLEDebug command to set and show per-level log values, and replaced conditional BLEDebugMode checks across BLE driver and MI/EQ3 modules with AddLog(BLELogLevel[...]) calls. Miscellaneous whitespace/help text tweaks included.
2026-08-03 12:06:45 +02:00
s-hadinger 6f7f91f1be Fix potential race condition in UdpListener (#24932) 2026-08-01 16:59:12 +02:00
Theo Arends 49f9be888d Add support for WiZ compatible IoTorero ESP-Now Remote Control additional buttons P5 to P7 2026-08-01 16:36:36 +02:00
s-hadinger 0e12192a88 Add LList README (#24930) 2026-07-31 22:19:30 +02:00
Theo Arends 640b6c2d10 Update changelogs 2026-07-31 17:10:00 +02:00