-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Make PWM CT (setoption92) available for 5-channel PWM RGBCCT bulbs #8820
Comments
I don't understand your problem. So in your example, set GPIO13 to PWM4, and GPIO5 to PWM4. If CT is reversed, set GPIO13 to PWM4i. |
Just found a remark: ... or SetOption92 1 (supported since v.8.2.0.5) Seems that I simply need to upgrade ;-) |
Just upgraded to 8.3.1.6 and can confirm it's working. Again, thanks for pointing me in the right direction... |
Hello do you mind helpme with the configuration? Im really lost.
this is not working for me, or I'm doing it wrong... this is my template config can you please help me? |
Use latest 9.2.0.2 and see here for VirtualCT: #10311 |
Have you looked for this feature in other issues and in the docs?
According to the docs,
setoption92
provides the feature of controlling color temperature CT in addition to brightness instead of controlling a cold white and a warm white channel independently. This feature "PWM CT" is currently available for 2-channel CCT bulbs.Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
The same feature PWM CT is required for RGBCCT bulbs without separate cold white/warm white channels on the "white part" but with a CT channel + brightness channel instead. (Example: https://templates.blakadder.com/lvwit_A70_1521lm.html). The CT of this bulb is controlled by GPIO13 while brightness for white is controlled by GPIO5.
This means, the bulb can at least be controlled e.g. via:
color #RRGGBBCxWW
But "
dimmer
" or "ct
" commands will lead to unexpected results, since it changes PWM4 and PWM5 simultanouslyDescribe the solution you'd like
A clear and concise description of what you want to happen.
I guess, for such devices the functionality of
setoption92
needs to be extended to RGBCCT too.Means, the second PWM for the white part (PWM5) should be treated as as CT (Color Temp) instead of warm white.
eg.:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Well, the RGB part and the White/CCT part can be controlled by the use of the "
color
" command.So the pain here is limited somehow. Though, it would be nice, if the other commands like "
dimmer
", "white
" and "ct
" can be used as well...Additional context
Add any other context or screenshots about the feature request here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: