Zigate + Domoticz on Win 10 Topic is solved

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Zigate + Domoticz on Win 10

Post 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
Last edited by TonkaNL on Tuesday 18 February 2020 11:39, edited 1 time in total.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate + Domoticz on Win 10

Post 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
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
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post 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 :-)
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post by TonkaNL »

Python is up and running!

And now we wait..

(For the zigate to arrive..)
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate + Domoticz on Win 10

Post by pipiche »

Go to the Domoticz

Code: Select all

plugins 
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
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
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post 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
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate + Domoticz on Win 10

Post 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
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
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post by TonkaNL »

Yes it works!

I can select the Zigate plugin from the hardware menu. Great!
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate + Domoticz on Win 10

Post by pipiche »

And any errors in the logs ?
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
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post by TonkaNL »

Only one: webserver part is not supported with this version of domoticz. Please upgrade to a version greater then 4.10.xxx
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post by TonkaNL »

Plugin with Zigate firmware None correctly initiated
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post by TonkaNL »

Hi Pipiche,

Zigate controller is added as a device (2).

After Domoticz restart, no errors.

Going to bed now. More will follow.
TonkaNL
Posts: 41
Joined: Saturday 21 December 2019 14:11
Target OS: Windows
Domoticz version:
Contact:

Re: Zigate + Domoticz on Win 10

Post 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.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate + Domoticz on Win 10

Post 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
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: No registered users and 1 guest