PiZiGate and Aqara wireless switch

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

Moderator: leecollings

ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

PiZiGate and Aqara wireless switch

Post by ronaldbro »

Hi,

Got my PiZiGate today and was successfully able to add an Aqara door sensor, power plug and climate sensor.
But when I try to add the wireless switch (the little square one with one round button) I get the following error in the log: Not able to get all needed attributes on time

Any suggestions would be very welcome

Thanks,
Ronald
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

DId you tried several time ? Was the zigate still in pairing mode ?
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

Yep, I tried about 20 times and stil in pairing mode. Log is the same every time:

2019-03-28 23:49:34.367 Status: (Zigate) Leave indication from IEEE: 00158d00021311e6 , Status: 00
2019-03-28 23:49:35.837 Status: (Zigate) Device Annoucement ShortAddr: 6c2c, IEEE: 00158d00021311e6
2019-03-28 23:49:36.866 Status: (Zigate) [-] NEW OBJECT: 6c2c Request Simple Descriptor for Ep: 01
2019-03-28 23:49:38.529 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:38.529 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:41.282 Status: (Zigate) [-] NEW OBJECT: 6c2c Simple Descriptor EP 01
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c ProfileID 0104
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c ZDeviceID 0103
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster IN Count: 03
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster In 1: 0000
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster In 2: 0012
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster In 3: 0003
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster OUT Count: 01
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster Out 1: 0000
2019-03-28 23:49:43.550 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:43.550 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:43.550 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:48.541 Status: (Zigate) [1] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:48.541 Status: (Zigate) [1] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:48.541 Status: (Zigate) [1] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:53.558 Status: (Zigate) [2] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:53.559 Status: (Zigate) [2] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:53.563 Status: (Zigate) [2] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:58.550 Status: (Zigate) [3] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:58.553 Status: (Zigate) [3] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:58.553 Status: (Zigate) [3] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Not able to get all needed attributes on time
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

No problem with all other devices. I have successfully connected:
6 Aqara TempHumBaro sensors
11 Aqara door sensors
2 Aqara motion detectors
3 Aqara water detectors
2 Tradfri bulbs
1 Hue bulb
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

ronaldbro wrote: Thursday 28 March 2019 23:52 Yep, I tried about 20 times and stil in pairing mode. Log is the same every time:

2019-03-28 23:49:34.367 Status: (Zigate) Leave indication from IEEE: 00158d00021311e6 , Status: 00
2019-03-28 23:49:35.837 Status: (Zigate) Device Annoucement ShortAddr: 6c2c, IEEE: 00158d00021311e6
2019-03-28 23:49:36.866 Status: (Zigate) [-] NEW OBJECT: 6c2c Request Simple Descriptor for Ep: 01
2019-03-28 23:49:38.529 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:38.529 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:41.282 Status: (Zigate) [-] NEW OBJECT: 6c2c Simple Descriptor EP 01
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c ProfileID 0104
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c ZDeviceID 0103
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster IN Count: 03
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster In 1: 0000
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster In 2: 0012
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster In 3: 0003
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster OUT Count: 01
2019-03-28 23:49:41.283 Status: (Zigate) [-] NEW OBJECT: 6c2c Cluster Out 1: 0000
2019-03-28 23:49:43.550 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:43.550 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:43.550 Status: (Zigate) [0] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:48.541 Status: (Zigate) [1] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:48.541 Status: (Zigate) [1] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:48.541 Status: (Zigate) [1] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:53.558 Status: (Zigate) [2] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:53.559 Status: (Zigate) [2] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:53.563 Status: (Zigate) [2] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:58.550 Status: (Zigate) [3] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:58.553 Status: (Zigate) [3] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:49:58.553 Status: (Zigate) [3] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Model Name: lumi.remote.b1acn01
2019-03-28 23:50:03.540 Status: (Zigate) [4] NEW OBJECT: 6c2c Not able to get all needed attributes on time
I suspect this is a new Xiaomi model and seems not recognized by the plugin. You can check in the file DeviceConf.txt if you find an entry 'lumi.remote.b1acn01'
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

Thanks,

Can I just add the line to DeviceConf or should I wait for the next release?
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

I believe you can add the line.

Or may be better is to replace your existing one, by the recommended patch .
https://raw.githubusercontent.com/sasu- ... ceConf.txt

It might be good to do some backup before in case it breaks something
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

Thanks, this worked. I was able to add the button.

Unfortunatly the button only works partly with Zigate. Only single click and double click work. According to the zigate docs there should also be a tripple click and 4 click, but that doesn't work. I think the device doesn't support this.
The button also supports long press and long press release, but I guess this is not supported by Zigate.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

Is there any place where I can make a change request?
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

Is the device on Domoticz correctly created ? Means you have a Switch selector with Click 1, 2, 3 and 4 ?
==> If that is the case, the creation is correctly done, and the patch you did work.
==> If that is not the case, this mean , something is wrong in the device creation and so the patch is not good.

You might want to put some Logs to see exactly what is happening.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

Yes, this is the case. Thats the good part :)
But when I do a single click on the button I get an event, same with double click. But with a tripple click or 4 click nothing happens.

And I really miss the long press...
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

As said, if you could post the log when you are pressing once, twice, long press ...., this would be more helpfull.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

