[RELEASE] Tuya Zigbee Smoke Detector

nope I have nothing to test it with.

The easiest way to test is if you light up a piece of paper napkin.
But better wait a day or two for the driver update. This model has the smoke alarm inverted, probably there may be other oddities.

I have updated the development branch (the link is in the second post) to version 1.1.2 2023-08-01 - added _TZE200_m9skfctm _TZE200_dq1mfjug _TZE200_ux5v4dbd _TZE200_ytibqbra _TZE200_dnz6yvl2

Please update the driver and test again.

its working now.

2023-08-01 04:08:07.018 PM[info]logs?tab=past&deviceId=122#)Hallway Smoke Detector smoke is clear

[dev:122]logs?tab=past&deviceId=122#)2023-08-01 04:08:02.738 PM[info]logs?tab=past&deviceId=122#)Hallway Smoke Detector smoke is detected

[dev:122]logs?tab=past&deviceId=122#)2023-08-01 04:07:59.822 PM[info]logs?tab=past&deviceId=122#)Hallway Smoke Detector smoke is clear

[dev:122]logs?tab=past&deviceId=122#)2023-08-01 04:07:54.761 PM[info]logs?tab=past&deviceId=122#)Hallway Smoke Detector smoke is tested

[dev:122]logs?tab=past&deviceId=122#)2023-08-01 04:07:54.759 PM[info]logs?tab=past&deviceId=122#)Hallway Smoke Detector test (dp=65) is: 0

1 Like

Thank you for the feedback.
Version 1.1.2 is now pushed for update via HPM.

Hello Krassimir.

I have purchased this from AliExpress: https://www.aliexpress.com/item/1005005854203557.html?spm=a2g0o.order_list.order_list_main.21.50b118023cSi6u

