-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
feat(Zigbee): Adding Zigbee Wind speed sensor endpoint #10455
Conversation
👋 Hello lboue, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 76 files 76 suites 12m 45s ⏱️ Results for commit da5080d. ♻️ This comment has been updated with latest results. |
@lboue If you need any help let me know. We can also open a private chat on any platform :) |
@P-R-O-C-H-Y Can I write to you on Discord? |
@lboue Sure, find me under #prochyesp |
In which discord server? |
No need for discord server, just PM me on Discord. |
Use ESP_ZB_HA_SIMPLE_SENSOR_DEVICE_ID device id
@lboue Can you give it a try :) I did update it to latest version of master + done all necessary changes in order to have it supported. |
Hello @P-R-O-C-H-Y. Thank you for your work.
|
Add ZigbeeWindSpeedSensor.h
@lboue Fixed :) |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
@lboue Bad thing is that ZHA in HomeAssistant does not recognize this cluster, so the data are not visible. |
Thanks, it works now:
You can validate. |
I have also made it to work in ZHA, with the HomeAssistant Automatization. Which reads the Sensor Attribute and stores it in a variable. And that variable(entity) can be used in charts or anywhere in dashboard :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, all tested.
In HA (zha integration), you need to create automation to read the attribute and store the value. As ZHA does not support wind speed by default.
Description of Change
This PR add a new Zigbee endpoint - Wind speed sensor.
However, in the HA (ZHA integration) the wind speed cluster is not supported yet without a need for custom quirk.
For easiest approach on how to handle the data within HA, check the README.md file.
Tests scenarios
Tested using C6 and HomeAssistant (ZHA).
Related links
esp-zigbee-sdk: Add HA standard wind speed sensor device default config value #451