[OBSOLETE] Verisure integration

Hi,

Sorry for the delay, but at least one of them has been integrated now. :slight_smile: The contact sensors are now in place, update from Github. :slight_smile: Huge thanks to @origami for doing the work.

Do remember though that itā€™s not instant. Verisuse is ā€œpolledā€ about once every minute. So it is actually possible to open the door and close it again withouth ST actually catching that. It is best suited for stuff like ā€œdid I forget to close the back doorā€ etc.

1 Like

Great - thanks a lot. I really appreciate your work :smiley:

Perfect! I have been looking forwars to this

Hi Andreas,
New pull request is created.

There is DH for Verisure Door Lock Status (Yale Doorman) on git. It shows only status (locked/unlocked) in mobile app. No actions to initiate lock/unlock. Some more attributes are visible in devices tab in Web IDE.

/origami

1 Like

Merged now. :slight_smile:

Hello, I have yaledoorman v2n but I cant get it to show up.Ive installed everything and published but i only get this:

Hi,
First, thanks for the work on this integration :slight_smile: Looks great.
Second, I have a problem with logon, is it possible itā€™s because Im using the verisure alarm in Portugal?

The error log is as follows:

11:50:06: debug [verisure.handleLoginResponse] Response has error. sessionCookie and installationId is reset: {ā€œerrorGroupā€:ā€œUNAUTHORIZEDā€,ā€œerrorCodeā€:ā€œAUT_00004ā€,ā€œerrorMessageā€:ā€œInvalid username/password/authentication method combinationā€}

c727c9b4-31f2-4e28-9930-0a6a41732c39 11:50:06: error [verisure.handleLoginResponse] Did not get correct response. Got response physicalgraph.scheduling.AsyncResponse@33e9b36f .

c727c9b4-31f2-4e28-9930-0a6a41732c39 11:50:06: debug [verisure.handleLoginResponse] Response for login received

c727c9b4-31f2-4e28-9930-0a6a41732c39 11:50:06: debug [verisure.loginAndUpdateStates] Doing login

c727c9b4-31f2-4e28-9930-0a6a41732c39 11:50:06: debug [verisure.checkPeriodically] Periodic check from timer

c727c9b4-31f2-4e28-9930-0a6a41732c39 11:50:06: debug [verisure.transaction] ===== START_UPDATE

Looks like there are two different platforms, one for US, other for EU.
Found some documentation here: GitHub - Cebeerre/SecuritasDirectAPI: Securitas Direct API specification
Unfortunately dont know yet if the communication format is the same or not.

Hello.

I have installed it and i see the Verisure device and it say connected, but i dont see anything else?
And if i look in the log i get tihs error

The log is saying

physicalgraph.app.exception.UnknownDeviceTypeException: Device type ā€˜Verisure Door Lock Statusā€™ in namespace ā€˜smartthings.f12.noā€™ not found. @line 366 (doCall)

Any one got any idee?

Best regards
Andreas

Just a heads up: Got an email from Verisure saying they will enforce two factor authentication for everyone over the coming weeks (at least Norway). This will probably break everything. :frowning:

Same here in Sweden.
But if i understood this text right i can choose between 2way authantication or working third party app?

*How does 2-step verification affect third-party integrations with Verisure? *
When 2-step verification is enabled, your connection through the third-party integration might stop working. Please note that if you disable 2-step verification, the risk of unauthorized access to your account is increased.
*Follow these steps to restore the connection: *
1. Log in to MyPages with your username and password. Enter the verification code when you receive it.
2. Go to Account and Subscription > Account > Login credentials > Disable 2-step verification
*3. Follow the instructions to disable 2-step verification. *
In order for us to get valuable input for potential future improvements for users that have a 3rd party integration to Verisure, we have created a short survey as part of the Disable 2-step verification steps.

Did not see that part of the text. :slight_smile: And others have reached out to Verisure and confirmed that you can disable it on your profile. So should be good once you do that. :slight_smile:

I also got that e-mail today (Sweden). I love the Smartthings/Verisure integration. It enables me to trigger a lot of activities when leaving home/coming home.

At the same time, I am also a fan of 2 factor authentication to improve security.

Maybe it would be possible to enable this with 2 factor authentication as well?
I donā€™t have the skills myself, but maybe someone is up to the challenge :slight_smile:

Thanks again @anderssv and others for this fantastic integration!

since i have updated my hub to the latest firmware version, I can not connect the Samsung arrival sensorā€¦any suggestions will be appreciated
I have tried to rest both the sensor and the hub still no luck

Hi Andreas, sorry for late reply. Did you get it work ?

You need to install all device handlers in addition to smart app.

regards
origami

Hey

I can see on the OG python implementation on github that itā€™s working with MFA and have support for arm and dismarming the alarm.

I have tested it in python and its working :slight_smile:

but thatā€™s where I reach my max know how.

Anyone having any idea on how to get this working inside ST so ex. you can arm the alarm with an event.

Could be pretty nice :slight_smile:

Link to OG: GitHub - persandstrom/python-verisure: A python module for reading and changing status of verisure devices through verisure app api.

1 Like

Hi!
I just installed both device handlers and the smart app (I have published them ā€œfor meā€) but Iā€™m not able to see the smart app in ST app to be able to sign in with my credentials to Verisure (I also have turned off 2-step verification)ā€¦ How do I make it work?

Thanks,
Pehr

I have exactly The same problem, I have the smartapp and DH installed the IDE /Smartthings account page page but not able to see the
Verisure smart app on my iPhone.
Greatly appreciate any input as Iā€™ve been a sincerely happy user of Andersā€™ work on this integration.

Hi Guys. I am not using this app anymore so I donā€™t really have the possibility to test it. Sorry. :slight_smile:

The only thing I can think of is that I think you need to use the classic app to add the app? Or am I mistaken here?

Maybe someone that have installed it lately can confirm itā€™s still working?

BTW: Iā€™d be happy to give anyone wanting to maintain this access to the repo, but of course you can fork as well if you want to. :slight_smile: