jason0x43 / hacs-hubitat

A Hubitat integration for Home Assistant
MIT License
196 stars 48 forks source link

Feature request - integration with Hubitat Safety Monitor app #35

Closed the1poet closed 3 years ago

the1poet commented 4 years ago

I would like to access the Hubitat Safety monitor controls from Home Assistant. Is it possible to be able to control arm/disarm, alarm status, cancel alarms, and Home Assistant notification for when it's triggered?

jason0x43 commented 4 years ago

Hubitat doesn't provide an API (that I'm aware of) for directly interacting with the Hubitat Safety Monitor. HSM emits location events that the integration could listen for to detect state changes. To actually change settings, we'd either need a custom device, or you'd need to setup some virtual switches/buttons that could be exposed through the maker API.

Probably the cleanest solution in the long run would be to make a simple custom HSM device that could be exposed through the Maker API.

jason0x43 commented 4 years ago

Ah, it seems that the Maker API does have support for HSM. That makes life easier.

jason0x43 commented 4 years ago

This functionality should probably be presented as an alarm control panel in HA.

jason0x43 commented 4 years ago

See https://community.hubitat.com/t/announcing-rule-machine-3-0-hub-update-2-0-9-is-available/14758 for HSM API

the1poet commented 4 years ago

Hey I did manage to use the events node in the latest version and pass that info to home assistant for the status of the alarm, as well as using virtual buttons and the status node + filters to trigger alarm modes.

jason0x43 commented 4 years ago

Reopening this because I'd still like to support it.

github-actions[bot] commented 4 years ago

Stale issue message

2exclusive commented 3 years ago

Reopening this because I'd still like to support it.

Hey was this ever added ? support of HSM vía home assistant ? Well appreciated if possible thanks

jason0x43 commented 3 years ago

It hasn't yet, but I still plan to get to it.

2exclusive commented 3 years ago

It hasn't yet, but I still plan to get to it.

Awesome, I’ll test it as soon as you get it implemented. Thanks again in advance for you working on this!

github-actions[bot] commented 3 years ago

Stale issue message

2exclusive commented 3 years ago

It hasn't yet, but I still plan to get to it.

Looks like Hubitat added the ability for HSM modes in their maker API on the latest update. Is this now easier to integrate for home assistant?

jason0x43 commented 3 years ago

It's partway there. The Maker API has had support for modes for a while (though not well documented), and I actually added support for HSM and modes to the support library a few weeks ago, but I haven't had a chance to do anything with it in the integration yet. I'll have some free time next week, though. 😄

2exclusive commented 3 years ago

It's partway there. The Maker API has had support for modes for a while (though not well documented), and I actually added support for HSM and modes to the support library a few weeks ago, but I haven't had a chance to do anything with it in the integration yet. I'll have some free time next week, though. 😄

Awesome , many thanks!

joehuntley commented 3 years ago

Is this still a planned feature?

jason0x43 commented 3 years ago

Yes. It's partway implemented, in that the support library supports HSM, I just haven't had time yet to add the corresponding functionality to this integration.

dsh1705 commented 3 years ago

+1 for this feature!

Sandemonium commented 3 years ago

Another +1, but also thank you not only this feature, but the integration as a whole. I initially set up my HA box as an experiment to see if I could get some additional integration that my hubitat doesn't provide. I didn't know about HACS or this integration, so I didn't expect it to replace the clunky hubitat app or web GUI and become my go-to for everything. I'd love to assist, but I'm still a bit of a novice with HA, so I offer my encouragement and if you have a preferred payment/donation method, I'm willing to offer a modest contribution to incentivize this project.