Page 1 of 1

Zigate not joining after update firmware to 3.0f

Posted: Tuesday 05 March 2019 21:07
by drake
Hi all,

I have the same problem as described in
https://github.com/sasu-drooz/Domoticz- ... issues/249
after upgrading Zigate firmware to 3.0f.

After this I have tried to update zigate plugin (checked stable, beta and pre-4.1 branches), upgraded raspbian to strech to have pyhton3.5, upgraded Domoticz to lastest beta version (4.10533)... but nothing worked. Zigate blue led doesn't blink as before when was in joining mode and new devices don't join and seems Zigate doesn't comunicate with old devices.

I updated Zigate in Rasbian as described in https://zigate.fr/wiki/mise-a-jour-de-la-zigate/ with firmware https://github.com/fairecasoimeme/ZiGat ... e_v30f.bin with no errors.

Any idea?

Code: Select all

2019-03-05 20:54:36.355 Status: Domoticz V4.10533 (c)2012-2019 GizMoCuz
2019-03-05 20:54:36.356 Status: Build Hash: 9d462ee5, Date: 2019-03-03 21:18:37
2019-03-05 20:54:36.356 Status: Startup Path: /home/pi/domoticz/
2019-03-05 20:54:36.401 Status: EventSystem: reset all events...
2019-03-05 20:54:36.527 Status: PluginSystem: Started, Python version '3.5.3'.
2019-03-05 20:54:36.538 Status: WebServer(HTTP) started on address: :: with port 8080
2019-03-05 20:54:36.548 Status: WebServer(SSL) started on address: :: with port 443
2019-03-05 20:54:36.550 Status: Proxymanager started.
2019-03-05 20:54:36.588 Status: TCPServer: shared server started...
2019-03-05 20:54:36.589 Status: RxQueue: queue worker started...
2019-03-05 20:54:38.589 Status: Hardware Monitor: Started
2019-03-05 20:54:38.607 Status: (ZiGate) Started.
2019-03-05 20:54:38.608 Status: EventSystem: reset all events...
2019-03-05 20:54:38.610 Status: EventSystem: reset all device statuses...
2019-03-05 20:54:38.754 Status: Python EventSystem: Initalizing event module.
2019-03-05 20:54:38.754 Status: EventSystem: Started
2019-03-05 20:54:38.754 Status: EventSystem: Queue thread started...
2019-03-05 20:54:38.903 Status: PluginSystem: Entering work loop.
2019-03-05 20:54:39.089 Status: OpenZWave: using config in: /home/pi/domoticz/Config/
2019-03-05 20:54:39.092 Status: OpenZWave: Starting...
2019-03-05 20:54:39.092 Status: OpenZWave: Version: 1.4-3335-g74e05982-dirty
2019-03-05 20:54:39.188 Status: (ZiGate) Entering work loop.
2019-03-05 20:54:39.189 Status: (ZiGate) Initialized version pre-4.1, author 'zaraki673 pipiche38'
2019-03-05 20:54:39.203 Status: (ZiGate) Zigate plugin (pre 4.1.x) started
2019-03-05 20:54:39.424 Status: OpenZWave: Driver Ready
2019-03-05 20:54:39.432 Status: (ZiGate) Python Version - 3.5.3 (default, Sep 27 2018, 17:25:39)
2019-03-05 20:54:39.432 [GCC 6.3.0 20170516]
2019-03-05 20:54:39.432 Status: (ZiGate) Switching Hearbeat to 5 s interval
2019-03-05 20:54:39.432 Status: (ZiGate) DomoticzVersion: 4.10533
2019-03-05 20:54:39.433 Status: (ZiGate) DomoticzHash: 9d462ee5
2019-03-05 20:54:39.433 Status: (ZiGate) DomoticzBuildTime: 2019-03-03 21:18:37
2019-03-05 20:54:39.460 Status: (ZiGate) Startup Folder: /home/pi/domoticz/
2019-03-05 20:54:39.461 Status: (ZiGate) Home Folder: /home/pi/domoticz/plugins/Domoticz-Zigate/
2019-03-05 20:54:39.461 Status: (ZiGate) User Data Folder: /home/pi/domoticz/
2019-03-05 20:54:39.461 Status: (ZiGate) Web Root Folder:
2019-03-05 20:54:39.461 Status: (ZiGate) Database: /home/pi/domoticz/domoticz.db
2019-03-05 20:54:39.461 Status: (ZiGate) Opening DomoticzDB in raw
2019-03-05 20:54:39.461 Status: (ZiGate) - DeviceStatus table
2019-03-05 20:54:39.462 Status: (ZiGate) - Hardware table
2019-03-05 20:54:39.464 Status: (ZiGate) load PluginConf
2019-03-05 20:54:39.465 Status: (ZiGate) PluginConf: /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf.txt
2019-03-05 20:54:39.481 Status: (ZiGate) Plugin Database: DeviceList-7.txt
2019-03-05 20:54:39.506 Status: (ZiGate) DeviceConf loaded
2019-03-05 20:54:39.507 Status: (ZiGate) load ListOfDevice
2019-03-05 20:54:39.732 Status: (ZiGate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-7.txt : 22
2019-03-05 20:54:39.754 Status: (ZiGate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-03-05 20:54:39.863 Status: (ZiGate) Major Version Num: 0003
2019-03-05 20:54:39.863 Status: (ZiGate) Installer Version Number: 030f
2019-03-05 20:54:40.068 Status: (ZiGate) Permit Join: On
Regards,

Re: Zigate not joining after update firmware to 3.0f

Posted: Tuesday 05 March 2019 21:12
by pipiche
From the log, I see that you are now on 3.0f.
Did you try to do Erase PDM for the first start (or do a Software Reset) ?

Re: Zigate not joining after update firmware to 3.0f

Posted: Tuesday 05 March 2019 22:37
by drake
I have already done a Software Reset, but I haven't done a Erase PDM. I have a lot of devices conected and I would prefer not to reconnect all of them.
But if it is mandatory...

Re: Zigate not joining after update firmware to 3.0f

Posted: Wednesday 06 March 2019 7:48
by pipiche
If you have done a firmware update from 3.0e or 3.0f the reset of eeprom/pdm is a must.
Unfortunately you’ll have to repair all your devices. But nothing to do on Domoticz side, so When doing the repair it will reconnect to the Domoticz devices and you won’t loose history

Re: Zigate not joining after update firmware to 3.0f

Posted: Thursday 07 March 2019 11:58
by drake
Hi,

Yesterday I made a erase PDM and software reset. After this Zigate started blinking again. I have to chek if I can pair again with devices...
I'll maintain you informed

Re: Zigate not joining after update firmware to 3.0f

Posted: Thursday 07 March 2019 19:51
by drake
Well... All devices paired fine, except Aqara Wireless Switches (single and double). I can't join them with Zigate.

Re: Zigate not joining after update firmware to 3.0f

Posted: Thursday 07 March 2019 19:56
by pipiche
Anything special in the Logs ?

Re: Zigate not joining after update firmware to 3.0f

Posted: Thursday 07 March 2019 20:40
by drake
Sorry, only fail with 2 switches.
I deleted these 2 switches in Domoticz and when I join them to Zigate do not appear in Domoticz again.
They appear in DeviceList-xx.txt, but not in Domoticz.
When I push the switch this is the message in log:

Code: Select all

2019-03-07 20:39:07.515  (ZiGate) ZigateRead - decoded data : 018102000f430333330100120055002100020001a803 lenght : 44
2019-03-07 20:39:07.515  (ZiGate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: 43, Data: 0333330100120055002100020001; RSSI: a8
2019-03-07 20:39:07.516  (ZiGate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000f430333330100120055002100020001a803
2019-03-07 20:39:07.516  (ZiGate) Decode8102 - Individual Attribute response : [3333:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<
2019-03-07 20:39:07.516  (ZiGate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-07 20:39:07.517  (ZiGate) Decode8102 : Attribute Report from 3333 SQN = 03 ClusterID = 0012 AttrID = 0055 Attribute Data = 0001
2019-03-07 20:39:07.517  (ZiGate) Device : 3333 MacCapa : 80 updating SQN to 03
2019-03-07 20:39:07.518  (ZiGate) updSQN - Device : 3333 updating SQN to 03
2019-03-07 20:39:07.518  (ZiGate) ReadCluster - MsgData lenght is: 28 out of 24+
2019-03-07 20:39:07.518  (ZiGate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-07 20:39:07.518  (ZiGate) ReadCluster - 0012 NwkId: 3333 Ep: 01 AttrId: 0055 AttyType: 21 Attsize: 0002 Status: 00 AttrValue: 0001
2019-03-07 20:39:07.519  (ZiGate) decodeAttribute( 21, 0001) 
2019-03-07 20:39:07.519  (ZiGate) ReadCluster - ClusterId=0012 - Switch Aqara: EP: 01 Value: 1 
2019-03-07 20:39:07.519  (ZiGate) MajDomoDevice - Device ID : 00158d0002c9eb06 - Device EP : 01 - Type : 0006 - Value : 1 - Hue :   - Attribute_ : 
2019-03-07 20:39:07.519  (ZiGate) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-07 20:39:07.520  (ZiGate) MajDomoDevice - Type = Switch
So it seems to be ok, but I can't see in Domoticz

Re: Zigate not joining after update firmware to 3.0f

Posted: Thursday 07 March 2019 20:41
by pipiche
So stop Domoticz
Remove them from DeviceList
Restart Domoticz


Envoyé de mon iPhone en utilisant Tapatalk

Re: Zigate not joining after update firmware to 3.0f

Posted: Friday 08 March 2019 0:03
by drake
Great!!!
All working fine again!

Thanks Pipiche, great as usual

Re: Zigate not joining after update firmware to 3.0f

Posted: Friday 08 March 2019 9:00
by pipiche
I'm glad for you ;-)

And we will soon release 4.1 ....