[RELEASE] Tuya Zigbee Smoke Detector

Hi ,Thank you for you reply, the bulbs definitely are zigbee, they been working on the c5 hub, its only since I've upgraded to c8, I've just removed the bulbs from the hub and added them again but the bulbs will not come out of pairing mode.

There are still hiccups with some Zigbee devices pairing as a side effect of the new Zigbee 3.0 chip support in C-8 …

Hopefully these will be fixed in future HE platform updates.

1 Like

Yes hopefully, thank you again for your help, it is greatly appreciated.

1 Like

Hi @kkossev ,
Using your driver latest version 1.1.0 dated 7/4/23.
I am getting these error messages:


I am on the latest hub version 2.3.5.131
And the device details are:

Summary


I can not say the error message was not there before but I did not remember seeing them

1 Like

Thank you for the report, @amithalp !

You can try the fix in the version 1.1.1 and let me know if the error is gone.

Also, please check the Events history - is your Smoke Detector reported as offline periodically or not?

Manually installed version 1.1.1 nas it did not show up in HPM.
For a reason I do not understand the device page keep the presious version data:

Summary

When I click the ping botton with the debug option activated I get this log:

Summary

My device event log is not showing Offline but is short.

Summary

Update - I went up this post and got reminded that (at least when manually updating the driver) a new repairing process had to be done.
Took the device close to the hub and did a repair process.
The driver details are now showing correctly.
I will keep updating with regards to previous erorr messages.
Thanks

Yesterday I experimented adding the Beta version of another driver to be available for updates from HPM, but without much success.. :frowning: A missing comma in the manifest JSON file and misleading error messages from the HPM (because of try-catch sections that include at least 3 different reasons for that exception) took me several hours to troubleshoot, so today after finding the typo and restoring the HPM updates, I give up for now.... In HPM, currently there is one global setting enabling the Beta versions update for all drivers, not just for the one that you are interested in.

The easiest way to install a beta version (from the developments branch) is manually, by clicking on the Import button :

Import Button

The above is true for my drivers, which importURL always points to the latest development branch version, but may not work for other drivers. There is no standard here...

No, usually you don't need to pair the device again to HE when updating the driver. Re-pairing is needed only once if the driver was not selected automatically the first time when you added the device to HE.

Let me know if the Ping button works for you with the latest version. Also, please post the device/manufacturer of your smoke detector, I can't find it in your previous posts. There are at least 3-4 different Tuya smoke detector models and seems like they are behaving differently in regards to whether these can be pinged or not.

Yes it does:

Log for ping with debug ON

Manufacturer is - _TZE200_ntcy3xu1

1 Like

can't get mine TS0601 to work. I can see the battery level and the health. But no smoke or clear report when I test it.

  • packetID : 0
  • rxCounter : 39
  • isDigital : true
  • driverVersion : 1.1.1 2022/04/29 10:56 PM
  • pingTime : 1690846341087
  • txCounter : 5
  • notPresentCounter : 0
  • model : TS0601

[dev:121]logs?tab=past&deviceId=121#)2023-07-31 04:38:25.310 PM[warn]/logs?tab=past&deviceId=121#)map= [raw:catchall: 0104 EF00 01 01 0040 00 4A25 01 00 0000 02 01 00D46501000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:4A25, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, D4, 65, 01, 00, 01, 00]]

[dev:121/logs?tab=past&deviceId=121#)2023-07-31 04:38:25.309 PM[warn]logs?tab=past&deviceId=121#)Tuya unknown attribute: 00D4=65=0100 data.size() = 7 value: 0}

Please make a screenshot of the Device Details- Data section (where the manufacturer and the application version are seen).

Device Details

Create Time 2023-07-31 4:15:42pm PDT
Last Update Time 2023-07-31 6:50:16pm PDT
Last Activity At 2023-07-31 8:23:03pm PDT
Controller Type ZGB
Data * endpointId: 01
  • application: 48
  • manufacturer: _TZE200_m9skfctm
  • model: TS0601|

it sort of work when i add this line in 76
fingerprint profileId:"0104", endpointId:"01", inClusters:"0004,0005,EF00,0000", outClusters:"0019,000A", model:"TS0601", manufacturer:"_TZE200_m9skfctm" // TuyaIasZone ?

But not sure, every time I hit the test button it still doesn't show detected on status. But the log does show this:
2023-07-31 07:59:46.438 PMinfoHallway Smoke Detector smoke alarm (dp=01) is: 1

1 Like

This is a model that differs a bit from the models currently supported, but shouldn’t be a big problem to add it. The Test function surely will not work for the moment.

Have you tried to activate it with some real smoke?

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