[RELEASE] Tuya Zigbee Multi-Sensor 4 In 1 (PIR motion sensors) w/ healthStatus

[Update 0]
I only had a few minutes to test, but it looks to work for at least motion. When I have more time later today, I will run the testing gambit. @kkossev, you do amazing work.

2 Likes

[Update 1]
The motion detection and illuminance seems to work well, better than I expected. This is my first experience with a mmWave sensor.

Can someone help with some of the configuration parameters? I found the values in the driver code. What is Fade Time?

1 Like

This is a very sensitive sensor. It will pickup the ceiling fan, which makes it hard to use for detecting just people. It will also, pick up a person through the wall from the back side (mounted side). This is another issue for the placement of the sensor.

I believe fading time refers to the time taken to clear motion, default is 60 secs, two of my radars are set to 5 seconds.

I have the radars successfully working in two bedrooms, I failed to get it to work properly in the living room due to interferences... will try again when I get a new sensor.

The below is taken from Tuya ZigBee Human Presence Sensor ZY-M100 Review - SmartHomeScene

β€œIn my test, if the fading_time was set to 0 seconds, it cleared motion in about 4-5 seconds. If the fade time was set to 5 seconds, it cleared motion in about 10-11 seconds. It adds a couple of seconds as a cooldown, but it works for fine-tuning the delay. I suggest you keep it higher, to avoid false negatives triggering, especially in a large room.”

Summary

1 Like

@fisher.omega
Also, not sure if fading time and leave time are the same in your driver or where you have configured leave_time?
I notice that you still have humidity listed as a state.. you may need to reset your driver by selecting "device" to clear settings and then re-apply the profile.

I removed and re-paired the Tuya sensor. It doesn't have the extra states listed now from the other drivers.

@iEnam, it looks like you are using a different driver than me too. I did pick up @kkossev beta driver and have it loaded.

1 Like

Great, this looks better and matches the older version.
Yes, I have three ZY-M100 sensors; two using the driver I have shown above and one that requires a newer profile/driver as yours which is dead/does not pair to any hub.
I am also on latest development driver.

The new Tuya ZY-M100 is very chatty. HE lets me know too.

My personal preference is the Aqara FP1 presence sensor so far.
FP2 seems to be great, but I didn't have much time to play with it and I have not decided how to integrate it into HE yet - via Home Assistant or via HomeKit.

It is the same with all Tuya mmWave sensors. Unfortunately, these distance reports can not be turned off.