Ah sorry, here it is.
Hope this helps.
Button Id = 00158d00021311e6, idx=261, name=Knop, unit=62

Single click:
Spoiler: show
2019-03-31 12:41:44.797 (Zigate) 02 10 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
2019-03-31 12:41:44.797 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.797 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:41:44.797 (Zigate) Received 2 bytes of data
2019-03-31 12:41:44.797 (Zigate) 21 02 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. !.
2019-03-31 12:41:44.797 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.797 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:41:44.797 (Zigate) Received 1 bytes of data
2019-03-31 12:41:44.797 (Zigate) 10 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:41:44.797 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.797 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:41:44.798 (Zigate) Received 2 bytes of data
2019-03-31 12:41:44.798 (Zigate) 02 12 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
2019-03-31 12:41:44.798 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.798 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:41:44.798 (Zigate) Received 1 bytes of data
2019-03-31 12:41:44.798 (Zigate) 02 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:41:44.798 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.798 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:41:44.798 (Zigate) Received 2 bytes of data
2019-03-31 12:41:44.798 (Zigate) 10 02 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
2019-03-31 12:41:44.798 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.798 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:41:44.798 (Zigate) Received 1 bytes of data
2019-03-31 12:41:44.799 (Zigate) 11 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:41:44.799 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.799 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:41:44.799 (Zigate) Received 2 bytes of data
2019-03-31 12:41:44.799 (Zigate) a2 03 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �.
2019-03-31 12:41:44.799 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:41:44.799 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.799 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.799 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.800 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.800 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.800 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.800 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.800 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.800 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.800 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.801 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.801 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.801 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.801 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.801 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.801 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.801 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.801 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.801 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.802 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.802 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.802 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.802 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.802 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.802 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.802 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.803 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.803 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.803 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.803 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.803 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.803 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.803 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.803 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.804 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.804 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.804 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.804 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.804 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:41:44.804 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:41:44.805 (Zigate) ZigateRead - decoded data : 018102000f881bcc150100120055002100020001a203 lenght : 44
2019-03-31 12:41:44.805 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: 88, Data: 1bcc150100120055002100020001; RSSI: a2
2019-03-31 12:41:44.805 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000f881bcc150100120055002100020001a203
2019-03-31 12:41:44.806 (Zigate) Decode8102 - Individual Attribute response : [cc15:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<
2019-03-31 12:41:44.806 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:41:44.806 (Zigate) Decode8102 : Attribute Report from cc15 SQN = 1b ClusterID = 0012 AttrID = 0055 Attribute Data = 0001
2019-03-31 12:41:44.806 (Zigate) Too early for a new update of LastSeen cc15
2019-03-31 12:41:44.806 (Zigate) Device : cc15 MacCapa : 80 updating SQN to 1b
2019-03-31 12:41:44.807 (Zigate) updSQN - Device : cc15 updating SQN to 1b
2019-03-31 12:41:44.807 (Zigate) ReadCluster - MsgData lenght is: 28 out of 24+
2019-03-31 12:41:44.807 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:41:44.807 (Zigate) ReadCluster - 0012 NwkId: cc15 Ep: 01 AttrId: 0055 AttyType: 21 Attsize: 0002 Status: 00 AttrValue: 0001
2019-03-31 12:41:44.807 (Zigate) decodeAttribute( 21, 0001)
2019-03-31 12:41:44.807 (Zigate) ReadCluster - ClusterId=0012 - Switch Aqara: EP: 01 Value: 1
2019-03-31 12:41:44.807 (Zigate) MajDomoDevice - Device ID : 00158d00021311e6 - Device EP : 01 - Type : 0006 - Value : 1 - Hue : - Attribute_ :
2019-03-31 12:41:44.808 (Zigate) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-31 12:41:44.808 (Zigate) MajDomoDevice - Type = Switch
2019-03-31 12:41:44.808 (Zigate) MajDomoDevice - NWKID = cc15 IEEE = 00158d00021311e6 Unit = 261
2019-03-31 12:41:44.808 (Zigate) MajDomoDevice - {'0012': {}, '0006': {}, '0000': {}, 'ClusterType': {'261': 'SwitchAQ2'}}
2019-03-31 12:41:44.808 (Zigate) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-31 12:41:44.808 (Zigate) MajDomoDevice - NWKID: cc15 SwitchType: 18, DeviceType: SwitchAQ2, ClusterType: Switch, old_nVal: 2 , old_sVal: 10
2019-03-31 12:41:44.809 (Zigate) UpdateDevice_v2 for : 62 Battery Level = 91 Signal Level = 162
2019-03-31 12:41:44.809 (Zigate) UpdateDevice_v2 for : 62 RSSI = 8
2019-03-31 12:41:44.809 (Zigate) UpdateDevice - ( Knop) 1:00
2019-03-31 12:41:44.809 (Zigate) Update Values 1:'00:' (Knop)
2019-03-31 12:41:44.809 (Knop) Updating device from 2:'10' to have values 1:'00'.
2019-03-31 12:41:45.867 (Zigate) Pushing 'onHeartbeatCallback' on to queue
2019-03-31 12:41:45.877 (Zigate) Processing 'onHeartbeatCallback' message
2019-03-31 12:41:45.877 (Zigate) Calling message handler 'onHeartbeat'.
2019-03-31 12:41:45.877 (Zigate) onHeartbeat - busy = False
2019-03-31 12:41:45.006 Status: dzVents: Info: Test: ------ Start internal script: Test: Device: "Knop (Zigate)", Index: 261
2019-03-31 12:41:45.006 Status: dzVents: Info: Test: 0
2019-03-31 12:41:45.006 Status: dzVents: Info: Test: ------ Finished Test
2019-03-31 12:41:50.871 (Zigate) Pushing 'onHeartbeatCallback' on to queue
2019-03-31 12:41:50.920 (Zigate) Processing 'onHeartbeatCallback' message
2019-03-31 12:41:50.920 (Zigate) Calling message handler 'onHeartbeat'.
2019-03-31 12:41:50.920 (Zigate) onHeartbeat - busy = False
double click:
Spoiler: show
2019-03-31 12:43:26.577 (Zigate) 21 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. !
2019-03-31 12:43:26.578 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.578 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:43:26.578 (Zigate) Received 2 bytes of data
2019-03-31 12:43:26.578 (Zigate) 02 10 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
2019-03-31 12:43:26.578 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.578 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:43:26.578 (Zigate) Received 1 bytes of data
2019-03-31 12:43:26.578 (Zigate) 02 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:43:26.578 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.578 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:43:26.578 (Zigate) Received 2 bytes of data
2019-03-31 12:43:26.578 (Zigate) 12 02 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
2019-03-31 12:43:26.578 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.579 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:43:26.579 (Zigate) Received 1 bytes of data
2019-03-31 12:43:26.579 (Zigate) 10 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:43:26.579 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.579 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:43:26.579 (Zigate) Received 2 bytes of data
2019-03-31 12:43:26.579 (Zigate) 02 12 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
2019-03-31 12:43:26.579 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.579 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:43:26.579 (Zigate) Received 1 bytes of data
2019-03-31 12:43:26.579 (Zigate) a2 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �
2019-03-31 12:43:26.579 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.579 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:43:26.580 (Zigate) Received 1 bytes of data
2019-03-31 12:43:26.580 (Zigate) 03 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:43:26.580 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:43:26.580 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.580 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.580 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.580 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.581 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.581 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.581 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.581 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.581 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.581 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.581 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.581 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.582 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.582 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.582 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.582 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.582 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.582 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.582 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.582 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.584 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.584 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.584 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.584 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.584 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.584 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.585 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.585 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.585 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.585 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.585 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.585 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.585 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.586 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.586 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:43:26.586 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:43:26.586 (Zigate) ZigateRead - decoded data : 018102000f8c1ccc150100120055002100020002a203 lenght : 44
2019-03-31 12:43:26.587 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: 8c, Data: 1ccc150100120055002100020002; RSSI: a2
2019-03-31 12:43:26.587 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000f8c1ccc150100120055002100020002a203
2019-03-31 12:43:26.587 (Zigate) Decode8102 - Individual Attribute response : [cc15:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0002<
2019-03-31 12:43:26.587 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:43:26.587 (Zigate) Decode8102 : Attribute Report from cc15 SQN = 1c ClusterID = 0012 AttrID = 0055 Attribute Data = 0002
2019-03-31 12:43:26.588 (Zigate) Touch unit Knop nwkid: cc15
2019-03-31 12:43:26.590 (Zigate) Device : cc15 MacCapa : 80 updating SQN to 1c
2019-03-31 12:43:26.590 (Zigate) updSQN - Device : cc15 updating SQN to 1c
2019-03-31 12:43:26.590 (Zigate) ReadCluster - MsgData lenght is: 28 out of 24+
2019-03-31 12:43:26.591 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:43:26.591 (Zigate) ReadCluster - 0012 NwkId: cc15 Ep: 01 AttrId: 0055 AttyType: 21 Attsize: 0002 Status: 00 AttrValue: 0002
2019-03-31 12:43:26.591 (Zigate) decodeAttribute( 21, 0002)
2019-03-31 12:43:26.591 (Zigate) ReadCluster - ClusterId=0012 - Switch Aqara: EP: 01 Value: 2
2019-03-31 12:43:26.591 (Zigate) MajDomoDevice - Device ID : 00158d00021311e6 - Device EP : 01 - Type : 0006 - Value : 2 - Hue : - Attribute_ :
2019-03-31 12:43:26.591 (Zigate) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-31 12:43:26.592 (Zigate) MajDomoDevice - Type = Switch
2019-03-31 12:43:26.592 (Zigate) MajDomoDevice - NWKID = cc15 IEEE = 00158d00021311e6 Unit = 261
2019-03-31 12:43:26.592 (Zigate) MajDomoDevice - {'0012': {}, '0006': {}, '0000': {}, 'ClusterType': {'261': 'SwitchAQ2'}}
2019-03-31 12:43:26.592 (Zigate) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-31 12:43:26.592 (Zigate) MajDomoDevice - NWKID: cc15 SwitchType: 18, DeviceType: SwitchAQ2, ClusterType: Switch, old_nVal: 1 , old_sVal: 00
2019-03-31 12:43:26.592 (Zigate) UpdateDevice_v2 for : 62 Battery Level = 91 Signal Level = 162
2019-03-31 12:43:26.593 (Zigate) UpdateDevice_v2 for : 62 RSSI = 8
2019-03-31 12:43:26.593 (Zigate) UpdateDevice - ( Knop) 2:10
2019-03-31 12:43:26.593 (Zigate) Update Values 2:'10:' (Knop)
2019-03-31 12:43:26.593 (Knop) Updating device from 1:'00' to have values 2:'10'.
2019-03-31 12:43:26.809 Status: dzVents: Info: Test: ------ Start internal script: Test: Device: "Knop (Zigate)", Index: 261
2019-03-31 12:43:26.809 Status: dzVents: Info: Test: 10
2019-03-31 12:43:26.809 Status: dzVents: Info: Test: ------ Finished Test
2019-03-31 12:43:30.895 (Zigate) Pushing 'onHeartbeatCallback' on to queue
2019-03-31 12:43:30.917 (Zigate) Processing 'onHeartbeatCallback' message
2019-03-31 12:43:30.917 (Zigate) Calling message handler 'onHeartbeat'.
tripple click:
Spoiler: show
2019-03-31 12:45:06.578 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.578 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.578 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.578 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.578 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.579 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.579 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.579 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.579 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.579 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.579 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.579 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.580 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.580 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.580 (Zigate) ZigateRead - decoded data : 018102000edb18c9f2010000000000200001015403 lenght : 42
2019-03-31 12:45:06.580 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000e, MsgCRC: db, Data: 18c9f201000000000020000101; RSSI: 54
2019-03-31 12:45:06.581 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000edb18c9f2010000000000200001015403
2019-03-31 12:45:06.581 (Zigate) Decode8102 - Individual Attribute response : [c9f2:01] ClusterID: 0000 AttributeID: 0000 Status: 00 Type: 20 Size: 0001 ClusterData: >01<
2019-03-31 12:45:06.581 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:45:06.581 (Zigate) Decode8102 : Attribute Report from c9f2 SQN = 18 ClusterID = 0000 AttrID = 0000 Attribute Data = 01
2019-03-31 12:45:06.581 (Zigate) Too early for a new update of LastSeen c9f2
2019-03-31 12:45:06.582 (Zigate) Device : c9f2 MacCapa : 80 updating SQN to 18
2019-03-31 12:45:06.582 (Zigate) updSQN - Device : c9f2 updating SQN to 18
2019-03-31 12:45:06.582 (Zigate) Out of sequence for Device: c9f2 SQN move from 2c to 18 gap of : -20
2019-03-31 12:45:06.582 (Zigate) ReadCluster - MsgData lenght is: 26 out of 24+
2019-03-31 12:45:06.582 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:45:06.582 (Zigate) ReadCluster - 0000 NwkId: c9f2 Ep: 01 AttrId: 0000 AttyType: 20 Attsize: 0001 Status: 00 AttrValue: 01
2019-03-31 12:45:06.582 (Zigate) decodeAttribute( 20, 01)
2019-03-31 12:45:06.582 (Zigate) ReadCluster - 0x0000 - ZCL Version: 1
2019-03-31 12:45:06.582 (Zigate) decodeAttribute( 20, 01)
2019-03-31 12:45:06.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.583 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.583 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.584 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.584 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.584 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.584 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.584 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.584 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.584 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.584 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.585 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.585 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.585 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.585 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.585 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.585 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.585 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.586 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:45:06.586 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:45:06.586 (Zigate) ZigateRead - decoded data : 018102000d7f18c9f2010000ff0186ff00005403 lenght : 40
2019-03-31 12:45:06.586 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000d, MsgCRC: 7f, Data: 18c9f2010000ff0186ff0000; RSSI: 54
2019-03-31 12:45:06.586 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000d7f18c9f2010000ff0186ff00005403
2019-03-31 12:45:06.587 (Zigate) Decode8102 - Individual Attribute response : [c9f2:01] ClusterID: 0000 AttributeID: ff01 Status: 86 Type: ff Size: 0000 ClusterData: ><
2019-03-31 12:45:06.587 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:45:06.587 (Zigate) Decode8102 : Attribute Report from c9f2 SQN = 18 ClusterID = 0000 AttrID = ff01 Attribute Data =
2019-03-31 12:45:06.587 (Zigate) Too early for a new update of LastSeen c9f2
2019-03-31 12:45:06.587 (Zigate) Device : c9f2 MacCapa : 80 updating SQN to 18
2019-03-31 12:45:06.587 (Zigate) ReadCluster - MsgData lenght is: 24 out of 24+
2019-03-31 12:45:06.587 (Zigate) ReadCluster - Status 86 for addr: c9f2/01 on cluster/attribute 0000/ff01
2019-03-31 12:45:10.991 (Zigate) Pushing 'onHeartbeatCallback' on to queue
2019-03-31 12:45:10.995 (Zigate) Processing 'onHeartbeatCallback' message
2019-03-31 12:45:10.996 (Zigate) Calling message handler 'onHeartbeat'.
2019-03-31 12:45:10.996 (Zigate) onHeartbeat - busy = False
4 click:
Spoiler: show
2019-03-31 12:47:01.595 (Zigate) Pushing 'onHeartbeatCallback' on to queue
2019-03-31 12:47:01.645 (Zigate) Processing 'onHeartbeatCallback' message
2019-03-31 12:47:01.645 (Zigate) Calling message handler 'onHeartbeat'.
2019-03-31 12:47:01.646 (Zigate) onHeartbeat - busy = False
long press and long press release:
Spoiler: show
2019-03-31 12:48:09.617 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:48:09.617 (Zigate) Received 1 bytes of data
2019-03-31 12:48:09.617 (Zigate) 10 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:48:09.618 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:48:09.618 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:48:09.618 (Zigate) Received 1 bytes of data
2019-03-31 12:48:09.618 (Zigate) 02 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:48:09.618 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:48:09.618 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:48:09.618 (Zigate) Received 2 bytes of data
2019-03-31 12:48:09.618 (Zigate) 10 99 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .�
2019-03-31 12:48:09.618 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:48:09.618 (Zigate) Processing 'ReadEvent' message
2019-03-31 12:48:09.618 (Zigate) Received 1 bytes of data
2019-03-31 12:48:09.618 (Zigate) 03 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-31 12:48:09.619 (Zigate) Pushing 'onMessageCallback' on to queue
2019-03-31 12:48:09.619 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.619 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.619 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.619 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.619 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.619 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.619 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.620 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.620 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.620 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.620 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.620 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.620 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.620 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.620 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.621 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.621 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.621 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.621 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.621 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.621 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.621 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.621 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.622 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.622 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.622 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.622 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.622 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.622 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.622 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.623 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.623 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.623 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.623 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.623 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.623 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.623 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.624 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.624 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.624 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.624 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.624 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.624 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.624 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.625 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.625 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.625 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.625 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.625 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.625 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.626 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.626 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.626 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.626 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.626 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.626 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.626 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:09.627 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:09.627 (Zigate) ZigateRead - decoded data : 018102000fa900cc1501001200550021000200009903 lenght : 44
2019-03-31 12:48:09.627 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: a9, Data: 00cc150100120055002100020000; RSSI: 99
2019-03-31 12:48:09.628 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000fa900cc1501001200550021000200009903
2019-03-31 12:48:09.628 (Zigate) Decode8102 - Individual Attribute response : [cc15:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0000<
2019-03-31 12:48:09.628 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:48:09.628 (Zigate) Decode8102 : Attribute Report from cc15 SQN = 00 ClusterID = 0012 AttrID = 0055 Attribute Data = 0000
2019-03-31 12:48:09.628 (Zigate) Too early for a new update of LastSeen cc15
2019-03-31 12:48:09.629 (Zigate) Device : cc15 MacCapa : 80 updating SQN to 00
2019-03-31 12:48:09.629 (Zigate) updSQN - Device : cc15 updating SQN to 00
2019-03-31 12:48:09.629 (Zigate) ReadCluster - MsgData lenght is: 28 out of 24+
2019-03-31 12:48:09.629 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:48:09.629 (Zigate) ReadCluster - 0012 NwkId: cc15 Ep: 01 AttrId: 0055 AttyType: 21 Attsize: 0002 Status: 00 AttrValue: 0000
2019-03-31 12:48:09.629 (Zigate) decodeAttribute( 21, 0000)
2019-03-31 12:48:09.629 (Zigate) ReadCluster - ClusterId=0012 - Switch Aqara: EP: 01 Value: 0
2019-03-31 12:48:09.630 (Zigate) MajDomoDevice - Device ID : 00158d00021311e6 - Device EP : 01 - Type : 0006 - Value : 3 - Hue : - Attribute_ :
2019-03-31 12:48:09.630 (Zigate) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-31 12:48:09.630 (Zigate) MajDomoDevice - Type = Switch
2019-03-31 12:48:09.630 (Zigate) MajDomoDevice - NWKID = cc15 IEEE = 00158d00021311e6 Unit = 261
2019-03-31 12:48:09.630 (Zigate) MajDomoDevice - {'0012': {}, '0006': {}, '0000': {}, 'ClusterType': {'261': 'SwitchAQ2'}}
2019-03-31 12:48:09.630 (Zigate) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-31 12:48:09.631 (Zigate) MajDomoDevice - NWKID: cc15 SwitchType: 18, DeviceType: SwitchAQ2, ClusterType: Switch, old_nVal: 2 , old_sVal: 10
2019-03-31 12:48:09.631 (Zigate) UpdateDevice_v2 for : 62 Battery Level = 91 Signal Level = 153
2019-03-31 12:48:09.631 (Zigate) UpdateDevice_v2 for : 62 RSSI = 7
2019-03-31 12:48:09.631 (Zigate) UpdateDevice - ( Knop) 3:20
2019-03-31 12:48:09.631 (Zigate) Update Values 3:'20:' (Knop)
2019-03-31 12:48:09.809 Status: dzVents: Info: Test: ------ Start internal script: Test: Device: "Knop (Zigate)", Index: 261
2019-03-31 12:48:12.155 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.155 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.155 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.155 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.155 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.155 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.155 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.155 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.155 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.155 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.155 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.155 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.155 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.155 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.156 (Zigate) ZigateRead - decoded data : 018102000e801f422c010000000000200001015d03 lenght : 42
2019-03-31 12:48:12.156 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000e, MsgCRC: 80, Data: 1f422c01000000000020000101; RSSI: 5d
2019-03-31 12:48:12.156 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000e801f422c010000000000200001015d03
2019-03-31 12:48:12.156 (Zigate) Decode8102 - Individual Attribute response : [422c:01] ClusterID: 0000 AttributeID: 0000 Status: 00 Type: 20 Size: 0001 ClusterData: >01<
2019-03-31 12:48:12.156 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:48:12.156 (Zigate) Decode8102 : Attribute Report from 422c SQN = 1f ClusterID = 0000 AttrID = 0000 Attribute Data = 01
2019-03-31 12:48:12.156 (Zigate) Too early for a new update of LastSeen 422c
2019-03-31 12:48:12.157 (Zigate) Device : 422c MacCapa : 80 updating SQN to 1f
2019-03-31 12:48:12.157 (Zigate) updSQN - Device : 422c updating SQN to 1f
2019-03-31 12:48:12.157 (Zigate) Out of sequence for Device: 422c SQN move from 5a to 1f gap of : -59
2019-03-31 12:48:12.157 (Zigate) ReadCluster - MsgData lenght is: 26 out of 24+
2019-03-31 12:48:12.157 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:48:12.157 (Zigate) ReadCluster - 0000 NwkId: 422c Ep: 01 AttrId: 0000 AttyType: 20 Attsize: 0001 Status: 00 AttrValue: 01
2019-03-31 12:48:12.157 (Zigate) decodeAttribute( 20, 01)
2019-03-31 12:48:12.157 (Zigate) ReadCluster - 0x0000 - ZCL Version: 1
2019-03-31 12:48:12.157 (Zigate) decodeAttribute( 20, 01)
2019-03-31 12:48:12.157 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.157 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.157 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.157 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.157 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.157 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.157 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.158 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.158 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.159 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.159 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.160 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.160 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.160 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.160 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.160 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.160 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.160 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.160 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.160 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.160 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.160 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.160 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.160 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.160 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.161 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.161 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.161 (Zigate) Processing 'onMessageCallback' message
2019-03-31 12:48:12.161 (Zigate) Calling message handler 'onMessage'.
2019-03-31 12:48:12.161 (Zigate) ZigateRead - decoded data : 018102000d241f422c010000ff0186ff00005d03 lenght : 40
2019-03-31 12:48:12.161 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000d, MsgCRC: 24, Data: 1f422c010000ff0186ff0000; RSSI: 5d
2019-03-31 12:48:12.161 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000d241f422c010000ff0186ff00005d03
2019-03-31 12:48:12.161 (Zigate) Decode8102 - Individual Attribute response : [422c:01] ClusterID: 0000 AttributeID: ff01 Status: 86 Type: ff Size: 0000 ClusterData: ><
2019-03-31 12:48:12.161 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:48:12.161 (Zigate) Decode8102 : Attribute Report from 422c SQN = 1f ClusterID = 0000 AttrID = ff01 Attribute Data =
2019-03-31 12:48:12.161 (Zigate) Too early for a new update of LastSeen 422c
2019-03-31 12:48:12.162 (Zigate) Device : 422c MacCapa : 80 updating SQN to 1f
2019-03-31 12:48:12.162 (Zigate) ReadCluster - MsgData lenght is: 24 out of 24+
2019-03-31 12:48:12.162 (Zigate) ReadCluster - Status 86 for addr: 422c/01 on cluster/attribute 0000/ff01
2019-03-31 12:48:16.782 (Zigate) Pushing 'onHeartbeatCallback' on to queue
2019-03-31 12:48:16.835 (Zigate) Processing 'onHeartbeatCallback' message
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

Thanks for such detailed Logs.

Here after is what I have been able to identify.
In short:

4 clicks and 3 clicks do not report anything. At least the Hardware Zigate doesn't send anything to the plugin.

Long press - is reported to domoticz with Level 20 (should be 3 Click)
2 Click - is reported to domoticz with Level 10 (should be 2 click)
1 click - is reported to domoticz with Level 00 (should be 1 click)

At least this is my interpretation as I do not have such device. May be someone with that device should comment it ?

Code: Select all

Long press
2019-03-31 12:48:09.629 (Zigate) decodeAttribute( 21, 0000)
2019-03-31 12:48:09.629 (Zigate) ReadCluster - ClusterId=0012 - Switch Aqara: EP: 01 Value: 0
2019-03-31 12:48:09.630 (Zigate) MajDomoDevice - Device ID : 00158d00021311e6 - Device EP : 01 - Type : 0006 - Value : 3 - Hue : - Attribute_ :

Update Device 3:20

--------------------
4 Clicks
=> Nothing coming from device

--------------------
3 Clicks
==> Nothing coming from device

--------------------
2 Clicks
2019-03-31 12:43:26.586 (Zigate) ZigateRead - decoded data : 018102000f8c1ccc150100120055002100020002a203 lenght : 44
2019-03-31 12:43:26.587 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: 8c, Data: 1ccc150100120055002100020002; RSSI: a2
2019-03-31 12:43:26.587 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000f8c1ccc150100120055002100020002a203
2019-03-31 12:43:26.587 (Zigate) Decode8102 - Individual Attribute response : [cc15:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0002<
2019-03-31 12:43:26.587 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 12:43:26.587 (Zigate) Decode8102 : Attribute Report from cc15 SQN = 1c ClusterID = 0012 AttrID = 0055 Attribute Data = 0002

Update Device 2:10

--------------------
1 Click
2019-03-31 12:41:44.805 (Zigate) ZigateRead - decoded data : 018102000f881bcc150100120055002100020001a203 lenght : 44
2019-03-31 12:41:44.805 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: 88, Data: 1bcc150100120055002100020001; RSSI: a2
2019-03-31 12:41:44.805 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000f881bcc150100120055002100020001a203
2019-03-31 12:41:44.806 (Zigate) Decode8102 - Individual Attribute response : [cc15:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<

Update Device 1:00
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: PiZiGate and Aqara wireless switch

Post by fredo »

According to the zigate docs there should also be a tripple click and 4 click, but that doesn't work. I think the device doesn't support this.
What do you mean According to the Zigate docs ?
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

fredo wrote: Sunday 31 March 2019 17:33
According to the zigate docs there should also be a tripple click and 4 click, but that doesn't work. I think the device doesn't support this.
What do you mean According to the Zigate docs ?
I mean this:
https://github.com/pipiche38/Domoticz-Z ... Devices.md

I will check the long press again, maybe it’s just a textual mistake
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

I did some tests and I can confirm that a long press sets level 20 and when pressing the event is send every few seconds repeatively.

So the only events that I get from the device is single click, double click and long press.
enough for me, so I'm happy :)
Thanks for your help.

If you want me to test something please let me know. I would be happy to.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

I did some more testing and I noticed that after a long press (level 20) I get a single click on the release of the button. This should have been a long press release.
Spoiler: show
2019-03-31 20:50:13.605 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.605 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.605 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.606 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.607 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.607 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.607 (Zigate) Received 1 bytes of data
2019-03-31 20:50:13.611 (Zigate) ZigateRead - decoded data : 018102000f4002cc1501001200550021000200007203 lenght : 44
2019-03-31 20:50:13.611 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: 40, Data: 02cc150100120055002100020000; RSSI: 72
2019-03-31 20:50:13.612 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000f4002cc1501001200550021000200007203
2019-03-31 20:50:13.612 (Zigate) Decode8102 - Individual Attribute response : [cc15:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0000<
2019-03-31 20:50:13.612 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 20:50:13.612 (Zigate) Decode8102 : Attribute Report from cc15 SQN = 02 ClusterID = 0012 AttrID = 0055 Attribute Data = 0000
2019-03-31 20:50:13.612 (Zigate) Too early for a new update of LastSeen cc15
2019-03-31 20:50:13.613 (Zigate) Device : cc15 MacCapa : 80 updating SQN to 02
2019-03-31 20:50:13.613 (Zigate) updSQN - Device : cc15 updating SQN to 02
2019-03-31 20:50:13.613 (Zigate) ReadCluster - MsgData lenght is: 28 out of 24+
2019-03-31 20:50:13.613 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 20:50:13.613 (Zigate) ReadCluster - 0012 NwkId: cc15 Ep: 01 AttrId: 0055 AttyType: 21 Attsize: 0002 Status: 00 AttrValue: 0000
2019-03-31 20:50:13.614 (Zigate) decodeAttribute( 21, 0000)
2019-03-31 20:50:13.614 (Zigate) ReadCluster - ClusterId=0012 - Switch Aqara: EP: 01 Value: 0
2019-03-31 20:50:13.614 (Zigate) MajDomoDevice - Device ID : 00158d00021311e6 - Device EP : 01 - Type : 0006 - Value : 3 - Hue : - Attribute_ :
2019-03-31 20:50:13.614 (Zigate) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-31 20:50:13.614 (Zigate) MajDomoDevice - Type = Switch
2019-03-31 20:50:13.614 (Zigate) MajDomoDevice - NWKID = cc15 IEEE = 00158d00021311e6 Unit = 261
2019-03-31 20:50:13.615 (Zigate) MajDomoDevice - {'0012': {}, '0006': {}, '0000': {}, 'ClusterType': {'261': 'SwitchAQ2'}}
2019-03-31 20:50:13.615 (Zigate) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-31 20:50:13.615 (Zigate) MajDomoDevice - NWKID: cc15 SwitchType: 18, DeviceType: SwitchAQ2, ClusterType: Switch, old_nVal: 1 , old_sVal: 00
2019-03-31 20:50:13.615 (Zigate) UpdateDevice_v2 for : 62 Battery Level = 91 Signal Level = 114
2019-03-31 20:50:13.615 (Zigate) UpdateDevice_v2 for : 62 RSSI = 5
2019-03-31 20:50:13.615 (Zigate) UpdateDevice - ( Knop) 3:20
2019-03-31 20:50:13.616 (Zigate) Update Values 3:'20:' (Knop)
2019-03-31 20:50:13.616 (Knop) Updating device from 1:'00' to have values 3:'20'.
2019-03-31 20:50:13.634 (Zigate) waitForData - Timeout 4 on 8120 Command waiting for 0120
2019-03-31 20:50:13.792 Status: dzVents: Info: Test: ------ Start internal script: Test: Device: "Knop (Zigate)", Index: 261
2019-03-31 20:50:13.792 Status: dzVents: Info: Test: 20
2019-03-31 20:50:13.792 Status: dzVents: Info: Test: ------ Finished Test
2019-03-31 20:50:14.088 (Zigate) onHeartbeat - busy = False
2019-03-31 20:50:19.116 (Zigate) onHeartbeat - busy = False
2019-03-31 20:50:19.448 (Zigate) Received 2 bytes of data
2019-03-31 20:50:19.448 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.448 (Zigate) Received 31 bytes of data
2019-03-31 20:50:19.449 (Zigate) ZigateRead - decoded data : 018102000f4900cc1501001200550021000200017803 lenght : 44
2019-03-31 20:50:19.450 (Zigate) ZigateRead - MsgType: 8102, MsgLength: 000f, MsgCRC: 49, Data: 00cc150100120055002100020001; RSSI: 78
2019-03-31 20:50:19.450 (Zigate) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000f4900cc1501001200550021000200017803
2019-03-31 20:50:19.450 (Zigate) Decode8102 - Individual Attribute response : [cc15:01] ClusterID: 0012 AttributeID: 0055 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<
2019-03-31 20:50:19.450 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 20:50:19.450 (Zigate) Decode8102 : Attribute Report from cc15 SQN = 00 ClusterID = 0012 AttrID = 0055 Attribute Data = 0001
2019-03-31 20:50:19.450 (Zigate) Too early for a new update of LastSeen cc15
2019-03-31 20:50:19.451 (Zigate) Device : cc15 MacCapa : 80 updating SQN to 00
2019-03-31 20:50:19.451 (Zigate) updSQN - Device : cc15 updating SQN to 00
2019-03-31 20:50:19.451 (Zigate) ReadCluster - MsgData lenght is: 28 out of 24+
2019-03-31 20:50:19.451 (Zigate) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-31 20:50:19.451 (Zigate) ReadCluster - 0012 NwkId: cc15 Ep: 01 AttrId: 0055 AttyType: 21 Attsize: 0002 Status: 00 AttrValue: 0001
2019-03-31 20:50:19.452 (Zigate) decodeAttribute( 21, 0001)
2019-03-31 20:50:19.452 (Zigate) ReadCluster - ClusterId=0012 - Switch Aqara: EP: 01 Value: 1
2019-03-31 20:50:19.452 (Zigate) MajDomoDevice - Device ID : 00158d00021311e6 - Device EP : 01 - Type : 0006 - Value : 1 - Hue : - Attribute_ :
2019-03-31 20:50:19.452 (Zigate) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-31 20:50:19.452 (Zigate) MajDomoDevice - Type = Switch
2019-03-31 20:50:19.452 (Zigate) MajDomoDevice - NWKID = cc15 IEEE = 00158d00021311e6 Unit = 261
2019-03-31 20:50:19.453 (Zigate) MajDomoDevice - {'0012': {}, '0006': {}, '0000': {}, 'ClusterType': {'261': 'SwitchAQ2'}}
2019-03-31 20:50:19.453 (Zigate) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-31 20:50:19.453 (Zigate) MajDomoDevice - NWKID: cc15 SwitchType: 18, DeviceType: SwitchAQ2, ClusterType: Switch, old_nVal: 3 , old_sVal: 20
2019-03-31 20:50:19.453 (Zigate) UpdateDevice_v2 for : 62 Battery Level = 91 Signal Level = 120
2019-03-31 20:50:19.453 (Zigate) UpdateDevice_v2 for : 62 RSSI = 6
2019-03-31 20:50:19.453 (Zigate) UpdateDevice - ( Knop) 1:00
2019-03-31 20:50:19.453 (Zigate) Update Values 1:'00:' (Knop)
2019-03-31 20:50:19.453 (Knop) Updating device from 3:'20' to have values 1:'00'.
2019-03-31 20:50:19.619 (Zigate) Received 2 bytes of data
2019-03-31 20:50:19.619 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.619 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.619 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.619 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.620 (Zigate) Received 1 bytes of data
2019-03-31 20:50:19.621 (Zigate) ZigateRead - decoded data : 018701000355d0000003 lenght : 20
2019-03-31 20:50:19.621 (Zigate) ZigateRead - MsgType: 8701, MsgLength: 0003, MsgCRC: 55, Data: d000; RSSI: 00
2019-03-31 20:50:19.621 (Zigate) ZigateRead - MsgType 8701 - Reception Router discovery confirm : 018701000355d0000003
2019-03-31 20:50:19.621 (Zigate) Decode8701 - MsgLen = 4
2019-03-31 20:50:19.621 (Zigate) Decode8701 - Route discovery has been performed, status: 00 Nwk Status: d0
2019-03-31 20:50:19.622 (Zigate) Decode8701 - Route discovery has been performed, status: 00 - Success Nwk Status: d0 - Attempt at route discovery has failed due to any reason except lack of table space
2019-03-31 20:50:19.641 Status: dzVents: Info: Test: ------ Start internal script: Test: Device: "Knop (Zigate)", Index: 261
2019-03-31 20:50:19.641 Status: dzVents: Info: Test: 0
2019-03-31 20:50:19.641 Status: dzVents: Info: Test: ------ Finished Test
2019-03-31 20:50:24.079 (Zigate) onHeartbeat - busy = False
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: PiZiGate and Aqara wireless switch

Post by ronaldbro »

just a small update, the single click message after a long press does not happen always. looks like a timing issue. when I press the button for 3 seconds I get a level 20 update without a level 0 after. When I press it for 5 seconds I get a level 20 and a level 0 after.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest