Page 1 of 10

Verisure Plugin

PostPosted: Wed Nov 18, 2015 8:36 am
by lindehoff
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

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 9:37 am
by haavarda
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?

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 10:02 am
by jay (support)
Great contribution, thanks!

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 11:50 am
by lindehoff
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

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 11:56 am
by haavarda
Sounds good. Any chance off supporting Yale doorman also?

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 12:33 pm
by DrLaban
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"

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 12:49 pm
by lindehoff
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.

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 12:51 pm
by lindehoff
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?

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 1:36 pm
by DrLaban
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?

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 1:46 pm
by lindehoff
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.

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 2:55 pm
by haavarda
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 :)

Re: Verisure Plugin

PostPosted: Wed Nov 18, 2015 4:15 pm
by lochnesz
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

Re: Verisure Plugin

PostPosted: Thu Nov 19, 2015 12:50 am
by lindehoff
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.

Re: Verisure Plugin

PostPosted: Thu Nov 19, 2015 12:56 am
by lindehoff
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.

Verisure Plugin 0.1.7

PostPosted: Thu Nov 26, 2015 8:28 am
by lindehoff
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