How to create an "Alarm Panel"?

I would like to create an “alarm system”, similar to commercial systems.

Here is what I envision:

  • I have an Android tablet in kiosk mode (via wallpanel.app)
  • Under normal conditions, it just displays the the normal dashboard that I have configured for the tablet
  • However, when an alarm is set (checking a device for a condition), it should display a full-screen digit display. This screen stays on until a specific PIN is entered
  • If the right PIN is entered, the alarm is disarmed and the system reverts to normal (including the normal dashboard)

Can I implement something like this with Lovelace/HA? How?

Use the alarm panel card Alarm Panel Card - Home Assistant

Hmm, this I have already and it integrates with SimpliSafe by default. I actually use it as part of my dashboard and to show alarm status.

However, not as I want: First, there is no pin code but only Arm Home, Arm Away etc. Second, I really want to dynamically change the dashboard: In an event of alarm triggered, ONLY this thing should be shown, with the PIN and it should only disappear after the right pin has been entered and the alarm disarmed.

Yes there is.

You can automate that if using wallpanel. MQTT and HTTP Commands · thecowan/wallpanel-android Wiki · GitHub

Nope, not for me:

… Also this one I just got working and set up. I display HA just as usual. And even MQTT I use to read out sensor data. But sending commands I have not done yet.
How would you go about showing a different dashboard/PIN code via MQTT and execute an action (*) if PIN is entered correctly?

(*) Action: disarm system, change dashboard back to normal state.

So you can currently disarm your alarm without authentication?

Take a look at this it enables a lot of custom functionality Template Alarm Control Panel - Home Assistant

As far as the ui is concerned, each dashboard has a url which you can switch to via mqtt.