[Wrong device]: Schneider Electric LK FUGA Wiser 545D6104 detected as WDE002960

Open
#33,922 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
embedded-iot

Research direction

Read the existing Schneider Electric WDE002960 definition and its dimmer configuration support, then check how device definitions map endpoints and expose switch actions. Add a native definition for model 545D6104 that distinguishes its endpoint layout while reusing the tested features described here. Verify the definition exposes the tested light, brightness, switch action, and ballast settings.

Written by the indexing model from the issue text.

Description

Link

https://www.lk.dk/produkter/545D6104/lysd%C3%A6mper-lk-fuga-wiser-multi-wire-push-type-led-med-d%C3%A6kplade-hvid

Model

545D6104

Description

LK FUGA Wiser multi-wire LED push-button dimmer

Vendor

Schneider Electric

Picture (link)

https://download.schneider-electric.com/files?p_Doc_Ref=545D6104_IoP-Default&p_File_Type=rendition_1500_jpg

Database entry

{"id":58,"type":"Router","ieeeAddr":"0x70ac08fffe741df7","nwkAddr":44941,"manufId":4190,"manufName":"Schneider Electric","powerSource":"Mains (single phase)","modelId":"NHPB/UNIDIM/1","epList":[3,21,242],"endpoints":{"3":{"profId":260,"epId":3,"devId":257,"inClusterList":[0,3,4,5,6,8,769,2821],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"NHPB/UNIDIM/1","manufacturerName":"Schneider Electric","powerSource":1,"zclVersion":3,"appVersion":2,"stackVersion":6,"hwVersion":2,"dateCode":"","swBuildId":"002.011.015 R"}},"genLevelCtrl":{"attributes":{"currentLevel":137}},"genOnOff":{"attributes":{"onOff":1}},"lightingBallastCfg":{"attributes":{"ballastStatus":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xbc026efffe2a3f56","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0xbc026efffe2a3f56","endpointID":1},{"cluster":769,"type":"endpoint","deviceIeeeAddress":"0xbc026efffe2a3f56","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":3600,"repChange":0},{"cluster":8,"attrId":0,"minRepIntval":1,"maxRepIntval":3600,"repChange":1}],"meta":{}},"21":{"profId":260,"epId":21,"devId":260,"inClusterList":[0,3,2821,65303],"outClusterList":[3,4,5,6,8,258],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":6,"hwVersion":2,"dateCode":"","swBuildId":"002.011.015 R","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1796329949192}

Notes

This device is the Schneider Electric / LK FUGA Wiser multi-wire LED push-button dimmer, model 545D6104, sold in Denmark.

It is currently detected by Zigbee2MQTT as WDE002960 because both devices use the Zigbee model ID NHPB/UNIDIM/1.

Device information
  • modelId: NHPB/UNIDIM/1
  • manufacturerName: Schneider Electric
  • swBuildId: 002.011.015 R
  • hwVersion: 2
  • endpoints: 3, 21, 242
Endpoints

The device has separate dimmer/load and physical switch endpoints:

  • Endpoint 3 (l1): dimmer/load
  • Endpoint 21 (s1): physical push button
  • Endpoint 242: Green Power
  • Endpoint 21 exposes Schneider manufacturer-specific cluster 0xFF17 (65303).

Endpoint 3 exposes:

  • genOnOff
  • genLevelCtrl
  • lightingBallastCfg

Endpoint 21 can send both On/Off and Level Control commands.

Light / dimmer functionality

The following functionality has been tested successfully on endpoint 3 (l1):

  • ON/OFF
  • Brightness control (0-254)
  • Brightness reporting
  • Physical dimming from the push button

The ballast configuration cluster is supported by the physical device.

The following values have been read directly from endpoint 3:

  • minLevel: 57
  • maxLevel: 254

Both ballast_minimum_level and ballast_maximum_level should therefore be exposed as configurable values in the Zigbee2MQTT definition.

Physical switch functionality

The physical push button is on endpoint 21 (s1) and supports configurable Schneider switch actions through manufacturer-specific cluster 0xFF17.

The following switch action modes have been tested successfully on the physical 545D6104:

  • light: Normal light operation.
  • light_opposite: Reverses the normal light switch operation.
  • toggle_light: Toggle light operation.
  • dimmer: Light and dimmer operation using the physical push button.
  • dimmer_opposite: Reversed dimmer operation.
  • toggle_dimmer: Toggle/dimmer operation.

Physical dimming works. Depending on the connected LED lamp/load, the perceived brightness steps may not be linear across the full 0-254 range.

Dimmer mode

The existing Schneider dimmer implementation supports ballast minimum/maximum level and Schneider dimmer modes.

The expected dimmer modes are:

  • auto
  • rc
  • rl
  • rl_led

I have verified the ballast min/max attributes directly on the physical 545D6104. Dimmer mode has not yet been directly exposed/tested through the external converter, so I am not claiming that part as independently verified on this device.

Pairing

Short press the push button 3 times (<0.5 seconds each). The LED starts blinking orange, indicating that the device is ready for pairing.

Resetting

Remove the cover. Short press the push button 3 times (<0.5 seconds each), then press and hold the push button for more than 10 seconds.

After 10 seconds the LED starts blinking red. Release the push button.

The LED stops blinking when the factory reset is complete. The push-button dimmer then restarts and flashes green for a few seconds.

After the reset, the LED turns orange, indicating that the device is ready for pairing.

Identification

The main identification issue is that LK FUGA model 545D6104 shares Zigbee model ID NHPB/UNIDIM/1 with the existing WDE002960 definition.

However, 545D6104 has the LK FUGA endpoint layout with the dimmer/load on endpoint 3 (l1) and the physical configurable switch on endpoint 21 (s1).

Both the dimmer functionality and the Schneider switch configuration functionality have been tested successfully using an external converter.


Additional testing

An external converter was created to test the LK FUGA-specific endpoint layout and physical switch functionality of the 545D6104.

The converter maps:

  • Endpoint 3 to l1 for dimmer/load control.
  • Endpoint 21 to s1 for the physical push button.
  • Schneider manufacturer-specific cluster 0xFF17 (65303) for switch configuration.

The following external converter was used for testing:

import {
    light,
    commandsOnOff,
    commandsLevelCtrl,
    deviceAddCustomCluster,
    deviceEndpoints,
    enumLookup,
} from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    fingerprint: [
        {
            modelID: 'NHPB/UNIDIM/1',
            manufacturerName: 'Schneider Electric',
        },
    ],

    model: '545D6104',
    vendor: 'Schneider Electric',
    description: 'LK FUGA Wiser multi-wire LED dimmer',

    extend: [
        deviceAddCustomCluster('manuSpecificSchneiderLightSwitchConfiguration', {
            name: 'manuSpecificSchneiderLightSwitchConfiguration',
            ID: 0xff17,
            manufacturerCode: 0x105e,
            attributes: {
                ledIndication: {
                    name: 'ledIndication',
                    ID: 0x0000,
                    type: 0x30,
                    write: true,
                    max: 0xff,
                },
                switchActions: {
                    name: 'switchActions',
                    ID: 0x0001,
                    type: 0x30,
                    write: true,
                    max: 0xff,
                },
            },
            commands: {},
            commandsResponse: {},
        }),

        deviceEndpoints({
            endpoints: {
                l1: 3,
                s1: 21,
            },
        }),

        light({
            endpointNames: ['l1'],
        }),

        commandsOnOff({
            endpointNames: ['s1'],
        }),

        commandsLevelCtrl({
            endpointNames: ['s1'],
        }),

        enumLookup({
            name: 'switch_actions',
            lookup: {
                light: 0,
                light_opposite: 254,
                dimmer: 1,
                dimmer_opposite: 253,
                toggle_light: 5,
                toggle_dimmer: 6,
            },
            cluster: 'manuSpecificSchneiderLightSwitchConfiguration',
            attribute: 'switchActions',
            endpointName: 's1',
            description: 'Set Switch Action for s1 Button.',
            zigbeeCommandOptions: {
                manufacturerCode: 0x105e,
            },
        }),
    ],
};

After saving the converter and restarting Zigbee2MQTT, the device is detected as model 545D6104.

Successfully tested on the physical device:

  • Relay/light ON/OFF on l1
  • Brightness control on l1
  • Brightness reporting
  • light
  • light_opposite
  • toggle_light
  • dimmer
  • dimmer_opposite
  • toggle_dimmer
  • Physical dimming from s1

The following ballast attributes were also read directly from endpoint 3 / lightingBallastCfg:

  • minLevel: 57
  • maxLevel: 254

The external converter does not currently expose the Schneider-specific dimmer_mode. The existing native Schneider implementation already provides support for the related dimmer/ballast configuration, so this could be reused for the final native 545D6104 definition.

Dominant language
TypeScript
Stars
15.9k
Forks
2.1k
Avg merge
12h 11m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Koenkk/zigbee2mqtt

All issues in Koenkk/zigbee2mqtt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.