plugin Zigate (USB+WiFi) - 2.4.0 Topic is solved

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

Moderators: leecollings, remb0

pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

We are keen to release this version off the Zigate Plugin, which include a set of update, enhacement and bugfixing.

- Configuration file to enable further configuration parameters
- New data capture from the zigate hardware. It involved also on the fly lenght and checksum validation, in order to ensure proper data transmitted to the plugin feature.
- Reporting device signal quality to Domoticz through RSSI.
- Reporting in the log at plugin start, the Zigate firmware version. We recommend using 03.0d
- Reporting in the log at plugin start and if the firmware version is greater than 03.0b
- We have onboarded a number of new devices ( Xcube Aqara, TRADFRI LED LED1624G9, ...) all of them are now documented in a file name : Compatible-Hardware.md . Feel free to let us know if you are using a device not listed there and working properly.
- Implementation of polling of Profalux shutter state, in order to update Domoticz devices in case of direct radio-command
- a number of bug fixes.

Please make sure to do a restart of the domoticz system in order that all changes are taken into account.

Please feel free to report issue through github: https://github.com/sasu-drooz/Domoticz-Zigate/issues
And if you have any questions, problem please use first the Domoticz forum.
- French channel : https://easydomoticz.com/forum/viewtopic.php?f=8&t=7099
- English channel : https://www.domoticz.com/forum/

If you want to contribue , please let us know , we are looking for help in various areas:
- certifying new ZigBee devices
- improving the plugin
- increasing the level of documentation for end user
Last edited by pipiche on Saturday 08 September 2018 11:22, edited 1 time in total.
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
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by LouiS22 »

2018-09-08 11:03:00.120 Error: (zigate) ----> Line 678 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2018-09-08 11:03:00.120 Error: (zigate) ----> Line 147 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2018-09-08 11:03:00.120 Error: (zigate) 'onMessage' failed 'NameError':'name 'ReqRcv' is not defined'.

Any ideas?
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

Which branch are you ?
Python version you are using ?
Last edited by pipiche on Saturday 08 September 2018 11:07, edited 1 time in total.
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
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by LouiS22 »

pipiche wrote: Saturday 08 September 2018 11:04 Which branch are you ?
On Domoticz? Latest beta (4.9992).
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

What about the Zigate plugin ? is that the Master ?

The variable is define is line 140 of the code !
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
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by LouiS22 »

pipiche wrote: Saturday 08 September 2018 11:08 What about the Zigate plugin ? is that the Master ?

The variable is define is line 140 of the code !
Yes, installed it via github, as description provided. Python version is 3.5.3, if that counts.

Did a restart.

2018-09-08 11:07:50.821 Error: (zigate) 'onStart' failed 'FileNotFoundError'.
2018-09-08 11:07:50.821 Error: (zigate) ----> Line 666 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2018-09-08 11:07:50.821 Error: (zigate) ----> Line 78 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
2018-09-08 11:07:51.225 Error: (zigate) 'onMessage' failed 'NameError':'name 'ReqRcv' is not defined'.
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by LouiS22 »

Ok, I sorted out. Removed the whole folder, restarted Domoticz, pulled from git, restarted again. Seems ok now, at least no messages in error log.

2018-09-08 11:18:46.647 Status: (Zigate) Started.
2018-09-08 11:18:47.003 Status: (Zigate) Entering work loop.
2018-09-08 11:18:47.004 Status: (Zigate) Initialized version 2.4.0, author 'zaraki673 pipiche38'
2018-09-08 11:18:47.013 Status: (Zigate) Zigate enter in discover mode for 254 Secs
2018-09-08 11:18:47.139 Status: (Zigate) Major Version Num: 0001
2018-09-08 11:18:47.139 Status: (Zigate) Installer Version Number: 030d
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

LouiS22 wrote: Saturday 08 September 2018 11:20 Ok, I sorted out. Removed the whole folder, restarted Domoticz, pulled from git, restarted again. Seems ok now, at least no messages in error log.

2018-09-08 11:18:46.647 Status: (Zigate) Started.
2018-09-08 11:18:47.003 Status: (Zigate) Entering work loop.
2018-09-08 11:18:47.004 Status: (Zigate) Initialized version 2.4.0, author 'zaraki673 pipiche38'
2018-09-08 11:18:47.013 Status: (Zigate) Zigate enter in discover mode for 254 Secs
2018-09-08 11:18:47.139 Status: (Zigate) Major Version Num: 0001
2018-09-08 11:18:47.139 Status: (Zigate) Installer Version Number: 030d
Thanks a lot , I have updated the initial post in order to recommand a restart of Domoticz, as indeed we have also done few changes in the plugin headers ;-)

