arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.69k stars 4.72k forks source link

Matter refactor reading of multiple attributes to reduce memory pressure #21675

Closed s-hadinger closed 1 week ago

s-hadinger commented 1 week ago

Description:

Matter refactor reading of multiple attributes to reduce memory pressure. It has been deeply tested but there may be some glitches.

Now when multiple controlers send wildcard requests (i.e. ask to read all attributes, ex: Alexa), the attributes are read only when sending the chunked packets one at a time, instead of reading at values in memory at first request and sending chunks from memory.

Long story short, it's better and more stable, especially with low memory situations.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass