Hass-Custom-Alarm icon indicating copy to clipboard operation
Hass-Custom-Alarm copied to clipboard

No 'alarm disarmed' in Activity log

Open WildArne opened this issue 4 years ago • 18 comments

The component:

  • Current version: v1.12.6
  • Last known working version (if any):

Your setup:

  • Home Assistant version: 0.112.4
  • Last known working Home Assistant version (if any):
  • OS: Windows 10
  • Browser name & version: Chrome 80.0.3987.163

Describe the bug In alarm panel under Activity, its only showing when the alarm is set the alarm in Away mode.

WildArne avatar Jul 23 '20 13:07 WildArne

After more testning i can see that trigged also is showing in activity.

WildArne avatar Jul 23 '20 14:07 WildArne

I don't understand what it the matter of your issue, could you elaborate (perhaps using screenshot and few more words to explain)?

akasma74 avatar Jul 23 '20 20:07 akasma74

Screenshot_20200723-230127.jpg I Will try 😊 In the activity log, i cant see when the alarm is disarmed. I have just tried to armed home and disarmed, but only armed home is in the log.

WildArne avatar Jul 23 '20 21:07 WildArne

So basically you can see anything apart from alarm disarmed, is that correct?

akasma74 avatar Jul 23 '20 21:07 akasma74

Yes 😊

WildArne avatar Jul 23 '20 21:07 WildArne

Well.. mine works as expected Screen Shot 2020-07-23 at 22 16 18

Could you post your bwalarm.yaml here?

akasma74 avatar Jul 23 '20 21:07 akasma74

Yes, its comming here :-)

platform: bwalarm                                                                                   
panel:                                                                                              
  cameras: []                                                                                       
  panel_title: ''                                                                                   
  camera_update_interval: ''                                                                        
  enable_fahrenheit: 'False'                                                                        
  enable_sensors_panel: 'True'                                                                      
  hide_passcode: 'True'                                                                             
  hide_sidebar: 'True'                                                                              
  enable_clock: 'False'                                                                             
  enable_floorplan_panel: false                                                                     
  enable_camera_panel: 'False'                                                                      
  enable_custom_panel: false                                                                        
  round_buttons: 'True'                                                                             
  shadow_effect: 'False'                                                                            
enable_night_mode: false                                                                            
states:                                                                                             
  armed_away:                                                                                       
    immediate:                                                                                      
    - binary_sensor.gang_sensor_motion                                                              
    delayed: []                                                                                     
    override: []                                                                                    
    pending_time: 0                                                                                 
    warning_time: 0                                                                                 
    trigger_time: 600                                                                               
  armed_home:                                                                                       
    immediate: []                                                                                   
    delayed: []                                                                                     
    override: []                                                                                    
    pending_time: 0                                                                                 
    warning_time: 0                                                                                 
    trigger_time: 600                                                                               
  armed_night:                                                                                      
    immediate: []                                                                                   
    delayed: []                                                                                     
    override: []                                                                                    
    pending_time: 0                                                                                 
    warning_time: 0                                                                                 
    trigger_time: 600                                                                               
users:                                                                                              
- id: mylongid                                                             
  name: anders                                                                                      
  enabled: true                                                                                     
  code: '1234'                                                                                     
  picture: ha.png                                                                                   
admin_password: password                                                                             
code_to_arm: true
enable_log: true                                                                                    
log_size: 20

WildArne avatar Jul 24 '20 04:07 WildArne

Thanks. Could you edit your last post to preserve formatting? It can be done by enclosing the config content within three back quotes (or selecting the text and hitting Insert code above the message editor)

akasma74 avatar Jul 25 '20 11:07 akasma74

Nice feature 😊

WildArne avatar Jul 25 '20 11:07 WildArne

that's better. one more thing - could you scramble your sensitive details like passwords etc rather than delete them? the thing is it's YAML and a lot of things have impact on the resulting values so I want as close copy of your config as possible to reproduce the issue.

akasma74 avatar Jul 25 '20 11:07 akasma74

Of cause 😊 At the phone so thats was faster

WildArne avatar Jul 25 '20 11:07 WildArne

@AndersNorlev I'm still waiting for the scrambled config

akasma74 avatar Jul 26 '20 21:07 akasma74

Oh a copy of My configtion.yaml?

WildArne avatar Jul 27 '20 04:07 WildArne

No, just update this post with content of your bwalarm.yaml but instead of deleting sensitive info like passwords etc change them to 1234 or so.

By the way, you can use secrets.yaml so instead of real values you can use !secret alarm_admin_password in your bwalarm.yaml - thay way you can easily share it with others without the need to hide that sensitive info every time ;)

akasma74 avatar Jul 27 '20 08:07 akasma74

Its should be updated now :-)

okay nice, i will try to move it to secrets :-)

WildArne avatar Jul 27 '20 09:07 WildArne

thanks

akasma74 avatar Jul 27 '20 09:07 akasma74

I can see in the logbook that the alarm is disarmed image

Do you know how to create a notification with who as armed or disarmed the alarm?

WildArne avatar Aug 03 '20 13:08 WildArne

I can see in the logbook that the alarm is disarmed

that's as expected. otherwise it won't disarm ;)

Do you know how to create a notification with who as armed or disarmed the alarm?

I don't think it's possible outside the component as information about users is in its config. Do you really need it?

akasma74 avatar Aug 06 '20 22:08 akasma74