@LouiS22 thanks for finding out the solution
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
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

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
lazara007
Posts: 14
Joined: Monday 30 March 2015 14:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by lazara007 »

LouiS22 wrote: Saturday 08 September 2018 11:20 Ok, I sorted out. Removed the whole folder, restarted Domoticz, pulled from git, restarted again. Seems ok now, at least no messages in error log.

2018-09-08 11:18:46.647 Status: (Zigate) Started.
2018-09-08 11:18:47.003 Status: (Zigate) Entering work loop.
2018-09-08 11:18:47.004 Status: (Zigate) Initialized version 2.4.0, author 'zaraki673 pipiche38'
2018-09-08 11:18:47.013 Status: (Zigate) Zigate enter in discover mode for 254 Secs
2018-09-08 11:18:47.139 Status: (Zigate) Major Version Num: 0001
2018-09-08 11:18:47.139 Status: (Zigate) Installer Version Number: 030d
It worked, error messages gone. thanks.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by EdddieN »

Installed the plugin but cannot even see it under Hardware.

I have python 3.5.x but also python 2.7.x wonder if the plugin is picking 2.7 instead of 3.5? Any ideas how to fix this?

I'm using the Zigate USB TTL (no wifi)
11101101 - www.machinon.com
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

EdddieN wrote: Sunday 14 October 2018 13:16 Installed the plugin but cannot even see it under Hardware.

I have python 3.5.x but also python 2.7.x wonder if the plugin is picking 2.7 instead of 3.5? Any ideas how to fix this?

I'm using the Zigate USB TTL (no wifi)
Try to google it , at least that one is a good start : https://www.domoticz.com/wiki/Using_Python_plugins
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
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by EdddieN »

Thanks! It looks like I have the libpython as per the wiki too. However I get this on the log file:
PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform
I have version 3.5.3 so I install lipbython3.5, same error on log file. Then looked here and went through the steps:
http://www.domoticz.com/wiki/Linux#Prob ... ing_Python -> All seemed ok but still error on the log file

Then reverted to 3.4:

Code: Select all

sudo apt-get install python3.4 libpython3.4 python3.4-dev
and it worked, ZiGate plugin was there. Not to make it work I guess
11101101 - www.machinon.com
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

Which error do you have ?
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
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by EdddieN »

None! It works now. I had to go back to python version 3.4 and now all is working.

Quick thing: Instead of reseting HUE lights, can I join an existing network with it? I have several HUE colour, LED strips, Iris, Bloom... and would prefer to join the network rather than having to start from zero.

Is this possible?
11101101 - www.machinon.com
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

Quick thing: Instead of reseting HUE lights, can I join an existing network with it? I have several HUE colour, LED strips, Iris, Bloom... and would prefer to join the network rather than having to start from zero.
Not sure I fully understand what you want, but in general Devices must be created in Domoticz and currently the process requires the pairing process to do so.
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
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by EdddieN »

I have Hue lights connected to Hue hub. Do I need to reset light and lose connection to Hue hub so I can connect to ZiGate?

Or can I have the Hue light connected to Hue hub and ZiGate at the same time?
11101101 - www.machinon.com
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

You have unfortunately to make a choice between Hue Hub and Zigate, as both of them are a ZigBee controller
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
hkhk
Posts: 21
Joined: Wednesday 15 November 2017 16:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by hkhk »

Is there a way already to add the Tradfri wall plugs?
Added some Tradfri led's and that went fine but adding the Remote, Motion sensor and Wall plugs doesn't seem described anywhere.
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: plugin Zigate (USB+WiFi) - 2.4.0

Post by pipiche »

hkhk wrote: Tuesday 30 October 2018 21:18 Is there a way already to add the Tradfri wall plugs?
Added some Tradfri led's and that went fine but adding the Remote, Motion sensor and Wall plugs doesn't seem described anywhere.
We know that the remote doesn't work for now.
For the Motion sensor this seems also not working .

For the Wall plugs No idea !

But for the remote and the Motion sensor, this more a lack of implementation in the Plugin rather than a Zigate issue. In fact the Remote and the Motion looks to work with group and that is something which is in our roadmap, but we didn't tackle it yet.
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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest