I did. I can see that BWAlarm is capable of arming/disarming without a code, but I want to require a code and am finding a very difficult time finding something that will actually pass a code using MQTT.
EDIT: I’m dumb. I didn’t realize that the override code would allow me to still require a PIN, but MQTT would not require the PIN in the payload.
That sounds pretty logic.
As nobody seems to be objecting, go ahead with your plan. I would love to help, but I have no programing skills.
Good luck and thanks a lot for your efforts.
Is there a way to notify the user why the alarm will not arm? I have a device somewhere which is in an ‘invalid’ state preventing the alarm for arming. Would be nice to either receive a notification or have a prompt and perhaps allow to override.
I had to look into the logs to find out why it was not arming properly.
Sorry for the confusion. When I mentioned invalid state, I meant that a sensor was in a state where the alarm would not arm.
I am using the Alarm Panel card and added the entity. It works when all devices are in the correct state, and it also works to disarm; however, if an device is open it simply will not arm nor does it raise a notification. It simply does not react.
That’s because this component was born before Lovelace interface and is not 100% compatible with Alarm Panel card (in fact, from HA 0.115 it doesn’t have a panel, it’s work in progress to fix it).
@AhmadK Just thought I’d let you know that I’m back to using this component (from trying out my own manual alarm) as this provides better notification ability as to which sensor triggered the alarm. Not having the side panel is of no concern to me as I use wireless remotes to Arm/Disarm anyway and once the config code is set in YAML, its not needed again.
To be honest, I’m still at the state of gathering information, mainly because of my everyday offline commitments (yes, I know it’s been a long time ago - still tidying up things).
Christmas is looming with its duties but I hope to dedicate more time and start doing soon.
Thank you and everyone who is still waiting patiently.
I hope you can help me with getting this alarm panel to work as I love the look of it.
I have installed it manually and via HACS with the same outcome.
I have double and triple checked the installation documentation but I cant get it to work.
So what I have done:
alarm_control_panel: !include resources/bwalarm/bwalarm.yaml in configuration.yaml
platform: bwalarm
name: house in bwalarm.yaml
Coppy all the files and folders to:
\config\resources\bwalarm
\config\custom_components\bwalarm
click add card on the dashboard and then alarm card.
The alarm card shows but when I click arm/disarm I see the following error.
Failed to call service alarm_control_panel/alarm_arm_home. ‘states’
Have you tried to control your alarm from its own panel (on the left in HA) (as soon as you are using HA older than 0.105)?
The thing is this custom component is not 100% compatible with the standard alarm card and therefore nothing can be guaranteed.
I just updated to latest everything. 2021.3.4 is what loaded. BWAlarm is working with Lovelace panel (BW panel still not working since 115). But I have issues with the text and button visibility on stock Lovelace panel, so I tried yours, got the error.