Koenkk / zigbee2mqtt

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

Double switch connected with neutral dooxie with Netatmo (600082A) can't be configured correctly #22152

Open mitch55500 opened 7 months ago

mitch55500 commented 7 months ago

What happened?

The switch is recognised as an 067772.

I can switch on/off the light but I can't vary the light intensity: I have an error message :

Publish 'set' 'device_mode' to '0x000474000023c05d' failed: 'Error: ZCL command 0x000474000023c05d/1 manuSpecificLegrandDevices.write({"0":{"value":257,"type":9}}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4129,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')

I have got this error too : error 09-04-2024 16:26:16: Failed to configure '0x000474000023c05d', attempt 3 (Error: Device 0x000474000023c05d has no input cluster genLevelCtrl at getEndpointsWithCluster (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:28:15) at setupAttributes (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:63:55) at configure (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:723:19) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:162:21) at Configure.configure (/app/lib/extension/configure.ts:122:13) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))

Data entry :

{"id":7,"type":"Router","ieeeAddr":"0x000474000023c05d","nwkAddr":60149,"manufId":4129,"manufName":" Legrand\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000","powerSource":"Mains (single phase)","modelId":" NLIS - Double light switch\u0000\u0000\u0000\u0000","epList":[1,2,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,15,6,0,64513],"outClusterList":[5,6,0,64513,25],"clusters":{"genBasic":{"attributes":{"modelId":" NLIS - Double light switch\u0000\u0000\u0000\u0000","manufacturerName":" Legrand\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000","powerSource":1,"zclVersion":8,"appVersion":0,"stackVersion":69,"hwVersion":1,"dateCode":" \u000020230213\u0000\u0000\u0000\u0000\u0000","swBuildId":"001a"}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b00214f3c16","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1,"manufacturerCode":null}],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[3,4,5,15,6],"outClusterList":[5],"clusters":{"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b00214f3c16","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1,"manufacturerCode":null}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":102,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":69,"hwVersion":1,"dateCode":" \u000020230213\u0000\u0000\u0000\u0000\u0000","swBuildId":"001a","zclVersion":8,"interviewCompleted":true,"meta":{},"lastSeen":1712429467015}

External definition

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

const definition = {
    zigbeeModel: [' NLIS - Double light switch'],
    model: ' NLIS - Double light switch',
    vendor: ' Legrand',
    description: 'Automatically generated definition',
    extend: [deviceEndpoints({"endpoints":{"1":1,"2":2}}), identify(), onOff({"powerOnBehavior":false,"endpointNames":["1","2"]}), commandsOnOff()],
    meta: {"multiEndpoint":true},
};

module.exports = definition;

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.1

Adapter firmware version

20230507

Adapter

Slaesh's CC2652RB stick

Setup

Add-on Home Assistant in a VM

Debug log

No response

mitch55500 commented 6 months ago

Hi all.

Someone can help me? I can't use the switch correctly.

Thanks

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days