Verisure Plugin

Posted on
Wed Nov 18, 2015 8:36 am
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Verisure Plugin

Verisure plugin for Indigo

Requirements

Installation Instructions

Upgrade to 0.2.5
You will have to delete the old Verisure devices and add the again, this i because I have had to make some changes in the devices.xml file.

Upgrade to 0.4.1
From this version you'll need Indigo 7 and recreate all your locks.


Actions Supported
  • Update Lock Status, Lock and Unlock and Enable/disable auto locking
  • Update Alarm Status, Arm_Away, Arm_Home and Disarm

Devices Supported
  • Verisure alarm
  • Climate devices (Only Temperature in this release)
  • Smart Locks Yale Doorman
  • Mice Detector

Bugs
Please report bugs and feature requests on Github

Legal Disclaimer
This plugin is not affiliated with Verisure Holding AB and the developers take no legal responsibility for the functionality or security of your Verisure Alarms and devices.

Screenshots
Image
Image
Last edited by lindehoff on Mon Nov 21, 2016 12:40 pm, edited 5 times in total.

Posted on
Wed Nov 18, 2015 9:37 am
haavarda offline
User avatar
Posts: 647
Joined: Aug 18, 2012
Location: Norway

Re: Verisure Plugin

Very interesting! How is verisure reacting to the high update frequency? I have heard of others that have been contacted by verisure due to the high traffic, but I don't know if this is the same philosophy?

Håvard

Posted on
Wed Nov 18, 2015 10:02 am
jay (support) offline
Site Admin
User avatar
Posts: 15683
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Verisure Plugin

Great contribution, thanks!

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Nov 18, 2015 11:50 am
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Re: Verisure Plugin

haavarda wrote:
Very interesting! How is verisure reacting to the high update frequency? I have heard of others that have been contacted by verisure due to the high traffic, but I don't know if this is the same philosophy?


Verisure only seem to count logins and this plugin only login on plugin start, then it keeps the same session. I have been running a script version of the same code for 2 years that update every 15 sec and haven't been contacted by Verisure yet.

I use the plugin mainly to know if someone is home and set the correct lightning scene. I recently bought there mice detector witch the plugin soon will have support for also :D

Posted on
Wed Nov 18, 2015 11:56 am
haavarda offline
User avatar
Posts: 647
Joined: Aug 18, 2012
Location: Norway

Re: Verisure Plugin

Sounds good. Any chance off supporting Yale doorman also?

Håvard

Posted on
Wed Nov 18, 2015 12:33 pm
DrLaban offline
Posts: 53
Joined: Apr 28, 2015
Location: Norway

Re: Verisure Plugin

I tried the plugin but it doesn't start :(

Code: Select all
Starting plugin "Verisure 0.1.5" (pid 83043)
  Verisure Error                  Error in plugin execution InitializeMain:

Traceback (most recent call last):
  File "plugin.py", line 13, in <module>
  File "../Includes/python-verisure/verisure/__init__.py", line 13, in <module>
  File "../Includes/python-verisure/verisure/mypages.py", line 5, in <module>
<type 'exceptions.ImportError'>: No module named requests

  Stopping plugin "Verisure 0.1.5" (pid 83043)
  Stopped plugin "Verisure 0.1.5"

Posted on
Wed Nov 18, 2015 12:49 pm
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Re: Verisure Plugin

DrLaban wrote:
I tried the plugin but it doesn't start :(

Code: Select all
Starting plugin "Verisure 0.1.5" (pid 83043)
  Verisure Error                  Error in plugin execution InitializeMain:

Traceback (most recent call last):
  File "plugin.py", line 13, in <module>
  File "../Includes/python-verisure/verisure/__init__.py", line 13, in <module>
  File "../Includes/python-verisure/verisure/mypages.py", line 5, in <module>
<type 'exceptions.ImportError'>: No module named requests

  Stopping plugin "Verisure 0.1.5" (pid 83043)
  Stopped plugin "Verisure 0.1.5"


I forgot that you need requests module, I have updated the installation instructions in the initial post.

Posted on
Wed Nov 18, 2015 12:51 pm
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Re: Verisure Plugin

haavarda wrote:
Sounds good. Any chance off supporting Yale doorman also?

