dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 503 forks source link

Woox water leak sensor R7050 #7872

Closed raderack3948 closed 3 months ago

raderack3948 commented 3 months ago

Is there already an existing issue for this?

Product name

Woox R7050

Manufacturer

_TZ3000_arw23zcs

Model identifier

TS0207

Device type to add

Sensor

Node info

image

Endpoints and clusters

image

Basic

image

Further relevant clusters

image

On/Off

Level Control

Color Control

Thermostat

Simple Metering

Electrical Measurement

Any other cluster of relevance/interest

image

Smanar commented 3 months ago

Hello, probably just one more clone, can you try adding this model in this DDF https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/_TZ3000_TS0207_water_leak_sensor.json

Need to add the modelID AND the manufacture name.

raderack3948 commented 3 months ago

Added it, I can pair it and see it in phoscon - but w/o any values? image

Smanar commented 3 months ago

Perhaps Phoscon issue, can you check direclty in the API ? Using Phoscon/help/API Information/sensor ? I don't found information about this sensor on google, but for me it's a classic sensor ....

raderack3948 commented 3 months ago

Hello, sure - attached:

{
    "config": {
        "battery": 0,
        "on": true,
        "pending": [],
        "reachable": true
    },
    "ep": 1,
    "etag": "XXX",
    "lastannounced": null,
    "lastseen": "2024-08-06T16:25Z",
    "manufacturername": "_TZ3000_arw23zcs",
    "modelid": "TS0207",
    "name": "Water",
    "state": {
        "lastupdated": "none",
        "lowbattery": null,
        "tampered": null,
        "water": null
    },
    "type": "ZHAWater",
    "uniqueid": "XXX"
}
Smanar commented 3 months ago

Strange no "swversion" and nothing updated (even battery) And same after 24h ...

It probably a new device, I can't found information about it on google, but Woox have ever locked their tuya device. Can you try to re-include the device, but without deleting it (just to trigger again an enrollement for the IAS stuff) ?

If it still not working after somes hours, can you try to see something special in debug logs ? Deconz/help/debug view with flag" "info" "info_l2" and "ias" ?

raderack3948 commented 3 months ago

Sorry to ask - how to I reinclude the device? :-)

Smanar commented 3 months ago

Just set the network in permit join, using phoscon, add new sensor, and make again the reset procedure on the device, all settings will be keep.

raderack3948 commented 3 months ago

It worked! Sensor works after repairing. On the first one I've got the following message, but the sensor is in the system and working: image

Smanar commented 3 months ago

Ok, so was because of a bad inclusion/enrollement. Do you want to make a PR to add this device or want I make it ?

raderack3948 commented 3 months ago

It would be great if you could do that (I don't know how) :-). Thanks a lot for your help!!

Smanar commented 3 months ago

Done https://github.com/dresden-elektronik/deconz-rest-plugin/pull/7878