I added a warning in the mmWave section on the first post in this thread. These reports are not something that will slow down your hub (I haven't seen any complains about this in any other home automation forums), although everyone agrees it woild be better if these messages could be stopped. This driver just takes care that the frequent distance reports are hidden from the debug and info logs, but they are still sent over the air.

As the distance to the detected object is known to the driver anyway, if there is a demand it could be used for a simplified region detection (similar to the much more complex Aqara FP1 regions detection). Probably a simple region attribute with 'near' and 'far' values? The near/far border will be a configurable parameter, in meters, These region changes should not happen too frequently, this not overloading the hub with too many events.

1 Like

That's what I thought, thank you! I'll wait for your decision on FP2 and its integration experience. Looking forward to your judgement (in the appropriate thread, sorry for the off topic here).

1 Like

I have been successfully using the Tuya ZY-M100 ceiling version( _TZE204_ztc6ggyl 1.0.6 TS0601 with the 1.3.4 driver. Recognized device profile as "Tuya Human Presence mmWave Radar"

I just received the "side sticker" version ( _TZE204_sxm7l9xa) Your release notes state that you just added support for it. I am using the 1.3.5 driver. It picked the YXZBRB58 profile when I paired it. It is only reporting the following:
Current States

  • healthStatus : online
  • powerSource : ?

State Variables

  • deviceProfile : TS0601_YXZBRB58_RADAR
  • packetID : 15
  • rxCounter : 0
  • driverVersion : 1.3.5 2023/05/28 10:34 PM
  • txCounter : 63
  • notPresentCounter : 1
  • motionStarted : 1685412295003

The ceiling version, correctly working, reports the following states:

Current States

  • detectionDelay : 0.1
  • fadingTime : 15
  • healthStatus : online
  • illuminance : 191
  • maximumDistance : 6
  • minimumDistance : 0.6
  • motion : active
  • powerSource : dc
  • radarSensitivity : 7
  • radarStatus : check_success

State Variables

  • deviceProfile : TS0601_TUYA_RADAR
  • packetID : 0
  • rxCounter : 85
  • driverVersion : 1.3.5 2023/05/28 10:34 PM
  • txCounter : 0
  • notPresentCounter : 0
  • motionStarted : 1685411144539

I tried changing the profile of the new device to that of the ceiling device and configure, but that did not help. Any ideas?

Thanks for all your great work.

Have you tried to delete the device ('REMOVE DEVICE' red button) and then pair it again to your hub?

image

The 'rxCounter' state counts the number of received Zigbee messages from the device. Zero means that the device has not paired successfully to the hub or has felt off the Zigbee network...
Is your hub C-8 or C-7?

Yes. I removed and re-paired the device after factory reset. I tried another new device as well.
The device was less than 3' from the hub when paired.
I also tried swapping the power supply.
I have a C-8 hub with 2.3.5.141
I tried a second identical device to no avail.
Once the devices have paired, there are no further communications,..

dev:2532023-05-30 11:01:45.212 AMinfoTuya5 Tuya check-in (application version is 4A)

dev:2532023-05-30 11:01:45.209 AMdebugTuya5 parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:1127010000180100204AE2FF2038E4FF2001, dni:1127, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:4A, clusterInt:0, attrInt:1, additionalAttrs:[[value:38, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:01, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]

dev:2532023-05-30 11:01:41.103 AMdebugTuya5 device has received Tuya cluster ZCL command 0x00 response 0x00 data = [00, 00]

dev:2532023-05-30 11:01:41.101 AMdebugTuya5 parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 1127 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:1127, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:2532023-05-30 11:01:39.106 AMdebugTuya Human Presence Detector device has received Tuya cluster ZCL command 0x00 response 0x00 data = [00, 00]

dev:2532023-05-30 11:01:39.103 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 1127 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:1127, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:2532023-05-30 11:01:37.095 AMdebugTuya Human Presence Detector device has received Tuya cluster ZCL command 0x00 response 0x00 data = [00, 00]

dev:2532023-05-30 11:01:37.093 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 1127 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:1127, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:2532023-05-30 11:01:36.085 AMdebugTuya Human Presence Detector forcing the powerSource to dc

dev:2532023-05-30 11:01:36.083 AMinfoTuya Human Presence Detector reported Power source mains (01)

dev:2532023-05-30 11:01:36.080 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:11270100000A07003001, dni:1127, endpoint:01, cluster:0000, size:0A, attrId:0007, encoding:30, command:01, value:01, clusterInt:0, attrInt:7]

dev:2532023-05-30 11:01:36.035 AMdebugTuya Human Presence Detector sendZigbeeCommands (cmd=[he raw 0x1127 1 0x01 0x0000 {10 00 00 07 00}, delay 200, he raw 0x1127 1 0x01 0x0001 {10 00 00 20 00}, delay 200, he raw 0x1127 1 0x01 0x0001 {10 00 00 21 00}, delay 200])

dev:2532023-05-30 11:01:36.030 AMinfoTuya Human Presence Detector refresh()...

dev:2532023-05-30 11:01:35.100 AMdebugTuya Human Presence Detector device has received Tuya cluster ZCL command 0x00 response 0x00 data = [00, 00]

dev:2532023-05-30 11:01:35.096 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 1127 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:1127, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:2532023-05-30 11:01:35.003 AMinfoTuya Human Presence Detector Initialization finished
version=1.3.5 (Timestamp: 2023/05/28 10:34 PM)

dev:2532023-05-30 11:01:35.002 AMinfoTuya Human Presence Detector manufacturer = _TZE204_sxm7l9xa

dev:2532023-05-30 11:01:33.119 AMdebugTuya Human Presence Detector device has received Tuya cluster ZCL command 0x00 response 0x00 data = [00, 00]

dev:2532023-05-30 11:01:33.116 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 1127 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:1127, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

dev:2532023-05-30 11:01:33.054 AMinfoTuya Human Presence Detector preferencies updates are sent to the device...

dev:2532023-05-30 11:01:33.047 AMdebugTuya Human Presence Detector sendZigbeeCommands (cmd=[he cmd 0x1127 0x01 0xEF00 0x00 {00016A02000400000007}, delay 2000, he cmd 0x1127 0x01 0xEF00 0x00 {00026F02000400000002}, delay 2000, he cmd 0x1127 0x01 0xEF00 0x00 {00036E02000400000258}, delay 2000, he cmd 0x1127 0x01 0xEF00 0x00 {00046C02000400000019}, delay 2000, he cmd 0x1127 0x01 0xEF00 0x00 {00056B02000400000320}, delay 2000])

dev:2532023-05-30 11:01:33.045 AMdebugTuya Human Presence Detector sending the changed AdvancedOptions

dev:2532023-05-30 11:01:33.040 AMdebugTuya Human Presence Detector sendTuyaCommand = [he cmd 0x1127 0x01 0xEF00 0x00 {00056B02000400000320}, delay 2000]

dev:2532023-05-30 11:01:33.038 AMdebugTuya Human Presence Detector changing radar maximum distance to : 8.0 m (raw=800)

dev:2532023-05-30 11:01:33.036 AMdebugTuya Human Presence Detector sendTuyaCommand = [he cmd 0x1127 0x01 0xEF00 0x00 {00046C02000400000019}, delay 2000]

dev:2532023-05-30 11:01:33.034 AMdebugTuya Human Presence Detector changing radar minimum distance to 0.25 m (raw=25)

dev:2532023-05-30 11:01:33.032 AMdebugTuya Human Presence Detector sendTuyaCommand = [he cmd 0x1127 0x01 0xEF00 0x00 {00036E02000400000258}, delay 2000]

dev:2532023-05-30 11:01:33.029 AMdebugTuya Human Presence Detector changing radar fading time to 60.0 seconds (raw=600)

dev:2532023-05-30 11:01:33.028 AMdebugTuya Human Presence Detector sendTuyaCommand = [he cmd 0x1127 0x01 0xEF00 0x00 {00026F02000400000002}, delay 2000]

dev:2532023-05-30 11:01:33.025 AMdebugTuya Human Presence Detector changing radar detection delay to 0.2 seconds (raw=2)

dev:2532023-05-30 11:01:33.023 AMdebugTuya Human Presence Detector sendTuyaCommand = [he cmd 0x1127 0x01 0xEF00 0x00 {00016A02000400000007}, delay 2000]

dev:2532023-05-30 11:01:33.020 AMdebugTuya Human Presence Detector changing radar sensitivity to : 7

dev:2532023-05-30 11:01:33.018 AMdebugTuya Human Presence Detector state.deviceProfile=TS0601_YXZBRB58_RADAR, settings.forcedProfile=Tuya YXZBRB58 Radar, getProfileKey()=TS0601_YXZBRB58_RADAR

dev:2532023-05-30 11:01:33.014 AMinfoTuya Human Presence Detector Debug logging is will be turned off after 24 hours

dev:2532023-05-30 11:01:32.990 AMinfoTuya Human Presence Detector Debug logging is true; Description text logging is true

dev:2532023-05-30 11:01:32.989 AMinfoTuya Human Presence Detector Updating null (Tuya Human Presence Detector) model TS0601 manufacturer _TZE204_sxm7l9xa deviceProfile=TS0601_YXZBRB58_RADAR

dev:2532023-05-30 11:01:32.987 AMinfoTuya Human Presence Detector updated()...

dev:2532023-05-30 11:01:32.356 AMdebugTuya Human Presence Detector write attribute response is success

dev:2532023-05-30 11:01:32.354 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0000 01 01 0040 00 1127 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:1127, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]

dev:2532023-05-30 11:01:32.212 AMdebugTuya Human Presence Detector write attribute response is success

dev:2532023-05-30 11:01:32.210 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0000 01 01 0040 00 1127 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:1127, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]

