Skip to content
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

Merged
merged 2 commits into from
Jun 30, 2021

Conversation

pklokke
Copy link
Contributor

@pklokke pklokke commented Jun 27, 2021

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.

@@ -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};
Copy link
Owner

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

Copy link
Contributor Author

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.

Copy link
Owner

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.

Copy link
Contributor Author

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.

@Koenkk
Copy link
Owner

Koenkk commented Jun 30, 2021

Thanks!

@Koenkk Koenkk merged commit dd968ed into Koenkk:master Jun 30, 2021
@akafester
Copy link

akafester commented Jul 9, 2021

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'.
Is there a step I'm missing?

I'm on the latest Z2M version.

@pklokke
Copy link
Contributor Author

pklokke commented Jul 10, 2021

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'.
Is there a step I'm missing?

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

@DennisDalgaard
Copy link

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.

Hi pklokke,
I've just added the 550D6001 to Z2M v. 1.22.0. My experience is that the top and buttom buttons are sending the same message (top on/top off). Have you found a solution for that? I have a Wiser gateway available for testing if needed.
BR. Dennis

@akafester
Copy link

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.

@DennisDalgaard
Copy link

That's amazing! Works perfect. Thank you so much for fast reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants