Page 1 of 1

Aqara vibration sensor error on Zigate

Posted: Saturday 12 January 2019 12:42
by pfloryann
Hi,

I tried to pairing Aqara vibration sensor and i have this message in domoticz log:

2019-01-11 20:01:13.149 Status: (Zigate) [-] NEW OBJECT: 8e35 Simple Descriptor EP 01
2019-01-11 20:01:13.150 Status: (Zigate) [-] NEW OBJECT: 8e35 ProfileID 0104
2019-01-11 20:01:13.150 Status: (Zigate) [-] NEW OBJECT: 8e35 ZDeviceID 000a
2019-01-11 20:01:13.151 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster IN Count: 04
2019-01-11 20:01:13.151 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster In 1: 0000
2019-01-11 20:01:13.152 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster In 2: 0003
2019-01-11 20:01:13.152 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster In 3: 0019
2019-01-11 20:01:13.152 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster In 4: 0101
2019-01-11 20:01:13.153 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster OUT Count: 06
2019-01-11 20:01:13.153 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster Out 1: 0000
2019-01-11 20:01:13.154 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster Out 2: 0004
2019-01-11 20:01:13.154 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster Out 3: 0003
2019-01-11 20:01:13.154 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster Out 4: 0005
2019-01-11 20:01:13.155 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster Out 5: 0019
2019-01-11 20:01:13.155 Status: (Zigate) [-] NEW OBJECT: 8e35 Cluster Out 6: 0101
2019-01-11 20:01:13.315 Status: (Zigate) [0] NEW OBJECT: 8e35 Ox8043 received Infos
2019-01-11 20:01:13.316 Status: (Zigate) [0] NEW OBJECT: 8e35 Trying to create Domoticz device(s)
019-01-11 20:02:52.352 (Zigate) ReadCluster 0101 - Dev: 8e35 Ep : 01 Attribute Type:21 Attribute : 0055
2019-01-11 20:02:52.352 (Zigate) ReadCluster 0101 - Aqara Vibration - Attribute: 0001
2019-01-11 20:02:52.351 Error: (Zigate) ReadCluster 0101 not fully implemented, please contact us on https://github.com/sasu-drooz/Domoticz-Zigate

Expected behavior
The value should be changed.

Plugin (please complete the following information):
OS: Raspbian

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 12 January 2019 20:07
by pipiche
It would be great if you could mentioned the branch/version of the plugin (which can be find in the logs).

But most-likely you are on the stable 4.0.6 version or below and indeed the the Aqara vibration is not yet supported.
It is currently supported on the Beta branch

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 12 January 2019 22:31
by pfloryann
Yes, is 4.0.6 version.

Ok thanks, i waiting for plugin update

Re: Aqara vibration sensor error on Zigate

Posted: Monday 14 January 2019 15:13
by pipiche
If you want, there is a beta in place.

To switch from stable to beta:

Code: Select all

git pull
git checkout beta
git pull

Re: Aqara vibration sensor error on Zigate

Posted: Wednesday 23 January 2019 21:11
by pfloryann
Hi,

I updated domoticz to beta version and beta plugin but is not working for me.

2019-01-23 22:02:53.211 Status: (Zigate) Permit Join is On
2019-01-23 22:03:15.476 Status: (Zigate) [0] NEW OBJECT: 3953 Device Annouce IEEE: 00158d0002a91ea4
2019-01-23 22:03:15.480 Status: (Zigate) NetworkID : 3953 is replacing 6e2d and is attached to IEEE : 00158d0002a91ea4
2019-01-23 22:03:15.742 Status: (Zigate) [0] NEW OBJECT: 3953 Device Annouce IEEE: 00158d0002a91ea4
2019-01-23 22:03:16.976 (Zigate) ReadCluster - 0000/ff01 Saddr: 3953 ClusterData : 0121450b0328140421a80105212c0006240100000000082108030a21000098212800992100009a25dc03f1ff7c00
2019-01-23 22:03:16.977 (Zigate) ReadCluster - 0000/ff01 Saddr: 3953 Battery : 87
2019-01-23 22:03:19.694 (Zigate) ReadCluster - 0000/ff01 Saddr: c87d ClusterData : 03282205211c0008210a210921000364200c96230000000008030a
2019-01-23 22:03:19.695 (Zigate) ReadCluster - 0000/ff01 Saddr: c87d sOnOff2: 0c
2019-01-23 22:03:38.841 (Zigate) Out of sequence for Device: 3953 SQN move from 01 to 13 gap of : 18
2019-01-23 22:04:31.348 (Zigate) ReadCluster - 0000/ff01 Saddr: b4a8 ClusterData : 6410000328189839000000009539dc4dcd3e96235e080000052113009a2010082116130727000000000000000009210004
2019-01-23 22:04:31.349 (Zigate) ReadCluster - 0000/ff01 Saddr: b4a8 sOnOff: 00
2019-01-23 22:05:17.918 (Zigate) Out of sequence for Device: c818 SQN move from 00 to 4d gap of : 77

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 26 January 2019 17:42
by pipiche
What do you mean it doesn't work for you ?

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 26 January 2019 19:11
by pfloryann
pipiche wrote: Saturday 26 January 2019 17:42 What do you mean it doesn't work for you ?
Now it is working but for this I had to remove it from domoticz and add it again because vibration sensor it existed in domoticz before the beta update.

Thank You!

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 26 January 2019 21:26
by pipiche
Make sense

Re: Aqara vibration sensor error on Zigate

Posted: Wednesday 10 July 2019 19:01
by twoenter
pfloryann wrote: Saturday 26 January 2019 19:11
pipiche wrote: Saturday 26 January 2019 17:42 What do you mean it doesn't work for you ?
Now it is working but for this I had to remove it from domoticz and add it again because vibration sensor it existed in domoticz before the beta update.

Thank You!
Want to add a vibration sensor also, tried to add before updating the plugin to beta.
Where did you delete it from domoticz? Don't see it in the devices list.

This is my log at beta 4.4.6

