Zigate error with plugin version pre-4.1
Moderator: leecollings
-
- Posts: 16
- Joined: Friday 16 December 2016 15:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Contact:
Zigate error with plugin version pre-4.1
Hi,
I've updated the firmware of my Zigate to 3.0f and also wanted to give the pre-4.1 version of the plugin a try. However I received the the errors below in my logfile. I went back to the stable release and this worked without any problem. What could be the problem with the pre-4.1 version?
2019-02-12 20:09:55.290 Status: (Zigate) load PluginConf
2019-02-12 20:09:55.290 Status: (Zigate) PluginConf: /home/pi/domoticz/plugins/Domoticz-Zigate/./Conf/PluginConf.txt
2019-02-12 20:09:55.293 Error: (Zigate) 'onStart' failed 'NameError':'name 'FreeUnit' is not defined'.
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 476 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 154 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 31 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/AdminWidgets.py', function __init__
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 91 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/AdminWidgets.py', function createStatusWidget
Edit: I'm on the latest beta of Domoticz 4.10427
I've updated the firmware of my Zigate to 3.0f and also wanted to give the pre-4.1 version of the plugin a try. However I received the the errors below in my logfile. I went back to the stable release and this worked without any problem. What could be the problem with the pre-4.1 version?
2019-02-12 20:09:55.290 Status: (Zigate) load PluginConf
2019-02-12 20:09:55.290 Status: (Zigate) PluginConf: /home/pi/domoticz/plugins/Domoticz-Zigate/./Conf/PluginConf.txt
2019-02-12 20:09:55.293 Error: (Zigate) 'onStart' failed 'NameError':'name 'FreeUnit' is not defined'.
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 476 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 154 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 31 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/AdminWidgets.py', function __init__
2019-02-12 20:09:55.293 Error: (Zigate) ----> Line 91 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/AdminWidgets.py', function createStatusWidget
Edit: I'm on the latest beta of Domoticz 4.10427
-
- Posts: 16
- Joined: Friday 16 December 2016 15:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Contact:
Re: Zigate error with plugin version pre-4.1
I think my issue has something to do with this: https://github.com/sasu-drooz/Domoticz- ... PORTANT.md
I completely overlooked this, will try tonight if this solves the issue.
I completely overlooked this, will try tonight if this solves the issue.
-
- Posts: 146
- Joined: Tuesday 26 May 2015 8:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: right here
- Contact:
Re: Zigate error with plugin version pre-4.1
Hi. I am running with succes the pre-4.1 version. You have to copy/move your config to the new place as described. Then it should work fine 

