Replace NeoPixel library with FastLED in ESPEasy

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Replace NeoPixel library with FastLED in ESPEasy

#1 Post by papperone » 27 Sep 2017, 12:29

Just a small poll to get feedback; we are sticking all our addressable plugins with Adafruit NeoPixel library, while FastLED offers similar features but support a wider range of other addressable LEDs as per official doc:

Code: Select all

Here's a list of all the LED chipsets are supported.  More details on the led chipsets are included *TODO: Link to wiki page*

* Adafruit's DotStars - AKA the APA102
* Adafruit's Neopixel - aka the WS2812B (also WS2811/WS2812/WS2813, also supported in lo-speed mode) - a 3 wire addressable led chipset
* TM1809/4 - 3 wire chipset, cheaply available on aliexpress.com
* TM1803 - 3 wire chipset, sold by radio shack
* UCS1903 - another 3 wire led chipset, cheap
* GW6205 - another 3 wire led chipset
* LPD8806 - SPI based chpiset, very high speed
* WS2801 - SPI based chipset, cheap and widely available
* SM16716 - SPI based chipset
* APA102 - SPI based chipset
* P9813 - aka Cool Neon's Total Control Lighting
* DMX - send rgb data out over DMX using arduino DMX libraries
* SmartMatrix panels - needs the SmartMatrix library - https://github.com/pixelmatix/SmartMatrix
Making this efforts will make all plugins abstract from the hardware, so if the author of FastLED will add support for more led it will be enough to recomplie the ESPEasy BIN and voilà!

What's your thought? woudl it make convenient the initial efforts to convert all existing plugins? Converting just some won't be effective as BIN will include 2 libraries code so if we agree this is a right move all coders involved in NeoPixle based plugin shoudl be able to convert them to FastLED, else not sure it can make sense...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Replace NeoPixel library with FastLED in ESPEasy

#2 Post by grovkillen » 27 Sep 2017, 14:45

Sounds like a good idea. Got my support. +1
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Replace NeoPixel library with FastLED in ESPEasy

#3 Post by Shardan » 27 Sep 2017, 15:36

More supported devices is always good.

:+1:
Regards
Shardan

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Replace NeoPixel library with FastLED in ESPEasy

#4 Post by toffel969 » 27 Sep 2017, 18:15

Sounds like a great idea
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Replace NeoPixel library with FastLED in ESPEasy

#5 Post by papperone » 28 Sep 2017, 15:12

Looking more into LEDs, controllers and library it seems we have as well another potential candidate "NeoPixelBus" which seems supporting less type of LEDs but it's much faster!
I was surprised that in the GitHub of the author he's mentioning Psy0rz :mrgreen: as he realized a very nice LED Animation sketch that supports both FastLED or NeoPixelBus; I admit I really like this "ledanim" project as you can customize it writing your own animation behaviour in javascript :!: so I wonder if Psy0rz is considering to convert his project into an ESPEasy plugin :)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

DeKraker
New user
Posts: 5
Joined: 03 Apr 2018, 20:34

Re: Replace NeoPixel library with FastLED in ESPEasy

#6 Post by DeKraker » 13 Apr 2018, 13:18

Will the fastLED library be included in the next stable release?
If FastLED will be implemented, is there any idea on timing?

I can't find any information concerning fastLED on the Github page.

EmKa
New user
Posts: 6
Joined: 02 Feb 2017, 15:02

Re: Replace NeoPixel library with FastLED in ESPEasy

#7 Post by EmKa » 21 Jan 2019, 04:00

any news on this?

Post Reply

Who is online

Users browsing this forum: No registered users and 69 guests