Page 1 of 1
Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 9:50
by TonkaNL
Hi guys,
I've been searching for a whole day now, but I can't find any info on installing/using a Zigate usb stick with Domoticz on a Win 10 machine.
I'm aware of the possibility to run Python on Win 10, but I can't seem to find a win 10 Zigate plugin and install it.
For raspbian and synology it's very clear, but I have an outdated NAS and no Raspberry Pi.
Perhaps I should look into emulating a RPI on a win 10 machine?
Any help would be appreciated.
Thanks!
Tonka
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 9:58
by pipiche
In principle this should work, but indeed as far as I'm aware never been tested.
If you are ready to test it, would be happy to support you on that matter.
1/ Make sure that the Domoticz version installed support Python Plugin (that is independent of Zigate), there is with the delivery of Domoticz a sample python plugin that can demonstrate that Python works.
2/ Make sure that Zigate works in standalone with the ZGUI app ( that you can find on the zigate.fr web ) or
https://github.com/fairecasoimeme/ZiGat ... 3.1c/Tools
When you are at that stage, I would be very happy to help you
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 10:25
by TonkaNL
I installed GIT for Windows and downloaded the plugin from GITHUB So that’s the first success
Domoticz can’t load Python libs yet. I have to install a different version (3.5) if I’m not mistaken.
My Zigate is in the mail. I’ll post my updates here.
Let’s see how far we’ll get

Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 11:02
by TonkaNL
Python is up and running!
And now we wait..
(For the zigate to arrive..)
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 13:57
by pipiche
Go to the Domoticz
folder.
You should find under this folder AwoxSMP and examples
If that is the case you need to use git
Code: Select all
git clone https://github.com/pipiche38/Domoticz-Zigate.git
Then you can restart Domoticz. You might get some errors in the Logs, even a crash of Domoticz could happen. Just let me know and copy-paste the logs
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 14:05
by TonkaNL
Hi Pipiche,
Thanks for your suggestion. I used git to download your plugin. I rebooted Dmtz and no errors. I just don’t have the Zigate usb yet. That’s all.
I’ll keep you posted.
Tonka
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 18:40
by pipiche
You can eventuall start the plugin by selecting None for the Zigate type. I think this will help to validate if the plugin works or if we have to debug
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 19:06
by TonkaNL
Yes it works!
I can select the Zigate plugin from the hardware menu. Great!
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 20:01
by pipiche
And any errors in the logs ?
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 20:47
by TonkaNL
Only one: webserver part is not supported with this version of domoticz. Please upgrade to a version greater then 4.10.xxx
Re: Zigate + Domoticz on Win 10
Posted: Tuesday 18 February 2020 20:52
by TonkaNL
Plugin with Zigate firmware None correctly initiated
Re: Zigate + Domoticz on Win 10
Posted: Monday 24 February 2020 22:55
by TonkaNL
Hi Pipiche,
Zigate controller is added as a device (2).
After Domoticz restart, no errors.
Going to bed now. More will follow.
Re: Zigate + Domoticz on Win 10
Posted: Wednesday 26 February 2020 7:12
by TonkaNL
Hi Pipiche,
The zigate works and I was able to connect led drivers and bulbs. However, there are some problems:
1) removing a device does not seem to work right. It seems that the device is not actually removed. When the device is re-paired, it won’t become visible again in a widget. The zigate notification will say that it is reconnecting the device (with no widget) instead of enrolling it as a new device. I have to remove the database and reinstall the zigate and re-add all of the devices to reconnect a deleted device.
2) After adding a device, and rebooting Domoticz, a devicelist.txt -01 is added. And -02 and so on. Is this correct?
3) Is it possible to edit the devicelist manually? And with what program should I do this? Notepad?
Hope to hear from you,
Thanks.
Re: Zigate + Domoticz on Win 10
Posted: Wednesday 26 February 2020 9:06
by pipiche
TonkaNL wrote: ↑Wednesday 26 February 2020 7:12
Hi Pipiche,
The zigate works and I was able to connect led drivers and bulbs. However, there are some problems:
1) removing a device does not seem to work right. It seems that the device is not actually removed. When the device is re-paired, it won’t become visible again in a widget. The zigate notification will say that it is reconnecting the device (with no widget) instead of enrolling it as a new device. I have to remove the database and reinstall the zigate and re-add all of the devices to reconnect a deleted device.
How do you do Device Removal ?
The behaviour you are reporting seems to show that the device is not removed from the Plugin Database.
Could you please provide the Domoticz Log (especially when you are doing the removal). Might have some errors explaining what is happening
2) After adding a device, and rebooting Domoticz, a devicelist.txt -01 is added. And -02 and so on. Is this correct?
Indeed this is an expected behavour, -01, -02 are historical version of the Plugin DB
3) Is it possible to edit the devicelist manually? And with what program should I do this? Notepad?
I would not advise to do so, except if you master the plugin DB and the plugin itself. You have a high risk of corrumption by doing it