Bwalarm (akasma74 edition)

@schildgenb and anyone else interested in cross grouping between sensors - have a look here.

1 Like

To anyone who wants this component to work with HA 0.103.0+ AND MQTT enabled.
The master branch is fixed now, but actually all you need is this file - just save it to custom_component/bwalarm/ overwriting the existing one and it should do the trick.
I’ll include that fix in the next release.

Special thanks to @John_Schutte for his help!

2 Likes

It’s most definitely your theme not supporting this. Try the default HA theme, the sliders will appear

Thanks for fixing. Has this been tested on 104.x?

I’m still on 0.103.0 so cannot comment.
However, it’s easy to update HA back nowadays… :wink:

Yes works for me on v0.104.1. All my alarm automations are still working. I dont use the side panel much but a quick check showed no issues with it.

1 Like

Any idea how bwalarm is displayed on tablet ? i wasnt able to load the alarm page the way I want either in lovelace or appdeamon dashboard. If any one is using the alarm page, please share your code.

Sorry, what code are you talking about?
Could you elaborate this

I personally use this component on a 7" tablet that runs WallPanel for Android and opens directly http://hassio.local:8123/alarm
When I work on it, I open the same page on my computer and it looks more or less the same.
No special code or anything.

I checked wallpanel. It basically loads the entire tablet screen with the alarm page. I am looking for adding additional items to the screen.
First i tried with Appdaemon dashboard …couldnot load the properly in iframe component…
didnt like the lovelace as well.
Looking for some examples where alarm page co exists with orher cards

My display on a FireHD8 using Lovelace

1 Like

Thanks Michael. That is exactly what i want to do .but couldn’t do without a scroll bar and larger alarm panel buttons. I recently bought a firehd8 and will try the same. Do you mind sharing the lovelace code?

ui-lovelace.yaml

title: Home Control
views:
    # View tab title.
  - title: Base
    icon: mdi:home-outline
    cards:
      - type: iframe
        url: http://x.x.x.x:8123/alarm
        aspect_ratio: 100%
      - type: glance
        entities:
          - binary_sensor.front_door
          - binary_sensor.garage_door
          - binary_sensor.kitchen_door
          - binary_sensor.basement_door_and_glass
          - binary_sensor.basement_bathroom
          - binary_sensor.hall_motion
        title: Alarm Sensors
        columns: 3
      - type: weather-forecast
        entity: weather.dark_sky
        name: Weather Summary
      - type: iframe
        url: https://embed.windy.com/embed2.html?lat=xx.xx&lon=-xx.xx&zoom=11&level=surface&overlay=radar&menu=&message=true&marker=&calendar=&pressure=true&type=map&location=coordinates&detail=&detailLat=xx.xx&detailLon=-xx.xx&metricWind=mph&metricTemp=%C2%B0F&radarRange=-1 
        aspect_ratio: 75%
      - type: iframe
        url: http://www.clocktab.com/
        apect_ratio: 20%
      - type: shopping-list
        title: To Do
      - camera_image: camera.Camera1
        camera_view: live
        entities: []
        title: Camera1
        type: picture-glance

As I can see, you’re still using the version with that huge toolbar at the bottom.
Don’t you want to give a new version a go? :wink:

When will the new version be available in hacs?

Well, it depends on what you call ‘new version’ :wink:
The one I’m suggesting to try is the latest on Github - it’s marked as pre-release because there are many changes and I wanted people to try it and give me their feedback so I could adjust it before creating a release.
I assume you need to enable something like “show beta” in HACS settings to be able to install it.

You can even try the version from dev branch (in a way more advanced), but it’s in the middle of something as I can’t do a lot at the moment. And you need to install it manually, no HACS here :wink:

1 Like

I see this error quite often in logs @AhmadK do you know what it means?

Mon Jan 20 2020 14:25:31 GMT-0600 (Central Standard Time)
Unhandled exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 461, in start
    await prepare_meth(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_fileresponse.py", line 340, in prepare
    fobj = await loop.run_in_executor(None, filepath.open, 'rb')
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/pathlib.py", line 1203, in open
    opener=self._opener)
IsADirectoryError: [Errno 21] Is a directory: '/config/resources/bwalarm/images'

I don’t. Could you open an issue on Github and provide as much information about this error as possible (your OS/enironment/browser, consequences) to invstigate it further?

1 Like

Isn’t this a misunderstanding of what the buttons do? Doesn’t ‘away’ set the alarm to ‘armed away’ and ‘home’ set the alarm to ‘armed - home’ ?

that’s correct

A question to the users of this alarm panel: do you use it (or have use cases for) with only users’ passwords set (i.e without code)?

I’m asking to get an idea if it is acceptable to have users configured but no master code set?
If it is, maybe there is no point to have that master one separately and it’s better to have everything in users?