Page 1 of 1

PIR sensor with Zigate+ error

Posted: Saturday 28 August 2021 15:39
by djdehaan
Hi all,

I have a Zigbee 3.0 motion sensor from Aliexpress (https://nl.aliexpress.com/item/1005002419717912.html). My ZiGate+ does receive signals and also creates device in the plugin (see image, bottom item). But there is no device successfully added in Domoticz. I do see a number of attempts but it finaly cancels with an error. From the plugin I exported the "unknown devices" json, it is in the zip file attached. Anyone able to get this PIR sensor working?

Logging in Domoticz:
2021-08-28 15:35:39.169 Status: ZiGate: (ZiGate) [-] NEW OBJECT: 44dd Active Endpoint Response Ep: 01 LQI: 80
2021-08-28 15:35:39.169 Status: ZiGate: (ZiGate) [-] NEW OBJECT: 44dd Request Simple Descriptor for Ep: 01
2021-08-28 15:35:44.327 ZiGate: (ZiGate) inRawAps 44dd/01 Cluster 0003 Manuf: /_TYZB01_dl7cejts Command: 01 Data: Payload: 110101 not processed !!!
2021-08-28 15:35:46.205 ZiGate: (ZiGate) Assisted Pairing: Polling: []
2021-08-28 15:35:46.205 ZiGate: (ZiGate) --> Empty queue
2021-08-28 15:35:47.080 Status: ZiGate: (ZiGate) [0] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:35:47.080 Status: ZiGate: (ZiGate) [0] NEW OBJECT: 44dd TimeOut in 0043 restarting at 0x0043
2021-08-28 15:35:47.080 Status: ZiGate: (ZiGate) [-] NEW OBJECT: 44dd Request Simple Descriptor for Ep: 01
2021-08-28 15:35:52.110 Status: ZiGate: (ZiGate) [1] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:35:56.228 ZiGate: (ZiGate) Assisted Pairing: Polling: []
2021-08-28 15:35:56.228 ZiGate: (ZiGate) --> Empty queue
2021-08-28 15:35:57.103 Status: ZiGate: (ZiGate) [1] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:35:57.103 Status: ZiGate: (ZiGate) [1] NEW OBJECT: 44dd TimeOut in 0043 restarting at 0x0043
2021-08-28 15:35:57.103 Status: ZiGate: (ZiGate) [-] NEW OBJECT: 44dd Request Simple Descriptor for Ep: 01
2021-08-28 15:35:59.327 ZiGate: (ZiGate) inRawAps 44dd/01 Cluster 0003 Manuf: /_TYZB01_dl7cejts Command: 01 Data: Payload: 110201 not processed !!!
2021-08-28 15:36:02.103 Status: ZiGate: (ZiGate) [2] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:36:06.206 ZiGate: (ZiGate) Assisted Pairing: Polling: []
2021-08-28 15:36:06.206 ZiGate: (ZiGate) --> Empty queue
2021-08-28 15:36:07.066 Status: ZiGate: (ZiGate) [2] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:36:07.066 Status: ZiGate: (ZiGate) [2] NEW OBJECT: 44dd TimeOut in 0043 restarting at 0x0043
2021-08-28 15:36:07.066 Status: ZiGate: (ZiGate) [-] NEW OBJECT: 44dd Request Simple Descriptor for Ep: 01
2021-08-28 15:36:12.100 Status: ZiGate: (ZiGate) [3] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:36:14.332 ZiGate: (ZiGate) inRawAps 44dd/01 Cluster 0003 Manuf: /_TYZB01_dl7cejts Command: 01 Data: Payload: 110301 not processed !!!
2021-08-28 15:36:16.239 ZiGate: (ZiGate) Assisted Pairing: Polling: []
2021-08-28 15:36:16.239 ZiGate: (ZiGate) --> Empty queue
2021-08-28 15:36:17.114 Status: ZiGate: (ZiGate) [3] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:36:17.114 Status: ZiGate: (ZiGate) [3] NEW OBJECT: 44dd TimeOut in 0043 restarting at 0x0043
2021-08-28 15:36:17.114 Status: ZiGate: (ZiGate) [-] NEW OBJECT: 44dd Request Simple Descriptor for Ep: 01
2021-08-28 15:36:22.076 Status: ZiGate: (ZiGate) [4] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:36:26.192 ZiGate: (ZiGate) Assisted Pairing: Polling: []
2021-08-28 15:36:26.192 ZiGate: (ZiGate) --> Empty queue
2021-08-28 15:36:27.067 Status: ZiGate: (ZiGate) [4] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:36:27.067 Status: ZiGate: (ZiGate) [4] NEW OBJECT: 44dd TimeOut in 0043 restarting at 0x0043
2021-08-28 15:36:27.067 Status: ZiGate: (ZiGate) [-] NEW OBJECT: 44dd Request Simple Descriptor for Ep: 01
2021-08-28 15:36:29.336 ZiGate: (ZiGate) inRawAps 44dd/01 Cluster 0003 Manuf: /_TYZB01_dl7cejts Command: 01 Data: Payload: 110401 not processed !!!
2021-08-28 15:36:32.109 Status: ZiGate: (ZiGate) [5] NEW OBJECT: 44dd Model Name: TS0202
2021-08-28 15:36:32.109 Error: ZiGate: (ZiGate) [5] NEW OBJECT: 44dd Not able to get all needed attributes on time
2021-08-28 15:36:32.109 Error: ZiGate: (ZiGate) processNotinDB - not able to find response from 44dd stop process at 0043
2021-08-28 15:36:32.109 Error: ZiGate: (ZiGate) processNotinDB - RIA: 5 waitForDomoDeviceCreation: False, capturePairingInfos: 0 Model: TS0202
2021-08-28 15:36:32.109 Error: ZiGate: (ZiGate) processNotinDB - Collected Infos are : {'Version': '3', 'ZDeviceName': '', 'Status': 'UNKNOW', 'SQN': '0a', 'Ep': {'01': {'0001': {'0020': 30, '0021': 160}, '0500': {'0002': 'alarm1: 1, alarm2: 0, tamper: 0, batter: 0, srepor: 0, rrepor: 0, troubl: 0, acmain: 0, test: 0, batdef: 0'}, '0000': {'0004': '_TYZB01_dl7cejts', '0005': 'TS0202'}}}, 'Heartbeat': '1', 'RIA': '5', 'LQI': 81, 'Battery': 160.0, 'Model': 'TS0202', 'ForceAckCommands': [], 'MacCapa': '80', 'IEEE': '00124b0012ad803a', 'Type': {}, 'ProfileID': {}, 'ZDeviceID': {}, 'App Version': '', 'Attributes List': {}, 'DeviceType': 'RFD', 'HW Version': '', 'Last Cmds': [(628, '02', '44dd', '0100', '0101000000000000010004'), (629, '02', '44dd', '0100', '0101000000000000010005')], 'LogicalType': 'End Device', 'Manufacturer': '', 'Manufacturer Name': '_TYZB01_dl7cejts', 'NbEp': '1', 'PowerSource': '', 'ReadAttributes': {'Ep': {'01': {'0001': {'TimeStamp': 1630157737, 'iSQN': {}, 'Attributes': {'0020': '00', '0021': '00'}, 'ZigateRequest': {}}, '0000': {'TimeStamp': 1630157743, 'iSQN': {'0004': 628, '0005': 629}, 'Attributes': {'0004': '00', '0005': '00'}, 'ZigateRequest': {}}, '0500': {'TimeStamp': 1630157790, 'iSQN': {}, 'Attributes': {'0002': '00'}, 'ZigateRequest': {}}}}}, 'ReceiveOnIdle': '', 'Stack Version': '', 'Stamp': {'time': 1630157790.6485229, 'Time': '2021-08-28 15:36:30', 'MsgType': '8102', 'LastSeen': 1630157790}, 'ZCL Version': '', 'Health': 'Live', 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr should be allocated'], 'RollingLQI': [79, 90, 91, 103, 103, 92, 75, 75, 90, 90, 81], 'BatteryUpdateTime': 1630157737, 'WriteAttributes': {'Ep': {'01': {'0001': {'TimeStamp': 0, 'iSQN': {}, 'Attributes': {}, 'ZigateRequest': {}}, '0500': {'TimeStamp': 0, 'iSQN': {}, 'Attributes': {}, 'ZigateRequest': {}}, '0000': {'TimeStamp': 0, 'iSQN': {}, 'Attributes': {}, 'ZigateRequest': {}}}}}, 'Epv2': {'01': {'ClusterIn': {}, 'ClusterOut': {}, 'ProfileID': {}, 'ZDeviceID': {}}}, 'IAS': {'01': {'EnrolledStatus': {}, 'ZoneType': {}, 'ZoneTypeName': {}, 'ZoneStatus': {'alarm1': 1, 'alarm2': 0, 'tamper': 0, 'battery': 0, 'Support Reporting': 0, 'Restore Reporting': 0, 'trouble': 0, 'acmain': 0, 'test': 0, 'battdef': 0, 'GlobalInfos': '1;0;0;0;0;0;0;0;0;0', 'TimeStamp': 1630157790}}}, 'PairingInProgress': True, 'ConsistencyCheck': 'Bad Pairing'}
2021-08-28 15:36:36.240 ZiGate: (ZiGate) Assisted Pairing: Polling: []
2021-08-28 15:36:36.240 ZiGate: (ZiGate) --> Empty queue

Re: PIR sensor with Zigate+ error

Posted: Saturday 28 August 2021 18:20
by pipiche
This device is not yet supported on the plugin, you are the first one trying it.

I just did some changed in the beta branch, so it would be good to test

- stop Domoticz or the plugin
- go to the ZiGate plugin home directory

Code: Select all

- git pull
- git checkout beta
- git pull
/* this will bring you to the beta branch
- restart the plugin
- Start pairing the PIR

Re: PIR sensor with Zigate+ error

Posted: Sunday 29 August 2021 0:07
by djdehaan
Yep, that does the job. It is now recognised as Motion detector. Thanks again!

Re: PIR sensor with Zigate+ error

Posted: Thursday 25 November 2021 14:24
by dondipietro
Hello,
I have a sensor very similar to that one but With PIR + temperature humidity :
Zigate reports it as "TS0202"

It exist under different name :
Tuya ZigBee – multi-capteur 4-in-1 PIR motion temperature : https://fr.aliexpress.com/item/1005001878974427.html

But also a CE version :


IMMAX NEO SMART MOTION SENSOR 4IN1 ZIGBEE 3.0
https://www.immax.cz/media/186/07502l-p ... QwNUZfMTg2

With the zigate is seems only 2 clusters are found : Motion and Tamper, I don't see Temperature, humidity, and Lux
TS0202
ZG2 - TS0202_Motion-14b457fffe0e47fa-01
ZG2 - TS0202_Tamper-14b457fffe0e47fa-01

Is there something I can do ?

Thank you.

Re: PIR sensor with Zigate+ error

Posted: Thursday 25 November 2021 14:30
by pipiche
Might be better to crest a different post. And then specify more information

Plugin branch ? Plugin version ?
Zigate version ?

Provide as an attachment the export.json Device Plugin RAW (json) from the webUI > tools


Envoyé de mon iPhone en utilisant Tapatalk

Re: PIR sensor with Zigate+ error

Posted: Thursday 25 November 2021 14:52
by dondipietro
Thank you Pipiche, I will do that.