-
Notifications
You must be signed in to change notification settings - Fork 16
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
libraries/Matter: Add MatterPowerSource.h and battery reporting example #51
base: main
Are you sure you want to change the base?
Conversation
{ | ||
public: | ||
enum Changed_t{ | ||
kChanged_BatPercentRemaining = kChanged_Last << 1, |
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.
This could be extended for other attributes, e.g. for voltage and alarm reporting.
I love the idea! Can't wait to test this. |
Home Assistant works well (as pictured above), Apple Home however doesn't seem to recognize the PowerSource cluster. |
@LorbusChris this is AWESOME! Once we start with the community contributions this is going to be the first PR merged 🚀 |
I've just done the test. I've noticed a issue with the PowerSource cluster. It is presented on EP4 instead of EP3. Apple Home shows power source icon. Could you fix it? Regards |
I think the following attributes can be activated in our case:
Source: power-source-cluster.xml We could:
Regards |
I thought I'd share this fun little project here. It's a momentary Matter switch with battery reporting (Thing plus Matter inside).
This is really just intended as a reference, so feel free to close this out without pulling the code in.
Feedback is appreciated! :)