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

H801 per channel on/off #565

Closed
Anroxo opened this issue Feb 13, 2018 · 7 comments
Closed

H801 per channel on/off #565

Anroxo opened this issue Feb 13, 2018 · 7 comments

Comments

@Anroxo
Copy link

Anroxo commented Feb 13, 2018

Hi!
I tried it with 6 dummy relays and it didn't work. It is okay with 5. For me the it would be best if one relay would switch the RGB channel and two separate ones the two white channels. Can someone confirm that it does work with 6. Or should I consider it as a hack and wait for better support?

@xoseperez
Copy link
Owner

Right now ESPurna only supports up to 5 dimmer channels but adding more it's a matter of hacking the lightSetup method in light.ino (I think).

To achieve what you say about having different dummy relays controlling different channels could be achieved using a mapping (like with buttons and relays). Right now the implementation is much simpler (one switch for every channel or one switch for all channels).

@Anroxo
Copy link
Author

Anroxo commented Feb 13, 2018

I see. Thanks for the information.

@ColinShorts
Copy link
Contributor

@xoseperez as per #830 should this now work as per the comments in relay.ino under RELAY_PROVIDER_LIGHT - dummy relays set to 5 gives a per channel switch, and set to 6 gives a master plus one for each channel?

@xoseperez
Copy link
Owner

Right.

@ColinShorts
Copy link
Contributor

Thanks @xoseperez, I've not got around to checking this yet, @Anroxo can you test and confirm?

@ColinShorts
Copy link
Contributor

@xoseperez @Anroxo I can confirm that this works as expected with both 6 (master plus 5 channel switches) and 5 (5 channel switches) configured. (also as 1 too 💃 )

Thanks for the fix @xoseperez

@xoseperez xoseperez added this to the 1.12.7 milestone May 18, 2018
@xoseperez
Copy link
Owner

Will be released soon

@xoseperez xoseperez modified the milestones: 1.12.7, 1.13.0 Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants