Add support pir motion illuminance sensor _TZE200_3towulqd / TS0601#724
Add support pir motion illuminance sensor _TZE200_3towulqd / TS0601#724MihaiINW wants to merge 5 commits intoJohanBendz:SDK3from
Conversation
|
It seems that there was a recent addition of a driver for this device, but it does not work, however the driver in this PR works properly. |
|
I could not get this to work. Log from pir_motion_illuminance_sensor The only way I can get this device to work is through the Tuya's Manufacturer Specific Cluster (61184) see comment and code
|
|
@maccyber First of all it is weird that your device produces a totally different interview than ours, especially this part: Ours: Yours: From your interview your device does not support ZCL illuminance cluster (1024 / 0x0400). Ours does. But on the other hand your interview also doesn't show that your device supports cluster 61184. From both interviews I can see that both devices have the same ModelId and ManufacturerName. I don't get that. @MihaiINW @ayhamdabbas do you have any ideas? Maybe @JohanBendz can shine some bright light on this issue? |
|
Yes, agreed - seems like two different devices stating to be the same. When I look at reported device interviews 5 of them are reporting Wonder if the driver I posted work on your devices - if not; is there a way in homey to filter the driver on anything else than Created a PR if you want to test here: #735 Here is my response from await zclNode.endpoints[1].clusters.basic.readAttributes('manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'hwVersion', 'dateCode', 'clusterRevision'){
"manufacturerName": "_TZE200_3towulqd",
"zclVersion": 3,
"appVersion": 72,
"modelId": "TS0601",
"hwVersion": 1,
"dateCode": "",
"clusterRevision": 2
}Link to where I bought it: https://www.aliexpress.com/item/1005004822278385.html Modelnumber on package: ZG-204Z It is possible to order without and with illuminance sensor. |
|
@maccyber I bought them from the exact same AliExpress store. The one with lux. This is the box that they are deleivered in: Pairing in the Tuya Zigbee app works on the unique combination of ManufacturerName and ProductID indeed, because it is built on Node Homey Zigbee Driver. That is a problem in itself (but that's a whole different story). Maybe we could merge both drivers into 1 (because of the same ManufacturerName and ProductID) and then in the driver we try the one cluster and if that doesn't work, we try the other. I will have my colleagues look into it after the weekend. If @JohanBendz has some idea on this, I'd really like to hear his expert's opinion. Hence, also see PR #735 and issue #715 . @ayhamdabbas @MihaiINW @ManarINW Can you further investigate this? |
|
@Boechie, not the first device with same Manufacturername and conflicting interviews.. Sadly the brands does not understand the implications. :/
|
|
@JohanBendz: Agreed, option 2 seems to be the better solution. Do you have an example of an implementation of a 'clustercheck'? |
|
Something like this? async onNodeInit() { } checkForTuyaCluster(node) { And then add functionality to remove the Illumination capability if it's not to be used. |
|
@maccyber I will ask my colleagues to look into the solution and test it. |
|
@Boechie, did you guys ever find out if this works? |
|
@JohanBendz We indeed figured out how to fix this with a cluster check. We are finishing that up as we speak. That will solve several issues already mentioned and also override a few PRs mentioned. I'd advise not to merge this PR and also not the other. A new one will be coming, but preferrably I'd like to keep this one open for now to keep the history for a little bit longer. |
Is there a plan when this fix will be released in to a test version? |
|
Waiting for @Boechie to create a new PR. While doing so I made some changes to the current driver hoping the devices that use it will work better. |
|
Below I'm adding interveiw for my device which is still noncooperative.
|
|
Hi! 👋 Thank you for this contribution! The fingerprint(s) from this PR have been integrated into dlnraja/com.tuya.zigbee (Universal Tuya Zigbee fork) as of v5.11.14. Install the latest test version: Community forum: This PR can be closed. Thanks for contributing! 🎉 |

No description provided.