Koenkk / zigbee2mqtt

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

[New device support]: Müller Licht / tint Malea Ceiling Light #24183

Open itkama opened 2 weeks ago

itkama commented 2 weeks ago

Link

https://www.mueller-licht.de/produktinformationen/artikel/?q=404119 https://www.mueller-licht.de/produktinformationen/artikel/?q=404120 https://www.mueller-licht.de/produktinformationen/artikel/?q=404121

Database entry

{"id":36,"type":"Router","ieeeAddr":"0xa4c13800aa453c98","nwkAddr":49663,"manufId":4635,"manufName":"MLI","powerSource":"Mains (single phase)","modelId":"Ceiling light","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":269,"inClusterList":[0,3,4,5,6,8,768,4096,4111,65376],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"modelId":"Ceiling light","manufacturerName":"MLI","powerSource":1,"zclVersion":3,"appVersion":0,"stackVersion":2,"hwVersion":0,"swBuildId":"MDPANL502"}},"lightingColorCtrl":{"attributes":{"colorCapabilities":31,"colorTempPhysicalMin":153,"colorTempPhysicalMax":555,"currentHue":92,"colorMode":1,"currentX":30295,"currentY":27192,"currentSaturation":254,"colorTemperature":370}},"genOnOff":{"attributes":{"onOff":1}},"genLevelCtrl":{"attributes":{"currentLevel":112}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":2,"hwVersion":0,"swBuildId":"MDPANL502","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1727882838130}

Zigbee2MQTT version

1.40.2

Comments

Need to find out what to actually call the model. All other Müller Licht devices seem to use a 6 digit number there. How do I find this one out? Seems to be 404120 for my color (gray), and 404119 for taupe, 404121 for sand).

External definition

const {light} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['Ceiling light'],
    model: '404119/404120/404121',
    vendor: 'MLI',
    description: 'tint Smart LED-Ceiling Light Malea',
    extend: [light({"colorTemp":{"range":[153,555]},"color":{"modes":["xy","hs"],"enhancedHue":true}})],
    meta: {},
};

module.exports = definition;

What does/doesn't work with the external definition?

Everything seems to be working pretty much out of the box.

Koenkk commented 2 weeks ago

Could you make a PR by clicking here?