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

Q: what service/characteristic to use for a power fail sensor #16

Closed
mrose17 opened this issue Oct 12, 2019 · 2 comments
Closed

Q: what service/characteristic to use for a power fail sensor #16

mrose17 opened this issue Oct 12, 2019 · 2 comments
Labels

Comments

@mrose17
Copy link

mrose17 commented Oct 12, 2019

and, as long as i'm asking you random questions @ebaauw , i have a sensor that has two plugs: one is intended to plug into a UPS and the other into a wall outlet. if the power goes out on the wall outlet, it reports that.

what would you recommend for a service/characteristic to model this sensor?

thank you again!

@ebaauw
Copy link
Owner

ebaauw commented Oct 12, 2019

I don't think there's a standard HomeKit characteristic for power failure, but you could map it to Status Fault. I don't think Apple's Home app would recognise it, though.

@mrose17
Copy link
Author

mrose17 commented Oct 13, 2019

i agree that StatusFault probably isn't a winner. i'm thinking that the only thing that comes close is Switch, where power loss is indicated by (On = false)....

@mrose17 mrose17 closed this as completed Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants