Iām struggling to disable the alarm. Iāve got my code setup in my secrets.yaml file but when I try to disarm and input the code nothing happens. It stays in the mode which I armed it in.
Hi,
Iāve noticed a bug during tests. I have not updated to the latest code, but in the previous version had the following behavior:
When I enable home mode with one sensor in the āopen sensorsā list the UI shakes and shows the āoverride sensors and armā button.
This is the right behavior if the sensor in question is actually relevant for home mode.
However, in my case I had triggered a motion sensor inside the house just before activating the home mode. This sensor is configured so that it is only relevant for the away / perimiter modes. Therefore the UI is handling this too strict in this case.
Thanks for taking the time to look that up. Unforutnitly I have tested iframes and they dont bring up pages from HA. I get a blank widget. I am using iframes for live radar that work fine, but not HA
Iāve tested this out (with the built in broker and android client) and it seems to work well, you may just have convinced me to install a tablet by the door
Iām a little concerned about the security of such a setup though;
I can set a different password on the android client than I have set in the alarm config and it will still disarm so Iām assuming it doesnāt pass the code through MQTT to be verified by the component therefore anybody could easily disarm the alarm through MQTT without knowing the code if they were connected to the broker.
I guess in the real world this isnāt likely to be a problem (especially if security measures are in place with the broker connection) but I would have assumed there would have been some server side verification that the code was correct.
Personally I wonāt be using MQTT but implemented this as a few had requested it. Unfortunately thereās no server side check and relies entirely on the correct configuration of MQTT User/Password + Certificate.
The reason it canāt verify the code is these android clients donāt give the option to pass the code through MQTT which is a shame. Maybe someone should write to the dev and ask him to implement it?
I have tried the bug fix. Deactivated the alarm, only door and windows sensors show in All Sensors page.
When you activated the alarm. All Sensors page show only door and window sensors. Although there is motion detected, the motion sensors donāt show in All Sensors page. Motion Sensors will show in Home, Away, Perimeter Mode page.
Iāll check the code this evening, the front end code hasnāt changed so in theory there shouldnāt be any changes to the way the panel displays items.
Here is the picture of the Alarm System in each mode and All Sensors Page. This Page show on door and window sensors. Donāt know why it wonāt show the Motion Sensors. Notify from Automation works really well. Anyway, thank you so much. I really love this. To keep you inform. This alarm system also works well in Homekit ^^
This is likely due to the states no_motion and standby not being recognised, I had a similar issue with true/false sensors until @gazoscalvertos kindly updated the code to include them.