zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: ClickSmart+ CSP0042 Zigbee dimmer module 2 channel (_TZ3000_ha4ejozn)

Open gpshml opened this issue 1 year ago • 2 comments

Link

https://click-smart.com/technical-specification

Database entry

{"id":11,"type":"Router","ieeeAddr":"0x60a423fffe801204","nwkAddr":20589,"manufId":4098,"manufName":"_TZ3000_ha4ejozn","powerSource":"Mains (single phase)","modelId":"TS110F","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":257,"inClusterList":[0,4,5,6,8],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS110F","manufacturerName":"_TZ3000_ha4ejozn","powerSource":1,"zclVersion":3,"appVersion":65,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"onOff":0}},"genLevelCtrl":{"attributes":{"64512":255,"currentLevel":254}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c8db9d","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c8db9d","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":3600,"repChange":0,"manufacturerCode":null}],"meta":{}},"2":{"profId":260,"epId":2,"devId":257,"inClusterList":[4,5,6,8],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"genLevelCtrl":{"attributes":{"64512":255,"currentLevel":254}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c8db9d","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c8db9d","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":3600,"repChange":0,"manufacturerCode":null}],"meta":{}}},"appVersion":65,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1736943773142}

Zigbee2MQTT version

2.0.0.2

Comments

ClickSmart+ CSP0042 Zigbee dimmer module 2 channel (tuya.fingerprint('TS110F', ['_TZ3000_ha4ejozn']))

External definition

fingerprint: tuya.fingerprint('TS110F', ['_TZ3000_ha4ejozn']),
        model: 'TS110F',
        vendor: 'ClickSmart+',
        description: 'Zigbee dimmer module 2 channel',
        extend: [
            deviceEndpoints({endpoints: {l1: 1, l2: 2}}),
            tuyaLight({powerOnBehavior: true, configureReporting: true, switchType: true, minBrightness: 'attribute', endpointNames: ['l1', 'l2']}),
        ],
        configure: async (device, coordinatorEndpoint) => {
            await tuya.configureMagicPacket(device, coordinatorEndpoint);
        },

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

This has been functioning for some time and is working as part of the external_converters. Was brought up again due to the new version of MQTT wiping out the config section for the converters.

Please can this be added to the recognised devices please? I would add it but wasn't sure a) if I was allowed or b) should it be a whitelabel for the TS0052_2 with the same extend def.

gpshml avatar Jan 15 '25 12:01 gpshml

Could you make a PR by clicking here?

Koenkk avatar Jan 15 '25 19:01 Koenkk

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

github-actions[bot] avatar Mar 17 '25 00:03 github-actions[bot]