Same here, it works on the computer but not on the phone/app
My bad, dont work on my computer now
Same here, alarm panel does not work on any device after upgrade from 0.50.2 (I thinkā¦) to 0.51.2.
Hi there,
This is my first post and I donāt know if I used github correctly.
I am in version 0.52 and I was having a blank page too.
I made some changes on alarm.html and now is working more or less. (the colors and the style are not ok).
Anyone can find my changes on:
I just controlled some exceptions.
thank you so much for this
i just made some modification based on my very limited understanding of the polymer 2 upgrade guide. it seems to work fine, at least the style and colors are showing up.
Perfect!! Thank you very much! It works like a charm.
Next thing I want to try is to enable pin code to disarm the alarm. Anyone has it working? Thanks.
Before upgrading from 49.1, has the scrolling issue been addressed?
I donāt know what you mean. My first try was on 0.52, so I canāt compareā¦ But so far so good.
Here is some screen shot
The repository seems unreachable. Can anyone share the code with alarm code and alarm/warning as a service?
Thankyou very much
Yeah I could also use that repository.
I have the python working, I just donāt know the polymer code to pass the password/code to the python def. Something like this?:
// Responding to user inputs
callService: function(ev) {
ev.stopPropagation();
var call = ev.target.getAttribute(ādata-callā);
var code = ev.target.getAttribute(ādata-codeā);
this.hass.callService(āalarm_control_panelā, call, {āentity_idā: this.alarm.entityId, ācodeā:code})
},
its the last line iām struggling with how do you pass arguments?
Can you share the python that makes alarm and warning as a service and not a switch?
Thank you!
sorry for being a bit slow (Iām new), but what do I add to groups.yaml to show the panel? Iāve added:
- alarm_control_panel.house
to my default_view, but I donāt get the full panel.
Thanks
Also, can I get a pointer how to change the alarm state in an automation please - not sure what to put in the action e.g. for when we wake up and the alarm is set to armed_home:
- alias: 'Good Morning!'
trigger:
platform: state
entity_id: binary_sensor.motion_landing, binary_sensor.motion_loft
to: 'on'
condition:
condition: and
conditions:
- condition: state
entity_id: alarm_control_panel.house
state: 'armed_home'
- condition: time
after: 06:30:00
action:
- service: notify.html5
data:
message: "Good Morning! Alarm turned off"
- entity_id: alarm_control_panel.house
state: 'disarmed'
My action is wrong for ādisarmedā, but I donāt know what to put
Thanks
i havenāt glanced at the rest of the automation, but that last bit should be something like:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.house
thanks worked perfectly. Last question - how do I actually display the panel?
At the moment Iāve got:
default_view:
icon: mdi:home
view: yes
entities:
- alarm_control_panel.house
But that only shows a ācircleā I can click on, not the whole panel. Basic question I know, but Iāve only been on HASS under a week and still learning.
Thanks
unfortunately, it wonāt ever display in the standard frontend as a āpanelā like the name suggests. you can display it as a badge like you have now, or you can add it to a group first to display it as a line of text.
either way, you have to click on it to get the popup that lets you arm, disarm, enter a code, etc.
a couple people have made custom interfaces. you can look at things like HADashboard or Floorplan if you want to create a different UI.
sorry, me againā¦ Iām struggling to arm the alarm in actions.
Iāve got:
action:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.house
working to disarm the alarm, but what should I be using to arm_home and arm_away e.g.
action:
- service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.house
and
action:
- service: alarm_control_panel.alarm_away
entity_id: alarm_control_panel.house
as I canāt get them to work.
Thanks
this is correct:
- service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.house
the next should be:
- service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.house
whether or not they actually do anything will depend on the whole automation.
so a couple questions:
- can you arm/disarm the alarm in the frontend? (by clicking on the circle/badge and choosing arm home/arm away/disarm.
- do your automations to arm the alarm work if you manually trigger them in the frontend? i canāt remember if the list of automations youāve created shows up automatically since i have customized pages. you might have to put something like this in configuration.yaml:
group:
default_view:
view: yes
entities:
- group.all_automations
when you restart home assistant you should see all your automations listed in the frontend. you can click on the automation in question, and then click ātriggerā to see if it works. (you can also do all of this under developer tools --> services in the frontend).
probably best to start a new thread under the āconfigurationā topic if you have additional questions since this one is ostensibly about a custom component.
cheers
Thanks - it worked, and my automations toggle the alarm state.
Now I just need to monitor a few days to make sure my logic flow is correct and I donāt get any false alarms when weāre at home
hi guys, so it works again on the 0.54? and the original post is update?