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 support for check-alive using Meross plug power consumption reading #701

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

whatUwant
Copy link

Fixes #700


Adding support for "ping" / check-alive capability using Meross smart plug's power consumption measurement.
Tested plug models: MSS310 & MSS315.

Accessory UUID & user key can be obtained via the Meross plugin https://github.com/bwp91/homebridge-meross

Configuration:

"pingUseMeross": true,
"pingExtraConfig": {
  "merossAccessoryUuid": "PASTE_ACCESSORY_UUID_HERE",
  "merossUserKey": "PASTE_USER_KEY_HERE",
  "wattageThreshold": 10
}

@malwcal
Copy link

malwcal commented Oct 29, 2024

I really like this idea, but there are other plugs that provide consumption readings - can something generic be created that works with all?

@whatUwant
Copy link
Author

I thought about this but there doesn't seem to be a way to read other homekit accessory status. And there is no universal api for getting readings of plugs.

@malwcal
Copy link

malwcal commented Oct 31, 2024 via email

Copy link

stale bot commented Jan 31, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 31, 2025
@whatUwant
Copy link
Author

Coming back to the discussions...

Thanks for the tip on reading accessory status. @malwcal
However the underlying issue is that the on/off status of the plug itself is not enough to determine the on/off status of the appliance connected to the plug. The power consumption value is crucial in this case, and it's not exposed to HomeKit at all, which is why a helper specific to Meross is needed to retrieve that value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional "ping" method
2 participants