Koenkk / zigbee2mqtt

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

Device not supported ECODIM05 Zigbee with SLZB-06 as coordinator. #23254

Open xsienix opened 3 months ago

xsienix commented 3 months ago

What happened?

I cant fix an unsupported device.. The dimmer is a duo-dimmer. Device shows up with all sliders etc, but i can only use one site of the dimmer.

Solutions i've tried:

13511

18540

Koens code: `const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const exposes = require('zigbee-herdsman-converters/lib/exposes'); const reporting = require('zigbee-herdsman-converters/lib/reporting'); const extend = require('zigbee-herdsman-converters/lib/extend'); const ota = require('zigbee-herdsman-converters/lib/ota'); const tuya = require('zigbee-herdsman-converters/lib/tuya'); const color = require('zigbee-herdsman-converters/lib/color'); const e = exposes.presets; const ea = exposes.access;

const definition = { fingerprint: [ {type: 'Router', manufacturerName: 'EcoDim BV', modelID: 'EcoDim-Zigbee 3.0', endpoints: [ {ID: 1, profileID: 260, deviceID: 257, inputClusters: [0, 3, 4, 5, 6, 8, 2821, 4096], outputClusters: [25]}, {ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]}, ]}, {type: 'Router', manufacturerName: 'EcoDim BV', modelID: 'EcoDim-Zigbee 3.0', endpoints: [ {ID: 1, profileID: 260, deviceID: 257, inputClusters: [0, 3, 4, 5, 6, 8, 2821, 4096], outputClusters: [25]}, {ID: 67, inputClusters: [], outputClusters: []}, {ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]}, ]}, ], zigbeeModel: ['Dimmer-Switch-ZB3.0'], model: 'Eco-Dim.07/Eco-Dim.10', vendor: 'EcoDim', description: 'Zigbee & Z-wave dimmer', extend: extend.light_onoff_brightness({noConfigure: true, disableEffect: true}), configure: async (device, coordinatorEndpoint, logger) => { await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger); const endpoint = device.getEndpoint(1); await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']); await reporting.onOff(endpoint); await reporting.brightness(endpoint); }, };

module.exports = definition; `

Also: Device throw lots of errors. Error 2024-06-14 18:40:27Publish 'set' 'state' to 'EcoDim - DuoDimmer' failed: 'Error: ZCL command 0x84b4dbfffe089f3a/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 7135 - 1 - 228 - 6 - 11 after 10000ms)' Error 2024-06-14 18:40:47Publish 'set' 'state' to 'EcoDim - DuoDimmer' failed: 'Error: ZCL command 0x84b4dbfffe089f3a/2 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 7135 - 2 - 229 - 6 - 11 after 10000ms)'

Hardware installation.

The dimmer is installed in a a metering closet, <0,5 mtr. distance to the router/coördinator. To exclude interferention, i disassembled the dimmer out of the wal, and screw it on some wood. Distance was >3 mtr. The SLZB-06 coordinator hangsoutside the metering closet

What did you expect to happen?

A out of the box working solution, what is supposed to, because the thing is supported i'v red. I know that people bought this dimmer and eventualy fixed it. Before de SLZB-06 i have a Conbee2 stick, and this didn't work at all.

How to reproduce it (minimal and precise)

I follow all the advise on Github. Making a extender etc (see above). In the log, the z2m trows an error cause there is soms syntex failure, even though i past it from Koens advise in an earlier post.

Zigbee2MQTT version

1.39.0

Adapter firmware version

20240315

Adapter

SLZB-06 via network cable.

Setup

Add-on on Home Assistant.

Debug log

log.log

xsienix commented 3 months ago

After some time it turned out that i have a new Ecodim.05.zigbeeversion, where zigbee is another dimmer then the 0.5 meaning that it is obviouse that it won't work. I need to make an extender. Issue closed.

xsienix commented 2 months ago

As mentioned above it seems that i got an exotic Ecodim device. After some testing i notice that when i push "on" in the frontend of Z2M, the "on" button of the other channel goes on to.except the lamp will not go on. Also the brightness slider of channel 1 side, makes the slider on channel 2 moving. It seems that channel 2 is a copy of channel 1. Even though i follow the documentations, i can not fix it. In the database the dimmer is mentioned, but only channel 1. Also turning the dimmer at channel 2 using the fysiek button on the dimmer, nothing will be mentioned in the log or database.

There must be a slightly difference in firmware between the Ecodim05 and the Ecodim05 Zigbee dimmer.

Requesting some help. Thank you.

ozanmakes commented 2 months ago

Hi @xsienix have you figured this one out? I am experiencing the same issue. I got the device to be recognized with the following device config, but I am not able to reliably set any states:

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

const definition = {
    zigbeeModel: ['Eco-Dim.05 Zigbee'],
    model: 'Eco-Dim.05 Zigbee',
    vendor: 'EcoDim BV',
    description: 'LED dimmer duo 2x 0-100W',
    extend: [
      deviceEndpoints({endpoints: {left: 2, right: 1}}),
      light({effect: false, configureReporting: true, endpointNames: ['left', 'right']}),
    ],
};

module.exports = definition;
xsienix commented 2 months ago

Hi @ozanmakes ,

No, For some uknown reason i can only operate 1 dimmer.