pvvx / ZigbeeTLc

Custom firmware for Zigbee 3.0 IoT devices on the TLSR825x chip
Other
321 stars 15 forks source link

LYWSD03MMC-z 0.1.2.1 When changing interface parameters, a reboot is required! #96

Open dodgerz2000 opened 1 month ago

dodgerz2000 commented 1 month ago

When changing interface parameters, a reboot is required! When disabling smile (Attr: 0x0002), it does not disappear until reboot. When the display is turned off (Attr: 0x0106) - the display does not turn off, the image is frozen (not updated).

pvvx commented 1 month ago

LYWSD03MMC uses 4 display controller options Not all types of display controllers have a shutdown command. Only for the controller in HW B1.9 there is documentation and a complete shutdown works for it.


The version is determined by the addresses of the display and sensor on I2C

HW LCD I2C addr SHTxxx I2C addr Note
B1.4 0x3C 0x70 (SHTC3)  
B1.5 UART! 0x70 (SHTC3)  
B1.6 UART! 0x44 (SHT4x)  
B1.7 0x3C 0x44 (SHT4x) Test original string HW
B1.9 0x3E 0x44 (SHT4x)  
B2.0 0x3C 0x44 (SHT4x) Test original string HW

Version 1.7 or 2.0 is determined at first run by reading the HW line written in Flash. Display matrices or controllers are different for all versions, except B1.7 = B2.0.


https://github.com/pvvx/ZigbeeTLc/issues/30#issue-2034396126

pvvx commented 1 month ago

When the display is turned off (Attr: 0x0106) - the display does not turn off, the image is frozen (not updated).

This type of equipment requires the battery to be temporarily disconnected when the display off option is enabled.

When disabling smile (Attr: 0x0002), it does not disappear until reboot.

Turns off when the display data changes - after the next measurement when temperature and humidity change.

Meisam-kh commented 1 month ago

Hi Would you please tel me in general which below HW versions of xiaomi LYWSD03MMC is better to use for firmware update with ZigbeeTLc ? HW:B1.4 or HW:B1.7 ?