I think it is a model that is not supported fully by your driver. The battery level is not being picked up. Here is the log:
dev:4252023-10-04 17:53:23.657debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 16:53:23.636debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 15:53:23.605debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 14:53:23.579debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 14:44:16.487debugTuya TS0205 Smoke Detector #1 Tuya specific attribute FFDF reported: 8lÕè
dev:4252023-10-04 14:44:16.484debugTuya TS0205 Smoke Detector #1 Desc Map: [raw:FB5A01000012DFFF4205386CD5E80C, dni:FB5A, endpoint:01, cluster:0000, size:12, attrId:FFDF, encoding:42, command:0A, value:8lÕè, clusterInt:0, attrInt:65503]
dev:4252023-10-04 14:44:16.472debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A01000012DFFF4205386CD5E80C, dni: FB5A, endpoint: 01, cluster: 0000, size: 12, attrId: FFDF, encoding: 42, command: 0A, value: 05386CD5E80C
dev:4252023-10-04 14:44:06.982warnTuya TS0205 Smoke Detector #1 received unhandled event battery = 77.0
dev:4252023-10-04 14:44:06.971debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A010001082100209A, dni: FB5A, endpoint: 01, cluster: 0001, size: 08, attrId: 0021, encoding: 20, command: 0A, value: 9A
dev:4252023-10-04 14:44:06.542debugTuya TS0205 Smoke Detector #1 Cluster 0000 attribute FFE3 reported: sdk:3.0.10;cfg:0.0.0;ker:0.0.13;
dev:4252023-10-04 14:44:06.540debugTuya TS0205 Smoke Detector #1 Tuya specific attribute FFE4 reported: 01
dev:4252023-10-04 14:44:06.537infoTuya TS0205 Smoke Detector #1 Round-trip time is -128235389 (ms)
dev:4252023-10-04 14:44:06.529debugTuya TS0205 Smoke Detector #1 Tuya check-in message (attribute 0001 reported: 40)
dev:4252023-10-04 14:44:06.520debugTuya TS0205 Smoke Detector #1 Desc Map: [raw:FB5A0100005801002040E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B, dni:FB5A, endpoint:01, cluster:0000, size:58, attrId:0001, encoding:20, command:0A, value:40, clusterInt:0, attrInt:1, additionalAttrs:[[value:01, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508], [value:sdk:3.0.10;cfg:0.0.0;ker:0.0.13;, encoding:42, attrId:FFE3, consumedBytes:35, attrInt:65507]]]
dev:4252023-10-04 14:44:06.501debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A0100005801002040E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B, dni: FB5A, endpoint: 01, cluster: 0000, size: 58, attrId: 0001, encoding: 20, command: 0A, value: 40E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B
dev:4252023-10-04 14:43:44.442warnTuya TS0205 Smoke Detector #1 received unhandled event battery = 77.0
dev:4252023-10-04 14:43:44.426debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A010001082100209A, dni: FB5A, endpoint: 01, cluster: 0001, size: 08, attrId: 0021, encoding: 20, command: 0A, value: 9A
dev:4252023-10-04 13:53:23.550debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 12:54:12.018warnTuya TS0205 Smoke Detector #1 received unhandled event battery = 58.0
dev:4252023-10-04 12:54:12.004debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A0100010821002074, dni: FB5A, endpoint: 01, cluster: 0001, size: 08, attrId: 0021, encoding: 20, command: 0A, value: 74
dev:4252023-10-04 12:53:23.516debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 11:53:23.475debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 10:53:23.395debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 09:53:23.358debugTuya TS0205 Smoke Detector #1 pollPresence()...
dev:4252023-10-04 09:06:18.500warnTuya TS0205 Smoke Detector #1 Unprocesed unknown command: cluster=null command=null attrId=null value=null data=null
dev:4252023-10-04 09:06:18.498debugTuya TS0205 Smoke Detector #1 Desc Map: [:]
dev:4252023-10-04 09:06:18.489debugTuya TS0205 Smoke Detector #1 description is zone status 0x0004 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000
dev:4252023-10-04 09:06:17.636warnTuya TS0205 Smoke Detector #1 Unprocesed unknown command: cluster=null command=null attrId=null value=null data=null
dev:4252023-10-04 09:06:17.634debugTuya TS0205 Smoke Detector #1 Desc Map: [:]
dev:4252023-10-04 09:06:17.624debugTuya TS0205 Smoke Detector #1 description is zone status 0x0000 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000
dev:4252023-10-04 09:06:17.086warnTuya TS0205 Smoke Detector #1 Unprocesed unknown command: cluster=null command=null attrId=null value=null data=null
dev:4252023-10-04 09:06:17.085debugTuya TS0205 Smoke Detector #1 Desc Map: [:]
dev:4252023-10-04 09:06:17.075debugTuya TS0205 Smoke Detector #1 description is zone status 0x0004 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000
dev:4252023-10-04 09:06:16.643warnTuya TS0205 Smoke Detector #1 Unprocesed unknown command: cluster=null command=null attrId=null value=null data=null
dev:4252023-10-04 09:06:16.641debugTuya TS0205 Smoke Detector #1 Desc Map: [:]
dev:4252023-10-04 09:06:16.629debugTuya TS0205 Smoke Detector #1 description is zone status 0x0000 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000
dev:4252023-10-04 09:06:16.299warnTuya TS0205 Smoke Detector #1 Unprocesed unknown command: cluster=null command=null attrId=null value=null data=null
dev:4252023-10-04 09:06:16.298debugTuya TS0205 Smoke Detector #1 Desc Map: [:]
dev:4252023-10-04 09:06:16.287debugTuya TS0205 Smoke Detector #1 description is zone status 0x0000 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000
dev:4252023-10-04 09:06:14.853warnTuya TS0205 Smoke Detector #1 Unprocesed unknown command: cluster=null command=null attrId=null value=null data=null
dev:4252023-10-04 09:06:14.851debugTuya TS0205 Smoke Detector #1 Desc Map: [:]
dev:4252023-10-04 09:06:14.831debugTuya TS0205 Smoke Detector #1 description is zone status 0x0000 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000
dev:4252023-10-04 08:54:00.465debugTuya TS0205 Smoke Detector #1 Tuya specific attribute FFDF reported: 8lÓè8lր8lÕ 8lÓH8lÖH8lÓà8lÕH
dev:4252023-10-04 08:54:00.461debugTuya TS0205 Smoke Detector #1 Desc Map: [raw:FB5A01000080DFFF423C000000000C000000000C000000000C000000000C000000000C386CD3E80C386CD6800C386CD5200C386CD3480C386CD64812386CD3E012386CD54812, dni:FB5A, endpoint:01, cluster:0000, size:80, attrId:FFDF, encoding:42, command:0A, value:8lÓè8lր8lÕ 8lÓH8lÖH8lÓà8lÕH, clusterInt:0, attrInt:65503]
dev:4252023-10-04 08:54:00.443debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A01000080DFFF423C000000000C000000000C000000000C000000000C000000000C386CD3E80C386CD6800C386CD5200C386CD3480C386CD64812386CD3E012386CD54812, dni: FB5A, endpoint: 01, cluster: 0000, size: 80, attrId: FFDF, encoding: 42, command: 0A, value: 3C000000000C000000000C000000000C000000000C000000000C386CD3E80C386CD6800C386CD5200C386CD3480C386CD64812386CD3E012386CD54812
dev:4252023-10-04 08:53:46.706warnTuya TS0205 Smoke Detector #1 received unhandled event battery = 58.0
dev:4252023-10-04 08:53:46.688debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A0100010821002074, dni: FB5A, endpoint: 01, cluster: 0001, size: 08, attrId: 0021, encoding: 20, command: 0A, value: 74
dev:4252023-10-04 08:53:46.680debugTuya TS0205 Smoke Detector #1 Cluster 0000 attribute FFE3 reported: sdk:3.0.10;cfg:0.0.0;ker:0.0.13;
dev:4252023-10-04 08:53:46.678debugTuya TS0205 Smoke Detector #1 Tuya specific attribute FFE4 reported: 01
dev:4252023-10-04 08:53:46.676infoTuya TS0205 Smoke Detector #1 Round-trip time is -149255245 (ms)
dev:4252023-10-04 08:53:46.673debugTuya TS0205 Smoke Detector #1 Tuya check-in message (attribute 0001 reported: 40)
dev:4252023-10-04 08:53:46.648debugTuya TS0205 Smoke Detector #1 Desc Map: [raw:FB5A0100005801002040E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B, dni:FB5A, endpoint:01, cluster:0000, size:58, attrId:0001, encoding:20, command:0A, value:40, clusterInt:0, attrInt:1, additionalAttrs:[[value:01, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508], [value:sdk:3.0.10;cfg:0.0.0;ker:0.0.13;, encoding:42, attrId:FFE3, consumedBytes:35, attrInt:65507]]]
dev:4252023-10-04 08:53:46.630debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A0100005801002040E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B, dni: FB5A, endpoint: 01, cluster: 0000, size: 58, attrId: 0001, encoding: 20, command: 0A, value: 40E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B
dev:4252023-10-04 08:53:46.243debugTuya TS0205 Smoke Detector #1 Cluster 0000 attribute FFE3 reported: sdk:3.0.10;cfg:0.0.0;ker:0.0.13;
dev:4252023-10-04 08:53:46.241debugTuya TS0205 Smoke Detector #1 Tuya specific attribute FFE4 reported: 01
dev:4252023-10-04 08:53:46.238infoTuya TS0205 Smoke Detector #1 Round-trip time is -149255683 (ms)
dev:4252023-10-04 08:53:46.236debugTuya TS0205 Smoke Detector #1 Tuya check-in message (attribute 0001 reported: 40)
dev:4252023-10-04 08:53:46.231debugTuya TS0205 Smoke Detector #1 Desc Map: [raw:FB5A0100005801002040E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B, dni:FB5A, endpoint:01, cluster:0000, size:58, attrId:0001, encoding:20, command:0A, value:40, clusterInt:0, attrInt:1, additionalAttrs:[[value:01, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508], [value:sdk:3.0.10;cfg:0.0.0;ker:0.0.13;, encoding:42, attrId:FFE3, consumedBytes:35, attrInt:65507]]]
dev:4252023-10-04 08:53:46.212debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A0100005801002040E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B, dni: FB5A, endpoint: 01, cluster: 0000, size: 58, attrId: 0001, encoding: 20, command: 0A, value: 40E4FF2001E3FF422073646B3A332E302E31303B6366673A302E302E303B6B65723A302E302E31333B
dev:4252023-10-04 08:53:32.882warnTuya TS0205 Smoke Detector #1 Unprocessed global command: cluster=0000 command=04 attrId=null value=null data=[00]
dev:4252023-10-04 08:53:32.873debugTuya TS0205 Smoke Detector #1 Desc Map: [raw:catchall: 0104 0000 01 01 0040 00 FB5A 00 00 0000 04 01 00, profileId:0104, clusterId:0000, clusterInt:0, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:FB5A, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[00]]
dev:4252023-10-04 08:53:32.862debugTuya TS0205 Smoke Detector #1 description is catchall: 0104 0000 01 01 0040 00 FB5A 00 00 0000 04 01 00
dev:4252023-10-04 08:53:32.674debugTuya TS0205 Smoke Detector #1 Model is : TS0205
dev:4252023-10-04 08:53:32.671infoTuya TS0205 Smoke Detector #1 Round-trip time is -149269250 (ms)
dev:4252023-10-04 08:53:32.668debugTuya TS0205 Smoke Detector #1 Tuya check-in message (attribute 0001 reported: 40)
dev:4252023-10-04 08:53:32.666debugTuya TS0205 Smoke Detector #1 zclVersion is : 03
dev:4252023-10-04 08:53:32.664debugTuya TS0205 Smoke Detector #1 Manufacturer is : _TZ3210_up3pngle
dev:4252023-10-04 08:53:32.650debugTuya TS0205 Smoke Detector #1 Desc Map: [raw:FB5A01000068040042105F545A333231305F757033706E676C650000002003010000204005000042065453303230350700003003FEFF003000, dni:FB5A, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3210_up3pngle, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:40, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0205, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:4252023-10-04 08:53:32.641warnexception caught while parsing description: read attr - raw: FB5A01000068040042105F545A333231305F757033706E676C650000002003010000204005000042065453303230350700003003FEFF003000, dni: FB5A, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A333231305F757033706E676C650000002003010000204005000042065453303230350700003003FEFF003000
dev:4252023-10-04 08:53:32.618debugTuya TS0205 Smoke Detector #1 description is read attr - raw: FB5A01000068040042105F545A333231305F757033706E676C650000002003010000204005000042065453303230350700003003FEFF003000, dni: FB5A, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A333231305F757033706E676C650000002003010000204005000042065453303230350700003003FEFF003000
dev:4252023-10-04 08:51:44.727infofingerprint profileId:"0104", endpointId:"01", inClusters:"0000,0004,0005,0001,0500", outClusters:"0003,0004,0006,1000,000A,0019", model:"TS0205", manufacturer:"_TZ3210_up3pngle"
dev:4252023-10-04 08:51:44.479traceZCL version:03
dev:4252023-10-04 08:51:44.477traceSoftware Build Id:unknown
dev:4252023-10-04 08:51:44.475traceModel:TS0205
dev:4252023-10-04 08:51:44.474traceManufacturer:_TZ3210_up3pngle
dev:4252023-10-04 08:51:44.244debuggetting info for unknown Zigbee device...
dev:4252023-10-04 08:51:38.898infoZigbee parsed:[raw:catchall: 0000 8005 00 00 0040 00 700C 00 00 0000 00 00 78000C700101, profileId:0000, clusterId:8005, clusterInt:32773, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:700C, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[78, 00, 0C, 70, 01, 01]]
dev:4252023-10-04 08:51:34.217debuggetting device info in 10 seconds...

