Securitas Direct (Verisure EU) Custom Component [TESTERS WANTED]

Follow this to activate telnet: https://www.lifewire.com/what-is-telnet-2626026

It looks iā€™m able to connect but nothing happens and doesnā€™t appear anything. Just the title of the cmd window changes to ā€œTelnet mob2217.securitasdirect.esā€

If it doesnā€™t show ā€œConnected to mob2217.securitasdirect.es.akadns.net.ā€ than you are not connecting to it.

It says on this website (https://www.acronis.com/en-us/articles/telnet/) the exact thing that happen to me, means that iā€™m connected.

Now for once i was able to arm the alarm via HA. But when i tried to disarm it, it gave the same error.

Sorry for the amount of questions, but i run a lot of automations based on the alarm state. It is quite important to me.

How is your HA setup? Are you using both ethernet and wifi?

Raspberry connected via ethernet.

Can you run pysecuritas -u -p -c -l INS on your raspberry?

Do you mean via HA? The raspberry just runs HA

Yes, either access via SSH or an addon to run the command.
pysecuritas -u username -p password -c country -l lang INS

Either code gives the same error

bash: pysecuritas: command not found.

Iā€™m doing something wrong here.

How did you install HA?
You can also follow this https://github.com/Cebeerre/pysecuritas

Normal intallation following official documentation from HA to install in a raspberry. I dont have any pysecuritas file inside custom components folder. Thatā€™s why?

No. Thatā€™s the lib that the component uses. Can you follow installation of pysecuritas? Trying to exclude optionsā€¦

Hi,
I have installed pysecuritas however Iā€™m running HASS on Debian 10 and therefore my installation path is /usr/share/homeassistant.
What steps do I need to take?

Regards,

M

Itā€™s ok. I have copied files from /home/hassio/.local to /usr/share/hassio/.local and it works like a charm!

Hi! Iā€™ve updated the files in securitas_direct folder and now my control panel doesnā€™t show off : EntitĆ© non disponible: alarm_control_panel.securitas_xxxxx. Any idea about how should I get it back? Notice I have no specific notification. Any idea about anything to be changed? I live in France, is there any reason why this should not work here?

Thank you for your help and happy new year!!

Hi Romain
For me the name of the entity changed. I suggest you look under ā€œDeveloppers Toolsā€ (outils de DĆ©veloppement) and search for the new name that was assigned. For me it gave my address.

Cheers

M

@nragon I would like to be able to arm just the perimeter alarms. I have been looking at the code and it seems you have already defined the custom_bypass to send the perimeter command (see code below) but when I try to arm the custom bypass it does not do anything. Do you know what I could be doing wrong. I am not familiar with python so do not know how I check the code and/or modify it.

Thanks!!

def alarm_arm_custom_bypass(self, code=None):
    """Send arm perimeter command."""
    self.__force_state(STATE_ALARM_ARMING)
    hub.alarm.activate_perimeter_mode()
    hub.update_overview(no_throttle=True)

Hi.

Can you try using pysecuritas command?
I dont have perimeter so Iā€™m not able to test it.
Try installing and run the command for arming perimeter following instructions here: https://github.com/Cebeerre/pysecuritas

If it works than we can look at the integration with HA.

Hi, iā€™m italian user and iā€™ve a rpi installation with hassio os. Iā€™ve tried to follow instructions for integration, but iā€™ve a question:

  • the pysecuritas lib go in custom_components folder or where??

Thanks