Commit Graph
21535 Commits
Author SHA1 Message Date
s-hadinger df619c89ed Berry make sortedmap subclass of map 2026-08-17 08:24:45 +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
s-hadinger b6590fef1c TLS fix public key fingerprint for ECDSA certificates (#24928) 2026-07-31 17:06:26 +02:00
SteWers c24a1e426f Fix MI BLE decryption log message formatting (#24929)
Standardize capitalization of 'key' in debug log messages and improve error logging format.
2026-07-31 17:02:57 +02:00
Theo Arends f13988e670 Fix regression from last merge 2026-07-31 16:30:37 +02:00
s-hadinger fabc35f034 Minor fixes in LList (#24927) 2026-07-31 16:15:03 +02:00
Theo Arends 9c5b81f1d4 Update change logs 2026-07-31 16:12:32 +02:00
SteWers 4b8de32516 Reset BLE scan flag on new operation (#24925)
Clear the BLERunningScan flag when starting a new BLE operation to ensure proper state management. This prevents the scanning state from persisting incorrectly across operations.
2026-07-31 16:08:42 +02:00
Theo Arends 63c2a3b466 Add support for baudrate 74880 replacing 74700 ((#24924) 2026-07-31 15:33:27 +02:00
Theo Arends 3725d6eb47 Fix Can sniffer functionality (#18287) 2026-07-28 10:49:59 +02:00
Heo ye won 2eda5214cf MAX7219 matrix: add positioned text support for multi-row displays (#24917) 2026-07-27 13:34:31 +02:00
s-hadinger 6fbf626977 MQTT more hardening and fixes from pubsub3 (#24920) 2026-07-26 21:54:04 +02:00
Theo Arends 2f136a3290 Bump version v15.5.0.2 2026-07-23 21:57:45 +02:00
s-hadinger 2d340102a3 PubSub lib renamed TasmotaPubSub, hardening fixes and comprehensive non-regression tests (#24916) 2026-07-23 20:49:54 +02:00
sfromis 70fa0c5ad5 Include USE_TCP_BRIDGE with tasmota-zigbee build (#24912)
Since tasmota-zigbee is for use with CC2530, it makes sense to have USE_TCP_BRIDGE included too, for users wanting to use it with Z2M or ZHA.
2026-07-22 17:27:05 +02:00
Theo Arends 23ed46deff Update change logs 2026-07-21 14:04:17 +02:00