Python Plugin: Woonvelig Gate01 Alarmsystem Topic is solved
Moderator: leecollings
-
- Posts: 2
- Joined: Wednesday 27 September 2017 7:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
Thank u for your reply,
if I change in the plugin.py:
sys.path.append('/usr/local/lib/python3.4/dist-packages')
to
sys.path.append('/usr/local/lib/python3.5/dist-packages')
I become:
2017-09-27 13:41:26.271 Error: (Egardia) 'onStart' failed 'UnicodeDecodeError'.
2017-09-27 13:41:26.271 Error: (Egardia) ----> Line 141 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onStart
2017-09-27 13:41:26.272 Error: (Egardia) ----> Line 43 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onStart
2017-09-27 13:41:26.272 Error: (Egardia) ----> Line 198 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function MakeRequest
2017-09-27 13:41:26.653 Incoming connection from: 192.168.178.21
2017-09-27 13:41:35.588 (Egardia) Calling message handler 'onHeartbeat'.
2017-09-27 13:41:35.588 (Egardia) onHeartbeat called
2017-09-27 13:41:35.755 Error: (Egardia) 'onHeartbeat' failed 'UnicodeDecodeError'.
2017-09-27 13:41:35.755 Error: (Egardia) ----> Line 169 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-09-27 13:41:35.755 Error: (Egardia) ----> Line 115 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-09-27 13:41:35.755 Error: (Egardia) ----> Line 198 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function MakeRequest
if I change in the plugin.py:
sys.path.append('/usr/local/lib/python3.4/dist-packages')
to
sys.path.append('/usr/local/lib/python3.5/dist-packages')
I become:
2017-09-27 13:41:26.271 Error: (Egardia) 'onStart' failed 'UnicodeDecodeError'.
2017-09-27 13:41:26.271 Error: (Egardia) ----> Line 141 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onStart
2017-09-27 13:41:26.272 Error: (Egardia) ----> Line 43 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onStart
2017-09-27 13:41:26.272 Error: (Egardia) ----> Line 198 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function MakeRequest
2017-09-27 13:41:26.653 Incoming connection from: 192.168.178.21
2017-09-27 13:41:35.588 (Egardia) Calling message handler 'onHeartbeat'.
2017-09-27 13:41:35.588 (Egardia) onHeartbeat called
2017-09-27 13:41:35.755 Error: (Egardia) 'onHeartbeat' failed 'UnicodeDecodeError'.
2017-09-27 13:41:35.755 Error: (Egardia) ----> Line 169 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-09-27 13:41:35.755 Error: (Egardia) ----> Line 115 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-09-27 13:41:35.755 Error: (Egardia) ----> Line 198 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function MakeRequest
-
- Posts: 9
- Joined: Saturday 04 November 2017 13:48
- Target OS: Linux
- Domoticz version: 2021.1
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
Hey,
I have a question. Does this work with the "woonveilig gate03" ??
I have a question. Does this work with the "woonveilig gate03" ??
- fvdijke
- Posts: 6
- Joined: Monday 19 June 2017 20:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8000
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
Hi,
I think i did evrything correct. Checked the sys.path, checked the exsistance of demjson.py but i end up with this message:
Did i overlooked something?
Thanks in advance
I think i did evrything correct. Checked the sys.path, checked the exsistance of demjson.py but i end up with this message:
Code: Select all
2017-11-08 18:26:06.173 Error: (Woonveilig) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-woonveilig/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2017-11-08 18:26:06.173 Error: (Woonveilig) Module Import failed, exception: 'IndentationError'
2017-11-08 18:26:06.173 Error: (Woonveilig) Import detail: File: /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, Line: 1978305016, offset: 46
2017-11-08 18:26:06.174 Error: (Woonveilig) Error Line 'x if (sensor["type"] == "Door Contact"):
Thanks in advance
- fvdijke
- Posts: 6
- Joined: Monday 19 June 2017 20:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8000
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
So i tried to reinstall the plugin by: git clone https://github.com/StuffNL/domoticz-woonveilig.git (removed the old installation first) i get:fvdijke wrote: ↑Wednesday 08 November 2017 18:34 Hi,
I think i did evrything correct. Checked the sys.path, checked the exsistance of demjson.py but i end up with this message:
Did i overlooked something?Code: Select all
2017-11-08 18:26:06.173 Error: (Woonveilig) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-woonveilig/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'. 2017-11-08 18:26:06.173 Error: (Woonveilig) Module Import failed, exception: 'IndentationError' 2017-11-08 18:26:06.173 Error: (Woonveilig) Import detail: File: /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, Line: 1978305016, offset: 46 2017-11-08 18:26:06.174 Error: (Woonveilig) Error Line 'x if (sensor["type"] == "Door Contact"):
Thanks in advance
Code: Select all
2017-11-08 18:37:29.916 Error: (Woonveilig) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-woonveilig/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2017-11-08 18:37:29.916 Error: (Woonveilig) Module Import failed, exception: 'ImportError'
2017-11-08 18:37:29.916 Error: (Woonveilig) Module Import failed: ' Name: demjson'
2017-11-08 18:37:29.916 Error: (Woonveilig) Error Line details not available.
I think its working now
This my log:
Code: Select all
2017-11-08 19:29:30.139 (Woonveilig) Initialized version 1.1.0, author 'Steven van den Beemt'
2017-11-08 19:29:30.514 (Woonveilig) Devices initialized.
2017-11-08 19:29:39.987 (Woonveilig) Update 0:'False' (Woonveilig - Gang bened)
2017-11-08 19:29:39.990 (Woonveilig) Update 0:'False' (Woonveilig - Woonkamer)
2017-11-08 19:29:39.992 (Woonveilig) Update 0:'False' (Woonveilig - Fietsenber)
2017-11-08 19:29:40.097 Error: (Woonveilig) 'onHeartbeat' failed 'KeyError'.
2017-11-08 19:29:40.097 Error: (Woonveilig) ----> Line 165 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-11-08 19:29:40.097 Error: (Woonveilig) ----> Line 125 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-11-08 19:29:48.414 (Dummy) General/Custom Sensor (Plantensensor)
2017-11-08 19:29:50.085 Error: (Woonveilig) 'onHeartbeat' failed 'KeyError'.
2017-11-08 19:29:50.085 Error: (Woonveilig) ----> Line 165 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-11-08 19:29:50.085 Error: (Woonveilig) ----> Line 125 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-11-08 19:30:00.064 Error: (Woonveilig) 'onHeartbeat' failed 'KeyError'.
2017-11-08 19:30:00.064 Error: (Woonveilig) ----> Line 165 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-11-08 19:30:00.064 Error: (Woonveilig) ----> Line 125 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-11-08 19:30:10.075 Error: (Woonveilig) 'onHeartbeat' failed 'KeyError'.
2017-11-08 19:30:10.075 Error: (Woonveilig) ----> Line 165 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2017-11-08 19:30:10.075 Error: (Woonveilig) ----> Line 125 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
-
- Posts: 1
- Joined: Monday 20 November 2017 13:41
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
Roughly the same errors here after redirecting to Python3.5 . I must say however I am using a Gate02 and at the alarm panel site of my woonveilig system some terms differ from the plugin. I.e. sensorListGet in the plugin is deviceListGet in the alarm panel etc.
-
- Posts: 2
- Joined: Monday 13 October 2014 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
Does this also work with the gate03 system?
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
I have a Gate 03.
Installed as provided and get the next errors:
What can be the problem?
Edited script to sys.path.append('/usr/local/lib/python3.5/dist-packages') and demsjon.py is insite this folder.
Installed as provided and get the next errors:
Code: Select all
2018-07-20 11:12:43.329 Error: (Woonveilig) 'onHeartbeat' failed 'URLError'.
2018-07-20 11:12:43.330 Error: (Woonveilig) ----> Line 165 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2018-07-20 11:12:43.330 Error: (Woonveilig) ----> Line 111 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function onHeartbeat
2018-07-20 11:12:43.330 Error: (Woonveilig) ----> Line 193 in /home/pi/domoticz/plugins/domoticz-woonveilig/plugin.py, function MakeRequest
2018-07-20 11:12:43.330 Error: (Woonveilig) ----> Line 163 in /usr/lib/python3.5/urllib/request.py, function urlopen
2018-07-20 11:12:43.330 Error: (Woonveilig) ----> Line 466 in /usr/lib/python3.5/urllib/request.py, function open
2018-07-20 11:12:43.330 Error: (Woonveilig) ----> Line 484 in /usr/lib/python3.5/urllib/request.py, function _open
2018-07-20 11:12:43.331 Error: (Woonveilig) ----> Line 444 in /usr/lib/python3.5/urllib/request.py, function _call_chain
2018-07-20 11:12:43.331 Error: (Woonveilig) ----> Line 1282 in /usr/lib/python3.5/urllib/request.py, function http_open
2018-07-20 11:12:43.331 Error: (Woonveilig) ----> Line 1260 in /usr/lib/python3.5/urllib/request.py, function do_open
Edited script to sys.path.append('/usr/local/lib/python3.5/dist-packages') and demsjon.py is insite this folder.
-
- Posts: 1
- Joined: Sunday 23 July 2017 9:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8119
- Location: south-limbourgia (NL)
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
I also have the gate 03 and had the same errors. Found another plugin that works with the gate 03, but at this moment you cannot set the state of the alarm from within domoticz.
https://github.com/System67/GateKeeper/ ... /plugin.py
https://github.com/System67/GateKeeper/ ... /plugin.py
-
- Posts: 10
- Joined: Friday 28 July 2017 21:26
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
Wow cool, thanks for this tip! This made my day I was looking for a way to integrate my alarm with Domoticz in this way for some time now...Tvanoirschot wrote: ↑Thursday 02 August 2018 16:30 I also have the gate 03 and had the same errors. Found another plugin that works with the gate 03, but at this moment you cannot set the state of the alarm from within domoticz.
https://github.com/System67/GateKeeper/ ... /plugin.py
If you want to control your alarm from Domoticz in the meantime, I have made this work using the script from:
http://www.domoticz.com/forum/viewtopic ... t=30#p2301
-
- Posts: 1
- Joined: Saturday 23 November 2019 16:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Woonvelig Gate01 Alarmsystem
I just started with Domoticz and found this plugin very useful to integrate in my Woonveilig security system.
I was able to adapt the plugin to include my 'Slimme Stekkers'. Maybe this is also of interest to others.
I was able to adapt the plugin to include my 'Slimme Stekkers'. Maybe this is also of interest to others.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest