Verisure Plugin

Plugins that users have built. NOTE: plugins that were developed for Indigo versions older than 2022.1 will have to be updated to work with Indigo 2022.1 (Python 3 - see this blog post for details). If the plugin listed here is not in the Plugin Store (which will show updated plugins) then you will need to ask on the appropriate thread below if it has been updated and where you get get the update.
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Re: Verisure Plugin

Post by lindehoff »

haavarda wrote:Hi, just downloaded the latest version, and I am getting the following error:

Code: Select all

 Reloading plugin "Verisure 0.2.5"
  Stopping plugin "Verisure 0.2.5" (pid 88239)
  Verisure Debug                  shutdown called
  Z-Wave                          received "Ventilation unit" energy total to 330.316 kWh
  Stopped plugin "Verisure 0.2.5"
  Starting plugin "Verisure 0.2.5" (pid 88249)
  Started plugin "Verisure 0.2.5"
  Verisure Debug                  startup called
  Verisure Debug                  Debug is set to: True
  Verisure Debug                  Checking status for all Verisure Devices
  Verisure Error                  Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 91, in runConcurrentThread
  File "plugin.py", line 155, in _refreshAlarmStatesFromVerisure
  File "plugin.py", line 159, in _updateDevUI
  File "plugin.py", line 214, in secSinceLastUpdate
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/_strptime.py", line 325, in _strptime
<type 'exceptions.ValueError'>: time data '' does not match format '%Y-%m-%d %H:%M:%S'

  Verisure Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  Disabling plugin "Verisure 0.2.5"
  Stopping plugin "Verisure 0.2.5" (pid 88249)
  Verisure Debug                  shutdown called
Something with the date format?
Are you upgrading from a previous version you will have to delete your old Verisure devices and add them again., this i because I have had to make some changes in the devices.xml file.
User avatar
haavarda
Posts: 702
Joined: Sat Aug 18, 2012 4:40 am
Location: Norway

Re: Verisure Plugin

Post by haavarda »

That did the trick. Thanks for your help.
Håvard
reitoo
Posts: 1
Joined: Mon Dec 14, 2015 2:46 pm

Re: Verisure Plugin

Post by reitoo »

Hi, I just installed the plugin and I got a strange behavior.
It look like an infinite loop that just fills the log:

" Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config"


And when I try to configure the plugin I just get a loading ball and then Indigo crashes.
Is there any config file I can add the login details to?
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Re: Verisure Plugin

Post by lindehoff »

reitoo wrote:Hi, I just installed the plugin and I got a strange behavior.
It look like an infinite loop that just fills the log:

" Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config"


And when I try to configure the plugin I just get a loading ball and then Indigo crashes.
Is there any config file I can add the login details to?
I'm sorry it's not working, I'm woking on a fix that hopefully will be ready to night.
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Re: Verisure Plugin

Post by lindehoff »

reitoo wrote:Hi, I just installed the plugin and I got a strange behavior.
It look like an infinite loop that just fills the log:

" Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config
Verisure Debug Checking status for all Verisure Devices
Verisure Debug Currently not logged in, try again.
Verisure Error Must enter Username and Password in Plugin Config"


And when I try to configure the plugin I just get a loading ball and then Indigo crashes.
Is there any config file I can add the login details to?
I want to test the update for 24 h before I release it but here is a beta version that hopefully fixes you issue.
lochnesz
Posts: 373
Joined: Wed Oct 01, 2014 5:23 am
Location: Stockholm, Sweden

Re: Verisure Plugin

Post by lochnesz »

lindehoff wrote:
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.
Would it be much work getting the plugin to work with other regions? I'd like to add a feature request for that. Image

Thanks!
Peter
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Re: Verisure Plugin

Post by lindehoff »

lochnesz wrote:
lindehoff wrote:
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.
Would it be much work getting the plugin to work with other regions? I'd like to add a feature request for that. Image

Thanks!
Peter
This plugin heavily relies with Verisure MyPage, https://mypages.verisure.com. Witch other region are you thinking about and do they have an homepage in witch you can control the alarm from?
lochnesz
Posts: 373
Joined: Wed Oct 01, 2014 5:23 am
Location: Stockholm, Sweden

Re: Verisure Plugin

Post by lochnesz »

Verisure Spain would be very nice to include. It can be controlled from their web https://customers.securitasdirect.es

Peter
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Re: Verisure Plugin

Post by lindehoff »

lochnesz wrote:Verisure Spain would be very nice to include. It can be controlled from their web https://customers.securitasdirect.es

Peter
To be able too write support for other Verisure sites one needs an account so that you can inspect the traffic going form the browser.
DrLaban
Posts: 53
Joined: Tue Apr 28, 2015 10:30 am
Location: Norway

Re: Verisure Plugin

Post by DrLaban »

It seems like the plugin locked my Verisure account now.
If I try to login using the webpage it says that my account is blocked for 10 minutes.
No call from Verisure, but I have now disabled the plugin to see if the account is enabled again.
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Re: Verisure Plugin

Post by lindehoff »

That's because Verisure had some problems yesterday. I have built a fail safe so the plugin sleeps for 10 minute if Verisure will have the same problem again. I'm currently testing the update, hopefully I will release the update later this weekend
DrLaban
Posts: 53
Joined: Tue Apr 28, 2015 10:30 am
Location: Norway

Re: Verisure Plugin

Post by DrLaban »

Sounds great! :)
lindehoff
Posts: 80
Joined: Sat Aug 08, 2015 5:10 am

Verisure Plugin 0.2.6

Post by lindehoff »

New version available 0.2.6
Sorry for the delay, my kids had vomiting disease and ear infection this weekend so no time for coding :?

Improvements
  • Fix bug #13 #17 #18
  • Updated to version 0.3.3 of Per Sandströms python-verisure module
  • Adds support for update checker
  • Improves error handling
User avatar
haavarda
Posts: 702
Joined: Sat Aug 18, 2012 4:40 am
Location: Norway

Re: Verisure Plugin

Post by haavarda »

Hi. The verisure my Pages has a possibility to enable or disable auto locking of the door. Is this possible to add to the plugin? If there is a lot of of traffic through the door it would be nice to disable auto lock for 1 hour etc...

Thanks for a great plugin!
Håvard
User avatar
haavarda
Posts: 702
Joined: Sat Aug 18, 2012 4:40 am
Location: Norway

Re: Verisure Plugin

Post by haavarda »

Some pictures to show how this interface is illustrated on my pages.
Attachments
Skjermbilde 2016-01-10 kl. 11.59.22.png
Skjermbilde 2016-01-10 kl. 11.59.22.png (30.98 KiB) Viewed 7790 times
Skjermbilde 2016-01-10 kl. 11.59.10.png
Skjermbilde 2016-01-10 kl. 11.59.10.png (29.45 KiB) Viewed 7790 times
Skjermbilde 2016-01-10 kl. 11.58.50.png
Skjermbilde 2016-01-10 kl. 11.58.50.png (19.62 KiB) Viewed 7790 times
Håvard
Post Reply

Return to “User Plugins”