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

Hey kkossev,

Has the Tuya motion sensor and scene switch been added to this driver as yet? I added the device but I can't use the button in any automations. The device doesn't show up in the list of smart buttons. So currently, I can only use the motion sensor part of it. I just wanted to use the button to run an automation to keep the lights on/off depending on what I'm doing.

Please let me know if there is anything about the device that i need to provide.

Thanks in advance.

Hi @user6222 ,

To be able to select this device in automations it was needed to uncomment 3 lines in the driver code... Unfortunately, Hubitat platform does not allow dynamic capabilities in user drivers.

So I have created a clone of this driver where the button capabilities (PushableButton, DoubleTapableButton, HoldableButton attributes) are enabled.

Please create a new driver, copying the code from here :

https://raw.githubusercontent.com/kkossev/Hubitat/main/Drivers/Tuya%20Multi%20Sensor%204%20In%201/Tuya_Motion_Sensor_and_Scene_Switch.groovy

Let me know if this works.

This is one of the new 24GHz radars that are not yet supported in any home automation system different than Tuya. It will take some time, until enough information is available to add support for this device in the driver.

Can you post a link to the site where it was purchased?
( you may need to join Hub owners - Hubitat group to be able to post links and pictures)

@user6262, you have already received and paired this _TZ3218_awarhusb device, right?
Probably the best approach would be to do the following:

  • update to the latest development branch version of the Tuya 4 In 1 driver.
  • Hit Initialize.
  • Make sure the Debug option is on.
  • power off the device for a few seconds, then power it back on.
  • send me in a DM all the logs that follow.

I purchased a bunch of sensors from many different manufacturers. One of them was Linptech.

https://www.amazon.com/dp/B0C7C6L66J

image

I'll send you the logs

1 Like

@JumpJump thank you for the logs.
I will analyze them tomorrow, but what I see for the moment is that this Linptech device also uses the standard ZCL IAS cluster, i.e. it reports the occupancy also using the standard ZIgbee protocol, so it may even work with the HE inbuilt Generic Motion Sensor (no temp) driver ... Can you test this?

Update: a screenshot from Amazon reviewer of a similar sensor - there configuration settings, although the commands protocol is still unknown

This driver is working flawlessly for my 5GHz sensors.
But I just got the updated version with USBC and 24GHz.
Any chance these will be supported as well?

endpointId: 01
application: 4A
manufacturer: _TZE204_ijxvkhd0
model: TS0601
tuyaVersion: 1.0.10

If needed I can provide more information. With guidance :slight_smile:

Dear Krassimir

I have Some tuya TZ3000 but dont really work

dev:15972023-08-16 17:34:20.833infoTuya TS0202 Motion Sensor received device manufacturer _TZ3000_6ygjfyll