I don't have any Yale lock so I'm not sure that its possible. Can you control the Yale lock from Verisures Homepage or only from the mobile app?

Posted on
Wed Nov 18, 2015 1:36 pm
DrLaban offline
Posts: 53
Joined: Apr 28, 2015
Location: Norway

Re: Verisure Plugin

lindehoff wrote:

I forgot that you need requests module, I have updated the installation instructions in the initial post.


Awsome! Now it works :)

Is it "safe" to keep the default 5 min update regarding the session to Verisure's server? Will it keep the session "open" without login in every time?

Posted on
Wed Nov 18, 2015 1:46 pm
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Re: Verisure Plugin

DrLaban wrote:
lindehoff wrote:
I forgot that you need requests module, I have updated the installation instructions in the initial post.

Awsome! Now it works :)
Is it "safe" to keep the default 5 min update regarding the session to Verisure's server? Will it keep the session "open" without login in every time?


Great to hear that it is working.
This plugin only login on plugin start, then it keeps the same session. I have been running a script version of the same code for 2 years that update every 15 sec and haven't been contacted by Verisure yet.

Posted on
Wed Nov 18, 2015 2:55 pm
haavarda offline
User avatar
Posts: 647
Joined: Aug 18, 2012
Location: Norway

Re: Verisure Plugin

lindehoff wrote:
haavarda wrote:
Sounds good. Any chance off supporting Yale doorman also?

I don't have any Yale lock so I'm not sure that its possible. Can you control the Yale lock from Verisures Homepage or only from the mobile app?


Hi,
The Doorman shows status and has the possibility to be opened and closed from the my pages view.
I dont know if you are a Scandinavian since you have this alarm, but below is a picture that shows how the layout is.
Remote control is not essential, but status would be very nice.

Thanks for your contribution by the way :)
Attachments
Skjermbilde 2015-11-18 kl. 21.37.08.png
Skjermbilde 2015-11-18 kl. 21.37.08.png (22.35 KiB) Viewed 6627 times

Håvard

Posted on
Wed Nov 18, 2015 4:15 pm
lochnesz offline
Posts: 331
Joined: Oct 01, 2014
Location: Stockholm, Sweden

Re: Verisure Plugin

Sounds like a great plugin!
How does it work with support for Verisure in different countries. I have a Verisure alarm in Spain. The user account seams to be local, or maybe for a regional/group of countries?

Thanks!

Peter

Posted on
Thu Nov 19, 2015 12:50 am
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Re: Verisure Plugin

lochnesz wrote:
Sounds like a great plugin!
How does it work with support for Verisure in different countries. I have a Verisure alarm in Spain. The user account seams to be local, or maybe for a regional/group of countries?
Thanks!
Peter


I have not looked in to that but I think you're right. I think only the following countries work: Sweden, Denmark, Norway, Finland, France, United Kingdom, Belgium, Netherland.

Posted on
Thu Nov 19, 2015 12:56 am
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Re: Verisure Plugin

haavarda wrote:
lindehoff wrote:
haavarda wrote:
Sounds good. Any chance off supporting Yale doorman also?

I don't have any Yale lock so I'm not sure that its possible. Can you control the Yale lock from Verisures Homepage or only from the mobile app?

Hi,
The Doorman shows status and has the possibility to be opened and closed from the my pages view.
I dont know if you are a Scandinavian since you have this alarm, but below is a picture that shows how the layout is.
Remote control is not essential, but status would be very nice.
Thanks for your contribution by the way :)


Then it should be possible, the plug-in uses another python script written by Per Sandberg that handles all the communication with Verisures MyPages. I have contacted him to see if we can include the Lock. We will look in to it.

Posted on
Thu Nov 26, 2015 8:28 am
lindehoff offline
Posts: 79
Joined: Aug 08, 2015

Verisure Plugin 0.1.7

New version available 0.1.7
New Device Support
  • Smart Locks Yale Doorman
  • Mice Detector
New Actions
  • Update Lock Status, Lock and Unlock

Other improvements
  • Fix bug #1
  • Date are now in correct format
  • Fixes error when having a Smart Lock
  • Fixes error: Too many failed login attempts
  • Improves error handling

Who is online

Users browsing this forum: No registered users and 1 guest