-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement
Show alarm panel when triggered for quick deactivation
#1955
Comments
Quoting @edwardtfn in You can use the open_entity_settings_page to call the alarm page with the alarm entity you wanna show: How to - Call a Page Directly - Entity-Specific Pages 1. You can then check for the sensor “Current page” to wait for page “alarm” to be visible. Once that page is visible, you can use the service send_command_printf to run command click bt_disarm,0 which will simulate the release of a click on button disarm: service: esphome.xxxxx_send_command_printf |
In order to make a small improvement, would it be possible for the numeric keypad to take up the entire screen, in fact the number keys are quite small and I think this would be more comfortable to use |
Which model are you using? EU, US or US Landscape? |
I use EU |
I was able to open the alarm page when i unlock my door, by calling the esphome entity page, as i am using alarmo. However, once the alarm page is opened the "click bt_disarm,0" is not working, i am not able to open the pin pad / disarm page. Ii tried to increase the wait time and other options online, but none seems to work. |
Hello.. now u have to use the ESPHome: "your_nsp_panel"_entity_details_show entity: your_alarm_entity ESPHome: "your_nsp_panel"_command cmd: click bt_disarm,0 and maybe checking the "current page" on automation if it is at alarm.. before the click. |
Thank you for the prompt reply. Yes i am using the latest API and exactly per the above. ESPHome: mainpanel_entity_details_show entity: alarm_control_panel.alarmo At this stage, the alarm panel will load with the option to arm / disarm etc... As per the normal behaviour. ESPHome: mainpanel_command At this stage, the disarm window does not load. I expect it to load the disarm window, where there pin pad is visible for easy capture of the disarm code. Can point me in the right direction? I could not locate the get current page function in the API list. |
What if you call |
Tried that as well. I also tried to increase the delay or without the delays as well. Anyway I will leave it as is for now. |
An option to prevent any navigation from the disarm screen when the alarm is triggered would be nice (#1361). |
I was finally able to get it working. I guess when using Alarmo you have to call the keyboard page as well, as it will not load automatically. ESPHome: mainpanel_entity_details_show Wait 250ms ESPHome: mainpanel_command Wait 250ms ESPHome: mainpanel_command ESPHome: mainpanel_command |
Enhancement Summary
Show alarm panel when triggered
Detailed Description
Hello, thank you for the project.
Would it be possible to bring the alarm control screen to the foreground for deactivation, as long as the alarm is activated and a trigger is activated.
In the same way that a trigger wakes up the screen
Thanks
Additional Context
No response
The text was updated successfully, but these errors were encountered: