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¶m=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!
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