Zigate and xiaomi door sensor cant pair

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

Moderator: leecollings

Post Reply
sonics007
Posts: 3
Joined: Sunday 30 December 2018 18:30
Target OS: Linux
Domoticz version:
Contact:

Zigate and xiaomi door sensor cant pair

Post by sonics007 »

HI guys,
Im newbe in domoticz and zigate today i tried to pair some door sensors but without succes.
my server is i7, xubuntu ,zigate plugin 4.0.0
so i press button on device /xiaomi aquara door sensor/ and in log show this:
zigate is usb not wifi
2018-12-30 18:40:36.438 Sunrise: 07:30:00 SunSet: 15:53:00
2018-12-30 18:40:36.438 Day length: 08:23:00 Sun at south: 11:05:00
2018-12-30 18:40:36.438 Civil twilight start: 06:54:00 Civil twilight end: 16:30:00
2018-12-30 18:40:36.438 Nautical twilight start: 06:14:00 Nautical twilight end: 17:09:00
2018-12-30 18:40:36.438 Astronomical twilight start: 05:36:00 Astronomical twilight end: 17:47:00
2018-12-30 18:40:36.666 Active notification Subsystems: (0/13)
2018-12-30 18:40:36.694 Starting shared server on: :::6144
2018-12-30 18:40:36.694 Accepting shared server connections via MyDomotiz (see settings menu).
2018-12-30 18:40:36.278 Status: Domoticz V4.10301 (c)2012-2018 GizMoCuz
2018-12-30 18:40:36.278 Status: Build Hash: b1521946, Date: 2018-12-20 19:46:47
2018-12-30 18:40:36.296 Status: Startup Path: /home/sonics007/domoticz/
2018-12-30 18:40:36.438 Status: EventSystem: reset all events...
2018-12-30 18:40:36.664 Status: PluginSystem: Started, Python version '3.6.7'.
2018-12-30 18:40:36.685 Status: WebServer(HTTP) started on address: :: with port 8080
2018-12-30 18:40:36.694 Status: Proxymanager started.
2018-12-30 18:40:36.694 Status: TCPServer: shared server started...
2018-12-30 18:40:36.694 Status: RxQueue: queue worker started...
2018-12-30 18:40:36.694 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Address already in use
2018-12-30 18:40:36.694 Error: WebServer(SSL) check privileges for opening ports below 1024
2018-12-30 18:40:37.897 Status: PROXY: Authenticate result: success.
2018-12-30 18:40:38.695 Status: (zigate) Started.
2018-12-30 18:40:38.695 Status: EventSystem: reset all events...
2018-12-30 18:40:38.695 Status: EventSystem: reset all device statuses...
2018-12-30 18:40:38.723 Status: Python EventSystem: Initalizing event module.
2018-12-30 18:40:38.724 Status: EventSystem: Started
2018-12-30 18:40:38.724 Status: EventSystem: Queue thread started...
2018-12-30 18:40:38.969 Status: PluginSystem: Entering work loop.
2018-12-30 18:40:39.183 (zigate) ListOfDevices :
2018-12-30 18:40:39.183 (zigate) Establish Zigate connection
2018-12-30 18:40:39.185 (zigate) Connected successfully
2018-12-30 18:40:39.179 Status: (zigate) Entering work loop.
2018-12-30 18:40:39.179 Status: (zigate) Initialized version 4.0.0, author 'zaraki673 pipiche38'
2018-12-30 18:40:39.180 Status: (zigate) onStart called - Zigate plugin V 4.0.0
2018-12-30 18:40:39.180 Status: (zigate) load PluginConf
2018-12-30 18:40:39.181 Status: (zigate) ZigateMode: ZigBee sendDelay: 0 reTransmit: 1 zTimeOut: 2
2018-12-30 18:40:39.181 Status: (zigate) logFORMAT: 0 logLQI: 0 allowRemoveZigateDevice: 0
2018-12-30 18:40:39.181 Status: (zigate) allowStoreDiscoveryFrames: 0 forceCreationDevice: 0 networkScan: 0 channel: ['0']
2018-12-30 18:40:39.183 Status: (zigate) load ListOfDevice
2018-12-30 18:40:39.183 Status: (zigate) Entries loaded from /home/sonics007/domoticz/plugins/Domoticz-Zigate/DeviceList-4.txt : 0
2018-12-30 18:40:39.183 Status: (zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2018-12-30 18:40:39.185 Status: (zigate) onConnect called
2018-12-30 18:40:39.185 Status: (zigate) ZigateConf - Setting UTC Time to : 1546191639
2018-12-30 18:40:39.185 Status: (zigate) Start network
2018-12-30 18:40:39.185 Status: (zigate) Zigate enter in discover mode for ever
2018-12-30 18:40:39.195 Status: OpenZWave: using config in: /home/sonics007/domoticz/Config/
2018-12-30 18:40:39.212 Status: OpenZWave: Starting...
2018-12-30 18:40:39.212 Status: OpenZWave: Version: 1.4-3297-g98c3bde5-dirty
2018-12-30 18:40:39.379 Status: OpenZWave: Driver Ready
2018-12-30 18:40:39.397 Status: OpenZWave: All Nodes queried
2018-12-30 18:40:45.896 (zigate) receiveDataCmd - unexpected message Type: 00c8 Expecting: 8010
2018-12-30 18:40:45.896 (zigate) ZigateRead - Unknow Message Type for : 0100c8000a2800150d0002d226ed00e903
2018-12-30 18:40:48.050 (zigate) receiveDataCmd - unexpected message Type: 00cd Expecting: 8015
2018-12-30 18:40:48.050 (zigate) ZigateRead - Unknow Message Type for : 0100cd000c3fe0f400150d0002d226ed00e903
2018-12-30 18:40:48.351 (zigate) ZigateRead - Unknow Message Type for : 0100cd000c2de0f400150d0002d226ed00fb03
2018-12-30 18:40:48.351 (zigate) ZigateRead - Unknow Message Type for : 0107010003fe0000fb03
2018-12-30 18:40:48.352 (zigate) ZigateRead - Unknow Message Type for : 0101020023fd00e0f4010000000500c20016ecf5ede92ef3e5eef3eff2dfede1e7eee5f42ee1f132fb03
2018-12-30 18:40:48.352 (zigate) ZigateRead - Unknow Message Type for : 010102000ec000e0f401000000010020000103fb03
2018-12-30 18:40:48.603 (zigate) ZigateRead - Unknow Message Type for : 010102002af501e0f4010000ff0100c2001d01210d0c032816046168010521db00062401000000000a210000e41001fb03

yesterday i try it on my virtualbox all has working with no issue but today on my proper server not
what i need to do?
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by pipiche »

Does the ZiGate is flashing? Confirming the pairing mode.
In the log you attached, I didn’t see any pairing messages coming ?
To pair a xiaomi device you need to press the pairing button for about 5 to 6sec
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
sonics007
Posts: 3
Joined: Sunday 30 December 2018 18:30
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by sonics007 »

no never had flashing. i bought half year ago but till last week didnt use it.it strange that there is nothing in log about pairing it was there few hours before. i have pressed it for about 7 s and nothing hapen
Attachments
plugin setting
plugin setting
Snímka.PNG (35.17 KiB) Viewed 630 times
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by pipiche »

There several models the latest are flashing. So no worries.

From the logs you sent it is like the device announce is not coming and instead we got unexpected messages.

Could you do the following:

Update to the latest version of stable branch ( check github )
From the plugin option menu set the Sofware Reset to True

Try to capture all logs and post them with a try of pairing your device
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
sonics007
Posts: 3
Joined: Sunday 30 December 2018 18:30
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by sonics007 »

Do you mean git pull in Zigate directory and then reset ? Sorry im really newbe in all this stuff
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by pipiche »

Yes git pull

And the reset is on the plugin screen in Domoticz.

Last I saw in you logs that you have also Open ZWave. Are you sure of the tty port for Zigate and it is not mixed with the OZW key ?
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
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by LouiS22 »

Have you tried replacing the battery to a new one?
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by pipiche »

The unknown message type looks strange and doesn’t look Zigate messages. So wonder if that is really the Zigate connected to that port


Envoyé de mon iPhone en utilisant Tapatalk
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
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and xiaomi door sensor cant pair

Post by pipiche »

Any news ?
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