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

SNZB-02D - add support for comfort levels and temperature units. #8684

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

photomoose
Copy link
Contributor

Adds support for setting the temperature and humidity comfort levels, in addition to setting the display temperature units (Celsius/Fahrenheit) on the Sonoff SNZB-02D. Depending on these values, icons are displayed on the device as shown below:

IMG_4358
IMG_4359

The properties are exposed in the Z2M UI as shown below:

image

Note that the button on the back of the device needs to be pressed before changing the values in the Z2M UI. Not entirely sure why (presumably to wake it up to receive commands), the device sends a ZCL "On/Off: Toggle" command when the button is pressed. This is the same behaviour when using the Sonoff Bridge and the eWeLink app (the app waits for the button press before writing attributes to the device).

@Koenkk Koenkk merged commit 1fc8d0e into Koenkk:master Jan 27, 2025
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jan 27, 2025

Cool, thanks!

@photomoose photomoose deleted the snzb-02d-comfort-levels branch January 27, 2025 20:19
@PsychoOW
Copy link

PsychoOW commented Feb 3, 2025

Amazing!! Thank you!!

@lukasjakobi
Copy link

Awesome work! Great Feature!

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

Successfully merging this pull request may close these issues.

4 participants