-
Hello, For example, when using the Shelly RGBW2 (4 outputs), one could assign PWM1 to two different GPIOs and PWM2 to the other two GPIOs. This way tasmota would work as a 2Channel CCT Light controller and one could use all the power available from the Shelly device and control two or more CCT lights in parallel. I tried this using Tasmota v9.2.0 but it did not work: only oneGPIO outputs a PWM signal. Look for it in the documentations but could not find it. May be there is a way to mirror two GPIOs directly in the code or through a SetOption command? What do you think? Thanks and Regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
One way could be to split the PWM channels into up to 5 separate lights using SetOption68, and then do the same commands to both PWM channels in a pair. |
Beta Was this translation helpful? Give feedback.
-
Hey! |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm having the same problem, I have a light where there are 2 pins going to a WW and CW led strip, and two other pins go to a different WW and CW led strip. It would be nice if tasmota could provide 2 sets of sliders for that setup to control each zone separately. For now it would help if there was a way to set both zones of the light to the same settings, is there a way to do that without loosing the WebUI? I'd also be willing to dive into the code a bit, but after a quick scan I can't find where the mapping of PWM channel to GPIO pin is done. Can someone give me a hint? |
Beta Was this translation helpful? Give feedback.
-
I have devoloped a patch that fixes the problem for my use case and opened a PR here: #20760 feel free to use and test at your own risk. |
Beta Was this translation helpful? Give feedback.
One way could be to split the PWM channels into up to 5 separate lights using SetOption68, and then do the same commands to both PWM channels in a pair.