Code: Select all

 
2019-07-10 18:55:28.033 Status: (Zigate) [3] NEW OBJECT: 37e1 TimeOut in 0045 restarting at 0x004d
2019-07-10 18:55:28.033 Status: (Zigate) [3] NEW OBJECT: 37e1 Request Model Name
2019-07-10 18:55:43.038 Status: (Zigate) [4] NEW OBJECT: 37e1 TimeOut in 0045 restarting at 0x004d
2019-07-10 18:55:43.038 Status: (Zigate) [4] NEW OBJECT: 37e1 Request Model Name
2019-07-10 18:55:48.022 (Zigate) processNotinDB - not able to find response from 37e1 stop process at 0045
2019-07-10 18:55:48.022 (Zigate) processNotinDB - RIA: 5 waitForDomoDeviceCreation: False, capturePairingInfos: 1 Model: {}
2019-07-10 18:55:48.022 (Zigate) processNotinDB - Collected Infos are : {'LogicalType': '', 'Status': 'UNKNOW', 'ZDeviceID': {}, 'Ep': {}, 'Version': '3', 'Attributes List': {}, 'MacCapa': '80', 'Maufacturer Name': '', 'DeviceType': '', 'RIA': '5', 'ProfileID': {}, 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr need to be allocated'], 'Heartbeat': '1', 'ZCL Version': '', 'RSSI': {}, 'Model': {}, 'NbEp': '', 'Manufacturer': '', 'SQN': '', 'Type': {}, 'App Version': '', 'ReadAttributes': {'TimeStamps': {'02-0000': 1562777743, '01-0000': 1562777743, '09-0000': 1562777743, '03-0000': 1562777743, '06-0000': 1562777743}, 'Ep': {'01': {'0000': {}}, '09': {'0000': {}}, '03': {'0000': {}}, '02': {'0000': {}}, '06': {'0000': {}}}}, 'Stamp': {'Time': '2019-07-10 18:54:32', 'MsgType': ' 4d'}, 'Battery': {}, 'ReceiveOnIdle': '', 'PowerSource': '', 'Last Cmds': [(1562777743.0391414, '0100'), (1562777743.1507993, '0100'), (1562777743.2523239, '0100'), (1562777743.3535256, '0100'), (1562777743.4547002, '0100')], 'ZDeviceName': '', 'HW Version': '', 'Health': '', 'Stack Version': '', 'IEEE': '00158d0002b71c04'} 

Re: Aqara vibration sensor error on Zigate

Posted: Wednesday 10 July 2019 19:37
by pipiche
@twoenter I suggest to you try one more time, this looks like the device is not sending information to Zigate.

Re: Aqara vibration sensor error on Zigate

Posted: Thursday 11 July 2019 19:22
by twoenter
pipiche wrote: Wednesday 10 July 2019 19:37 @twoenter I suggest to you try one more time, this looks like the device is not sending information to Zigate.
Tried many times, still no succes....

Code: Select all

 2019-07-11 19:17:13.035 Status: (Zigate) Started.
2019-07-11 19:17:13.402 Status: (Zigate) Entering work loop.
2019-07-11 19:17:13.403 Status: (Zigate) Initialized version beta-4.4, author 'zaraki673 pipiche38'
2019-07-11 19:17:13.410 Status: (Zigate) Zigate plugin beta-4.4.6 started
2019-07-11 19:17:13.411 Status: (Zigate) Python Version - 3.5.1 (default, Jan 29 2018, 14:16:30)
2019-07-11 19:17:13.411 [GCC 4.9.3 20150311 (prerelease)]
2019-07-11 19:17:13.411 Status: (Zigate) Switching Heartbeat to 5 s interval
2019-07-11 19:17:13.411 Status: (Zigate) DomoticzVersion: 4.10717
2019-07-11 19:17:13.411 Status: (Zigate) DomoticzHash: b38b49e-modified
2019-07-11 19:17:13.411 Status: (Zigate) DomoticzBuildTime: 2019-05-09 13:04:08
2019-07-11 19:17:13.411 Status: (Zigate) Opening DomoticzDB in raw
2019-07-11 19:17:13.412 Status: (Zigate) load PluginConf
2019-07-11 19:17:13.414 Status: (Zigate) filename set to /usr/local/domoticz/var/plugins/Zigate/Conf/PluginConf-27.json
2019-07-11 19:17:13.414 Status: (Zigate) pluginReports set to /usr/local/domoticz/var/plugins/Zigate/Reports/
2019-07-11 19:17:13.414 Status: (Zigate) pluginConfig set to /usr/local/domoticz/var/plugins/Zigate/Conf/
2019-07-11 19:17:13.414 Status: (Zigate) pluginOTAFirmware set to /usr/local/domoticz/var/plugins/Zigate/OTAFirmware/
2019-07-11 19:17:13.414 Status: (Zigate) homedirectory set to /usr/local/domoticz/var/plugins/Zigate/
2019-07-11 19:17:13.414 Status: (Zigate) pluginWWW set to /usr/local/domoticz/var/plugins/Zigate/www/
2019-07-11 19:17:13.414 Status: (Zigate) pluginData set to /usr/local/domoticz/var/plugins/Zigate/Data/
2019-07-11 19:17:13.414 Status: (Zigate) pluginHome set to /usr/local/domoticz/var/plugins/Zigate/
2019-07-11 19:17:13.415 Status: (Zigate) enableWebServer set to 1
2019-07-11 19:17:13.415 Status: (Zigate) enableWebServer set to 1
2019-07-11 19:17:13.421 Status: (Zigate) Plugin Database: DeviceList-27.txt
2019-07-11 19:17:13.440 Status: (Zigate) DeviceConf loaded
2019-07-11 19:17:13.440 Status: (Zigate) load ListOfDevice
2019-07-11 19:17:13.502 Status: (Zigate) Not Loading f45d as Status: UNKNOW
2019-07-11 19:17:13.515 Status: (Zigate) Not Loading 39dd as Status: UNKNOW
2019-07-11 19:17:13.533 Status: (Zigate) Entries loaded from /usr/local/domoticz/var/plugins/Zigate/Data/DeviceList-27.txt : 9
2019-07-11 19:17:13.538 Status: (Zigate) Transport mode: USB
2019-07-11 19:17:13.538 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB2
2019-07-11 19:17:13.540 Status: (Zigate) Configure Permit To Join
2019-07-11 19:17:13.541 Status: (Zigate) Request Accepting new Hardware for 254 seconds
2019-07-11 19:17:13.541 Status: (Zigate) Trigger a Topology Scan
2019-07-11 19:17:13.541 Status: (Zigate) Trigger a Energy Level Scan
2019-07-11 19:17:13.644 Status: (Zigate) Major Version Num: 0003
2019-07-11 19:17:13.644 Status: (Zigate) Installer Version Number: 030f
2019-07-11 19:17:13.847 Status: (Zigate) Accepting new Hardware: On
2019-07-11 19:17:13.969 Status: (Zigate) Zigate addresses ieee: 00158d0001ecaee0 , short addr: 0000
2019-07-11 19:17:13.969 Status: (Zigate) Network state UP, PANID: 3b73 extPANID: 0xd56cfb146c18053c Channel: 11
2019-07-11 19:17:14.091 Status: (Zigate) Number of devices recently active in Zigate = 5 
 2019-07-11 19:17:23.409 Status: (Zigate) Zigate set to Certification : CE
2019-07-11 19:17:23.559 Status: (Zigate) Start Web Server connection
2019-07-11 19:17:23.561 Status: (Zigate) Web backend for Web User Interface started on port: 9440
2019-07-11 19:17:23.561 Status: (Zigate) Plugin with Zigate firmware 030f correctly initialized
2019-07-11 19:17:23.559 Error: (Zigate) ATTENTION: the WebServer part is not supported with this version of Domoticz. Please upgrade to a version greater than 4.10901 




 2019-07-11 19:18:34.830 Status: (Zigate) Device Annoucement ShortAddr: 027b, IEEE: 00158d0002b5fb77
2019-07-11 19:18:48.419 Status: (Zigate) [0] NEW OBJECT: 027b TimeOut in 0045 restarting at 0x004d
2019-07-11 19:18:48.420 Status: (Zigate) [0] NEW OBJECT: 027b Request Model Name
2019-07-11 19:19:03.464 Status: (Zigate) [1] NEW OBJECT: 027b TimeOut in 0045 restarting at 0x004d
2019-07-11 19:19:03.465 Status: (Zigate) [1] NEW OBJECT: 027b Request Model Name
2019-07-11 19:19:18.457 Status: (Zigate) [2] NEW OBJECT: 027b TimeOut in 0045 restarting at 0x004d
2019-07-11 19:19:18.457 Status: (Zigate) [2] NEW OBJECT: 027b Request Model Name
2019-07-11 19:19:33.458 Status: (Zigate) [3] NEW OBJECT: 027b TimeOut in 0045 restarting at 0x004d
2019-07-11 19:19:33.458 Status: (Zigate) [3] NEW OBJECT: 027b Request Model Name
2019-07-11 19:19:48.456 Status: (Zigate) [4] NEW OBJECT: 027b TimeOut in 0045 restarting at 0x004d
2019-07-11 19:19:48.457 Status: (Zigate) [4] NEW OBJECT: 027b Request Model Name
2019-07-11 19:19:53.476 (Zigate) processNotinDB - not able to find response from 027b stop process at 0045
2019-07-11 19:19:53.476 (Zigate) processNotinDB - RIA: 5 waitForDomoDeviceCreation: False, capturePairingInfos: 1 Model: {}
2019-07-11 19:19:53.477 (Zigate) processNotinDB - Collected Infos are : {'LogicalType': '', 'Status': 'UNKNOW', 'ZDeviceID': {}, 'Ep': {}, 'Version': '3', 'Attributes List': {}, 'MacCapa': '80', 'Maufacturer Name': '', 'DeviceType': '', 'RIA': '5', 'ProfileID': {}, 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr need to be allocated'], 'Heartbeat': '1', 'ZCL Version': '', 'RSSI': {}, 'Model': {}, 'NbEp': '', 'Manufacturer': '', 'SQN': '', 'Type': {}, 'App Version': '', 'ReadAttributes': {'TimeStamps': {'02-0000': 1562865588, '01-0000': 1562865588, '09-0000': 1562865588, '03-0000': 1562865588, '06-0000': 1562865588}, 'Ep': {'01': {'0000': {}}, '09': {'0000': {}}, '03': {'0000': {}}, '02': {'0000': {}}, '06': {'0000': {}}}}, 'Stamp': {'Time': '2019-07-11 19:18:34', 'MsgType': ' 4d'}, 'Battery': {}, 'ReceiveOnIdle': '', 'PowerSource': '', 'Last Cmds': [(1562865588.458322, '0100'), (1562865588.5639572, '0100'), (1562865588.6653755, '0100'), (1562865588.766743, '0100'), (1562865588.8681011, '0100')], 'ZDeviceName': '', 'HW Version': '', 'Health': '', 'Stack Version': '', 'IEEE': '00158d0002b5fb77'}
2019-07-11 19:19:53.476 Status: (Zigate) [5] NEW OBJECT: 027b Not able to get all needed attributes on time 

What does this mean?
2019-07-11 19:17:13.502 Status: (Zigate) Not Loading f45d as Status: UNKNOW
2019-07-11 19:17:13.515 Status: (Zigate) Not Loading 39dd as Status: UNKNOW



What can I do to add the sensors?

Re: Aqara vibration sensor error on Zigate

Posted: Thursday 11 July 2019 19:50
by pipiche
That means the plugin has not been able to identified the device and especially the model name.
You might try to remove the device battery

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 13 July 2019 12:58
by twoenter
pipiche wrote: Thursday 11 July 2019 19:50 That means the plugin has not been able to identified the device and especially the model name.
You might try to remove the device battery
mmhz... changed the batteries from other sensors those are working.. stil no succes.... Any other ideas pipiche?

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 13 July 2019 17:01
by pipiche
Stay tuned !

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 13 July 2019 17:26
by pipiche
Problem fixed/

If you have access to the Admin Interface (via the web), you simply has to disable the option capturePairingInfos which is enabled by default in the Verbose and Logging section . You disable it and the paring process should go through

I have also updated the beta branch with the fix.

PS/ It looks like the Virbration doesn't want to respond to the plugin request :-(

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 13 July 2019 19:54
by twoenter
Thank you for fixing so quick. I'll try it next week.

To have access to the admin interface, do i need the latest domoticz version? I have 4.0.10 for synology now

Re: Aqara vibration sensor error on Zigate

Posted: Saturday 13 July 2019 22:16
by pipiche
It is easier (and will be the only supported way) and so you need a Domoticz version above 10901. So it should be one beta for now.
In any case you can check here : https://github.com/pipiche38/Domoticz-Z ... terface.md

Re: Aqara vibration sensor error on Zigate

Posted: Wednesday 17 July 2019 17:15
by twoenter
Wow the Zigate web admin panel is looking good! :D (updated to domoticz and zigate betas)

For me it was not clear I had to type 127.0.0.1:9440 in my browser after enabling the SSH tunnel, so it cost me a while to find out :) I was trying to connect to port 9440 at the domoticz ip adress. Are you planning to make this more userfriendly?

After trying a couple of times more to add the sensor to zigate, I still wasn't able to connect succesfully. (viewtopic.php?f=68&t=28316&start=40 maybe because of trying to add the cc2531 router at the same time)
So I decided to start over and after a erase of the zigate memory I was able to add the vibration sensor in the first attempt. Now it is working with domoticz and Zigate!

Re: Aqara vibration sensor error on Zigate

Posted: Wednesday 17 July 2019 17:32
by pipiche
twoenter wrote: Wednesday 17 July 2019 17:15 Wow the Zigate web admin panel is looking good! :D (updated to domoticz and zigate betas)

For me it was not clear I had to type 127.0.0.1:9440 in my browser after enabling the SSH tunnel, so it cost me a while to find out :) I was trying to connect to port 9440 at the domoticz ip adress. Are you planning to make this more userfriendly?

After trying a couple of times more to add the sensor to zigate, I still wasn't able to connect succesfully. (viewtopic.php?f=68&t=28316&start=40 maybe because of trying to add the cc2531 router at the same time)
So I decided to start over and after a erase of the zigate memory I was able to add the vibration sensor in the first attempt. Now it is working with domoticz and Zigate!
If you are using a latest Domoticz beta then you don't need the ssh tunnel anymore and you can reach the Zigate web admin at domoticz ip:9440