-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device Request - Human Presence detector Device Model: TS0225 #506
Comments
I am also interested in this device to be added to the Tuya Zigbee app. Best regards, |
I'm also trying to make this sensor ( _TZE200_2aaelwxk ) compatible. I have the Lux sensor working, but the presence sensor has different datapoints. I also cannot write new settings to the device. (so it doesn't use the default tuya cluster for writing settings it seems... I'm using the datapoints described in this post: Koenkk/zigbee2mqtt#18612 and using these datapoint values:
It looks like it cannot identify some of the inputClusters: 57346, 60928, 57344 and outputCluster: 33 also from the 1024 (IlluminanceMeasurementCluster) the attribute measuredValue is a weird value, way to high unless the hex calculations below are correct....
not sure it could be like this:
i'm also receiving these errors:
and the only "working data" i'm getting is:
write settings errors:
Hopefully another person finds this info useful... |
After some testing i managed to retrieve all the sensor data. but saving/setting settings still doesn't work. does not matter which function i use to save:
There are the errors when saving settings from homey... So the cluster 61184 (tuya) is not capable to write data to ...
|
I made a fork with the working readings of the device. but writing settings still fails... https://github.com/eelco2k/com.tuya.zigbee/tree/SDK3/drivers/radar_sensor_2 |
@eelco2k I tried your fork and it works OK for reading and setting parameters. Just sensors like breath and small motion are not available in flows. Any idea? |
@gooooba yes I noticed after installing it as well so it crashes only in debug mode (cli run cmd) I did not have the time to check all the flows, will try to do next week. |
@eelco2k thank you for your great effort on this device! 👍 it works superb for me, hoping it also could be part of the official app :) and now i discovered that theres a pull request for a ceiling device that has the same id tags difference is this is lacking small, large and breathe presence. |
I’ve created a pull request. As this driver has successfully been tested in my environment. #774 |
Great work. Is it possible to get info on current distance to be added to device screen and also in flows? Then automation would be on another level. |
This device does not offer distance unfortunately :-( |
To bad... know sensor that does? |
Device Name: Human Presence detector
Device Model: TS0225
Device Description: Human Presence detector
Link to device image: https://nl.aliexpress.com/item/1005006038128151.html?spm=a2g0o.order_list.order_list_main.10.6bbf79d2LwX1s5&gatewayAdapt=glo2nld
Device Interview:
"ids": {
"modelId": "TS0225",
"manufacturerName": "_TZE200_2aaelwxk"
},
"endpoints": {
"endpointDescriptors": [
{
"endpointId": 1,
"applicationProfileId": 260,
"applicationDeviceId": 1026,
"applicationDeviceVersion": 0,
"_reserved1": 1,
"inputClusters": [
0,
3,
1280,
57346,
61184,
60928,
57344,
1024
],
"outputClusters": []
},
{
"endpointId": 242,
"applicationProfileId": 41440,
"applicationDeviceId": 97,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [],
"outputClusters": [
33
]
}
],
"endpoints": {
"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
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"iasZone": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "zoneState",
"value": "notEnrolled"
},
{
"acl": [
"readable"
],
"id": 1,
"name": "zoneType",
"value": "motionSensor"
},
{
"acl": [
"readable"
],
"id": 2,
"name": "zoneStatus",
"value": {
"type": "Buffer",
"data": [
0,
0
]
}
},
{
"acl": [
"readable",
"writable"
],
"id": 16,
"name": "iasCIEAddress",
"value": "00:00:00:00:00:00:00:00"
},
{
"acl": [
"readable"
],
"id": 17,
"name": "zoneId",
"value": 6
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"illuminanceMeasurement": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "measuredValue",
"value": 1000
},
{
"acl": [
"readable"
],
"id": 1,
"name": "minMeasuredValue",
"value": 0
},
{
"acl": [
"readable"
],
"id": 2,
"name": "maxMeasuredValue",
"value": 4000
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
},
"bindings": {}
},
"242": {
"clusters": {},
"bindings": {}
}
}
}
The text was updated successfully, but these errors were encountered: