The Manual MQTT Alarm component has been a part of HA for a long time, but it’s not received much love for many years (and indeed has no component code owner!). There are several improvements I would like to make to the component, starting with an improved security paradigm where HA is in control of all security code validation (so the MQTT Panel would actually send a code to HA instead of just the “disarm” command by itself).
I’ve got a PR to integrate this, but it needs more reviews. I’ve already had one reviewer, the author of the Android MQTT Alarm Panel, look over the code (and he is working on an update to the App to work with the new security paradigm, which actually is simplifying his code!)
I’m asking for help in reviewing this PR so it can get pulled into HA.
I want to turn this component into more of a true alarm system. Some of the next steps I want to do (once this PR gets merged) include:
- Multiple Codes – define different codes for different people
- Notify on state changes with the code used
- Watch specific sensors to trigger the alarm (instead of depending on automations to trigger the alarm)
- Notify the panel if a watched sensor is “open” (which may prevent arming if a door is open).
So, please help me get this code reviewed so we can truly improve the alarm system!