home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.13k stars 29.8k forks source link

Verisure can't login with my verisure account (ITALY) #99507

Open Luke001IT opened 1 year ago

Luke001IT commented 1 year ago

The problem

HA automatically discovered VERISURE integration, but when I try to login with credential it doesn't work! Can you help please? Does this integration works also in Italy?x

What version of Home Assistant Core has the issue?

core-2023.8.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @frenck, @niro1987, mind taking a look at this issue as it has been labeled with an integration (verisure) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `verisure` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign verisure` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


verisure documentation verisure source (message by IssueLinks)

ilmazzo87 commented 10 months ago

Hi, I have the same issue. If I login into Verisure website, I can login with a telephone number+ password. When I click on "add integration" on HA, I am asked to prompt email and password, but it doesn't work (same password used successfully on Verisure website; tried also to enter the telephone number which works on the website). Thanks in advance for your help!

ilmazzo87 commented 10 months ago

I read disabling 2FA might do the trick. However, I can't find where to do so on the Verisure web paged (I'm logged as admin user).

sky-luke commented 9 months ago

Same problem in France. Usually login requires username and password from the following url https://customers.securitasdirect.fr/owa-static/login

image

oriold commented 9 months ago

Same problem in Ireland. Username is not the email, but something else that you can choose.

abouquet commented 9 months ago

Same issue here in France. Username is configured but email is asked by the intégration

ismaelbelghiti commented 8 months ago

Yes same issue in France: username vs email asked by the integration. And I don't think we can disable 2FA in this situation (I've not found it in our version of the web interface).

skamaleo commented 8 months ago

Is there any chance that this issue gets fixed in the short term? I guess very few people will be able to use this integration flawlessly

maxtkirk commented 8 months ago

same trouble....need to remove 2FA?

Bearunik commented 8 months ago

Same issue here. In France we need to send an username.

ilmazzo87 commented 8 months ago

I asked verisure customer support, they replied it’s not possibile to do so

Il giorno gio 11 gen 2024 alle 13:34 maxtkirk @.***> ha scritto:

same trouble....need to remove 2FA?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/99507#issuecomment-1887068598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3SYXIQ4YCCZTZCTDKE6YDYN7L3VAVCNFSM6AAAAAA4ITWIVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGA3DQNJZHA . You are receiving this because you commented.Message ID: @.***>

roooodcastro commented 8 months ago

Also having this issue in Ireland, my username is not my email, it won't let me log in.

Danixu commented 7 months ago

Looks like It happens with the European verisure version, because in Spain I got the same error. I'm able to log in using the website, the app, and even a 3rd party integration from Hacks, but the official HA integration doesn't work in any way.

Maybe it's the 2nd factor or maybe it's the lack of country selector, because the working integration asks you for the country and for sure is to contact the right api server.

NicolaContin commented 7 months ago

I also have this problem, with verisure italia

@frenck @niro1987 can you answer us?

niro1987 commented 7 months ago

I don't have a Verisure subscription anymore. What I do know is that not all countries work with this integration.

NicolaContin commented 7 months ago

@niro1987 Thank you for replying, if you have time and desire I can make you available a verisure test account to try to make a debug of the problem.

For example, you could try to modify this , with this for italy

ilmazzo87 commented 7 months ago

That’s great, I’d be interested too

Il giorno ven 26 gen 2024 alle 12:48 Nicola @.***> ha scritto:

@niro1987 https://github.com/niro1987 Thank you for replying, if you have time and desire I can make you available a verisure test account to try to make a debug of the problem.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/99507#issuecomment-1911948835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3SYXL6TII7AQMXTKTRYITYQOJ2VAVCNFSM6AAAAAA4ITWIVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRHE2DQOBTGU . You are receiving this because you commented.Message ID: @.***>

DavidEngstrom commented 7 months ago

I'm having the same problems, are trying to log in with the email address of account, have disabled the 2fa. Geting the error message "Ogiltig autentisering" -> Not valid auth. Are a customer to Verisure in Sweden

FishFloat commented 7 months ago

Well same issue here in Sweden Update:

abouquet commented 7 months ago

We should maybe contact Verisure to let them know that lots of people in Europe want to ease integration of their system in their own domotic. For such a big company, it's a shame they wouldn't access their API in a basic way

abouquet commented 7 months ago

We should maybe contact Verisure to let them know that lots of people in Europe want to ease integration of their system in their own domotic. For such a big company, it's a shame they wouldn't access their API in a basic way

@abouquet I have contacts with the CTO of Verisure Europe, the problem is that no developer of this integration responds to me, and alone I am not able to fix it

I'm confused. This add-on is supposed to be part of the core add-ons, right? So, does that mean no one from the Home Assistant team is responding to us?

niro1987 commented 7 months ago

@NicolaContin ping me on discord niro_1987.

icovada commented 7 months ago

Just activated my new alarm, saddened to see this integration is not working. I'm ready to help whichever way I can.

purierca commented 7 months ago

Just found the way: through HACS, find the Securitas integration, which allows to login using username, and skydiving your country. Now that you need to know your passcode as well, in order to actually interact (arm, disarm etc) with the system.

oriold commented 6 months ago

Did not work with Ireland. Saw the code and the countries support are limited

geniodelmale commented 6 months ago

Use the Securitas Direct Alarm custom integration on HACS (it's another brand of Verisure). Supports 2FA and works correctly in Italy and other countries.

roooodcastro commented 6 months ago

@frenck you removed yourself as the code owner for this integration in https://github.com/home-assistant/core/pull/103625, and @niro1987 removed himself as well in https://github.com/home-assistant/core/pull/100145, so now the integration has no code owner and is seemingly abandoned.

I'm not saying either of you should be forced to maintain it of course, but what's the procedure in this case? Should the integration be labelled as unmaintained or something like this? Can we at least update the documentation to mention that this doesn't work for European installations?

niro1987 commented 6 months ago

I'm sorry to see that these issues remain unresolved. As I do not have a Verisure subscription, I am unable to help.

From what I can tell, the integration does still work for some EU countries.

Mind you that anyone with adequate skills and a Verisure subscription could step in and become code-owner.

niro1987 commented 6 months ago

@NicolaContin said

I have contacts with the CIO of Verisure Europe, the problem is that no developer of this integration responds to me, and alone I am not able to fix it.

I can help if Verisure is willing to grant me the resources required to maintain this integration.

NicolaContin commented 6 months ago

@NicolaContindisse

Ho contatti con il CIO di Verisure Europe, il problema è che nessuno sviluppatore di questa integrazione mi risponde, e da solo non riesco a risolvere il problema.

Posso aiutarti se Verisure è disposta a concedermi le risorse necessarie per mantenere questa integrazione.

@niro1987 To find out if Verisure is willing to help us we have to hear it in private, I sent you the request on Discord 4 days ago but you have not yet accepted

niro1987 commented 6 months ago

Accepted

roooodcastro commented 6 months ago

From what I can tell, the integration does still work for some EU countries.

Do you remember from when you worked on this, what's the factor that dictates whether it works or not in some countries? Or in which countries this is known to work?

I don't personally have time now to work on this, but in a few weeks I think I can have a look. Having official support from Verisure like @NicolaContin is suggesting would greatly help.

niro1987 commented 6 months ago

I removed myself as code-owner while the integration was still working for Dutch installations. I have not seen any comment indicating otherwise since.

NicolaContin commented 6 months ago

@roooodcastro Add me on discord, conte49

maxtkirk commented 6 months ago

Use the Securitas Direct Alarm custom integration on HACS (it's another brand of Verisure). Supports 2FA and works correctly in Italy and other countries.

Hello, I tried but don't seem to support 2FA or I don't know where to setup it....did you?

geniodelmale commented 6 months ago

Use the Securitas Direct Alarm custom integration on HACS (it's another brand of Verisure). Supports 2FA and works correctly in Italy and other countries.

Hello, I tried but don't seem to support 2FA or I don't know where to setup it....did you?

image

for me it's working fine in Italy

geniodelmale commented 6 months ago

Use the Securitas Direct Alarm custom integration on HACS (it's another brand of Verisure). Supports 2FA and works correctly in Italy and other countries.

Hello, I tried but don't seem to support 2FA or I don't know where to setup it....did you?

image

for me it's working fine in Italy

use this repository: https://github.com/guerrerotook/securitas-direct-new-api

niro1987 commented 6 months ago

This issue should be closed imho. We known that the core integration does not work for Verisure Italy and Spain. Custom component https://github.com/guerrerotook/securitas-direct-new-api should be used instead.

roooodcastro commented 6 months ago

IMO this should only be closed when it's either fixed or documentation is added to state that it doesn't work in Italy, Spain and Ireland (maybe others). Otherwise people will keep trying to configure this and get frustrated without knowing what's happening. We can't expect the user to find and refer to this issue as documentation.

abouquet commented 6 months ago

This issue should be closed imho. We known that the core integration does not work for Verisure Italy and Spain. Custom component https://github.com/guerrerotook/securitas-direct-new-api should be used instead.

Doesn't work either in France

ilmazzo87 commented 6 months ago

Ciao Lorenzo it doesn’t work for me in Italy. As user name I have my mobile phone, the same I use for the Verisure app. If I type the same credentials I use for the app, it gives me “unknown error”. Any hint? Thanks a lot

Il giorno gio 22 feb 2024 alle 10:39 Lorenzo Barbieri < @.***> ha scritto:

Use the Securitas Direct Alarm custom integration on HACS (it's another brand of Verisure). Supports 2FA and works correctly in Italy and other countries.

Hello, I tried but don't seem to support 2FA or I don't know where to setup it....did you?

[image: image] https://private-user-images.githubusercontent.com/22792891/306944407-e71ff430-52c8-4d2a-9adb-8529dea56e07.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDg1OTQ5OTgsIm5iZiI6MTcwODU5NDY5OCwicGF0aCI6Ii8yMjc5Mjg5MS8zMDY5NDQ0MDctZTcxZmY0MzAtNTJjOC00ZDJhLTlhZGItODUyOWRlYTU2ZTA3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjIyVDA5MzgxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlZmY4NDQ2NjI4MDkzOWM5YmY4MjczNWQzZDE0NjFiZDYyOGUwYmE3MTg1NDIxOTU3M2MwYzQ2NDViYzllYjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.coBqMJulIoVVOi6qabeBtoUNW2iaqVKDF0sc3IteA5U for me it's working fine in Italy

use this repository: https://github.com/guerrerotook/securitas-direct-new-api

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/99507#issuecomment-1959056427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3SYXISSHMWAILEY3NFYTDYU4G6RAVCNFSM6AAAAAA4ITWIVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGA2TMNBSG4 . You are receiving this because you commented.Message ID: @.***>

maxtkirk commented 6 months ago

Hello, I put new api in "custom_components" , is it correct?

Luke001IT commented 6 months ago

Same for me. I use mobile number + password and I get an error!

geniodelmale commented 6 months ago

I installed it using HACS. I used my credentials and enabled 2FA, then I received an SMS on the mobile phone and put the code in the second screen of the config. Have you configured the country code correctly? (IT for italy, etc...) Did you look at Home Assistant logs to see if there are any errors there? I believe that you should post these questions on the GitHub page of the custom integration, under issues: https://github.com/guerrerotook/securitas-direct-new-api/issues

oriold commented 6 months ago

I can confirm now that HACS API fixed the issue and at least there is basic management for Ireland of the Verisure Alarm in Home Assistant

maxtkirk commented 6 months ago

Hello, finally it works for me too. Italy

niro1987 commented 6 months ago

IMO this should only be closed when it's either fixed or documentation is added to state that it doesn't work in Italy, Spain and Ireland (maybe others). Otherwise people will keep trying to configure this and get frustrated without knowing what's happening. We can't expect the user to find and refer to this issue as documentation.

Why don't you?

roooodcastro commented 6 months ago

Why don't you?

Just suggested the change to the documentation repo. As I said before, I can't dedicate the time I need to actually fix the issue now, but at least the doc change should help other people for now.

I don't suppose it's acceptable to write in the official docs pointing the users towards the unofficial HACS integration, right? Otherwise I could just add the repo link there and suggest people from those countries use that instead.

NicolaContin commented 6 months ago

Hello, finally it works for me too. Italy

Parli dell'integrazione di hacs? come hai fatto a farla funzionare? a me si collega ma non mi fa ne armare ne disarmare l'impianto, legge solo gli stati

maxtkirk commented 6 months ago

Ho utilizzato la new api....considera solo che c'è un certo ritardo nella visualizzazione ma l'impianto viene armato e disarmato correttamente