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

Add fingerprint for SONOFF/SNZB-02D #1545

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ron-reaser
Copy link

@ron-reaser ron-reaser commented Jul 25, 2024

Type of Change

  • WWST Certification Request
    • If this is your first time contributing code:
      • I have reviewed the README.md file
      • I have reviewed the CODE_OF_CONDUCT.md file
      • I have signed the CLA
    • I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com
  • Bug fix
  • New feature
  • Refactor

Checklist

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have verified my changes by testing with a device or have communicated a plan for testing
  • I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change

This adds the fingerprint for the Sonoff Zigbee multipurpose sensor with LED display (SONOFF/SNZB-02D) so that it uses the humidity-temp-battery profile instead of just the humidity-temperature profile.

Summary of Completed Tests

I used the Edge Device Builder to switch all my sensors to the humidity-temp-battery profile. After a manual power reset on the sensors (or possibly it would just happen if I waited longer), they report their battery level in the SmartThings mobile app and advanced web app.

@CLAassistant
Copy link

CLAassistant commented Jul 25, 2024

CLA assistant check
All committers have signed the CLA.

@ron-reaser
Copy link
Author

ron-reaser commented Aug 16, 2024

I have verified that the battery level shows in the SmartThings mobile app and advanced web app after using the Edge Device Builder to switch my sensors to the humidity-temp-battery profile instead of the humidity-temperature profile (which this commit enables by default).

app

@ron-reaser ron-reaser force-pushed the patch-1 branch 4 times, most recently from cb47e4b to cbbf84a Compare August 26, 2024 20:14
@ron-reaser ron-reaser marked this pull request as draft August 26, 2024 20:20
@ron-reaser ron-reaser marked this pull request as ready for review August 26, 2024 20:20
This adds the fingerprint for the Sonoff Zigbee multipurpose sensor with LED display (SONOFF/SNZB-02D) so that it uses the humidity-temp-battery profile instead of just the humidity-temperature profile.
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.

2 participants