Closed mrmaximas closed 10 months ago
Fixed! (pictures will be correct after the next release)
Changes will be available in the dev branch in a few hours from now.
@Koenkk arrived 2-gang new variant _TZ3000_ljhbw1c9 of LZWSM16-2 (detected as wrong type https://www.zigbee2mqtt.io/devices/TS0012.html) Unfortunately, I forgot to order the 1-gang as promised.
{"id":66,"type":"EndDevice","ieeeAddr":"0xa4c138e3c5694c0b","nwkAddr":24142,"manufId":4417,"manufName":"_TZ3000_ljhbw1c9","powerSource":"Mains (single phase)","modelId":"TS0012","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"H\u0000\u0000\u0000\u0012\u0001\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011","65506":55,"65508":0,"65534":0,"modelId":"TS0012","manufacturerName":"_TZ3000_ljhbw1c9","powerSource":3,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0,"moesStartUpOnOff":0,"tuyaBacklightMode":1}},"manuSpecificBosch":{"attributes":{"53251":"AAAAAgAA"}},"manuSpecificTuya_3":{"attributes":{"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1794938824},"lastSeen":1703105354632,"defaultSendRequestWhen":"immediate"}
Fixed.
Changes will be available in the dev branch in a few hours from now.
Fixed.
Changes will be available in the dev branch in a few hours from now.
Thanks. I just tried to update dev version of Zigbee2MQTT, but I get this message
In the z2m folder, execute npm i zigbee-herdsman-converters@16.15.1
In the z2m folder, execute
npm i zigbee-herdsman-converters@16.15.1
Thanks! I tried this, updated zigbee-herdsman-converters to 16.15.1 but _TZ3000_ljhbw1c9 is still visible as https://www.zigbee2mqtt.io/devices/TS0012.html.
Pushed another fix.
Changes will be available in the dev branch in a few hours from now.
@Koenkk ๐๐ป
pictures will be correct after the next release
@Koenkk forgot about pictures for _TZ3000_ljhbw1c9 type (# 8,9,11 for me) ;-)
Pictures will be updated after the next release (1 January)
@Koenkk sniffed for LZWSM16-2 aka _TZ3000_ljhbw1c9 (AVATTO 2-Gang Tuya Zigbee Light Switch Module No Neutral Wire) https://drive.google.com/file/d/14OmGcs2_N6uPl9SU_TfxB2CnwftGiRZh/view?usp=share_link found button type attribute 0xd030 53296 - value 0/1/2 toggle/state/momentary. changed in SL app from 0 to 1, then 1 to 2, then 2 to 0. check me out. It's strange that this attribute is not visible in the interview. is it a bug or a feature? thnks
i'm using master branch right now because the latest dev won't start for me {"id":39,"type":"EndDevice","ieeeAddr":"0xa4c1387232c6fd35","nwkAddr":37366,"manufId":4417,"manufName":"_TZ3000_ljhbw1c9","powerSource":"Mains (single phase)","modelId":"TS0012","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0,"moesStartUpOnOff":0,"tuyaBacklightMode":1}},"manuSpecificBosch":{"attributes":{"53251":"AAAAAgAA"}},"manuSpecificTuya_3":{"attributes":{"switchType":0}},"genBasic":{"attributes":{"65534":0,"modelId":"TS0012","manufacturerName":"_TZ3000_ljhbw1c9","powerSource":3,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1794938824},"lastSeen":1703722212387,"defaultSendRequestWhen":"immediate"}
@mrmaximas what is the cluster for the switch type? If it's 0xe001
/57345
it should already work.
it should already work.
yes! it's works for me. I just don't understand when this parameter appeared, is it today? or was it previously? ;-)
works on LZWSM16-2 and LZWSM16-3, i think should be works on LZWSM16-1
What's the data/database.db entry of the LZWSM16-1
?
What's the data/database.db entry of the
LZWSM16-1
?
sorry, i don't have this model now ;-(
@Koenkk I've been using latest dev branch for the year. After some update, the mains powered end device _TZ3000_ljhbw1c9 aka https://www.zigbee2mqtt.io/devices/LZWSM16-2.html are shown as battery powered.
old DB Entry (from backup)
{"id":39,"type":"EndDevice","ieeeAddr":"0xa4c1383d38c8b288","nwkAddr":4788,"manufId":4417,"manufName":"_TZ3000_ljhbw1c9","powerSource":"Mains (single phase)","modelId":"TS0012","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0,"moesStartUpOnOff":2}},"manuSpecificBosch":{"attributes":{"53251":"AAAAAgAA"}},"manuSpecificTuya_3":{"attributes":{"switchType":2}},"genBasic":{"attributes":{"65503":"\u0000\u0000\u0000\u0000\u0011","65506":55,"65508":0,"65534":0,"modelId":"TS0012","manufacturerName":"_TZ3000_ljhbw1c9","powerSource":3,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOta":{"attributes":{"currentFileVersion":68}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1324213189},"lastSeen":1711416570099}
Current DB Entry: {"id":39,"type":"EndDevice","ieeeAddr":"0xa4c1383d38c8b288","nwkAddr":4788,"manufId":4417,"manufName":"_TZ3000_ljhbw1c9","powerSource":"Battery","modelId":"TS0012","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"57344":{"attributes":{"53251":"AAAAAgAA"}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0,"moesStartUpOnOff":0}},"manuSpecificBosch":{"attributes":{"53251":"AAAAAgAA"}},"manuSpecificTuya_3":{"attributes":{"switchType":2}},"genBasic":{"attributes":{"65503":"\u0000\u0000\u0000\u0000\u0011","65506":55,"65508":0,"65534":0,"modelId":"TS0012","manufacturerName":"_TZ3000_ljhbw1c9","powerSource":3,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOta":{"attributes":{"currentFileVersion":68}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1},{"cluster":0,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[{"cluster":0,"attrId":0,"minRepIntval":60,"maxRepIntval":600,"repChange":0,"manufacturerCode":null}],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1721140148447}
Please fix it. Thanks!
Could you try to reconfigure the device via the frontend and restart z2m?
@Koenkk I've done this many times - I've re-configured and re-paired through the gui. upd. re-configuration fix my issue ๐๐ป
Link
https://aliexpress.ru/item/1005003108226482.html
Model
LZWSM16-1 LZWSM16-2 LZWSM16-3
Description
Switch Module No Neutral Wire
Vendor
AVATTO
Picture (link)
https://ae04.alicdn.com/kf/Sf349a5bd87aa43439c30ebbf0b957ec9T.jpg_640x640.jpg https://ae04.alicdn.com/kf/Sf0be5ca650fe449eab4fda802c3df6d7h.jpg_640x640.jpg https://ae04.alicdn.com/kf/S5c4f3d2ec3f4467ebd2bcc99fcee7261q.jpg_640x640.jpg
Database entry for 2 Gang
"id":51,"type":"EndDevice","ieeeAddr":"0xa4c13878f40e0e4c","nwkAddr":21543,"manufId":4417,"manufName":"_TZ3000_kpatq5pq","powerSource":"Mains (single phase)","modelId":"TS0012","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"genOnOff":{"attributes":{"onOff":1,"onTime":0,"offWaitTime":0,"moesStartUpOnOff":1}},"genBasic":{"attributes":{"65534":0,"stackVersion":0,"manufacturerName":"_TZ3000_kpatq5pq","zclVersion":3,"appVersion":68,"modelId":"TS0012","powerSource":3}},"manuSpecificTuya_3":{"attributes":{"switchType":0}},"manuSpecificBosch":{"attributes":{"53251":"AAAAAgAA"}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":1,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1794938824},"lastSeen":1701158961849,"defaultSendRequestWhen":"immediate"}
Database entry for 3 Gang
{"id":52,"type":"EndDevice","ieeeAddr":"0xa4c138131fb22333","nwkAddr":35960,"manufId":4417,"manufName":"_TZ3000_sznawwyw","powerSource":"Mains (single phase)","modelId":"TS0013","epList":[1,2,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0,"moesStartUpOnOff":2}},"genBasic":{"attributes":{"65506":55,"65508":1,"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZ3000_sznawwyw","zclVersion":3,"appVersion":68,"modelId":"TS0013","powerSource":3}},"manuSpecificTuya_3":{"attributes":{"switchType":0}},"manuSpecificBosch":{"attributes":{"53251":"AAAAAgAABAAA"}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002a1aa3c4","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-1331047771},"lastSeen":1701159663315,"defaultSendRequestWhen":"immediate"}
Notes
I have 2 and 3 gang of this relays, 1-gang in transit. This devices mistakenly recognised as https://www.zigbee2mqtt.io/devices/TS0012.html https://www.zigbee2mqtt.io/devices/TS0013.html
Devices must be recognized like this, but my relays are in a slightly different housing and there may be differences in the clusters: https://www.zigbee2mqtt.io/devices/TS0012_switch_module.html https://www.zigbee2mqtt.io/devices/TS0013_switch_module.html