dev:2532023-05-30 11:01:32.170 AMinfoTuya Human Presence Detector received device manufacturer _TZE204_sxm7l9xa

dev:2532023-05-30 11:01:32.167 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:112701000068040042105F545A453230345F73786D376C3978610000002003010000204A05000042065453303630310700003001FEFF003000, dni:1127, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE204_sxm7l9xa, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:4A, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0601, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:2532023-05-30 11:01:32.112 AMdebugTuya Human Presence Detector sendZigbeeCommands (cmd=[he raw 0x1127 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0x1127 0x01 0x0000 0xFFDE 0x20 {13} {}, delay 200])

dev:2532023-05-30 11:01:32.076 AMinfoTuya Human Presence Detector configure()..

dev:2532023-05-30 11:01:32.069 AMinfoTuya Human Presence Detector received device manufacturer _TZE204_sxm7l9xa

dev:2532023-05-30 11:01:32.066 AMdebugTuya Human Presence Detector parse (_TZE204_sxm7l9xa, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:112701000068040042105F545A453230345F73786D376C3978610000002003010000204A05000042065453303630310700003001FEFF003000, dni:1127, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE204_sxm7l9xa, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:4A, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0601, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:2532023-05-30 11:01:32.056 AMinfoTuya Human Presence Detector is present

dev:2532023-05-30 11:01:31.778 AMinfoTuya Multi Sensor 4 In 1 Initialize( fullInit = true )...

dev:2532023-05-30 11:01:31.777 AMinfoTuya Multi Sensor 4 In 1 installed()...

Yep, this is the well-known Hubitat C-8 issue staying connected with some newly produced Zigbee devices. There is nothing that can be done on a user-driver level; the devices should stay connected and respond to ping / Get Info commands using the HE inbuilt 'Device' driver.

I see you are located in San Francisco; you could help solve this issue by sending the device to Hubitat engineers (send a DM to Mike Maxwell).

1 Like

Thanks Kassmir for the quick reply. I have reached out to Mike.

2 Likes

Hi! I recently purchased three of the TS0601 PIR 2-in-1 Multi-Sensors from AliExpress (link2). For some reason, I can't get them to work once they're paired. They seem to pair when I start zigbee pairing, but then they won't communicate to the hub after the pairing phase is over.
Any help is appreciated!

dev:2772023-05-31 06:07:22.786 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS Zone Address received (bitmap = 83617F16006F0D00)
dev:2772023-05-31 06:07:22.783 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F010500181000F083617F16006F0D00, dni:404F, endpoint:01, cluster:0500, size:18, attrId:0010, encoding:F0, command:01, value:83617F16006F0D00, clusterInt:1280, attrInt:16]
dev:2772023-05-31 06:07:22.623 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS Zone Type repot is 'Fire Sensor' (40)
dev:2772023-05-31 06:07:22.618 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0105000C0100312800, dni:404F, endpoint:01, cluster:0500, size:0C, attrId:0001, encoding:31, command:01, value:0028, clusterInt:1280, attrInt:1]
dev:2772023-05-31 06:07:17.931 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS write attribute response is success
dev:2772023-05-31 06:07:17.926 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 04 01 00, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:2772023-05-31 06:07:14.099 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL NOT PARSED : descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 01 01 01F086, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[01, F0, 86]]
dev:2772023-05-31 06:07:14.093 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 01 01 01F086, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[01, F0, 86]]
dev:2772023-05-31 06:07:13.897 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL NOT PARSED : descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 01 01 130086, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[13, 00, 86]]
dev:2772023-05-31 06:07:13.893 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 01 01 130086, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[13, 00, 86]]
dev:2772023-05-31 06:07:13.737 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL NOT PARSED : descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 01 01 120086, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[12, 00, 86]]
dev:2772023-05-31 06:07:13.732 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 01 01 120086, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[12, 00, 86]]
dev:2772023-05-31 06:07:13.639 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS Zone ID: FF
dev:2772023-05-31 06:07:13.636 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0105000A110020FF, dni:404F, endpoint:01, cluster:0500, size:0A, attrId:0011, encoding:20, command:01, value:FF, clusterInt:1280, attrInt:17]
dev:2772023-05-31 06:07:13.331 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL Detected motion
dev:2772023-05-31 06:07:13.325 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS Zone status repoted: descMap=[raw:404F0105000C0200190000, dni:404F, endpoint:01, cluster:0500, size:0C, attrId:0002, encoding:19, command:01, value:0000, clusterInt:1280, attrInt:2] value= 0
dev:2772023-05-31 06:07:13.323 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0105000C0200190000, dni:404F, endpoint:01, cluster:0500, size:0C, attrId:0002, encoding:19, command:01, value:0000, clusterInt:1280, attrInt:2]
dev:2772023-05-31 06:07:13.314 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL Tuya check-in (application version is 45)
dev:2772023-05-31 06:07:13.311 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0100001801002045E2FF2022E4FF2001, dni:404F, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:45, clusterInt:0, attrInt:1, additionalAttrs:[[value:22, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:01, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]
dev:2772023-05-31 06:07:12.900 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS Zone State repot is 'Not Enrolled' (0)
dev:2772023-05-31 06:07:12.895 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0105000A00003000, dni:404F, endpoint:01, cluster:0500, size:0A, attrId:0000, encoding:30, command:01, value:00, clusterInt:1280, attrInt:0]
dev:2772023-05-31 06:07:12.663 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL battery is 0 %
dev:2772023-05-31 06:07:12.651 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0100010A21002000, dni:404F, endpoint:01, cluster:0001, size:0A, attrId:0021, encoding:20, command:01, value:00, clusterInt:1, attrInt:33]
dev:2772023-05-31 06:07:12.408 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS Zone State repot is 'Not Enrolled' (0)
dev:2772023-05-31 06:07:12.405 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0105000A00003000, dni:404F, endpoint:01, cluster:0500, size:0A, attrId:0000, encoding:30, command:01, value:00, clusterInt:1280, attrInt:0]
dev:2772023-05-31 06:07:12.330 PMwarnTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL ignoring BatteryResult(0)
dev:2772023-05-31 06:07:12.326 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL batteryVoltage = 0.0 V
dev:2772023-05-31 06:07:12.318 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0100010A20002000, dni:404F, endpoint:01, cluster:0001, size:0A, attrId:0020, encoding:20, command:01, value:00, clusterInt:1, attrInt:32]
dev:2772023-05-31 06:07:12.034 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL reported Power source battery (03)
dev:2772023-05-31 06:07:12.028 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F0100000A07003003, dni:404F, endpoint:01, cluster:0000, size:0A, attrId:0007, encoding:30, command:01, value:03, clusterInt:0, attrInt:7]
dev:2772023-05-31 06:07:11.911 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL sendZigbeeCommands (cmd=[he raw 0x404F 1 0x01 0x0000 {10 00 00 07 00}, delay 200, he raw 0x404F 1 0x01 0x0001 {10 00 00 20 00}, delay 200, he raw 0x404F 1 0x01 0x0001 {10 00 00 21 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 00 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 01 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 02 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 10 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 11 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 12 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 13 00}, delay 200, he raw 0x404F 1 0x01 0x0500 {10 00 00 01 F0}, delay 200])
dev:2772023-05-31 06:07:11.880 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL refresh()...
dev:2772023-05-31 06:07:11.530 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL device has received Tuya cluster ZCL command 0x00 response 0x00 data = [00, 00]
dev:2772023-05-31 06:07:11.527 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 404F 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]
dev:2772023-05-31 06:07:10.855 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL Initialization finished version=1.3.5 (Timestamp: 2023/05/28 10:34 PM)
dev:2772023-05-31 06:07:10.852 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL manufacturer = _TZE200_3towulqd
dev:2772023-05-31 06:07:10.625 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL zigbee default command response cluster: IAS Zone (0x0500) cluster command: 0x00 status: success (0x00)
dev:2772023-05-31 06:07:10.618 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 0B 01 0000, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]
dev:2772023-05-31 06:07:10.608 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL zigbee default command response cluster: IAS Zone (0x0500) cluster command: 0x00 status: success (0x00)
dev:2772023-05-31 06:07:10.605 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 0B 01 0000, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]
dev:2772023-05-31 06:07:09.532 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL device has received Tuya cluster ZCL command 0x00 response 0x00 data = [00, 00]
dev:2772023-05-31 06:07:09.527 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 404F 00 00 0000 0B 01 0000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]
dev:2772023-05-31 06:07:08.908 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL preferencies updates are sent to the device...
dev:2772023-05-31 06:07:08.903 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL sendZigbeeCommands (cmd=[he cmd 0x404F 0x01 0xEF00 0x00 {00010904000102}, delay 2000, he cmd 0x404F 0x01 0xEF00 0x00 {00020A04000100}, delay 2000])
dev:2772023-05-31 06:07:08.896 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL sending the changed AdvancedOptions
dev:2772023-05-31 06:07:08.891 PMwarnTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL changing TS0601 Keep Time to : 0
dev:2772023-05-31 06:07:08.885 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL sendTuyaCommand = [he cmd 0x404F 0x01 0xEF00 0x00 {00020A04000100}, delay 2000]
dev:2772023-05-31 06:07:08.880 PMwarnTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL changing TS0601 sensitivity to : 2
dev:2772023-05-31 06:07:08.874 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL sendTuyaCommand = [he cmd 0x404F 0x01 0xEF00 0x00 {00010904000102}, delay 2000]
dev:2772023-05-31 06:07:08.862 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL state.deviceProfile=TS0601_2IN1, settings.forcedProfile=Tuya 2in1 (Motion and Illuminance) sensor, getProfileKey()=TS0601_2IN1
dev:2772023-05-31 06:07:08.853 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL Debug logging is will be turned off after 24 hours
dev:2772023-05-31 06:07:08.831 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL Debug logging is true; Description text logging is true
dev:2772023-05-31 06:07:08.827 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL Updating null (Tuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL) model TS0601 manufacturer _TZE200_3towulqd deviceProfile=TS0601_2IN1
dev:2772023-05-31 06:07:08.824 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL updated()...
dev:2772023-05-31 06:07:08.623 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL IAS write attribute response is success
dev:2772023-05-31 06:07:08.618 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0500 01 01 0040 00 404F 00 00 0000 04 01 00, profileId:0104, clusterId:0500, clusterInt:1280, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:2772023-05-31 06:07:08.606 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL write attribute response is success
dev:2772023-05-31 06:07:08.601 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0000 01 01 0040 00 404F 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:2772023-05-31 06:07:08.426 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL write attribute response is success
dev:2772023-05-31 06:07:08.423 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:catchall: 0104 0000 01 01 0040 00 404F 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:404F, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:2772023-05-31 06:07:08.197 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL received device manufacturer _TZE200_3towulqd
dev:2772023-05-31 06:07:08.192 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F01000068040042105F545A453230305F33746F77756C71640000002003010000204505000042065453303630310700003003FEFF003000, dni:404F, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE200_3towulqd, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:45, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0601, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:2772023-05-31 06:07:08.037 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL received device manufacturer _TZE200_3towulqd
dev:2772023-05-31 06:07:08.033 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL parse (_TZE200_3towulqd, 1.3.5 2023/05/28 10:34 PM) descMap = [raw:404F01000068040042105F545A453230305F33746F77756C71640000002003010000204505000042065453303630310700003003FEFF003000, dni:404F, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZE200_3towulqd, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:45, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0601, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:2772023-05-31 06:07:08.022 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL is present
dev:2772023-05-31 06:07:07.974 PMdebugTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL sendZigbeeCommands (cmd=[he raw 0x404F 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0x404F 0x01 0x0000 0xFFDE 0x20 {13} {}, delay 200, he wattr 0x404F 0x01 0x0500 0x0010 0xF0 {83617F16006F0D00}, delay 2000, he raw 0x404F 1 0x01 0x0500 {01 23 00 00 00}, delay 2000, he raw 0x404F 1 0x01 0x0500 {10 00 00 00 00}, delay 2000])
dev:2772023-05-31 06:07:07.968 PMdebugEnrolling IAS device: [he raw 0x404F 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0x404F 0x01 0x0000 0xFFDE 0x20 {13} {}, delay 200, he wattr 0x404F 0x01 0x0500 0x0010 0xF0 {83617F16006F0D00}, delay 2000, he raw 0x404F 1 0x01 0x0500 {01 23 00 00 00}, delay 2000, he raw 0x404F 1 0x01 0x0500 {10 00 00 00 00}, delay 2000]
dev:2772023-05-31 06:07:07.896 PMinfoTuya 2 in 1 Zigbee Mini PIR Motion Detector + Bright Lux ZG-204ZL configure()..
dev:2772023-05-31 06:07:07.603 PMinfoTuya Multi Sensor 4 In 1 Initialize( fullInit = true )...
dev:2772023-05-31 06:07:07.599 PMinfoTuya Multi Sensor 4 In 1 installed()...

If you remove the battery and insert it back after an minute, do you see anything in the live logs? ( make sure the Debug option is turned on)

Have you tried removing and repairing after changing the driver the first time.

I'm not sure what happened, but I just tried re-pairing them and now all of them work great. :man_shrugging: It's crazy because I didn't do anything different this time... just re-paired them for like the fifth time. Thank you guys for your help! Now if I can just get my Tuya temp and humidity sensors to start actually sending info to the hub I'll be good to go!

2 Likes