-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
Just redo git pull and it should be ok. Version from yesterday had some issue. It is fixed now
Envoyé de mon iPhone en utilisant Tapatalk
Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 16
- Joined: Friday 16 December 2016 15:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Contact:
Re: Zigate error with plugin version pre-4.1
It's all working now
Thanks!
Thanks!
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
Excellent news
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Zigate error with plugin version pre-4.1
Zigate and domoticz not working after pre-4.1 plugin update ...i can't control anything ...all devices is stuck with last status
2019-02-21 18:33:24.681 Status: (Python Plugin Manager) Entering work loop.
2019-02-21 18:33:24.682 Status: (Python Plugin Manager) Initialized version 1.5.17, author 'ycahome'
2019-02-21 18:33:24.229 Error: (Zigate) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Zigate/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-02-21 18:33:24.229 Error: (Zigate) Module Import failed, exception: 'SyntaxError'
2019-02-21 18:33:24.229 Error: (Zigate) Import detail: File: /home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoticz.py, Line: 901, offset: 30
2019-02-21 18:33:24.230 Error: (Zigate) Error Line ' else value == '00': # Off left
2019-02-21 18:33:24.230 '
2019-02-21 18:33:24.681 Status: (Python Plugin Manager) Entering work loop.
2019-02-21 18:33:24.682 Status: (Python Plugin Manager) Initialized version 1.5.17, author 'ycahome'
2019-02-21 18:33:24.229 Error: (Zigate) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Zigate/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-02-21 18:33:24.229 Error: (Zigate) Module Import failed, exception: 'SyntaxError'
2019-02-21 18:33:24.229 Error: (Zigate) Import detail: File: /home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoticz.py, Line: 901, offset: 30
2019-02-21 18:33:24.230 Error: (Zigate) Error Line ' else value == '00': # Off left
2019-02-21 18:33:24.230 '
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
Are you sure to be on pre-4.1 branch ? It looks that you are on an other branch
could you please do a
git status
and let me know what is the result
could you please do a
git status
and let me know what is the result
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Zigate error with plugin version pre-4.1
On branch livolo
Your branch is up-to-date with 'origin/livolo'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
Data/DeviceList-5.txt
Data/DeviceList-5.txt_2019-02-21-18:19:28
DeviceList-5.txt
DeviceList-5.txt_2019-01-08-18:49:47
DeviceList-5.txt_2019-01-08-19:28:11
DeviceList-5.txt_2019-01-08-19:40:57
DeviceList-5.txt_2019-01-08-19:53:16
DeviceList-5.txt_2019-01-08-20:09:12
DeviceList-5.txt_2019-01-08-20:33:10
DeviceList-5.txt_2019-01-08-22:39:49
DeviceList-5.txt_2019-01-10-18:37:48
DeviceList-5.txt_2019-01-11-08:15:37
DeviceList-5.txt_2019-01-11-19:51:22
DeviceList-5.txt_2019-01-11-20:00:43
DeviceList-5.txt_2019-01-11-20:09:19
DeviceList-5.txt_2019-01-11-20:38:28
DeviceList-5.txt_2019-01-12-10:45:53
DeviceList-5.txt_2019-01-12-12:57:11
DeviceList-5.txt_2019-01-12-13:59:49
DeviceList-5.txt_2019-01-12-20:47:09
DeviceList-5.txt_2019-01-12-20:52:42
DeviceList-5.txt_2019-01-12-21:35:26
DeviceList-5.txt_2019-01-12-21:38:36
DeviceList-5.txt_2019-01-12-22:14:44
DeviceList-5.txt_2019-01-12-22:20:55
DeviceList-5.txt_2019-01-12-23:17:01
DeviceList-5.txt_2019-01-12-23:37:00
DeviceList-5.txt_2019-01-13-00:51:14
DeviceList-5.txt_2019-01-13-21:14:40
DeviceList-5.txt_2019-01-15-21:16:59
DeviceList-5.txt_2019-01-16-20:44:30
DeviceList-5.txt_2019-01-16-20:47:59
DeviceList-5.txt_2019-01-16-21:05:56
DeviceList-5.txt_2019-01-17-18:17:37
DeviceList-5.txt_2019-01-18-12:37:25
DeviceList-5.txt_2019-01-21-18:49:25
DeviceList-5.txt_2019-01-21-19:33:10
DeviceList-5.txt_2019-01-21-19:47:10
DeviceList-5.txt_2019-01-21-21:54:54
DeviceList-5.txt_2019-01-22-23:17:42
DeviceList-5.txt_2019-01-23-04:18:21
DeviceList-5.txt_2019-01-23-11:36:01
DeviceList-5.txt_2019-01-23-21:01:25
DeviceList-5.txt_2019-01-23-21:08:53
DeviceList-5.txt_2019-01-23-21:15:30
DeviceList-5.txt_2019-01-23-21:20:07
DeviceList-5.txt_2019-01-23-21:21:55
DeviceList-5.txt_2019-01-23-21:54:06
DeviceList-5.txt_2019-01-23-22:02:46
DeviceList-5.txt_2019-01-23-22:15:31
DeviceList-5.txt_2019-01-23-22:20:25
DeviceList-5.txt_2019-01-24-14:29:04
DeviceList-5.txt_2019-01-24-15:36:43
DeviceList-5.txt_2019-01-24-15:59:09
DeviceList-5.txt_2019-01-24-16:05:25
DeviceList-5.txt_2019-01-24-19:19:56
DeviceList-5.txt_2019-01-24-19:37:29
DeviceList-5.txt_2019-01-24-19:40:31
DeviceList-5.txt_2019-01-24-19:46:07
DeviceList-5.txt_2019-01-24-19:52:15
DeviceList-5.txt_2019-01-24-20:28:41
DeviceList-5.txt_2019-01-24-20:51:24
DeviceList-5.txt_2019-01-24-20:56:52
DeviceList-5.txt_2019-01-24-20:59:35
DeviceList-5.txt_2019-01-24-21:10:55
DeviceList-5.txt_2019-01-24-21:13:48
DeviceList-5.txt_2019-01-24-21:50:33
DeviceList-5.txt_2019-01-24-22:00:28
DeviceList-5.txt_2019-01-24-22:07:01
DeviceList-5.txt_2019-01-24-22:13:38
DeviceList-5.txt_2019-01-24-22:16:29
DeviceList-5.txt_2019-01-24-22:24:05
DeviceList-5.txt_2019-01-25-18:27:50
DeviceList-5.txt_2019-01-26-09:40:37
DeviceList-5.txt_2019-01-26-10:17:37
DeviceList-5.txt_2019-01-26-10:17:41
DeviceList-5.txt_2019-01-26-11:15:50
DeviceList-5.txt_2019-01-26-14:56:09
DeviceList-5.txt_2019-01-26-15:01:32
DeviceList-5.txt_2019-01-26-15:04:43
DeviceList-5.txt_2019-01-26-18:17:46
DeviceList-5.txt_2019-01-26-18:38:25
DeviceList-5.txt_2019-01-26-18:43:58
DeviceList-5.txt_2019-01-26-18:58:49
DeviceList-5.txt_2019-01-26-19:08:12
DeviceList-5.txt_2019-01-26-19:22:41
DeviceList-5.txt_2019-01-26-19:37:37
DeviceList-5.txt_2019-01-26-19:46:58
DeviceList-5.txt_2019-01-26-19:59:42
DeviceList-5.txt_2019-01-26-20:04:22
DeviceList-5.txt_2019-01-27-13:31:39
DeviceList-5.txt_2019-01-27-13:42:45
DeviceList-5.txt_2019-01-28-18:56:23
DeviceList-5.txt_2019-01-28-19:00:38
DeviceList-5.txt_2019-01-28-21:15:29
DeviceList-5.txt_2019-01-28-21:24:37
DeviceList-5.txt_2019-01-28-21:43:34
DeviceList-5.txt_2019-02-01-19:18:16
DeviceList-5.txt_2019-02-01-19:22:30
DeviceList-5.txt_2019-02-01-19:33:10
DeviceList-5.txt_2019-02-01-19:58:46
DeviceList-5.txt_2019-02-01-22:56:34
DeviceList-5.txt_2019-02-07-09:41:51
DeviceList-5.txt_2019-02-07-09:42:13
DeviceList-5.txt_2019-02-08-17:57:44
DeviceList-5.txt_2019-02-11-21:07:59
DeviceList-5.txt_2019-02-13-18:54:41
DeviceList-5.txt_2019-02-13-20:41:03
DeviceList-5.txt_2019-02-13-20:49:39
DeviceList-5.txt_2019-02-16-13:11:42
DeviceList-5.txt_2019-02-16-17:43:46
DeviceList-5.txt_2019-02-16-18:26:30
DeviceList-5.txt_2019-02-17-18:23:25
DeviceList-5.txt_2019-02-20-20:17:11
DeviceList-5.txt_2019-02-20-20:56:32
DeviceList-5.txt_2019-02-20-23:15:02
DeviceList-5.txt_2019-02-21-18:08:19
Domoticz.py
www/zigate/reports/DeviceList-5.json
nothing added to commit but untracked files present (use "git add" to track)
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
why did you switch to livolo branche !
So the official branches are stable and beta, and I have also annouced pre-4.1
So the official branches are stable and beta, and I have also annouced pre-4.1
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Zigate error with plugin version pre-4.1
I wanted to test it..but now i don't know how can I get back to stable or beta version
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Zigate error with plugin version pre-4.1
Now I switched to beta but i have some errors and i can't to control devices:
2019-02-21 21:46:00.306 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:00.306 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:06.536 (Zigate) Start Network status : Success
2019-02-21 21:46:06.266 Status: (Zigate) You are not on the latest firmware version, please consider to upgrade
2019-02-21 21:46:06.267 Status: (Zigate) You are not on the latest firmware version, This version is known to have problem loosing Xiaomi devices, please consider to upgrae
2019-02-21 21:46:06.267 Status: (Zigate) Plugin with Zigate firmware 030e correctly initialized
2019-02-21 21:46:06.435 Status: (Zigate) Zigate addresses ieee: 00158d0001ed4633 , short addr: 0000
2019-02-21 21:46:06.435 Status: (Zigate) Network state UP, PANID: 7b85 extPANID: 0x063adaced50a9f2e Channel: 11
2019-02-21 21:46:06.535 Status: (Zigate) Network joined / formed Status: 04: Busy Node
2019-02-21 21:46:21.848 (Zigate) onCommand - Command adminWidget: Off
2019-02-21 21:46:21.823 Status: User: florian initiated a switch command (50/Lumina intrare/Off)
2019-02-21 21:46:21.848 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:21.848 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:21.848 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:25.054 (Zigate) onCommand - Command adminWidget: Off
2019-02-21 21:46:25.008 Status: User: florian initiated a switch command (50/Lumina intrare/Off)
2019-02-21 21:46:25.054 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:25.054 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:25.054 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:46.453 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 72d6 with Data : 4c72d6010008000000200001fe
2019-02-21 21:47:00.266 EventSystem: Event triggered: lumina intrare_2
2019-02-21 21:47:00.267 EventSystem: Event triggered: Lumina hol dormitor_2
2019-02-21 21:47:00.710 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 24fb with Data : 6924fb01000600000010000101
2019-02-21 21:47:25.726 Error: (Zigate) Decode8102 - Receiving a message from unknown device : b4a8 with Data : fcb4a801000600000010000101
2019-02-21 21:47:57.586 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 24fb with Data : a324fb010000ff010042002b6410010328259839a470694195394270404105216b019a20100821201307279bd409141301000009210308
2019-02-21 21:48:00.286 EventSystem: Event triggered: lumina intrare_2
2019-02-21 21:48:00.288 EventSystem: Event triggered: Lumina hol dormitor_2
2019-02-21 21:48:50.923 Error: (Zigate) Decode8102 - Receiving a message from unknown device : b32a with Data : f9b32a010000ff010042003164100103282998393108ac42953908930742962334080000052112009a2010082116130727000000000000000009210003
2019-02-21 21:46:00.306 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:00.306 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:00.306 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:06.536 (Zigate) Start Network status : Success
2019-02-21 21:46:06.266 Status: (Zigate) You are not on the latest firmware version, please consider to upgrade
2019-02-21 21:46:06.267 Status: (Zigate) You are not on the latest firmware version, This version is known to have problem loosing Xiaomi devices, please consider to upgrae
2019-02-21 21:46:06.267 Status: (Zigate) Plugin with Zigate firmware 030e correctly initialized
2019-02-21 21:46:06.435 Status: (Zigate) Zigate addresses ieee: 00158d0001ed4633 , short addr: 0000
2019-02-21 21:46:06.435 Status: (Zigate) Network state UP, PANID: 7b85 extPANID: 0x063adaced50a9f2e Channel: 11
2019-02-21 21:46:06.535 Status: (Zigate) Network joined / formed Status: 04: Busy Node
2019-02-21 21:46:21.848 (Zigate) onCommand - Command adminWidget: Off
2019-02-21 21:46:21.823 Status: User: florian initiated a switch command (50/Lumina intrare/Off)
2019-02-21 21:46:21.848 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:21.848 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:21.848 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:25.054 (Zigate) onCommand - Command adminWidget: Off
2019-02-21 21:46:25.008 Status: User: florian initiated a switch command (50/Lumina intrare/Off)
2019-02-21 21:46:25.054 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 21:46:25.054 Error: (Zigate) ----> Line 544 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:25.054 Error: (Zigate) ----> Line 335 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 21:46:46.453 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 72d6 with Data : 4c72d6010008000000200001fe
2019-02-21 21:47:00.266 EventSystem: Event triggered: lumina intrare_2
2019-02-21 21:47:00.267 EventSystem: Event triggered: Lumina hol dormitor_2
2019-02-21 21:47:00.710 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 24fb with Data : 6924fb01000600000010000101
2019-02-21 21:47:25.726 Error: (Zigate) Decode8102 - Receiving a message from unknown device : b4a8 with Data : fcb4a801000600000010000101
2019-02-21 21:47:57.586 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 24fb with Data : a324fb010000ff010042002b6410010328259839a470694195394270404105216b019a20100821201307279bd409141301000009210308
2019-02-21 21:48:00.286 EventSystem: Event triggered: lumina intrare_2
2019-02-21 21:48:00.288 EventSystem: Event triggered: Lumina hol dormitor_2
2019-02-21 21:48:50.923 Error: (Zigate) Decode8102 - Receiving a message from unknown device : b32a with Data : f9b32a010000ff010042003164100103282998393108ac42953908930742962334080000052112009a2010082116130727000000000000000009210003
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
I suggest that you swicth to pre-4.1 as you have been and stay with it.
git pull
git check-out pre-4.1
git pull
git check-out pre-4.1
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
I would also suggest to do some cleanup
stop domoticz
go to the Domoticz-Zigate folder
stop domoticz
go to the Domoticz-Zigate folder
Code: Select all
rm -rf __pycache__
cd Modules
rm -rf __pycache__
cd ../Classes
rm -rf __pycache__
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Zigate error with plugin version pre-4.1
I followed this steps but i have same errors and all devices are stuck with last status:
019-02-21 22:10:00.447 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 555 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 343 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:00.447 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 555 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 343 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:16.666 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 24fb with Data : fb24fb01000600000010000101
019-02-21 22:10:00.447 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 555 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 343 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:00.447 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 555 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:00.447 Error: (Zigate) ----> Line 343 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 22:10:16.666 Error: (Zigate) Decode8102 - Receiving a message from unknown device : 24fb with Data : fb24fb01000600000010000101
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Zigate error with plugin version pre-4.1
I solved with backup sd-card clone from january. Thank you pipche for your help!
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Zigate error with plugin version pre-4.1
I tested now and errors appear after update domoticz to the last beta version(4.10446) !!!
Please check Domoticz 4.10446 + plugin beta2019-02-21 23:02:58.609 Error: (Zigate) 'onCommand' failed 'TypeError':'handleCommand() takes 2 positional arguments but 3 were given'.
2019-02-21 23:02:58.609 Error: (Zigate) ----> Line 555 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
2019-02-21 23:02:58.609 Error: (Zigate) ----> Line 343 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onCommand
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
Running DomoticzVersion: 4.10446 and no issue.
Is that a Beta that you are building yourself ? This looks as a Python issue. What is the Python version you are using. As well as the Pythojn libraries. The python display the information in the log at startup.
Is that a Beta that you are building yourself ? This looks as a Python issue. What is the Python version you are using. As well as the Pythojn libraries. The python display the information in the log at startup.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Zigate error with plugin version pre-4.1
@pfloryann, I think that I have found a way to duplicate the problem outside of the Zigate plugin.
Could you kindly do the following:
go to the folder domoticz/plugins/examples/
you should find a file named BaseTemplate.py
go to the folder domoticz/plugins
mkdir Test
cp examples/BaseTemplate.py Test/plugin.py
restart domoticz
Add a new Hardware Type: "Basic Python Plugin Example"
If you look to the log file, you'll see a message every 10s : onHeartbeat called
Stop domoticz
go to domoticz/plugins/Test
edit the file plugin.py
and at line 27 add the following "import sqlite3"
Save the file
Restart Domoticz, and then look at the logs. You should not see the "heartbeat called" messages any more and that should be stuck to Initialized version 1.0.0, author 'gizmocuz'
Could you kindly do the following:
go to the folder domoticz/plugins/examples/
you should find a file named BaseTemplate.py
go to the folder domoticz/plugins
mkdir Test
cp examples/BaseTemplate.py Test/plugin.py
restart domoticz
Add a new Hardware Type: "Basic Python Plugin Example"
If you look to the log file, you'll see a message every 10s : onHeartbeat called
Stop domoticz
go to domoticz/plugins/Test
edit the file plugin.py
and at line 27 add the following "import sqlite3"
Save the file
Restart Domoticz, and then look at the logs. You should not see the "heartbeat called" messages any more and that should be stuck to Initialized version 1.0.0, author 'gizmocuz'
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 21
- Joined: Tuesday 30 April 2019 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zigate error with plugin version pre-4.1
For me, the solution was to install sqlite3 via
pip install pysqlite
pip install pysqlite3
and it works now
pip install pysqlite
pip install pysqlite3
and it works now

Who is online
Users browsing this forum: Amazon [Bot] and 1 guest