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

Controlling channels/pwm lines independently/individually with SetOption15 = 1 #6175

Closed
mirko opened this issue Aug 4, 2019 · 2 comments
Closed
Labels
duplicated Result - Duplicated Issue template missing/incomplete Action - Template Missing or incomplete (issue will be closed)

Comments

@mirko
Copy link

mirko commented Aug 4, 2019

Assumption: As far as I remember the old API of controlling lights via PWM commands - SetOption15=OFF - is deprecated. Since I'm having an issue with the new API, which worked with the old one, I allow myself to consider that being a regression.

I use the H801 to control 5 LEDs - not a strip and no colors involved. Just 5 simple plain LEDs which I'd like to dim.
Now, with SetOption=1 I can (almost!) to so, via the individual ChannelX commands. However when I set all 5 channels to 100, 4 is always set to 0.
From my understanding that's due to the logical representation of RGBWxWy, where I can't set Wx and Wy to 100, but have to decide (which makes Wy = 100 -> Wx = 0).

Is there a way to control all 5 LEDs individually with SetOption=1?

@s-hadinger
Copy link
Collaborator

Duplicate of #6134

Use SetOption37 128 to allow independent settings of RGB and WW, and use Channel<x> to set each PWM value.

If you're adventurous, I have a PR in the works to make it easier to use: https://github.com/s-hadinger/Sonoff-Tasmota/tree/temp_multi_chan

@ascillato2 ascillato2 added duplicated Result - Duplicated Issue template missing/incomplete Action - Template Missing or incomplete (issue will be closed) labels Aug 4, 2019
@ascillato2
Copy link
Collaborator

Closing this issue as it is duplicated. Sorry.

Please, read the Contributing Guideline and Policy. Thanks.


Support Information (Guide)

See Wiki for more information.
See FAQ for common questions/answers and links if none of your question is in the list
See Chat for more user experience.
See Community for forum.
See Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue template missing/incomplete Action - Template Missing or incomplete (issue will be closed)
Projects
None yet
Development

No branches or pull requests

3 participants