qJake / HADotNet.CommandCenter

📱 A web-based, wall-mountable command center for Home Assistant.
https://hacc.dev
Apache License 2.0
158 stars 11 forks source link

Add support for Alarm Panels #7

Open qJake opened 5 years ago

qJake commented 5 years ago

Original request: #2

Add support for alarm panels.

@nickrout I don't know if this is possible via the API - I'm looking at the REST API documentation and I don't see a way to interact with alarm panel-type devices - can you walk me through how an alarm panel is built and what entity types it uses and what it's supposed to do?

atomicpapa commented 5 years ago

basically, I would just like a card that displays the number pad and something like "arm" and "disarm". Also a display of some sort for the current state would probably be nice typically the entity is alarm.<something>

nickrout commented 5 years ago

I don't have an alarm and I added this request because it was in the forum thread. I don't know how other frontends do alarm panels, but I am sure HA Dashboard has a native one.

stefanolson commented 3 years ago

This is something I am looking for, looks like api call is something like this: states/alarm_control_panel (maybe alarm_control_panel.alarmo in my case). Does that make sense? Still trying to figure it out myself, this sort of panel would be very useful.

arfrater commented 3 years ago

Yes I would like to add an alarm panel as well

qJake commented 3 years ago

Is everyone just looking for basic ARM / DISARM buttons that just make HA service calls, or are we actually looking for a full numeric keypad as well?

I don't know if the Home Assistant API will allow me to access the alarm code, so you'd have to enter your own alarm code, and then decide what services or scripts to fire when someone arms, disarms correctly, or enters an incorrect code.

Script buttons were requested in #121, when that's added, it may be possible to hack something together by calling the necessary services via script(s)?

arfrater commented 3 years ago

I was thinking Alarm Keypad and buttons myself (thinking small touch panel in garage)