YET another take on an alarm system


#1491

Correct.

Not so correct. Do this instead

You will need to copy the following files into your home assistant configuration directory

alarm.yaml This files stores your alarm configuration. An options page will be created for this file custom_components/alarm_control_panel/bwalarm.py The brains of the operation. This is the logic of the custom alarm system panels/alarm.html This is the interface for the custom alarm component. It’s actually optional as the alarm will function without it but recommended for ease of setup www/alarm/[ALL FILES] These files control how the interface looks and feels www/lib/[ALL FILES] These files add additional functionality to the interface in order to work www/images/ha.png An image file used for the interface log

Get the files to copy by pressing the big green button on the gihub page and choosing “download zip”.

There are actually other files to copy that are left out of the instructions. Read up the thread a bit.


#1492

I followed the instructions on Github and uploaded all files to config directory but I am still getting this error
Platform not found: alarm_control_panel.bwalarm

Please help.


#1493

This folder:

config\custom_components\alarm_control_panel\

Should have this file in it:

bwalarm.py


#1494

Thanks. My display looks like this:

image

My question is, should I create these folder in config and copy the files into them or just copy thos files directly into the config directory?
panels/
www/alarm/
www/lib/
www/images/

Thanks for your feedback.


#1495

I think you just need to download and copy all folders and files into your /config


#1496

That’s basically what I did but just not working for me.


#1497

What exactly is not working?


#1498

The display only shows arm away and arm home.


#1499

And what do you expect? Click on top-left corner thingie (home button?) and select Alarm to see more…


#1500

Silly me. Thanks a lot!


#1501

Loving this project. I’m trying to figure out why the Activity Log shows a sensor has been activated but doesn’t display it’s name.


#1502

Yeah, didn’t notice that.
Unfortunately, the author is unreachable/not responding to our calls for help… :frowning:
Hope someone else is able to look into it.


#1503

That’s a shame, obviously very busy. At least I know it’s not just me.


#1504

Just updated to HA v0.86.4 and found the alarm panel is not working anymore.

Have tried reconfiguring everything… some questions:

Is it still fully functional/maintained?

I can only see binary_sensors as the possible triggers. Mine are template sensors with three possible states (alarm, ok, disabled). Will I loose the disabled state (very useful for false-triggers, maintenance, …)


#1505

it is kind of functional, but we haven’t heard from the author since the last release in November… :\

Regarding sensors - read up some earlier posts (from November-December).

Could you explain meaning of your “states”? There was no significant change so I assume you won’t lose anything…


#1506

Thanks for the information,
I’ll review previous messages, but since last update to 0.84.x (added to some other breaking changes) I’m seriously considering sticking to the current HA version with the current addons, or even replacing this panel with an standard component and some automations.

This is one of my template sensors:

  - platform: template
sensors:
  pir_e1:
    value_template: >-
      {% if   is_state('sensor.e1_pir', '1') and is_state('input_boolean.enable_pir_e1','on') %} Alarm 
      {% elif is_state('sensor.e1_pir', '0') and is_state('input_boolean.enable_pir_e1','on') %} Ok
      {% elif is_state('input_boolean.enable_pir_e1','on') %} Unknown
      {% else %} Disabled
      {% endif %} 

with this template I can easily disable the sensor if I get false triggers until I can fix it.


#1507

Well, I’m on 0.86.1, and the alarm panel is working fine (migrated from old UI and 0.63.x few months ago).

Do I get it right that you question is how to use your non-binary template sensors with the current alarm panel?


#1508

Yes, right.
Any advice?


#1509

Any ideas as to why the lovelace card will arm but not disarm with my code. I can see in the logs it’s receiving a wrong password when it definitely is correct. I can disable no problem in the alarm panel…


#1510

That’s odd. I’m able to arm and disarm from the lovelace panel.