dev:15972023-08-16 17:34:20.826debugTuya TS0202 Motion Sensor parse (_TZ3000_6ygjfyll, 1.4.1 2023/08/15 4:02 PM) descMap = [raw:8B5401000068040042105F545A333030305F3679676A66796C6C0000002003010000204605000042065453303230320700003003FEFF003000, dni:8B54, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_6ygjfyll, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:46, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0202, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:15972023-08-16 17:34:20.805infoTuya TS0202 Motion Sensor is present

dev:15972023-08-16 17:34:20.774debugTuya TS0202 Motion Sensor sendZigbeeCommands (cmd=[he raw 0x8B54 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0x8B54 0x01 0x0000 0xFFDE 0x20 {13} {}, delay 200, he wattr 0x8B54 0x01 0x0500 0x0010 0xF0 {F5153616006F0D00}, delay 2000, he raw 0x8B54 1 0x01 0x0500 {01 23 00 00 00}, delay 2000, he raw 0x8B54 1 0x01 0x0500 {10 00 00 00 00}, delay 2000])

dev:15972023-08-16 17:34:20.771debugEnrolling IAS device: [he raw 0x8B54 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0x8B54 0x01 0x0000 0xFFDE 0x20 {13} {}, delay 200, he wattr 0x8B54 0x01 0x0500 0x0010 0xF0 {F5153616006F0D00}, delay 2000, he raw 0x8B54 1 0x01 0x0500 {01 23 00 00 00}, delay 2000, he raw 0x8B54 1 0x01 0x0500 {10 00 00 00 00}, delay 2000]

dev:15972023-08-16 17:34:20.727infoTuya TS0202 Motion Sensor configure()..

dev:15972023-08-16 17:34:20.432infoTuya Multi Sensor 4 In 1 Initialize( fullInit = true )...

dev:15972023-08-16 17:34:20.425infoTuya Multi Sensor 4 In 1 installed()...

Manufacturer: _TZ3000_6ygjfyll
Endpoint 01 application: 46
Endpoint 01 endpointId: 01
Endpoint 01 idAsInt: 1
Endpoint 01 inClusters: 0001,0500,0003,0000
Endpoint 01 initialized: true
Endpoint 01 manufacturer: _TZ3000_6ygjfyll
Endpoint 01 model: TS0202
Endpoint 01 outClusters: 1000,0006,0019,000A
Endpoint 01 profileId: 0104
Endpoint 01 stage: 4

Hi @user6222 ,
Please update the driver to the development branch version 1.4.3 2023/08/17 7:34 AM
Then click on the Initialize button.

The configuration of the different preferences is not ready yet, but let me know if the basic functionality ( presence or motion active/inactive) works with the default settings.

Hi Zsolt, this sensor was added to the driver a long time ago, should be supported ... Try pairing it again, very close to the hub.

Hi

It can be added to the hub. nothing recognises it except your driver. but after being added it does nothing. shows motion all the time. Tried with tuya. it's working so it's not defective.

Kind Regards
Zsolt

Seems like a Zigbee connectivity issue…

You didn’t answer if you have tried adding it to the hub several times at very close distance (without removing it).
What is the hub, C-8or C-7 ?

Hi

Yes I have readded, without removing, it many times from abouth 1 meter distance.

If you enable the Debug logging on, and don't see any messages coming from the sensor, then it is a Zigbee connectivity issue..

C-8 or C-7?

If you remove the battery cell, wait 1 minute and put the cell back into the sensor - do you see anything in the live logs?

Hi
No nothing. its doing nothing
dev:16002023-08-17 08:59:30.271debugtuya ts0202 sendZigbeeCommands (cmd=[he raw 0x524E 1 0x01 0x0000 {10 00 00 07 00}, delay 200, he raw 0x524E 1 0x01 0x0001 {10 00 00 20 00}, delay 200, he raw 0x524E 1 0x01 0x0001 {10 00 00 21 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 00 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 01 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 02 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 10 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 11 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 12 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 13 00}, delay 200, he raw 0x524E 1 0x01 0x0500 {10 00 00 01 F0}, delay 200, he cmd 0x524E 0x01 0xEF00 0x03 {}, delay 2000])

dev:16002023-08-17 08:59:30.245infotuya ts0202 refresh()...

dev:16002023-08-17 08:59:29.201infotuya ts0202 Initialization finished
version=1.4.1 (Timestamp: 2023/08/15 4:02 PM)

dev:16002023-08-17 08:59:29.200infotuya ts0202 manufacturer = _TZ3000_6ygjfyll

dev:16002023-08-17 08:59:27.223infotuya ts0202 preferencies updates are sent to the device...

dev:16002023-08-17 08:59:27.220debugtuya ts0202 sendZigbeeCommands (cmd=[he wattr 0x524E 0x01 0x0500 0x0013 0x20 {02} {}, delay 200, he wattr 0x524E 0x01 0x0500 0xF001 0x20 {00} {}, delay 200])

We shouldnt advertise this rubbish sensor . Im finished with Tuya this was the last attempt.
Thank you Krassimir but its not possible to build a castle out of rubbish

1 Like

Sorry for the delay, it’s been a crazy week, had to put the family dog down and have a baby shower this weekend to prepare for. Sad and happy week all in one. Don’t think I’ll have the time to tinker until next week. But to answer your question yes I bought it on Amazon and was able to get it to pair. Tried what I think is the latest 4/1 tuya driver manually , and tried connecting as a couple of other under the tuya tab that were already in HE. I’ll run it again maybe Sunday or Monday after the craziness has died down and report back.

1 Like

So after having some time to go through responses after mine, it is the same device @JumpJump bought. I ran it as the HE generic motion no temp. I get nothing from it.

dev:472023-08-20 08:27:55.857 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217401, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0174, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:51.761 PMinfoZigbee parsed:[raw:17E901E0020A0AE0219001, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0190, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:49.572 PMinfoZigbee parsed:[raw:17E901E0020A0AE021AF01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01AF, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:47.574 PMinfoZigbee parsed:[raw:17E901E0020A0AE0218101, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0181, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:45.580 PMinfoZigbee parsed:[raw:17E901E0020A0AE021B101, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01B1, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:44.835 PMinfoZigbee parsed:[raw:17E901E0020A01E021A502, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E001, encoding:21, command:0A, value:02A5, clusterInt:57346, attrInt:57345]

dev:472023-08-20 08:27:44.792 PMinfoZigbee description:zone status 0x0001 -- extended status 0x00 - sourceEndpoint:01, zoneId:00, delay:0000

dev:472023-08-20 08:27:43.589 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217C01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:017C, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:40.344 PMinfoZigbee parsed:[raw:17E901E0020A0AE0219D01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:019D, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:38.354 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217C01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:017C, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:36.639 PMinfoZigbee parsed:[raw:17E901E0020A0AE021B901, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01B9, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:32.670 PMinfoZigbee parsed:[raw:17E901E0020A0AE0219801, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0198, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:29.777 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217C01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:017C, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:26.197 PMinfoZigbee parsed:[raw:17E901E0020A0AE0219B01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:019B, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:23.348 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217E01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:017E, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:20.806 PMinfoZigbee parsed:[raw:17E901E0020A0AE0219A01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:019A, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:18.625 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217201, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0172, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:16.867 PMinfoZigbee parsed:[raw:17E901E0020A0AE0214201, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0142, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:14.678 PMinfoZigbee parsed:[raw:17E901E0020A0AE0219900, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0099, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:12.882 PMinfoZigbee parsed:[raw:17E901E0020A0AE021C400, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:00C4, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:10.906 PMinfoZigbee parsed:[raw:17E901E0020A0AE0218E00, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:008E, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:08.890 PMinfoZigbee parsed:[raw:17E901E0020A0AE021FB00, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:00FB, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:06.708 PMinfoZigbee parsed:[raw:17E901E0020A0AE021D800, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:00D8, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:04.710 PMinfoZigbee parsed:[raw:17E901E0020A0AE0215001, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0150, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:02.914 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217501, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0175, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:27:00.520 PMinfoZigbee parsed:[raw:17E901E0020A0AE0219201, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0192, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:58.530 PMinfoZigbee parsed:[raw:17E901E0020A0AE0217101, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0171, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:56.532 PMinfoZigbee parsed:[raw:17E901E0020A0AE0211501, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0115, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:54.350 PMinfoZigbee parsed:[raw:17E901E0020A0AE021A501, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01A5, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:53.021 PMinfoZigbee parsed:[raw:17E901000012DFFF42052C756BB012, dni:17E9, endpoint:01, cluster:0000, size:12, attrId:FFDF, encoding:42, command:0A, value:,uk°, clusterInt:0, attrInt:65503]

dev:472023-08-20 08:26:50.743 PMinfoZigbee parsed:[raw:17E90100005401002041E4FF2000E3FF421E73646B3A312E302E383B6366673A302E302E303B6B65723A302E302E373B, dni:17E9, endpoint:01, cluster:0000, size:54, attrId:0001, encoding:20, command:0A, value:41, clusterInt:0, attrInt:1, additionalAttrs:[[value:00, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508], [value:sdk:1.0.8;cfg:0.0.0;ker:0.0.7;, encoding:42, attrId:FFE3, consumedBytes:33, attrInt:65507]]]

dev:472023-08-20 08:26:50.500 PMinfoZigbee parsed:[raw:17E901E0020A0AE021C301, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01C3, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:45.678 PMinfoZigbee parsed:[raw:17E901E0020A01E0216902, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E001, encoding:21, command:0A, value:0269, clusterInt:57346, attrInt:57345]

dev:472023-08-20 08:26:45.587 PMinfoZigbee parsed:[raw:17E901E0020A0BE0215802, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00B, encoding:21, command:0A, value:0258, clusterInt:57346, attrInt:57355]

dev:472023-08-20 08:26:45.501 PMinfoZigbee parsed:[raw:catchall: 0104 EF00 01 01 0040 00 17E9 01 00 0000 06 01 0001650200040000000A, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:06, direction:01, data:[00, 01, 65, 02, 00, 04, 00, 00, 00, 0A]]

dev:472023-08-20 08:26:45.404 PMinfoZigbee parsed:[raw:17E901E0020805E02005, dni:17E9, endpoint:01, cluster:E002, size:08, attrId:E005, encoding:20, command:0A, value:05, clusterInt:57346, attrInt:57349]

dev:472023-08-20 08:26:45.317 PMinfoZigbee parsed:[raw:17E901E0020804E02005, dni:17E9, endpoint:01, cluster:E002, size:08, attrId:E004, encoding:20, command:0A, value:05, clusterInt:57346, attrInt:57348]

dev:472023-08-20 08:26:45.224 PMinfoZigbee parsed:[raw:17E901E0020A0AE021DF01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01DF, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:45.138 PMinfoZigbee description:zone status 0x0001 -- extended status 0x00 - sourceEndpoint:01, zoneId:00, delay:0000

dev:472023-08-20 08:26:45.052 PMerrorjava.lang.StringIndexOutOfBoundsException: begin 8, end 10, length 8 on line 51 (method parse)

dev:472023-08-20 08:26:43.036 PMinfoZigbee parsed:[raw:17E901E0020A0AE021D301, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01D3, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:41.234 PMinfoZigbee parsed:[raw:17E901E0020A0AE021AB01, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01AB, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:39.040 PMinfoZigbee parsed:[raw:17E901E0020A0AE0218401, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0184, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:38.056 PMinfofingerprint profileId:"0104", endpointId:"01", inClusters:"0000,0003,0004,0005,E002,4000,EF00,0500", outClusters:"000A,0019", model:"TS0225", manufacturer:"_TZ3218_awarhusb"

dev:472023-08-20 08:26:37.893 PMtraceZCL version:03

dev:472023-08-20 08:26:37.884 PMtraceSoftware Build Id:unknown

dev:472023-08-20 08:26:37.880 PMtraceModel:TS0225

dev:472023-08-20 08:26:37.877 PMtraceManufacturer:_TZ3218_awarhusb

dev:472023-08-20 08:26:37.654 PMdebuggetting info for unknown Zigbee device...

dev:472023-08-20 08:26:37.241 PMinfoZigbee parsed:[raw:17E901E0020A0AE021CE00, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:00CE, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:35.255 PMinfoZigbee parsed:[raw:17E901E0020A0AE0214201, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0142, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:33.257 PMinfoZigbee parsed:[raw:17E901E0020A0AE021E500, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:00E5, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:31.722 PMinfoZigbee parsed:[raw:17E901E0020A01E0215B02, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E001, encoding:21, command:0A, value:025B, clusterInt:57346, attrInt:57345]

dev:472023-08-20 08:26:31.628 PMinfoZigbee parsed:[raw:17E901E0020A0BE0215802, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00B, encoding:21, command:0A, value:0258, clusterInt:57346, attrInt:57355]

dev:472023-08-20 08:26:31.546 PMinfoZigbee parsed:[raw:catchall: 0104 EF00 01 01 0040 00 17E9 01 00 0000 06 01 0001650200040000000A, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:06, direction:01, data:[00, 01, 65, 02, 00, 04, 00, 00, 00, 0A]]

dev:472023-08-20 08:26:31.446 PMinfoZigbee parsed:[raw:17E901E0020805E02005, dni:17E9, endpoint:01, cluster:E002, size:08, attrId:E005, encoding:20, command:0A, value:05, clusterInt:57346, attrInt:57349]

dev:472023-08-20 08:26:31.365 PMinfoZigbee parsed:[raw:17E901E0020804E02005, dni:17E9, endpoint:01, cluster:E002, size:08, attrId:E004, encoding:20, command:0A, value:05, clusterInt:57346, attrInt:57348]

dev:472023-08-20 08:26:31.280 PMinfoZigbee parsed:[raw:17E901E0020A0AE0214A00, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:004A, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:31.186 PMinfoZigbee description:zone status 0x0001 -- extended status 0x00 - sourceEndpoint:01, zoneId:00, delay:0000

dev:472023-08-20 08:26:31.105 PMerrorjava.lang.StringIndexOutOfBoundsException: begin 8, end 10, length 8 on line 51 (method parse)

dev:472023-08-20 08:26:29.408 PMerrorjava.lang.StringIndexOutOfBoundsException: begin 8, end 10, length 8 on line 51 (method parse)

dev:472023-08-20 08:26:29.322 PMinfoZigbee parsed:[raw:17E901E0020A0AE0213200, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:0032, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:26:28.474 PMerrorjava.lang.StringIndexOutOfBoundsException: begin 8, end 10, length 8 on line 51 (method parse)

dev:472023-08-20 08:26:27.509 PMdebuggetting device info in 10 seconds...

1 Like

Here are the logs after switching to latest 4/1 driver you sent.

472023-08-20 08:50:26.806 PMinfolinptech Cluster E002 Attribute E00A value is 440 (0x01B8)

dev:472023-08-20 08:50:26.803 PMdebuglinptech Cluster E002

dev:472023-08-20 08:50:26.800 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:17E901E0020A0AE021B801, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E00A, encoding:21, command:0A, value:01B8, clusterInt:57346, attrInt:57354]

dev:472023-08-20 08:50:26.796 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = read attr - raw: 17E901E0020A0AE021B801, dni: 17E9, endpoint: 01, cluster: E002, size: 0A, attrId: E00A, encoding: 21, command: 0A, value: B801

dev:472023-08-20 08:50:21.669 PMdebuglinptech device has received Tuya cluster ZCL command 0x03 response 0x00 data = [03, 00]

dev:472023-08-20 08:50:21.660 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:catchall: 0104 EF00 01 01 0040 00 17E9 00 00 0000 0B 01 0300, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[03, 00]]

dev:472023-08-20 08:50:21.656 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = catchall: 0104 EF00 01 01 0040 00 17E9 00 00 0000 0B 01 0300

dev:472023-08-20 08:50:21.473 PMdebuglinptech NOT PARSED : descMap = [raw:catchall: 0104 0001 01 01 0040 00 17E9 00 00 0000 01 01 210086, profileId:0104, clusterId:0001, clusterInt:1, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[21, 00, 86]]

dev:472023-08-20 08:50:21.469 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:catchall: 0104 0001 01 01 0040 00 17E9 00 00 0000 01 01 210086, profileId:0104, clusterId:0001, clusterInt:1, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[21, 00, 86]]

dev:472023-08-20 08:50:21.465 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = catchall: 0104 0001 01 01 0040 00 17E9 00 00 0000 01 01 210086

dev:472023-08-20 08:50:21.254 PMdebuglinptech NOT PARSED : descMap = [raw:catchall: 0104 0001 01 01 0040 00 17E9 00 00 0000 01 01 200086, profileId:0104, clusterId:0001, clusterInt:1, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[20, 00, 86]]

dev:472023-08-20 08:50:21.249 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:catchall: 0104 0001 01 01 0040 00 17E9 00 00 0000 01 01 200086, profileId:0104, clusterId:0001, clusterInt:1, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[20, 00, 86]]

dev:472023-08-20 08:50:21.246 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = catchall: 0104 0001 01 01 0040 00 17E9 00 00 0000 01 01 200086

dev:472023-08-20 08:50:21.066 PMdebuglinptech forcing the powerSource to dc

dev:472023-08-20 08:50:21.063 PMinfolinptech reported Power source mains (01)

dev:472023-08-20 08:50:21.059 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:17E90100000A07003001, dni:17E9, endpoint:01, cluster:0000, size:0A, attrId:0007, encoding:30, command:01, value:01, clusterInt:0, attrInt:7]

dev:472023-08-20 08:50:21.054 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = read attr - raw: 17E90100000A07003001, dni: 17E9, endpoint: 01, cluster: 0000, size: 0A, attrId: 0007, encoding: 30, command: 01, value: 01

dev:472023-08-20 08:50:20.986 PMdebuglinptech sendZigbeeCommands (cmd=[he raw 0x17E9 1 0x01 0x0000 {10 00 00 07 00}, delay 200, he raw 0x17E9 1 0x01 0x0001 {10 00 00 20 00}, delay 200, he raw 0x17E9 1 0x01 0x0001 {10 00 00 21 00}, delay 200, he cmd 0x17E9 0x01 0xEF00 0x03 {}, delay 2000])

dev:472023-08-20 08:50:20.970 PMinfolinptech refresh()...

dev:472023-08-20 08:50:19.938 PMinfolinptech Initialization finished
version=1.4.4 (Timestamp: 2023/08/18 10:43 PM)

dev:472023-08-20 08:50:19.936 PMinfolinptech manufacturer = _TZ3218_awarhusb

dev:472023-08-20 08:50:17.965 PMinfolinptech preferencies updates are sent to the device...

dev:472023-08-20 08:50:17.961 PMdebuglinptech sendZigbeeCommands (cmd=[])

dev:472023-08-20 08:50:17.959 PMdebuglinptech sending the changed AdvancedOptions

dev:472023-08-20 08:50:17.954 PMdebuglinptech state.deviceProfile=TS0225_LINPTECH_RADAR, settings.forcedProfile=Tuya TS0225_LINPTECH 24GHz Radar, getProfileKey()=TS0225_LINPTECH_RADAR

dev:472023-08-20 08:50:17.942 PMinfolinptech Debug logging will be turned off after 24 hours

dev:472023-08-20 08:50:17.900 PMinfolinptech Debug logging is true; Description text logging is true

dev:472023-08-20 08:50:17.897 PMinfolinptech Updating linptech (Tuya TS0225_LINPTECH 24Ghz Human Presence Detector) model TS0225 manufacturer _TZ3218_awarhusb deviceProfile=TS0225_LINPTECH_RADAR

dev:472023-08-20 08:50:17.886 PMinfolinptech updated()...

dev:472023-08-20 08:50:17.156 PMdebuglinptech write attribute response is success

dev:472023-08-20 08:50:17.152 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:catchall: 0104 0000 01 01 0040 00 17E9 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:17E9, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]

dev:472023-08-20 08:50:17.149 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = catchall: 0104 0000 01 01 0040 00 17E9 00 00 0000 04 01 00

dev:472023-08-20 08:50:17.030 PMinfolinptech received device manufacturer _TZ3218_awarhusb

dev:472023-08-20 08:50:17.022 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:17E901000068040042105F545A333231385F61776172687573620000002003010000204105000042065453303232350700003001FEFF003000, dni:17E9, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3218_awarhusb, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:41, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0225, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]

dev:472023-08-20 08:50:17.003 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = read attr - raw: 17E901000068040042105F545A333231385F61776172687573620000002003010000204105000042065453303232350700003001FEFF003000, dni: 17E9, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A333231385F61776172687573620000002003010000204105000042065453303232350700003001FEFF003000

dev:472023-08-20 08:50:17.000 PMinfolinptech is present

dev:472023-08-20 08:50:16.824 PMdebuglinptech sendZigbeeCommands (cmd=[he raw 0x17E9 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he wattr 0x17E9 0x01 0x0000 0xFFDE 0x20 {13} {}, delay 200])

dev:472023-08-20 08:50:16.681 PMinfolinptech configure()..

dev:472023-08-20 08:50:16.497 PMinfolinptech device model TS0225 manufacturer _TZ3218_awarhusb was set to : deviceProfile=TS0225_LINPTECH_RADAR : deviceName=Tuya TS0225_LINPTECH 24Ghz Human Presence Detector

dev:472023-08-20 08:50:16.466 PMdebuglinptech found exact match for model TS0225 manufacturer _TZ3218_awarhusb : profileName=TS0225_LINPTECH_RADAR deviceName =Tuya TS0225_LINPTECH 24Ghz Human Presence Detector

dev:472023-08-20 08:50:16.461 PMinfolinptech All current states (attributes) DELETED

dev:472023-08-20 08:50:16.456 PMdebuglinptech deleting motionType

dev:472023-08-20 08:50:16.451 PMdebuglinptech deleting humanMotionState

dev:472023-08-20 08:50:16.447 PMdebuglinptech deleting radarSensitivity

dev:472023-08-20 08:50:16.443 PMdebuglinptech deleting maximumDistance

dev:472023-08-20 08:50:16.438 PMdebuglinptech deleting minimumDistance

dev:472023-08-20 08:50:16.434 PMdebuglinptech deleting detectionDelay

dev:472023-08-20 08:50:16.426 PMdebuglinptech deleting humidity

dev:472023-08-20 08:50:16.420 PMdebuglinptech deleting batteryVoltage

dev:472023-08-20 08:50:16.414 PMdebuglinptech deleting existance_time

dev:472023-08-20 08:50:16.409 PMdebuglinptech deleting leave_time

dev:472023-08-20 08:50:16.404 PMdebuglinptech deleting temperature

dev:472023-08-20 08:50:16.399 PMdebuglinptech deleting unacknowledgedTime

dev:472023-08-20 08:50:16.389 PMdebuglinptech deleting motion

dev:472023-08-20 08:50:16.384 PMdebuglinptech deleting distance

dev:472023-08-20 08:50:16.379 PMdebuglinptech deleting fadingTime

dev:472023-08-20 08:50:16.374 PMdebuglinptech deleting radarStatus

dev:472023-08-20 08:50:16.365 PMdebuglinptech deleting powerSource

dev:472023-08-20 08:50:16.360 PMdebuglinptech deleting checkInterval

dev:472023-08-20 08:50:16.349 PMdebuglinptech deleting healthStatus

dev:472023-08-20 08:50:16.334 PMdebuglinptech deleting battery

dev:472023-08-20 08:50:16.324 PMdebuglinptech deleting illuminance

dev:472023-08-20 08:50:16.301 PMdebuglinptech deleting tamper

dev:472023-08-20 08:50:16.281 PMinfolinptech linptech InitializeVars( fullInit = true )...

dev:472023-08-20 08:50:16.248 PMinfolinptech Initialize( fullInit = true )...

dev:472023-08-20 08:49:47.723 PMinfolinptech Cluster E002 Attribute E001 value is 1997 (0x07CD)

dev:472023-08-20 08:49:47.716 PMdebuglinptech Cluster E002

dev:472023-08-20 08:49:47.708 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) descMap = [raw:17E901E0020A01E021CD07, dni:17E9, endpoint:01, cluster:E002, size:0A, attrId:E001, encoding:21, command:0A, value:07CD, clusterInt:57346, attrInt:57345]

dev:472023-08-20 08:49:47.698 PMdebuglinptech parse (_TZ3218_awarhusb, 1.4.4 2023/08/18 10:43 PM) description = read attr - raw: 17E901E0020A01E021CD07, dni: 17E9, endpoint: 01, cluster: E002, size: 0A, attrId: E001, encoding: 21, command: 0A, value: CD07

dev:472023-08-20 08:46:41.274 PMerrorjava.lang.StringIndexOutOfBoundsException: begin 8, end 10, length 8 on line 88 (method parse)

dev:472023-08-20 08:36:43.142 PMerrorjava.lang.StringIndexOutOfBoundsException: begin 8, end 10, length 8 on line 88 (method parse)

This Linptech device is very non-standard... to such an extent that HE stock drivers throw exception while parsing some of the messages.

You will need to pair the device again to your hub. With most of the problematic non-standard devices, simply changing the drivers and clicking Configure/Initialize won't work. The device needs to be paired again with the right driver assigned before.

Only the motion (presence/occupancy) and the illuminance are expected to work. The configuration of the parameters is still unknown.