Tuya zigbee contact sensor

Wow..you are the man..It worked like a charm ! Thanks a ton...

Ive just bought a few of these Tuya Smart Wifi/zigbee Door Sensor Door Open / Closed Detectors Wifi Home Alarm Compatible With Alexa Google Home Smart Life App - Window Door Sensor - AliExpress

Doesn't seem to work with the generic driver and after having a search ive come across this thread.

@TOMAS1 Is your driver for this sensor or is yours a different model?

Mines called a zigbee door detector which takes 2 x AAA batteries with a red contact light

Thanks

Mine has button battery so it's different one. Set it to "device" driver and send me screenshot of Device page (Device Details - Data part), and screenshot of logs when the sensor sends open and close events. Can't promise it will work, but I'll try to add it to this driver.

3 Likes

Ok thank you

Is this what you mean @tomas1 ?

  • endpointId: 01
  • application: 45
  • softwareBuild:
  • inClusters: 0001,0003,0500,0000
  • outClusters: 0003,0004,0005,0006,0008,1000,0019,000A
  • model: TS0203
  • manufacturer: _TZ3000_2mbfxlzr

dev:22842022-04-22 19:25:06.524 debuggetting info for unknown Zigbee device...

dev:22842022-04-22 19:24:41.636 infofingerprint profileId:"0104", endpointId:"01", inClusters:"0001,0003,0500,0000", outClusters:"0003,0004,0005,0006,0008,1000,0019,000A", model:"TS0203", manufacturer:"_TZ3000_2mbfxlzr"

dev:22842022-04-22 19:24:41.444 traceZCL version:03

dev:22842022-04-22 19:24:41.439 traceSoftware Build Id:unknown

dev:22842022-04-22 19:24:41.438 traceModel:TS0203

dev:22842022-04-22 19:24:41.437 traceManufacturer:_TZ3000_2mbfxlzr

dev:22842022-04-22 19:24:41.233 debuggetting info for unknown Zigbee device...

dev:22842022-04-22 19:24:39.221 debugconfigure() called...

1 Like

The first part, yes. But I those logs are from device init, not from open/close events.

Ok where do I find the open close event logs? Thanks

settings, logs

ok, After deleting the device and re joining it closer to the hub i have some info in the logs

2022-04-24 16:37:29.007 infoZigbee description:zone status 0x0001 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

dev:23162022-04-24 16:37:27.460 infoZigbee description:zone status 0x0000 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

dev:23162022-04-24 16:37:25.836 infoZigbee description:zone status 0x0001 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

dev:23162022-04-24 16:37:18.383 infoZigbee description:zone status 0x0000 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

dev:23162022-04-24 16:37:17.070 infoZigbee description:zone status 0x0001 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

dev:23162022-04-24 16:37:16.627 infoZigbee description:zone status 0x0000 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

dev:23162022-04-24 16:37:09.899 infoZigbee description:zone status 0x0001 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

Now ive re-added it closer to the hub ive used the generic zigbee contact sensor (no temp) driver and it seems to be working

3 Likes

Using Generic Zigbee Contact Sensor driver (no temp) driver (added close to hub) worked for me for Model:TS0203, so thanks!

2 Likes