pvvx/ZigbeeTLc

ZHA: Switch temperature between Celsius and Fahrenheit, Show smiley, Comfort parameters

pvvx opened this issue · 5 comments

Switch temperature between Celsius and Fahrenheit

image

ENUM8 (id:0x30)

Value: 0 - temperature in Celsius
Value: 1 - temperature in Fahrenheit

  • ZigBee Cluster Library Specification
    image

Show smiley

image

ENUM8 (id:0x30)

Value: 0 - Show smiley
Value: 1 - Don't show smiley

  • ZigBee Cluster Library Specification
    image

image

Comfort parameters

For firmware version 0.1.2.1

ClusterID: 0x0204 (Thermostat User Interface Configuration)
Attr: 0x0102, INT16 (id:0x29), Temperature minimum, in 0.01° steps, range -32767..+32767 (-327.67° ..+327.67°).
Attr: 0x0103, INT16 (id:0x29), Temperature maximum, in 0.01° steps, range -32767..+32767 (-327.67° ..+327.67°).
Attr: 0x0104, UINT16 (id:0x21), Humidity minimum, in 1% steps, range 0..9999 (0..99.99%).
Attr: 0x0105, UINT16 (id:0x21), Humidity maximum, in 1% steps, range 0..9999 (0..99.99%).

For firmware version 0.1.1.7 - 0.1.2.0

ClusterID: 0x0204 (Thermostat User Interface Configuration)
Attr: 0x0102, INT8 (id:0x28), Temperature minimum, in 1° steps, range -127..+127.
Attr: 0x0103, INT8 (id:0x28), Temperature maximum, in 1° steps, range -127..+127.
Attr: 0x0104, UINT8 (id:0x20), Humidity minimum, in 1% steps, range 0..100.
Attr: 0x0105, UINT8 (id:0x20), Humidity maximum, in 1% steps, range 0..100.

image

Hello, I'm trying to build the code with a small edit in board_lyws03mmc.h where I set #define SHOW_SMILEY 0 but it is still displayed on the LCD. Is there any possibility not to have the SMILEY/COMFORT displayed on the LCD?

pvvx commented

@DanTimu

ZigBee Cluster Library Specification

Cluster 0x0204 Thermostat User Interface Configuration, Attr: 2 ScheduleProgrammingVisibility
Value: 0 - Show smiley
Value: 1 - Don't show smiley

@DanTimu

ZigBee Cluster Library Specification

Cluster 0x0204 Thermostat User Interface Configuration, Attr: 2 ScheduleProgrammingVisibility Value: 0 - Show smiley Value: 1 - Don't show smiley

That did not work for me, but I managed to change it by changeing this value:

ScheduleProgrammingVisibility.Enabled

to

ScheduleProgrammingVisibility.Disabled

2024-03-05 15_43_17-Settings – Home Assistant

The manaufacturer code override field does not seem to do anything.

Same, manufacturer code override didn't work for me, but set the values from C to F on my LYWSD03MMC using TemperatureDisplayMode.Imperial worked great.