2511 Commits
Author SHA1 Message Date
Christian Baars 48393544b5 MI32: improve dashboard and widget handling (#24972)
- Preserve fractional values in Berry MI32.set_temp() and MI32.set_hum().
- Limit saved MI32 configurations safely to 32 sensors.
- Respect the configured temperature unit (SetOption8) in dashboard temperature and dew-point values.
- Update browser-side age counters using real elapsed time.
- Allow a Berry widget response to contain multiple independent cards.
- Send dashboard metrics in a dedicated response every ten seconds.
- Pause dashboard polling while the browser tab is hidden.
- Display chained knob button presses as their numeric count.
- Various small improvements.
2026-08-22 12:49:16 +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
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
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
s-hadinger 7e2157d591 HASPmota better support for textarea (#24946) 2026-08-08 17:10:40 +02:00
s-hadinger 6f7f91f1be Fix potential race condition in UdpListener (#24932) 2026-08-01 16:59:12 +02:00
s-hadinger 0e12192a88 Add LList README (#24930) 2026-07-31 22:19:30 +02:00
s-hadinger b6590fef1c TLS fix public key fingerprint for ECDSA certificates (#24928) 2026-07-31 17:06:26 +02:00
s-hadinger fabc35f034 Minor fixes in LList (#24927) 2026-07-31 16:15:03 +02:00
s-hadinger 6fbf626977 MQTT more hardening and fixes from pubsub3 (#24920) 2026-07-26 21:54:04 +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
s-hadinger c144ac9639 TLS support for EC P-384 curve in server certificate (#24909) 2026-07-20 21:40:53 +02:00
gionag 3dd46b0b44 Fix ESP8266 crash-loop on PZEM/Modbus: move stray delay() inside rx-enable guard (#24886) 2026-07-20 15:52:18 +02:00
s-hadinger 5614aaec2a HASPmota and LVGL stripes widget (#24907) 2026-07-18 17:34:55 +02:00
Christian Baars a1639507d1 Udisp SPI fix for mono color display (#24899)
* fix union offset for SPI mono display

* fix debug log to correcty use USE_UNIVERSAL_TOUCH
2026-07-14 19:03:57 +02:00
5acc4a368b Add Matter virtual IR HVAC thermostat support (#24821)
* Add Matter virtual IR HVAC thermostat support

Introduce a generic Matter thermostat plugin and a virtual HVAC plugin that maps thermostat state changes to Tasmota IRHVAC commands.

Add virtual HVAC option switches for IRHVAC boolean options such as Econo, Quiet, Turbo, Light, Filter, Clean, Beep, and iFeel. These option endpoints are attached to the HVAC endpoint PartsList instead of being listed as top-level aggregator parts.

Expose the new virtual device types in the Matter UI and refresh endpoint PartsList attributes when endpoint composition changes.

* Warn on invalid Matter v.HVAC vendor

* Fix regression

* Matter virtual IR HVAC thermostat support

* Revert

---------

Co-authored-by: Jean-Laurent Girod <macjl@users.noreply.github.com>
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
2026-07-07 20:00:24 +02:00
s-hadinger 0e4f4c7a97 HASPmota new style for demo (#24875) 2026-07-05 17:54:01 +02:00
s-hadinger aec8e2395a HASPmota ability to set default screen background on p0b0 object (#24874) 2026-07-04 12:47:01 +02:00
s-hadinger e352266405 Berry fix warnings when running unit tests (#24859) 2026-06-26 15:52:27 +02:00
s-hadinger 39ad0f57a4 Berry bytes methods setbits/getbits transposed to native and support for big endian (#24857) 2026-06-26 09:23:33 +02:00
Theo Arends ee435ea968 Fix possible buffer overflow 2026-06-22 15:24:06 +02:00
Štěpán Dalecký 6c208a6b5f Enhance Matter plugin functionality for On/Off control and add support for Global Scene Control and related commands (#24854) 2026-06-21 10:18:54 +02:00
s-hadinger ba6159f78a Berry LVGL mapping refactor (#24844) 2026-06-16 12:32:38 +02:00
s-hadinger 43a5153cab Berry more multiple minor fixes (#24843) 2026-06-16 09:34:55 +02:00
s-hadinger 88eff2ce51 AsyncHttpClientLifght code analysis (#24841) 2026-06-15 22:11:49 +02:00
s-hadinger bd466806fe Berry optimized solidified structures for code constants and maps (#24838) 2026-06-14 20:59:19 +02:00
s-hadinger b29f6926e1 Berry fix rare GC bug in deinit (#24837) 2026-06-14 19:54:35 +02:00
s-hadinger fc1c2a563f Berry fix rare GC bug in bytecode (#24836) 2026-06-14 19:35:49 +02:00
Theo Arends c15ea2852e Fix RTSP strncpy buffer overflow 2026-06-10 14:35:35 +02:00
Theo Arends cd38f60218 Change Sensirion_Core library from v0.7.2 to arduino-core v0.7.3 2026-06-05 16:42:08 +02:00
Theo Arends 01d044cedc Changed SCD30 library FrogmoreScd30 to Sensirion arduino-i2c-scd30 v1.1.1 2026-06-05 15:31:11 +02:00
Theo Arends 6191473dfd Changed SCD4x library FrogmoreScd40 to Sensirion arduino-i2c-scd4x v1.1.0
- Bump version v15.4.0.3
2026-06-03 17:18:28 +02:00
Theo Arends 82e987a4d6 Cleanup SPS30 driver 2026-06-02 11:06:33 +02:00
Theo Arends 2c86fa57a2 Update SEN5x library - no functional change 2026-06-01 18:08:35 +02:00
Theo Arends 2169441925 Rename library stcc4 to official name 2026-06-01 17:52:48 +02:00
Theo Arends e077f6a34d Add complete SPS30 library 2026-06-01 17:46:57 +02:00
s-hadinger a2032b7ec1 Fix Crash when MQTT-TLS when tcp connection failed (#24798) 2026-05-28 22:37:35 +02:00
7873a9f284 Matter Zigbee bridge: route per-endpoint friendly names to correct endpoint (#24709)
* Matter Zigbee bridge: route per-endpoint friendly names to correct endpoint

The Matter to Zigbee bridge mapped each Matter endpoint to a Zigbee
shortaddr only, losing endpoint information. For multi-endpoint
devices (e.g. 2-channel on/off relays), every Matter command routed
to Zigbee endpoint 1 and incoming reports updated all Matter plugins
targeting that device.

Changes in Matter_z_Zigbee.be:

* New "<device>:<N>" explicit syntax for per-endpoint targeting,
  e.g. zigbee_device:"my_device:2" routes Matter to Zigbee endpoint 2.

* Per-endpoint friendly name auto-resolution as a fallback: when no
  explicit ":N" is given and the config string is a non-hex name,
  the mapper queries ZbName once at first resolve and walks the
  response to find the source endpoint. Preserves the existing
  Tasmota convention of per-endpoint friendly names set via
  ZbName <dev>,<name>,<ep>.

* Outgoing: pass the original config string verbatim in the ZbSend
  Device field. ZbSend's parseDeviceFromName resolves per-endpoint
  friendly names natively. Adds explicit Endpoint field when known.

* Incoming: filter Matter_Zigbee.attributes_final by attr_list._src_ep
  when the mapper has a known endpoint. The frame parameter is
  always nil at this call site (caller passes nullptr), so the
  filter relies on the attribute list's source endpoint instead.

* Boot probe (probe_zb_values) is now endpoint-aware: triggers a
  ZbRead per attribute the plugin tracks for the specific endpoint.
  Avoids the previous merged-state pollution where probe pushed the
  same device.info() to all plugins targeting the same shortaddr.
  Single-endpoint configs keep the cheap cached probe (no extra
  Zigbee traffic).

Backwards compatibility preserved for shortaddr / integer / device-
level friendly name configs - default endpoint behavior is unchanged.

Tested on a 2-channel Zigbee on/off device paired to a Tasmota
Zigbee gateway, verified bidirectional in Apple Home.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Delet solidify file

---------

Co-authored-by: Paul de Monchy <paul.de.monchy@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
2026-05-28 19:56:04 +02:00
joluxer 58b7d9d639 JsonParser: fix NULL deref on OOM in token buffer access paths (#24792)
On platforms without exceptions (-fno-exceptions, e.g. ESP8266),
new[] returns nullptr on allocation failure instead of throwing.
The missing NULL check caused a hard crash (load/store to address
derived from nullptr+offset) whenever the token buffer could not
be allocated.

Fix all four paths that dereference _tokens without a NULL guard,
and implement the existing TODO in parse() to ensure _token_len=0
invariant holds after OOM, consistent with the zero-error design.
2026-05-27 23:31:32 +02:00
s-hadinger 4e73601214 Strip coc parser (cosmetic) 2026-05-27 14:11:33 +02:00
Christian Baars ef35d7b6c6 Cleaner solidify (#24788) 2026-05-25 17:04:03 +02:00
Christian Baars 99fc7f87e7 use Tasmota Berry defines in coc (#24787) 2026-05-25 10:02:45 +02:00
Christian BaarsandChristian Baars a027be81f6 Fix I80 pushColors swap logic for parallel displays (#24770)
Co-authored-by: Christian Baars <christianbaars@MacStudio-von-Christian.local>
2026-05-20 13:52:46 +02:00
Christian Baars 68635b9668 MI32: unify connection task (#24769) 2026-05-20 12:27:50 +02:00
Frederick Blais e6d471f25f Add descriptor-driven ST7305 uDisplay packing (#24738) 2026-05-19 12:24:18 +02:00
Petr Golovachev 0a5311c3ee VID6608: add hardware RMT support for Automotive gauge driver (#24759)
* Replace old software-defined library arduino-vid6608 with hw-defined esp-32-vid6608

* VID6608: Rework integration to allow select RMT/SW method by using the `VID6608_RMT` option

* VID6608: Tune library inclusion for RMT version

* The RMT version is not supported on ESP32-C2, library excluded
* Add more clear error message, if RMT is requested, but not supported
2026-05-18 17:40:13 +02:00