-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support 2-gang mode for LK Fuga wireless battery switch (550D6001) #2732
Conversation
devices/schneider_electric.js
Outdated
@@ -296,11 +296,17 @@ module.exports = [ | |||
description: 'LK FUGA wiser wireless battery 4 button switch', | |||
fromZigbee: [fz.command_on, fz.command_off, fz.command_move, fz.command_stop], | |||
toZigbee: [], | |||
exposes: [e.action(['on', 'off', 'brightness_*'])], | |||
endpoint: (device) => { | |||
return {'s1': 21, 's2': 22}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s1
and s2
are non valid endpoint names, can you change this to l1
and l2
? These are allowed: https://github.com/Koenkk/zigbee2mqtt/blob/9bd46932c365e886ed0b1f9b8740d8cce632230c/lib/util/utils.js#L34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do that, no problem. Alternatively, would top
and bottom
be preferable? This is how the button pairs physically relate to the remote unit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, top
and bottom
is better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, I've now used those.
Thanks! |
I don't know if this is the right place to ask, but I have one of these, and it doesn't report any actions, just 'empty_string'. I'm on the latest Z2M version. |
Probably best to log an issue, as we can't action it from this PR. I'll update my Z2M and take a look |
Hi pklokke, |
Just need to hold button 1 and 4 down at the same time for 10 seconds. The red light should blink and all 4 buttons should work independently. |
That's amazing! Works perfect. Thank you so much for fast reply. |
Found the reason for the difference in operation, the wiser system guide outlines how to set 1-gang vs. 2-gang via button press.
Unfortunately, I don't have the gateway so I cannot reverse engineer which attribute they use to set it, but I could add the instructions to the pairing info at least.