New Device Support(TS0601 Zemismart model: 'M515EGB' Curtain motor)
See original GitHub issueHello, got new roller curtains motor, and triying to add it to your plug-in. Please check if everything is correct(I think not) and please add support. It look likes motor it self are RF, but then it have USB stick Zigbee Router(I think)
{"id":6,"type":"Router","ieeeAddr":"0x842e14fffefec07d","nwkAddr":51870,"manufId":4098,"manufName":"_TZE200_xuzcvlku","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,4,5,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0601","manufacturerName":"_TZE200_xuzcvlku","powerSource":1,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[]}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1599402930812}
"friendly_name":"0x842e14fffefec07d"
"type":"devices"
"modelId":"TS0601"
"manufacturerName":"_TZE200_xuzcvlku"
"powerSource":1
"zclVersion":3
"appVersion":68
"stackVersion":0
"hwVersion":1
"dateCode":""
data '{}'
"manufacturerID":4098
"manufacturerName":"_TZE200_xuzcvlku"
"model":"TS0601"
"modelID":"TS0601"
"powerSource":"Mains (single phase)"
"type":"Router"
"vendor":"-"
"type":"devices"
Cluster 'genTime', data '["localTime"]'
type 'raw'
cluster 'manuSpecificTuyaDimmer'
data '{"data":[25,4,36,0,6]
"type":"Buffer"}
What I did:
Added ‘raw’ to fromZigbee.js:
tuya_curtain: {
type: ['commandSetDataResponse', 'commandGetData', 'raw'], #<raw
changed section devices.js:
{
zigbeeModel: ['owvfni3\u0000', 'owvfni3', 'aabybja'], **#<<< Not suere if I need to add here some thing.**
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_5zbp6j0u'}
{modelID: 'TS0601', manufacturerName: '_TZE200_xuzcvlku'}, **# <<< THIS ONE.**
],
model: 'TS0601_curtain',
vendor: 'TuYa',
description: 'Curtain motor',
whiteLabel: [
{vendor: 'Yushun', model: 'YS-MT750'},
{vendor: 'Zemismart', model: 'ZM79E-DT'},
{vendor: 'Zemismart', model: 'M515EGB'}, **# <<< THIS ONE.**
{vendor: 'Binthen', model: 'BCM100D'},
],
supports: 'open, close, stop, position',
fromZigbee: [fz.tuya_curtain, fz.ignore_basic_report],
toZigbee: [tz.tuya_curtain_control, tz.tuya_curtain_options],
},
Probably, it’s pairs successfully but I have MSG:
owvfni3: Unhandled DP #undefined: {"type":"Buffer","data":[25,81,36,0,72]}
Then I think I miss something in fromZigbee.js.
Looks like it works. Added to domoticz as well. But would be nice if you will check everything
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
look likes work.
@robertalexa