Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.17k stars 1.68k forks source link

[Wrong device]: TuYa valve actuator #20111

Closed tlc76 closed 11 months ago

tlc76 commented 11 months ago

Link

https://www.aliexpress.com/item/1005005499231547.html?spm=a2g0o.order_list.order_list_main.5.310b18028GbGuD

Model

ZN231392 or similar

Description

Water/Gas smart valve actuator

Vendor

tuya (?)

Picture (link)

https://ibb.co/nM19q9W

Database entry

{"id":19,"type":"Router","ieeeAddr":"0xa4c13875e2208989","nwkAddr":61169,"manufId":4417,"manufName":"_TZ3000_wpueorev","powerSource":"Mains (single phase)","modelId":"TS0001","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\u000fU\u0006-\u0012","65506":56,"65508":0,"65534":0,"modelId":"TS0001","manufacturerName":"_TZ3000_wpueorev","powerSource":1,"zclVersion":3,"appVersion":83,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":2,"tuyaBacklightSwitch":1}},"manuSpecificTuya_3":{"attributes":{"powerOnBehavior":2,"switchType":0}},"manuSpecificBosch":{"attributes":{"53251":"AAAA"}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x804b50fffe9cd9d4","endpointID":1}],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":83,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":153093895},"lastSeen":1702070632295,"defaultSendRequestWhen":"immediate"}

Notes

The device is wrongly recognised as a TS0001 switch: https://www.zigbee2mqtt.io/devices/TS0001.html#tuya-ts0001

However, the exposed channels are correct for this type of device (smart water/gas valve actuator):

Notes:

I opened the device, the gear mechanism is very similar to the "regular" ZN231392. All gears are metallic.

mrmaximas commented 11 months ago

Sure, "original" is the {"id":42,"type":"Router","ieeeAddr":"0xa4c13807f04b19ac","nwkAddr":64302,"manufId":4417,"manufName":"_TZ3000_iedbgyxt","powerSource":"Mains (single phase)","modelId":"TS0001","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\f\u0000\u0000\u0000\u0012\r\u0000\u0000\u0000\u0012)\u0000\u0000\u0000\u0012","65506":54,"65508":0,"65534":0,"modelId":"TS0001","manufacturerName":"_TZ3000_iedbgyxt","powerSource":1,"zclVersion":3,"appVersion":82,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"32768":0,"moesStartUpOnOff":2,"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"tuyaBacklightSwitch":1}},"manuSpecificBosch":{"attributes":{"53251":"AAAA"}},"manuSpecificTuya_3":{"attributes":{"powerOnBehavior":2,"switchType":0}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":82,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-1259610371},"lastSeen":1702113063714,"defaultSendRequestWhen":"immediate"}

Koenkk commented 11 months ago

Added!

Changes will be available in the dev branch in a few hours from now.