Zigate update?

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

Moderator: leecollings

Post Reply
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Zigate update?

Post by tjabas »

Hi!

i have been using the zigate usb version for a couple of years now,i think its the first zigate version they made.
yesterday i updated the plugin and now i get alot of error messages in the domtoticz log, and i think i need to update the zigate hardware.
since its been some years since the last firmware update, i have forgotten how i made the update, the current firmware is: Firmware version: 031a

Does anyone know where i can find the lates firmware for my zigate stick?
i have searched on the zigate.fr website, but it seems to be a jungle of firmwares and there is some new zigate devices as well, i need to get the right firmware so i dont brick it.

thanks in advance
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

Firmware is in the plugin. See the plugin wiki https://zigbeefordomoticz.github.io/wik ... mware.html
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

i have updated the plugin but i still get these error messages when i reboot the RPI:

2022-12-16 20:55:54.071 Error: zigate: DNS error while checking Plugin and Firmware version
2022-12-16 20:55:54.071 Error: zigate: Call to function 'onHeartbeat' failed, exception details:
2022-12-16 20:55:54.076 Error: zigate: Traceback (most recent call last):
2022-12-16 20:55:54.076 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py", line 870, in onHeartbeat
2022-12-16 20:55:54.076 Error: zigate: _plugin.onHeartbeat()
2022-12-16 20:55:54.076 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py", line 683, in onHeartbeat
2022-12-16 20:55:54.076 Error: zigate: if checkPluginUpdate( self.pluginParameters['PluginVersion'], self.pluginParameters['available']):
2022-12-16 20:55:54.076 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/checkingUpdate.py", line 45, in checkPluginUpdate
2022-12-16 20:55:54.076 Error: zigate: availMaj, availMin, availUpd = availVersion.split('.')
2022-12-16 20:55:54.076 Error: zigate: AttributeError: 'int' object has no attribute 'split'
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

Did you have the IP of the domoticz server added to trusted networks en Domoticz menu setup settings?

Were you able to update the usb stick with the latest firmware (not related to this error)?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

waltervl wrote: Saturday 17 December 2022 1:04 Did you have the IP of the domoticz server added to trusted networks en Domoticz menu setup settings?

Were you able to update the usb stick with the latest firmware (not related to this error)?
no i have not added the domoticz ip to the trusted network, i will try that.
and no i havent updated the usb stick,can that be the problem?
i have searched for the right firmware for my zigate stick, but there is a jungle of firmwares out there and i havent found the right one, do i loose all the settings and nodes when i update?
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

I gave you a link to the wiki of zigate plugin. It shows how to update the firmware. The firmware is already on your Domoticz plugin folder. You can use one of them. Normally you will not lose the pairings with devices.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

waltervl wrote: Saturday 17 December 2022 11:09 I gave you a link to the wiki of zigate plugin. It shows how to update the firmware. The firmware is already on your Domoticz plugin folder. You can use one of them. Normally you will not lose the pairings with devices.
thanks for your answer.

i tried to update the zigate but it seems like i dont have the ./build-Jennic.sh,
i do have the cd Tools folder.
cd Tools
./build-Jennic.sher.
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

It should be build-jennic.sh see the source https://github.com/zigbeefordomoticz/Do ... ble6/Tools

Perhaps do a new plugin update to get everything updated.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

i have now tried everything but i cant get jennic installed, i have also updated the plugin, but nothing helps,i have tried: cd Tools
./build-Jennic.sh
and also : sudo apt install jennic-module-programmer zigate-flasher

but it just wont work.

and to update the zigate plugin is just to git pull?
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

It worked for me without any problems if following the instructions.

for updating the plugin see also the ZfD wiki: https://zigbeefordomoticz.github.io/wik ... gin-update
It depends on what version you are.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

i have tried everything now, nothing works, but im thinking of removing the zigate plugin and reinstall it again, what happens to my zigbee devices in domoticz if i remove and install the plugin again, will the also be removed or will they still be there?
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

I have now deleted and reinstalled the zigbee plugin, but nothing works now, what am i doing wrong?

2022-12-22 11:35:03.730 Error: zigate 2: Call to function 'onStart' failed, exception details:
2022-12-22 11:35:03.741 Error: zigate 2: Traceback (most recent call last):
2022-12-22 11:35:03.741 Error: zigate 2: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1510, in onStart
2022-12-22 11:35:03.741 Error: zigate 2: _plugin.onStart()
2022-12-22 11:35:03.741 Error: zigate 2: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 275, in onStart
2022-12-22 11:35:03.741 Error: zigate 2: if check_requirements( self ):
2022-12-22 11:35:03.741 Error: zigate 2: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1477, in check_requirements
2022-12-22 11:35:03.741 Error: zigate 2: pkg_resources.require(req)
2022-12-22 11:35:03.741 Error: zigate 2: File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 901, in require
2022-12-22 11:35:03.741 Error: zigate 2: needed = self.resolve(parse_requirements(requirements))
2022-12-22 11:35:03.741 Error: zigate 2: File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 792, in resolve
2022-12-22 11:35:03.741 Error: zigate 2: raise VersionConflict(dist, req).with_context(dependent_req)
2022-12-22 11:35:03.741 Error: zigate 2: pkg_resources.ContextualVersionConflict: (zipp 3.0.0 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('zipp>=3.1.0; python_version < "3.10"'), {'importlib-resources'})
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

The update commands do not have issues?
i had to do the update commands with sudo.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate update?

Post by pipiche »

Yes, you have to use sudo because domoticz is most-likely running root.
Now if you are on version 6, you can also upgrade directly from the WebUI > Admin > Plugin > Upgrade . In that case it will be having the right access right as it will be launched inside domotciz
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
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

so i mananged so sudo the whole installation after deleting the Domoticz-Zigate folder, i now have a Domoticz-zigbee folder instead, but ofcourse it wont work.
the firmware version of the stick seems old, i have 031a, i have tired to update it using the jennic metod , but i keep getting a couldnt set baudrate error, and it seems like all of my nodes of the stick is gone in domoticz, they are all red marked.

im starting to loose hope.

can i upgrade the stick in any other way? and if so, where can i find the correct firmare?
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

The easiest way is to put the stick in a windows PC and update with a downloadable update program. See zigate website: https://zigate.fr/documentation/mise-a- ... la-zigate/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate update?

Post by tjabas »

thank you for your help, i managed to udate the zigate stick, but unfortunately i flashed the wrong firmware, i seems relly hard to find the correct one, i find alot of firmwares for the zigate, but none of the tells which zigate its for.
i flashed this one : https://github.com/fairecasoimeme/ZiGat ... v2-320.bin
i have a zigate usb version 1, which one is the latest and where can i download it?

thanks.
User avatar
waltervl
Posts: 5889
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate update?

Post by waltervl »

You can download them from here https://github.com/fairecasoimeme/ZiGate/releases
As the pairing is gone now I would go for the 3.23 opdm version.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest