ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Missing support for Verisure Spain (Securitas Direct) #80

Closed artik closed 4 years ago

artik commented 5 years ago

I was wondering if this config could also work for verisure spain (Securitas direct). As the login is a number, and not an email it doesn't work.

If somebody knows a workaround or a solution, it will be really appreciated

ptz0n commented 5 years ago

Hi & thanks for reaching out.

Currently, this plugin only supports the Vbox systems. I see that others have added support for Securitas Direct to Home Assistant:

https://github.com/segalion/securitasdirect

It’s not the first time this question is asked. Do you think that this plugin should support both API’s?

artik commented 5 years ago

Thanks for your answer. Yes it would be a great step, as both companies are the same. As the home assistant developer said, if it works for Securitas spain, it should also works for more countries (France, etc).

As I'm equipped with Securitas, feel free to contact me for any help or test if you bring this plugin live, I'll be glad to help. And maybe a sponsor could help you ?

ptz0n commented 5 years ago

It would be great if we could setup accessories to support the different Verisure API's. Let's start by adding support to node-verisure.

Ref: Cebeerre/VerisureAPIClient

artik commented 5 years ago

I started to check the https://github.com/Cebeerre/VerisureAPIClient, for me it works:

python3 verisure.py 0000000 MyPass 1987448 SDVFAST ES es 1 EST

{"PET": {"RES": "OK", "STATUS": "0", "MSG": "Tu Alarma est\u00e1 desconectada", "NUMINST": "1987448", "BLOQ": {"@remotereqactive": "1", "#text": "Estamos mejorando nuestros servicios. Por favor intentelo de nuevo mas tarde. Gracias por confiar en Securitas Direct"}}}
Cebeerre commented 4 years ago

Hi @ptz0n , @artik made me aware of this, so I just uploaded my documentation around the Verisure EU mobile endpoint. It probably helps better than reading my python code.

https://github.com/Cebeerre/VerisureEUAPI

ptz0n commented 4 years ago

@Cebeerre Wow, good job! I’ll take a closer look.

artik commented 4 years ago

@Cebeerre thanks for sharing, it can help so many Homekit+verisure EU users. @ptz0n Erik let me know if you need beta tests.

Xivi08 commented 4 years ago

Hi!

I'm interested into know if there is any update on this.

Ty!

artik commented 4 years ago

Hi @ptz0n, any update about the implementation of Securitas?

ptz0n commented 4 years ago

I’ve started to mock the responses and looked into tooling to enable collaboration because I dont personally have access to a Securitas installation.

The last part is actually quite troublesome. Please share your ideas 👍🏼

ptz0n commented 4 years ago

I might have gotten something to work, please head over to: https://github.com/ptz0n/node-verisure/pull/41

jeremybdk commented 4 years ago

Hello @ptz0n, What are the next steps here to integrate this into your home bridge module? I tested your plugin here https://github.com/ptz0n/node-securitas-direct and it's working correctly for my French Installation. Do you plan to add these features to homebridge ? Thanks

ptz0n commented 4 years ago

@jeremybdk Thanks for your comment. I'm currently working on a separate plugin for Securitas Direct which will use the client you mentioned.

No hard release date set, but I hope to get it out within a few weeks.

GerSant commented 4 years ago

@jeremybdk Thanks for your comment. I'm currently working on a separate plugin for Securitas Direct which will use the client you mentioned.

No hard release date set, but I hope to get it out within a few weeks.

Any news @ptz0n ? :) Thanks!!!

ptz0n commented 4 years ago

Beta plugin published, please help out with testing: https://github.com/ptz0n/homebridge-securitas-direct