Issue with ZiGate (V1) Topic is solved

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

Moderator: leecollings

Post Reply
johnrwoods
Posts: 10
Joined: Thursday 12 December 2019 11:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: UK
Contact:

Issue with ZiGate (V1)

Post by johnrwoods »

System:
Zigate (V1) with 3.21 (legacy) firmware
RPi 3b
Domoticz V2022.2 with Zigate Plugin V 6.3.008

A couple of weeks ago I started having problems with the ZiGate not accepting new hardware although the plugin was reading and sending data to and from Zigbee devices without any issues.

I tried re-flashing the EEPROM without erasing the PDM without any change but then noticed that when I did a network scan the result only showed four or five devices. The error log showed this:

Code: Select all

2022-12-29 10:13:10.403 Error: Zigate: decode8000 - command miss-match 004E vs. 0530
2022-12-29 10:13:18.475 Error: Zigate: decode8000 - command miss-match 0530 vs. 0040
2022-12-29 10:13:18.583 Error: Zigate: decode8000 - command miss-match 0040 vs. 004e
On advice from Pipiche, I erased and reflashed the EEPROM with both the legacy and PDM versions of the firmware. I have also removed and re-added the Zigate Hardware from Domoticz but, with every option I try, I get the errors below:

Code: Select all

2023-01-09 10:55:15.223 Error: ZiGate: Zigate not correctly initialized
2023-01-09 10:55:20.063 Error: ZiGate: We are having difficulties to start coordinator. Basically we are not receiving what we expect from CIE
2023-01-09 10:55:20.112 Error: ZiGate: Plugin is not started ...
The full Domoticz log when starting up the Zigate is:

Code: Select all

2023-01-09 10:54:37.386 MQTT Gateway: New hardware creation enabled
2023-01-09 10:54:37.439 MQTT Gateway: Connected to MQTT Server: 127.0.0.1:1883
2023-01-09 10:54:37.295 Status: PluginSystem: 2 plugins started.
2023-01-09 10:54:37.353 Status: MQTT Gateway: Initialized version 0.6.0
2023-01-09 10:54:37.622 Status: Python EventSystem: Initializing event module.
2023-01-09 10:54:37.623 Status: EventSystem: Started
2023-01-09 10:54:37.623 Status: EventSystem: Queue thread started...
2023-01-09 10:54:39.356 ZiGate: Zigbee for Domoticz plugin started!
2023-01-09 10:54:39.352 Status: ZiGate: Initialized version 6.3, author 'pipiche38'
2023-01-09 10:54:39.357 Status: ZiGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2023-01-09 10:54:40.738 ZiGate: load PluginConf
2023-01-09 10:54:40.740 ZiGate: Loading PluginConf - into Domoticz sqlite Db
2023-01-09 10:54:40.741 ZiGate: /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-19.json timestamp is 1673261269.8578477
2023-01-09 10:54:40.741 ZiGate: Dz PluginConf is older than Json Dz: 0 Json: 1673261269.8578477
2023-01-09 10:54:40.743 ZiGate: Installing plugin custom page /home/pi/domoticz/www/templates/ZiGate.html
2023-01-09 10:54:40.744 ZiGate: Starting LoggingManagement thread
2023-01-09 10:54:40.747 ZiGate: start_logging_thread
2023-01-09 10:54:40.748 ZiGate: logging_thread - listening
2023-01-09 10:54:40.600 Status: ZiGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2023-01-09 10:54:40.742 Status: ZiGate: PluginAnalytics set to 1
2023-01-09 10:54:40.742 Status: ZiGate: filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-19.json
2023-01-09 10:54:40.742 Status: ZiGate: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2023-01-09 10:54:40.742 Status: ZiGate: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2023-01-09 10:54:40.742 Status: ZiGate: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2023-01-09 10:54:40.742 Status: ZiGate: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2023-01-09 10:54:40.742 Status: ZiGate: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2023-01-09 10:54:40.742 Status: ZiGate: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2023-01-09 10:54:40.742 Status: ZiGate: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2023-01-09 10:54:40.743 Status: ZiGate: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2023-01-09 10:54:40.748 Status: ZiGate: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigate/Logs//PluginZigbee_19.log
2023-01-09 10:54:40.765 Status: ZiGate: Zigbee for Domoticz (z4d) plugin stable6-6.3.008 started
2023-01-09 10:54:40.775 Status: Incoming connection from: 127.0.0.1
2023-01-09 10:54:40.802 Status: ZiGate: DeviceConf loaded - 17 confs loaded
2023-01-09 10:54:41.070 Status: ZiGate: DeviceConf loaded - 393 confs loaded
2023-01-09 10:54:41.071 Status: ZiGate: load ListOfDevice
2023-01-09 10:54:41.073 Status: ZiGate: 0 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-19.txt
2023-01-09 10:54:41.077 Status: ZiGate: Transport mode: USB
2023-01-09 10:54:41.622 Status: ZiGate: ZigateTransport: Serial Connection open: Serial<id=0x67ccb630, open=True>(port='/dev/serial/by-id/usb-Silicon_Labs_ZiGate_0001-if00-port0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2023-01-09 10:54:41.624 Status: ZiGate: ZigateTransport: writer_thread Thread start.
2023-01-09 10:54:41.627 Status: ZiGate: ZigateTransport: thread_processing_and_sending Thread start.
2023-01-09 10:54:41.629 Status: ZiGate: Start Web Server connection
2023-01-09 10:54:41.645 Status: ZiGate: Web backend for Web User Interface started on port: 9440
2023-01-09 10:54:41.646 Status: ZiGate: Domoticz Widgets usage is at 1.2 % (252 units free)
2023-01-09 10:54:50.186 Status: ZiGate: ==> Transport Mode switch to full mode
2023-01-09 10:54:50.189 Status: ZiGate: ZiGate Classic PDM (OptiPDM)
2023-01-09 10:54:50.190 Status: ZiGate: Installer Version Number: 0321
2023-01-09 10:54:50.191 Status: ZiGate: Branch Version: ==> Production <==
2023-01-09 10:55:00.177 Error: ZiGate: Zigate not correctly initialized
2023-01-09 10:55:03.821 Status: Notification sent (Email)
2023-01-09 10:55:05.146 Error: ZiGate: Zigate not correctly initialized
2023-01-09 10:55:10.177 Error: ZiGate: Zigate not correctly initialized
2023-01-09 10:55:15.223 Error: ZiGate: Zigate not correctly initialized
2023-01-09 10:55:20.063 Error: ZiGate: We are having difficulties to start coordinator. Basically we are not receiving what we expect from CIE
2023-01-09 10:55:20.112 Error: ZiGate: Plugin is not started ...
2023-01-09 10:55:20.168 Error: ZiGate: Zigate not correctly initialized
Can you shed any light on what maybe going wrong and how I may be able to resolve the issue.
Many thanks
User avatar
waltervl
Posts: 5791
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Issue with ZiGate (V1)

Post by waltervl »

I invested 30 Euro and bought a Sonoff 3.0 Zigbee USB dongle. Solved my issue with instable Zigbee network and devices not pairing anymore.
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: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Issue with ZiGate (V1)

Post by pipiche »

when you started the plugin did you set the Initialize Coordinator: to True statement
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