Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
Improve coexistence between native WS2812 feature and Berry Leds.
You can now initialize var leds = Leds() (with no parameter) to take by default the GPIO and size configures in Tasmota (WS2812-1 and Pixels size).
For backwards compatibility, it also uses the native driver if the GPIO configured is the same as the WS2812-1 in template.
Additionally:
Ws2812ReinitStrip() replaced by Ws2812InitStrip()
Pixels command now triggers a reboot. The underlying NeoPixelBus library does not support resizing, and the reallocation of RMT channels seem to fail with esp-idf 5.1.
Checklist:
[x] The pull request is done against the latest development branch
[x] Only relevant files were touched
[x] Only one feature/fix was added per PR and the code change compiles without warnings
[x] The code change is tested and works with Tasmota core ESP8266 V.2.7.6
[x] The code change is tested and works with Tasmota core ESP32 V.3.0.0
Description:
Improve coexistence between native WS2812 feature and Berry
Leds
.You can now initialize
var leds = Leds()
(with no parameter) to take by default the GPIO and size configures in Tasmota (WS2812-1
andPixels
size).For backwards compatibility, it also uses the native driver if the GPIO configured is the same as the
WS2812-1
in template.Additionally:
Ws2812ReinitStrip()
replaced byWs2812InitStrip()
Pixels
command now triggers a reboot. The underlying NeoPixelBus library does not support resizing, and the reallocation of RMT channels seem to fail with esp-idf 5.1.Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass