Verisure alarm status

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
phloks
Posts: 7
Joined: Friday 21 July 2017 9:59
Target OS: Linux
Domoticz version: 3.8185
Location: NL
Contact:

Verisure alarm status

Post by phloks »

Hi,

I'm new to domoticz, but was already successful in monitoring my P1 smart meter, Nefit thermostat and most of the things that can be monitored from Verisure's MyPage website.
The only thing I cannot get to work is the alarm status.
I used the script in this thread viewtopic.php?t=9763#p130113 to read the devices I have at home.
The alarm status (DISARMED, ARMED_AWAY and one more I believe) can be seen when I use Per Sandstrom's vsure ( vsure <user> <pass> overview), and from what I read in several posts, I need to define a dummy hardware device, with a virtual device type of Alert (or Text, tried both).
However, when running the script after the state of the alarm has changed, I see the following error :

Code: Select all

2017-07-21 09:45:08,893  - Updating alarm state to On                                                                                                                                                
[code]2017-07-21 09:45:08,893 ** Entered CallDomoticz(http://localhost:8080/json.htm?type=command&param=switchlight&idx=26&switchcmd=On) **
[code]2017-07-21 09:45:08,900 Output: {'message': 'Error sending switch command, check device/hardware !', 'title': 'SwitchLight', 'status': 'ERROR'}
[code]2017-07-21 09:45:08,901 ERROR: error occurred querying Domoticz! Full output available in debug.
[code]2017-07-21 09:45:08,902 ERROR: Update not sent to Domoticz for device 26!
I tried setting the loglevel to debug, but that did not make the error more clear.

Anyone here who has this working, and is willing to help me out, please ?
I must have made a mistake somewhere, or the JSON output from MyPages has changed since the script was written, I don't know....

Hope to hear from you.

Regards,
Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest