Koenkk / zigbee2mqtt

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

AwoX 33957 pairs as 33951/33948 #11029

Closed Crocmagnon closed 2 years ago

Crocmagnon commented 2 years ago

What happened?

I bought 3 identical ceiling lights (not bulbs but I guess they use the same controller) from EGLO.

Two of them pair as AwoX 33957, which was surprising at first but I read online that EGLO uses AwoX controllers in some of their products. This mapping is fine with me, since it allows me to controll the white temperature of the lights.

However, the third one paired as AwoX 33951/33948, which only supports brightness.

I seem to have a problem similar to these threads : https://github.com/Koenkk/zigbee2mqtt/issues?q=is%3Aissue+is%3Aclosed+33951

Screenshot 2022-01-26 at 17 45 54

Screenshot 2022-01-26 at 17 46 10

Context : I'm using Z2M with the HA addon

What did you expect to happen?

I expected the pairing to map the device to AwoX 33957, which would allow me to control the white temperature.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.22.2-dev commit: f0f7662

Adapter firmware version

0x26720700

Adapter

ConBee2/RaspBee2

Debug log

No response

Koenkk commented 2 years ago

Can you provide the data/database.db entry of this device?

Crocmagnon commented 2 years ago

I'd be glad to, how should I proceed?

Koenkk commented 2 years ago

You can open the file with a text editor, then search for the line of the device (based on the ieee address) and copy-paste it here.

Crocmagnon commented 2 years ago

Entry for the device mapped incorrectly:

{"id":63,"type":"Router","ieeeAddr":"0xa4c1382a02091afa","nwkAddr":7509,"manufId":4417,"manufName":"AwoX","powerSource":"Mains (single phase)","modelId":"TLSR82xx","epList":[1,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64599],"outClusterList":[6],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":2,"hwVersion":0}},"genOnOff":{"attributes":{"onOff":1}},"genLevelCtrl":{"attributes":{"currentLevel":254}}},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":4751,"epId":3,"devId":268,"inClusterList":[65360,65361],"outClusterList":[65360,65361],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":2,"hwVersion":0,"swBuildId":"0122052017","zclVersion":3,"interviewCompleted":true,"meta":{"configured":2},"lastSeen":1643214441156,"defaultSendRequestWhen":"immediate"}
Nicely formatted ```json { "id": 63, "type": "Router", "ieeeAddr": "0xa4c1382a02091afa", "nwkAddr": 7509, "manufId": 4417, "manufName": "AwoX", "powerSource": "Mains (single phase)", "modelId": "TLSR82xx", "epList": [ 1, 3 ], "endpoints": { "1": { "profId": 260, "epId": 1, "devId": 268, "inClusterList": [ 0, 3, 4, 5, 6, 8, 768, 4096, 64599 ], "outClusterList": [ 6 ], "clusters": { "genBasic": { "attributes": { "appVersion": 0, "stackVersion": 2, "hwVersion": 0 } }, "genOnOff": { "attributes": { "onOff": 1 } }, "genLevelCtrl": { "attributes": { "currentLevel": 254 } } }, "binds": [], "configuredReportings": [], "meta": {} }, "3": { "profId": 4751, "epId": 3, "devId": 268, "inClusterList": [ 65360, 65361 ], "outClusterList": [ 65360, 65361 ], "clusters": {}, "binds": [], "configuredReportings": [], "meta": {} } }, "appVersion": 0, "stackVersion": 2, "hwVersion": 0, "swBuildId": "0122052017", "zclVersion": 3, "interviewCompleted": true, "meta": { "configured": 2 }, "lastSeen": 1643214441156, "defaultSendRequestWhen": "immediate" } ```

For reference, here's the entry for one of the lights that was mapped correctly:

{"id":62,"type":"Router","ieeeAddr":"0xa4c138c5aea3e00d","nwkAddr":29152,"manufId":4417,"manufName":"AwoX","powerSource":"Mains (single phase)","modelId":"TLSR82xx","epList":[1,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64599],"outClusterList":[6],"clusters":{"genBasic":{"attributes":{"modelId":"TLSR82xx","manufacturerName":"AwoX","powerSource":1,"zclVersion":3,"appVersion":0,"stackVersion":2,"hwVersion":0,"swBuildId":"0122052017"}},"lightingColorCtrl":{"attributes":{"colorCapabilities":16,"colorTempPhysicalMin":250,"colorTempPhysicalMax":454}}},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":4751,"epId":3,"devId":268,"inClusterList":[65360,65361],"outClusterList":[65360,65361],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":2,"hwVersion":0,"swBuildId":"0122052017","zclVersion":3,"interviewCompleted":true,"meta":{"configured":2},"lastSeen":1643213323469,"defaultSendRequestWhen":"immediate"}
Nicely formatted ```json { "id": 62, "type": "Router", "ieeeAddr": "0xa4c138c5aea3e00d", "nwkAddr": 29152, "manufId": 4417, "manufName": "AwoX", "powerSource": "Mains (single phase)", "modelId": "TLSR82xx", "epList": [ 1, 3 ], "endpoints": { "1": { "profId": 260, "epId": 1, "devId": 268, "inClusterList": [ 0, 3, 4, 5, 6, 8, 768, 4096, 64599 ], "outClusterList": [ 6 ], "clusters": { "genBasic": { "attributes": { "modelId": "TLSR82xx", "manufacturerName": "AwoX", "powerSource": 1, "zclVersion": 3, "appVersion": 0, "stackVersion": 2, "hwVersion": 0, "swBuildId": "0122052017" } }, "lightingColorCtrl": { "attributes": { "colorCapabilities": 16, "colorTempPhysicalMin": 250, "colorTempPhysicalMax": 454 } } }, "binds": [], "configuredReportings": [], "meta": {} }, "3": { "profId": 4751, "epId": 3, "devId": 268, "inClusterList": [ 65360, 65361 ], "outClusterList": [ 65360, 65361 ], "clusters": {}, "binds": [], "configuredReportings": [], "meta": {} } }, "appVersion": 0, "stackVersion": 2, "hwVersion": 0, "swBuildId": "0122052017", "zclVersion": 3, "interviewCompleted": true, "meta": { "configured": 2 }, "lastSeen": 1643213323469, "defaultSendRequestWhen": "immediate" } ```
Koenkk commented 2 years ago

I cannot find the issue, both entries are identical in terms of identification. Could you check if restarting the addon fixes this?

Crocmagnon commented 2 years ago

Well yeah it did 🤔 I tried restarting it again and the mapping stayed as is.

For the record, here is db entry now:

{"id":63,"type":"Router","ieeeAddr":"0xa4c1382a02091afa","nwkAddr":7509,"manufId":4417,"manufName":"AwoX","powerSource":"Mains (single phase)","modelId":"TLSR82xx","epList":[1,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64599],"outClusterList":[6],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":2,"hwVersion":0}},"genOnOff":{"attributes":{"onOff":1}},"genLevelCtrl":{"attributes":{"currentLevel":254}}},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":4751,"epId":3,"devId":268,"inClusterList":[65360,65361],"outClusterList":[65360,65361],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":2,"hwVersion":0,"swBuildId":"0122052017","zclVersion":3,"interviewCompleted":true,"meta":{"configured":2},"lastSeen":1643214441156,"defaultSendRequestWhen":"immediate"}
Timple commented 1 year ago

For the record, bug is still present. But workaround (restart addon) still works