[Wrong device]: Schneider Electric LK FUGA Wiser 545D6615 detected as S520530W
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 76/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- embedded-iot
Research direction
Read the existing S520530W device definition and check how it identifies devices with model ID NHPB/SWITCH/1. Add a distinct fingerprint for manufacturer Schneider Electric and model 545D6615, using the tested endpoint and switch configuration details in the issue. Run the relevant device definition tests; done when the device is identified as 545D6615 and exposes relay control on l1, physical button actions on s1, and the three tested switch_actions.
Written by the indexing model from the issue text.
Description
Link
https://www.se.com/dk/da/product/545D6615/lk-fuga-wiser-tr%C3%A5dl%C3%B8s-enkelt-rel%C3%A6-hvid/
Model
545D6615
Description
LK FUGA Wiser wireless single relay
Vendor
Schneider Electric
Picture (link)
Database entry
{"id":56,"type":"Router","ieeeAddr":"0x90ab96fffe001acc","nwkAddr":8365,"manufId":4190,"manufName":"Schneider Electric","powerSource":"Mains (single phase)","modelId":"NHPB/SWITCH/1","epList":[1,21,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[0,3,4,5,6,2821],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"dateCode":"","zclVersion":3,"modelId":"NHPB/SWITCH/1","manufacturerName":"Schneider Electric","swBuildId":"002.010.000 R","hwVersion":1}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xbc026efffe2a3f56","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"21":{"profId":260,"epId":21,"devId":260,"inClusterList":[0,3,2821,65303],"outClusterList":[3,4,5,6,8,258],"clusters":{"genBasic":{"attributes":{"swBuildId":"002.010.000 R","hwVersion":1,"dateCode":"","manufacturerName":"Schneider Electric","modelId":"NHPB/SWITCH/1"}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xbc026efffe2a3f56","endpointID":1}],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":6,"hwVersion":1,"dateCode":"","swBuildId":"002.010.000 R","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1796305334114}
Notes
This device is the Schneider Electric / LK FUGA Wiser wireless single relay, model 545D6615, sold in Denmark.
It is currently detected by Zigbee2MQTT as S520530W "Odace connectable relay switch 10A" because both devices appear to use the Zigbee model ID NHPB/SWITCH/1.
Device information
- modelId: NHPB/SWITCH/1
- manufacturerName: Schneider Electric
- swBuildId: 002.010.000 R
- hwVersion: 1
- endpoints: 1, 21, 242
Endpoints
The device has separate relay and physical switch endpoints:
- Endpoint 1 (
l1): relay/load - Endpoint 21 (
s1): physical push button - Endpoint 21 exposes Schneider manufacturer-specific cluster
0xFF17(65303).
Switch actions
The physical s1 button supports configurable switch behavior.
The following three modes have been tested successfully on the physical 545D6615:
light: Default operation. One side switches the relay ON and the other side switches it OFF.light_opposite: Reverses the physical switch operation, so the ON/OFF sides are swapped.toggle_light: Both sides of the physical switch toggle the relay between ON and OFF.
For this single-relay device, these are the three relevant switch_actions that should be exposed.
The device also reports physical button actions using the s1 endpoint, for example off_s1.
Pairing
Short press the push button 3 times, with each press shorter than 0.5 seconds.
The LED starts blinking orange once per second. Pairing mode remains active for 30 seconds.
Resetting
Short press the push button 3 times, with each press shorter than 0.5 seconds, then press and hold the button for more than 10 seconds.
When the LED starts blinking red, release the button. The device resets and restarts. The LED turns orange when the device is ready for pairing.
Identification
The main identification issue is that 545D6615 appears to share Zigbee model ID NHPB/SWITCH/1 with the existing S520530W definition.
However, the LK FUGA 545D6615 additionally exposes a physical switch on endpoint 21 and Schneider switch configuration cluster 0xFF17.
Relay control on l1 and switch configuration on s1 have both been tested successfully.
Additional testing
An external converter was created to test the additional functionality of the physical 545D6615.
The converter maps:
- Endpoint 1 to
l1for relay/load control. - Endpoint 21 to
s1for the physical switch. - Schneider manufacturer-specific cluster
0xFF17for the switch configuration.
The following converter configuration has been successfully tested:
import {
onOff,
commandsOnOff,
deviceAddCustomCluster,
deviceEndpoints,
enumLookup,
} from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
fingerprint: [
{
modelID: 'NHPB/SWITCH/1',
manufacturerName: 'Schneider Electric',
},
],
model: '545D6615',
vendor: 'Schneider Electric',
description: 'LK FUGA Wiser wireless single relay',
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: 1,
s1: 21,
},
}),
onOff({
endpointNames: ['l1'],
powerOnBehavior: false,
}),
commandsOnOff({
endpointNames: ['s1'],
}),
enumLookup({
name: 'switch_actions',
lookup: {
light: 0,
light_opposite: 254,
toggle_light: 5,
},
cluster: 'manuSpecificSchneiderLightSwitchConfiguration',
attribute: 'switchActions',
endpointName: 's1',
description: 'Set Switch Action for s1 Button.',
zigbeeCommandOptions: {
manufacturerCode: 0x105e,
},
}),
],
};
After saving the converter and restarting Zigbee2MQTT, the additional switch configuration became available and works correctly.
Successfully tested on the physical device:
lightlight_oppositetoggle_light- Relay ON/OFF on
l1 - Physical button actions from
s1
The selected switch action also remains functional after restarting Zigbee2MQTT.
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.1k
- Avg merge
- 12h 11m
- Merged PRs (30d)
- 32
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Koenkk/zigbee2mqtt
-
Group Exposes always displays unknown state (?) despite valid group state being published via MQTTOpenproblem
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Koenkk/zigbee2mqtt#33925 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Koenkk/zigbee2mqtt#33894 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Koenkk/zigbee2mqtt#33892 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Koenkk/zigbee2mqtt#33891 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Koenkk/zigbee2mqtt#33890 ·
Maintainers usually reply within 1 day
All issues in Koenkk/zigbee2mqtt
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
juspay/agent-distro#203 ·
Maintainers usually reply within 1 day