Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pvvx opened this issue Dec 9, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@pvvx
Copy link
Owner

pvvx commented Dec 9, 2023

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

@pvvx
Copy link
Owner Author

pvvx commented Dec 14, 2023

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

@pvvx pvvx changed the title ZHA: Switch temperature between Celsius and Fahrenheit, Show smiley ZHA: Switch temperature between Celsius and Fahrenheit, Show smiley, Comfort parameters Dec 14, 2023
@DanTimu
Copy link

DanTimu commented Jan 17, 2024

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
Copy link
Owner Author

pvvx commented Jan 17, 2024

@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
Copy link

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

@charstring1
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants