Page 1 of 1
Zigate update?
Posted: Thursday 15 December 2022 20:03
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
Re: Zigate update?
Posted: Thursday 15 December 2022 20:07
by waltervl
Re: Zigate update?
Posted: Friday 16 December 2022 20:57
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'
Re: Zigate update?
Posted: Saturday 17 December 2022 1:04
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)?
Re: Zigate update?
Posted: Saturday 17 December 2022 10:33
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?
Re: Zigate update?
Posted: Saturday 17 December 2022 11:09
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.
Re: Zigate update?
Posted: Saturday 17 December 2022 14:19
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.
Re: Zigate update?
Posted: Saturday 17 December 2022 18:26
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.
Re: Zigate update?
Posted: Wednesday 21 December 2022 13:14
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?
Re: Zigate update?
Posted: Wednesday 21 December 2022 14:38
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.
Re: Zigate update?
Posted: Thursday 22 December 2022 10:44
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?
Re: Zigate update?
Posted: Thursday 22 December 2022 11:37
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'})
Re: Zigate update?
Posted: Thursday 22 December 2022 18:37
by waltervl
The update commands do not have issues?
i had to do the update commands with sudo.
Re: Zigate update?
Posted: Thursday 22 December 2022 21:58
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
Re: Zigate update?
Posted: Friday 23 December 2022 16:52
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?
Re: Zigate update?
Posted: Friday 23 December 2022 18:52
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/
Re: Zigate update?
Posted: Friday 23 December 2022 21:49
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.
Re: Zigate update?
Posted: Friday 23 December 2022 23:58
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.