May I please request you consider updating the driver to accommodate this model?

Many thanks, Peter

1 Like

Hi Peter,

Your model TS0205 is very different than the TS0601 models supported in this driver, currently the code will not handle it...

Can you try some of the HE inbuilt smoke drivers? For example this one:

First, manually change the driver. Then pair the smoke detector again to HE.

Hello, I am very interested in this driver because I can't find many smoke detectors compatible with Hubitat.
How can I know by looking at the Aliexpress advertisement that the model is compatible? I don't see the model or manufacturer anywhere.
Thank you for your attention and for your work.

Sorry @rodapo there’s no way to know what exactly Tuya model/manufacturer you will receive. It’s a lottery…

I suspected it. Then I'll roll the dice... :smile: :smile:
Thanks

1 Like

I justice notice that the battery level is not on the driver for ts061. Is it possible to put that back on?

  • healthStatus : online
  • powerSource : battery
  • rtt : -1157167381
  • smoke : clear

Can you post the manufacturer ID of your TS0601 smoke detector? (the Device Details data section at the bottom of the web page)

I also see a bug in the RTT (round-time-trip) attribute that I need to fix.

  • application: 48
  • manufacturer: _TZE200_m9skfctm
  • model: TS0601|

I believe that what it is.

1 Like

Thank you!

