com.tuya.zigbee icon indicating copy to clipboard operation
com.tuya.zigbee copied to clipboard

tuya temperature and humidity sensors

Open 5tal3m8 opened this issue 3 years ago • 7 comments

"ids": { "modelId": "TS0601", "manufacturerName": "_TZE200_a8sdabtg" }, "endpoints": { "endpointDescriptors": [ { "endpointId": 1, "applicationProfileId": 260, "applicationDeviceId": 770, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 1, 1026, 1029, 0 ], "outputClusters": [ 25, 10 ] } ], "endpoints": { "1": { "clusters": { "powerConfiguration": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 32, "name": "batteryVoltage", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 33, "name": "batteryPercentageRemaining", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ] }, "temperatureMeasurement": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "name": "measuredValue", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 1, "name": "minMeasuredValue", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 2, "name": "maxMeasuredValue", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 2, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ] }, "relativeHumidity": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "name": "measuredValue", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 1, "name": "minMeasuredValue", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 2, "name": "maxMeasuredValue", "value": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 2, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ] }, "basic": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "name": "zclVersion", "value": 3 }, { "acl": [ "readable", "reportable" ], "id": 1, "name": "appVersion", "value": 67 }, { "acl": [ "readable", "reportable" ], "id": 2, "name": "stackVersion", "value": 0 }, { "acl": [ "readable", "reportable" ], "id": 3, "name": "hwVersion", "value": 1 }, { "acl": [ "readable", "reportable" ], "id": 4, "name": "manufacturerName", "value": "_TZE200_a8sdabtg" }, { "acl": [ "readable", "reportable" ], "id": 5, "name": "modelId", "value": "TS0601" }, { "acl": [ "readable", "reportable" ], "id": 6, "name": "dateCode", "value": "" }, { "acl": [ "readable", "reportable" ], "id": 7, "name": "powerSource", "value": "battery" }, { "acl": [ "readable", "writable", "reportable" ], "id": 65502 }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 2 }, { "acl": [ "readable", "reportable" ], "id": 65534, "name": "attributeReportingStatus", "value": "PENDING" }, { "acl": [ "readable", "reportable" ], "id": 65506 }, { "acl": [ "readable", "reportable" ], "id": 65507 } ] } }, "bindings": { "ota": { "attributes": [ { "acl": [ "readable" ], "id": 0 }, { "acl": [ "readable" ], "id": 1 }, { "acl": [ "readable" ], "id": 2 }, { "acl": [ "readable" ], "id": 3 }, { "acl": [ "readable" ], "id": 4 }, { "acl": [ "readable" ], "id": 5 }, { "acl": [ "readable" ], "id": 6 }, { "acl": [ "readable" ], "id": 7 }, { "acl": [ "readable" ], "id": 8 }, { "acl": [ "readable" ], "id": 9 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ] }, "time": { "attributes": [ { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ] } } } } }

5tal3m8 avatar Jan 25 '23 18:01 5tal3m8

Hi @5tal3m8, can you please link an image of the device? How it looks.. or even better yet where you got it. Simple to add but I need to know I use the correct driver group.

JohanBendz avatar Feb 26 '23 17:02 JohanBendz

Hi @JohanBendz, thanks for following up! I purchased it here; https://a.aliexpress.com/_mLDUMC2

Let me know if you need anything else!

5tal3m8 avatar Feb 27 '23 07:02 5tal3m8

Hi @JohanBendz Thanks for all the great work! Any idea if this sensor is in the next release? otherwise I will just return it and look for another in the supported list.

Thx!

TomasWeij avatar Jan 15 '24 19:01 TomasWeij

Hello All,

Same ModelId and manufactererName.... But some different input&output clusters found in the "Interview" of my sensor

I don't know what this means ??

Is this a different sensor or will it also work with new code ?

See inteview:

