Page 2 of 10

Re: Verisure Plugin

PostPosted: Thu Nov 26, 2015 10:47 am
by DrLaban
The new version with Yale support works like a charm :) Nice work!

Re: Verisure Plugin 0.1.7

PostPosted: Thu Nov 26, 2015 12:11 pm
by DrLaban
lindehoff wrote:
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


I get this error after the update. The unit which is the siren startet to report these errors. All other devices seems to be OK.

Unable to update device state on server. Device: Kjøkken - Temp - Verisure, Reason: 'ascii' codec can't encode character u'\xf8' in position 2: ordinal not in range(128)
Error IllegalParameterError -- device value type for state key sensorValue must be real

Did you change anything with the character set in the new release? I deleted the Device called "Kjøkken - Temp - Verisure" and created a new called "Kitchen - Temp - Verisure".
Seems OK now. Didn't have this problem in the previous version. It could be the Norwegian character Ø that is causing the problem.

Re: Verisure Plugin

PostPosted: Thu Nov 26, 2015 12:23 pm
by jens
Must be that have same problem with ö in Sweden


Sent from my iPhone 6 using Tapatalk

Re: Verisure Plugin 0.1.7

PostPosted: Thu Nov 26, 2015 12:32 pm
by lindehoff
DrLaban wrote:
I get this error after the update. The unit which is the siren startet to report these errors. All other devices seems to be OK.

Unable to update device state on server. Device: Kjøkken - Temp - Verisure, Reason: 'ascii' codec can't encode character u'\xf8' in position 2: ordinal not in range(128)
Error IllegalParameterError -- device value type for state key sensorValue must be real

Did you change anything with the character set in the new release? I deleted the Device called "Kjøkken - Temp - Verisure" and created a new called "Kitchen - Temp - Verisure".
Seems OK now. Didn't have this problem in the previous version. It could be the Norwegian character Ø that is causing the problem.


I've added it as a bug, #10, and look in to it as soon as I can.

Did it work before the update?

Re: Verisure Plugin 0.1.7

PostPosted: Thu Nov 26, 2015 12:34 pm
by DrLaban
lindehoff wrote:
DrLaban wrote:
I get this error after the update. The unit which is the siren startet to report these errors. All other devices seems to be OK.

Unable to update device state on server. Device: Kjøkken - Temp - Verisure, Reason: 'ascii' codec can't encode character u'\xf8' in position 2: ordinal not in range(128)
Error IllegalParameterError -- device value type for state key sensorValue must be real

Did you change anything with the character set in the new release? I deleted the Device called "Kjøkken - Temp - Verisure" and created a new called "Kitchen - Temp - Verisure".
Seems OK now. Didn't have this problem in the previous version. It could be the Norwegian character Ø that is causing the problem.


I've added it as a bug, #10, and look in to it as soon as I can.

Did it work before the update?


Yepp, Not a problem before the update.

Re: Verisure Plugin 0.1.7

PostPosted: Thu Nov 26, 2015 1:00 pm
by lindehoff
DrLaban wrote:
Did it work before the update?


Yepp, Not a problem before the update.[/quote]

I think I found the bug, try this 0.1.8

Re: Verisure Plugin

PostPosted: Thu Nov 26, 2015 1:09 pm
by DrLaban
Installed it and renamed the device again. Seems OK now :) You're fast!

Re: Verisure Plugin

PostPosted: Thu Nov 26, 2015 2:23 pm
by jens
Thanks now IT works for me to :)


Skickat från min iPad med Tapatalk

Re: Verisure Plugin

PostPosted: Thu Nov 26, 2015 2:55 pm
by haavarda
Working good with my setup as well. Thanks for the implementation of the lock!

Re: Verisure Plugin

PostPosted: Fri Nov 27, 2015 7:26 am
by DrLaban
I notice that this error was introduced in the latest version too

27 Nov 2015 11:40:03
Verisure Error invalid syntax (<string>, line 34), trying to relogging in

27 Nov 2015 11:47:13
Verisure Error invalid syntax (<string>, line 34), trying to relogging in

27 Nov 2015 14:06:45
Verisure Error invalid syntax (<string>, line 34), trying to relogging in


Happend a couple of times last night and three times today.

Re: Verisure Plugin

PostPosted: Fri Dec 11, 2015 5:12 am
by lindehoff
DrLaban wrote:
I notice that this error was introduced in the latest version too
27 Nov 2015 11:40:03
Verisure Error invalid syntax (<string>, line 34), trying to relogging in
27 Nov 2015 11:47:13
Verisure Error invalid syntax (<string>, line 34), trying to relogging in
27 Nov 2015 14:06:45
Verisure Error invalid syntax (<string>, line 34), trying to relogging in

Happend a couple of times last night and three times today.


I think this comes from verisure side. I've added the issue and will look in to it.

New version 0.2.5

PostPosted: Fri Dec 11, 2015 5:12 am
by lindehoff
New version available 0.2.5
Update Device Support
  • Alarm

New Actions
  • Update Alarm Status, Arm_Away, Arm_Home and Disarm

Other improvements
  • Fix bug #10
  • Updated to version 0.3.2 of Per Sandströms python-verisure module
  • Big code rewrite to support the new version of python-verisure module
  • Improves error handling

Upgrade
To upgrade to this version you just double click the file.
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.

Re: Verisure Plugin

PostPosted: Sat Dec 12, 2015 3:27 am
by DrLaban
Just downloaded the latest version (0.2.5) and installed it but it states that it is 0.2.0 inside Indigo.

Re: Verisure Plugin

PostPosted: Sat Dec 12, 2015 7:29 am
by lindehoff
DrLaban wrote:
Just downloaded the latest version (0.2.5) and installed it but it states that it is 0.2.0 inside Indigo.

Good catch, I uploaded the wrong file. I have now uploaded the correct one, please try again.
https://github.com/lindehoff/Indigo-Verisure/releases/download/0.2.5/Verisure.indigoPlugin.zip

Re: Verisure Plugin

PostPosted: Sun Dec 13, 2015 1:47 am
by haavarda
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?