securitasdirect
securitasdirect copied to clipboard
HA Italy
in the "alarm_control_panel.py" file SECURITAS_STATUS = { '0': STATE_ALARM_DISARMED, 'P': STATE_ALARM_ARMED_HOME, 'Q': STATE_ALARM_ARMED_NIGHT, '1': STATE_ALARM_ARMED_AWAY } at least for Italy it appears to me: SECURITAS_STATUS = { '0': STATE_ALARM_DISARMED, 'Q': STATE_ALARM_ARMED_HOME, 'C': STATE_ALARM_ARMED_NIGHT, 'A': STATE_ALARM_ARMED_AWAY }
Thanks. I will add 'A' and 'C' states. Problem is 'Q' state that reports ARMED_NIGHT in spain and ARMED_HOME in Italy. Please can you confirm?
yes, I confirm 'Q': STATE_ALARM_ARMED_HOME, I add the perimeter: '3': STATE_ALARM_ARMED_PERI
Hi @furetto72 Last version include state '3' as STATE_ALARM_ARMED_CUSTOM_BYPASS (the standar state in HA that we can asume as PERI) Could you test it enabling this state in lovelace as documentation
type: alarm-panel
entity: alarm_control_panel.securitas_xxxxxxx
name: Alarma Securitas
states:
- arm_away
- arm_home
- arm_night
- arm_custom_bypass
SECURITAS_STATUS = { STATE_ALARM_DISARMED: ['0',("1","32")], STATE_ALARM_ARMED_HOME: ['P',("311","202")], STATE_ALARM_ARMED_NIGHT: [('Q','C'),("46",)], STATE_ALARM_ARMED_AWAY: [('1','A'),("2","31")], STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3',('???',)], STATE_ALARM_TRIGGERED: ['???',('13','24')], }
I'm sorry for my english. I tested the changes and found problems:
- if I try to disarm the panel it remains on I am disarming.
- STATE_ALARM_ARMED_NIGHT arms as STATE_ALARM_ARMED_HOME
- STATE_ALARM_ARMED_CUSTOM_BYPASS arms the perimeter but the panel does not display it and remains DISARMATED. I changed your code like this: SECURITAS_STATUS = { STATE_ALARM_DISARMED: ['0', ("1", "32")], STATE_ALARM_ARMED_HOME: ['Q', ("311", "202")], STATE_ALARM_ARMED_NIGHT: ['C', ("46",)], STATE_ALARM_ARMED_AWAY: ['A', ("2", "31")], STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('???',)], STATE_ALARM_TRIGGERED: ['???', ('13', '24')], } everything works except STATE_ALARM_ARMED_CUSTOM_BYPASS as mentioned above (disarmed state)
log status PERI : STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('204',)]
Thanks @furetto72 Updated on code.
Hi,
Where are you looking to get these code ? I'm in France and somtimes the status is not well reported.
Hi,
Where are you looking to get these code ? I'm in France and somtimes the status is not well reported.
https://github.com/Cebeerre/VerisureAPIClient - ACT -> LOG ACTIVITY
log status PERI : STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('204',)]
Hello @furetto72 @segalion , I've modified the code as follow but I'm not able to activate perimetral: SECURITAS_STATUS = { STATE_ALARM_DISARMED: ['0', ("1", "32")], STATE_ALARM_ARMED_HOME: ['P', ("311", "202")], STATE_ALARM_ARMED_NIGHT: [('Q', 'C'), ("46",)], STATE_ALARM_ARMED_AWAY: [('1', 'A'), ("2", "31")], STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('204',)], STATE_ALARM_TRIGGERED: ['???', ('13', '24')], }
Do you know if there is something not correct in the code? Thanks
Ciao, io per ora ho abbandonato questo script in quanto ho riscontrato dei seri problemi di loop nelle chiamate api al server di verisure, con conseguente blocco dell'intero sistema di allarme. Se vuoi ti invio gli ultimi codici che sono riuscito a recuperare.
Il dom 22 nov 2020, 13:10 meazzaflavio [email protected] ha scritto:
log status PERI : STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('204',)]
Hello @furetto72 https://github.com/furetto72 @segalion https://github.com/segalion , I've modified the code as follow but I'm not able to activate perimetral: SECURITAS_STATUS = { STATE_ALARM_DISARMED: ['0', ("1", "32")], STATE_ALARM_ARMED_HOME: ['P', ("311", "202")], STATE_ALARM_ARMED_NIGHT: [('Q', 'C'), ("46",)], STATE_ALARM_ARMED_AWAY: [('1', 'A'), ("2", "31")], STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('204',)], STATE_ALARM_TRIGGERED: ['???', ('13', '24')], }
Do you know if there is something not correct in the code? Thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/segalion/securitasdirect/issues/7#issuecomment-731738121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSJYPQPSI6YNWKHGGWSDBTSRD5TVANCNFSM4JKKPPDQ .
eccoli: STATE_ALARM_DISARMED: ['0',("1","32")], STATE_ALARM_ARMED_HOME: ['P',("311","202", "203")], STATE_ALARM_ARMED_NIGHT: [('Q','C'),("46")], STATE_ALARM_ARMED_AWAY: [('1','A'),("2","31")], STATE_ALARM_ARMED_CUSTOM_BYPASS: [('3','C'),('204')], STATE_ALARM_TRIGGERED: ['???',('13','24')],
per ora io uso questo: https://github.com/Cebeerre/VerisureAPIClient
Il giorno dom 22 nov 2020 alle ore 13:10 meazzaflavio < [email protected]> ha scritto:
log status PERI : STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('204',)]
Hello @furetto72 https://github.com/furetto72 @segalion https://github.com/segalion , I've modified the code as follow but I'm not able to activate perimetral: SECURITAS_STATUS = { STATE_ALARM_DISARMED: ['0', ("1", "32")], STATE_ALARM_ARMED_HOME: ['P', ("311", "202")], STATE_ALARM_ARMED_NIGHT: [('Q', 'C'), ("46",)], STATE_ALARM_ARMED_AWAY: [('1', 'A'), ("2", "31")], STATE_ALARM_ARMED_CUSTOM_BYPASS: ['3', ('204',)], STATE_ALARM_TRIGGERED: ['???', ('13', '24')], }
Do you know if there is something not correct in the code? Thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/segalion/securitasdirect/issues/7#issuecomment-731738121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSJYPQPSI6YNWKHGGWSDBTSRD5TVANCNFSM4JKKPPDQ .