"ids": { "modelId": "TS0601", "manufacturerName": "_TZE200_a8sdabtg" }, "endpoints": { "ieeeAddress": "a4:c1:38:3e:e8:f4:0c:fc", "networkAddress": 3714, "modelId": "TS0601", "manufacturerName": "_TZE200_a8sdabtg", "endpointDescriptors": [ { "status": "SUCCESS", "nwkAddrOfInterest": 3714, "_reserved": 38, "endpointId": 1, "applicationProfileId": 260, "applicationDeviceId": 770, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 0, 3, 57346, 61184, 60928, 57344, 1, 1026, 1029 ], "outputClusters": [ 3, 57346, 61184, 60928, 57344, 1 ] } ], "deviceType": "enddevice", "receiveWhenIdle": false, "swBuildId": "0122052017", "capabilities": { "alternatePANCoordinator": false, "deviceType": false, "powerSourceMains": false, "receiveWhenIdle": false, "security": false, "allocateAddress": true }, "extendedEndpointDescriptors": { "1": { "clusters": { "basic": { "attributes": [ { "acl": [ "readable" ], "id": 0, "name": "zclVersion" }, { "acl": [ "readable" ], "id": 1, "name": "appVersion" }, { "acl": [ "readable" ], "id": 2, "name": "stackVersion" }, { "acl": [ "readable" ], "id": 3, "name": "hwVersion" }, { "acl": [ "readable" ], "id": 4, "name": "manufacturerName" }, { "acl": [ "readable" ], "id": 5, "name": "modelId" }, { "acl": [ "readable" ], "id": 7, "name": "powerSource" }, { "acl": [ "readable", "writable" ], "id": 18, "name": "deviceEnabled" }, { "acl": [ "readable" ], "id": 16384, "name": "swBuildId" }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision" } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "identify": { "attributes": [ { "acl": [ "readable", "writable" ], "id": 0, "name": "identifyTime", "value": 0 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "powerConfiguration": { "attributes": [ { "acl": [ "readable" ], "id": 0 }, { "acl": [ "readable" ], "id": 32, "name": "batteryVoltage", "value": 33 }, { "acl": [ "readable" ], "id": 33, "name": "batteryPercentageRemaining", "value": 200 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "temperatureMeasurement": { "attributes": [ { "acl": [ "readable" ], "id": 0, "name": "measuredValue", "value": 0 }, { "acl": [ "readable" ], "id": 1, "name": "minMeasuredValue", "value": 0 }, { "acl": [ "readable" ], "id": 2, "name": "maxMeasuredValue", "value": 600 }, { "acl": [ "readable", "writable" ], "id": 3 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "relativeHumidity": { "attributes": [ { "acl": [ "readable" ], "id": 0, "name": "measuredValue", "value": 0 }, { "acl": [ "readable" ], "id": 1, "name": "minMeasuredValue", "value": 0 }, { "acl": [ "readable" ], "id": 2, "name": "maxMeasuredValue", "value": 600 }, { "acl": [ "readable", "writable" ], "id": 3, "name": "tolerance", "value": 0 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" } }, "bindings": { "identify": { "attributes": [ { "acl": [ "readable", "writable" ], "id": 0, "name": "identifyTime", "value": 0 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "powerConfiguration": { "attributes": [ { "acl": [ "readable" ], "id": 0 }, { "acl": [ "readable" ], "id": 32, "name": "batteryVoltage", "value": 33 }, { "acl": [ "readable" ], "id": 33, "name": "batteryPercentageRemaining", "value": 200 }, { "acl": [ "readable" ], "id": 65533, "name": "clusterRevision", "value": 1 } ], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" } } } } }

wazig avatar Feb 17 '24 14:02 wazig

Hi @JohanBendz Thanks for all your useful work on tuya zigbee integration.

Are you missing any information to integrate this device? I can provide it if you need it, as I have the device at home.

Thank you very much.

c-fevre avatar Mar 12 '24 21:03 c-fevre

Would be great if this one could be added. Have added the "modelId" and "manufacturerName" to a copy of the tuya zigbee app on my homey and it works like a charm, but it would be even better if it is added to the master :) .

linteknik avatar May 13 '24 12:05 linteknik

I just tried again to add this device. I can add it, but can't do anything with it. Does not provide any temperature or humidity information. Sorry for the stupid question, but I am new to this. Am I supposed to copy paste the above code somewhere?! Is there something that can be done to integrate this device in an "automatic way"? Thank you very much. Marco

MarcoDDguez avatar Jun 03 '24 21:06 MarcoDDguez

@MarcoDDguez code done but PR be reviewed by @JohanBendz

NicolasYDDER avatar Aug 23 '24 19:08 NicolasYDDER