pvvx / ZigbeeTLc

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

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

Open pvvx opened 7 months ago

pvvx commented 7 months ago

Switch temperature between Celsius and Fahrenheit

image

ENUM8 (id:0x30)

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


Show smiley

image

ENUM8 (id:0x30)

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


image

pvvx commented 7 months ago

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

DanTimu commented 6 months ago

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 6 months ago

@DanTimu

ZigBee Cluster Library Specification

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

broekhuijsen commented 4 months ago

@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.