WS2812 and PWM at the same time? #11658
-
moin |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 20 replies
-
It's not supported. You could maybe control the pwm as channels and not light. |
Beta Was this translation helpful? Give feedback.
-
Hi, I know, it's a old Thread. Is this a bug? |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you very much for your response. Unfortunately I only have a ESP8266 What a pity. Thought it could be possible one year later ;) |
Beta Was this translation helpful? Give feedback.
-
@sfromis .. thank you for this hint! Seems, a Wemos D1 Mini is replaceable with a D1 Mini ESP32. |
Beta Was this translation helpful? Give feedback.
-
ESP32 Would it be practically possible to control WS2812 Leds+ 16 normal PWM outputs? ESP12 ESP32 Wäre es praktisch möglich WS2812 Leds+ 16 normale PWM Ausgänge zu steuern? ESP12 |
Beta Was this translation helpful? Give feedback.
-
I am also interested in using PWM and WS2812 in one project at the same time realzed with tasmota. Is it only a UI-Problem? Does anybody has a running Berry script for this? I am totally new to Berry. |
Beta Was this translation helpful? Give feedback.
-
Gibt es in der Zwischenzeit ein neuen Ansatz zusätzlich zu dem WS2812 Slider zwei PWM Ausgänge (weiß Töne) bei dem ESP32c3 hin zufügen. Leider ist es noch nicht möglich bei der v14.5 |
Beta Was this translation helpful? Give feedback.
-
Thank you,
So I would have to set WS2812 1 to WS2812 2. And the two PWM outputs 1 and 2 (white). To PWM 5 and 6, right? This would allow me to switch the two PWM outputs via GUI and the WS2812 via Berry. Would it also be possible to switch the WS2812 via HTTP commands or MQTT?
Mit freundlichen Grüßen Sebastian
…________________________________
From: sfromis ***@***.***>
Sent: Sunday, April 20, 2025 11:19:57 PM
To: arendst/Tasmota ***@***.***>
Cc: Smarthome ***@***.***>; Comment ***@***.***>
Subject: Re: [arendst/Tasmota] WS2812 and PWM at the same time? (Discussion #11658)
The lights feature will be either WS2812 or PWM, not both at the same time.
However, you can control one of them via Berry (if you move to WS2812 index 2, or PWM index 6). PWM6 can also be controlled via the PWM command if reconfiguring.
—
Reply to this email directly, view it on GitHub<#11658 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOBCMCQJ36O464Z7NGYSTD322QFP3AVCNFSM6AAAAAB3QDDVSWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBZGI3TQOI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Vielen Dank da werde ich es mal probieren ich muss nicht unbedingt die WS2812 per Gui schalten da wären mir die beiden PWM-Ausgänge wichtiger. Wenn ich WS2812 als 2 einstelle dann könnte ich sie per MQTT ansteuern oder per Webbefehle (http://192.168.178.103/cm?cmnd=Led5 40,0,0<http://192.168.178.103/cm?cmnd=Led5%2040,0,0>) würde das funktionieren? Das würde mich bei den WS2812 schon zureichen?
Eine andere Frage, wenn ich ein ESP32S3 nehmen würde der Software mäßig mehr PWM-Ausgänge hätte könnte man dort PWM-Ausgänge und WS2812 gleichzeitig schalten und in der GUI anzeigen lassen?
…________________________________
Von: sfromis ***@***.***>
Gesendet: Montag, 21. April 2025 12:44
An: arendst/Tasmota ***@***.***>
Cc: Smarthome ***@***.***>; Comment ***@***.***>
Betreff: Re: [arendst/Tasmota] WS2812 and PWM at the same time? (Discussion #11658)
No, what I suggested would not be both, but either modifying WS2812 (as you posted now) or modify PWM, which would be index 6 and 7. However, as index 7 is not available on ESP32-C3, you cannot get both channels outside of the lights feature "owning" PWM1-5.
Hence your only option (for full operation on both types) would be modifying the neopixel WS2812, becoming controllable only via Berry code. You could then create your own control command (via Berry) available via MQTT etc.
—
Reply to this email directly, view it on GitHub<#11658 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOBCMCXE5QY6M2A5G5ELET322TD2VAVCNFSM6AAAAAB3QDDVSWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBZG43DCNA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Vielen Dank zur Not müsste ich die beiden PWM-Ausgänge als Relais ändern oder über Scripting gehen.
Wäre es denn in Zukunft in Planung mit der Option beides zu aktivieren?
…________________________________
Von: sfromis ***@***.***>
Gesendet: Montag, 21. April 2025 19:18
An: arendst/Tasmota ***@***.***>
Cc: Smarthome ***@***.***>; Comment ***@***.***>
Betreff: Re: [arendst/Tasmota] WS2812 and PWM at the same time? (Discussion #11658)
Sure, if you leave out having any PWM, you do get normal operation with commands like Led.
But again, the lights feature of Tasmota can be either for PWM1-5 or WS2812-1, you cannot have both in use at the same time.
With Berry you can create control outside of the lights feature, including using Berry to add your own sliders. To do that with WS2812, that would mean coding the details of the handling.
—
Reply to this email directly, view it on GitHub<#11658 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOBCMCTUKVVTUQXX2UU47QL22UR6DAVCNFSM6AAAAAB3QDDVSWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOJQGA4TANY>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
It's not supported. You could maybe control the pwm as channels and not light.