Closed mgiamberardino closed 2 months ago
Ok, the first issue is that you must have an older configuration for an alarm panel in your yaml since you cannot simply add an esp device to an alarm panel.
As to the unavailable status for ps_1, I suggest you use the "dev" branch code instead of the main. There are many enhancements there including the ps_1 status to show "disarmed" instead of unavalable when zones are open but not armed.
Ok, the first issue is that you must have an older configuration for an alarm panel in your yaml since you cannot simply add an esp device to an alarm panel.
Ohh. I see. Could you point me to some newer example of configuration?
As to the unavailable status for ps_1, I suggest you use the "dev" branch code instead of the main. There are many enhancements there including the ps_1 status to show "disarmed" instead of unavalable when zones are open but not armed.
Oh. Ok. I'll give it a try.
Thanks for the quick response!
Sorry, I'm confused. you already have a working configuration since you indicated that when you added the displayed config in your yaml, it worked ok?
Yes. The yaml I shared is working. I think I found the issue. I was adding an alarm_control_panel
item in the esphome configuration and if I'm not wrong what you're suggesting is just add the the component in the configuration.yaml
file, right?
Without adding the alarm_control_panel in the configuration.yaml and just using the one from esphome configuration is not allowing me to arm home.
BTW. Is the dev
branch generating a bigger build? When switching to esphome_components@dev is failing to put it into the device memory.
Yes, do not use the "alarm_control_panel" in the esphome config. It will not work. Also, yes, the dev branch is larger. Try it without the "alarm_control_panel". If it still doesnt work, then you can go back to using the main branch or use an ESP32 board instead, which is much more powerful.
Thanks man! It worked. Thanks for que quick response and kudos for the project.
Bought you a coffee. Enjoy it!
Hi @Dilbert66
I built the board a few weeks ago. I'm having all the sensors and can manage the alarm from HA. Great work!
But I'm having an small issue that I'm kind of solving but not entirely and I'd like to get it right.
If I use the alarm_control_panel created when adding the esphome device as the source of my alarm_control_panel card in my dashboard I'm only able to arm away but arm_home is not available to select as option.
https://github.com/user-attachments/assets/8c6b721c-26e4-40f5-b1fd-f2d2487a9315
"Armar ausente" is "Arm Away" "Armar en casa" is "Arm Home"
The only way I can Arm Home is by creating a new alarm control panel in my configuration.yaml:
This works and now I can arm home and arm away. And also I'm able to disarm. But I still use
dsc_alarm_alarm_panel
entities for sensor status. The only problem is that whenps_1
gets unavailable is messing around with thesafe_alarm_panel
status.This is my esphome yaml config:
I'm wondering if there is a way to get the arm_home, etc working from the original alarm entity.
Thanks