Please update to ver. 1.1.3 2023-11-19 (link).
You may need to wait for some hours or a day to see whether the battery reporting works now (I don't know how often this device reports the battery). You could also try re-inserting the battery, it may force send the battery level.

The rtt negative values bug should be fixed as well.

Hello, one question.
I have another Xiaomi Honewell smoke detector, I have noticed that the Tuya detector needs a lot more smoke to alarm, it literally has to get drunk on smoke. The Xiaomi is much more sensitive or perhaps the new Tuya comes with some type of failure. Do you notice the same?
Thanks and regards

I don't know all the ins and outs, but this could depend on the type of fire, eg, smoldering or fast, and the type of sensor, ie, photoelectric or ionization.

What type of sensor does yours use?

disclaimer: I don't have a zigbee smoke detector.

1 Like

still shows every stats except battery.

  • healthStatus : online
  • powerSource : battery
  • rtt : -1157167381
  • smoke : clear
  1. Please click on the poll button. Then press F5 to refresh the browser

This negative rtt value should be gone now, something is no right..

If you have already made steps 1, 2 and the new step 3, please enable the Debug logs, and send me the logs after 24 hours - I hope in the 24 hours period the battery level may be reported.

Well, I'm not very sure... but I think it's not infrared. The model is this

https://a.aliexpress.com/_EGalNuv

I started testing a new Smoke Detector listed in HE as: manufacturer: _TZE200_uebojraa,
model: TS0601, Driver: Tuya Zigbee Smoke Detector ver. 1.1.2 2023-08-01 kkossev.
I have 2 of these smoke detectors and they both operate the same.

image

Everything seems to work, however when I click on the "Clear" command, the HE smoke status goes to "clear" but the sensor siren does not stop. I would like to be able to quickly suspend the siren for a designated amount of time. The detection/siren should resume after a suspend in order to provide protection.

Looking into the device driver's clear code under, ver. 1.1.2 2023-08-01, I found:
TODO: add 'Silence' / Clear command for _TZE200_ntcy3xu1
So maybe there is some future hope available.-)

The smoke detector manual says that the detector will recover from a button mute in 10 minutes.
I have not found this to be the case.

I also have an Aqara Smoke detector: manufacturer: LUMI model: lumi.sensor_smoke.acn03
I have not been able to get HE to communicate with this sensor using the "Heiman Zigbee Smoke Detector" driver nor the "Xiaomi Aqara Mijia Sensors and Switches" v0.18 driver. I have not found an Aqara Smoke detector driver.

1 Like