Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge πŸŒ‰, get rid of your proprietary Zigbee bridges πŸ”¨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.64k stars 1.64k forks source link

[New device support]: Schneider Wiser CCT5010-0003 #21981

Open fifthh opened 4 months ago

fifthh commented 4 months ago

Link

https://www.productinfo.schneider-electric.com/wiser_dk/wiser-multiwire-micro-module-led-dimmer_device-user-guide_lk-home/English/Wiser%20Multiwire%20Micro%20Module%20LED%20Dimmer_LK_Home_Device%20user%20guide_DD00522615.xml/$/WiserMultiwireMicroModuleLEDDimmer_WSECPT_DD00520219

Database entry

{"id":2,"type":"Router","ieeeAddr":"0xe8e07efffec76f32","nwkAddr":7094,"manufId":4190,"manufName":"Schneider Electric","powerSource":"Mains (single phase)"

Comments

I would really appreciate it if someone could add this device to the database. I tried following the "Support new devices guide" to no success.

On/off works but not the dimmer function.

External definition

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

const definition = {
    zigbeeModel: ['PUCK/UNIDIM/1'],
    model: 'PUCK/UNIDIM/1',
    vendor: 'Schneider Electric',
    description: 'Automatically generated definition',
    extend: [onOff({"powerOnBehavior":false}), identify()],
    meta: {},
};

module.exports = definition;
rindlerblabla commented 3 months ago

Have you tried with the code from the earlier version? Guess it is pretty similar to 0001. https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src%2Fdevices%2Fschneider_electric.ts#L353 or maybe the push dimmer https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src%2Fdevices%2Fschneider_electric.ts#L430

Akzid commented 3 months ago

I am also interested in this. Will try to see if I figure out how to copy the old code to the new device. Not sure … :)