antonpup / Aurora

Unified lighting effects across multiple brands and various games.
http://www.project-aurora.com/
MIT License
1.82k stars 369 forks source link

Support for multiple LEDs in Atmoorb strip #823

Open DarkFox opened 6 years ago

DarkFox commented 6 years ago

What are you experiencing an issue with?

What kind of an issue is it?

Currently, the Atmoorb implementation seems to only support using the lights as 1 single light, even if you have multiple LEDs in it (Like a ws2812b strip, or neopixel ring). It'd be cool if you could enter the number of LEDs you've got, and it'd average individual parts of the keyboard, so things like the Lucio scroll effect in Overwatch would actually be scrolling across the Atmoorb strip too.

DarkFox commented 6 years ago

After reading through the Atmoorb ESP8266 firmware, it occurs to me that this might not be the best protocol for it, as you'd actually need an ID for each pixel, and a modified firmware. I'll look into some other protocols that might be more suitable.

SilentZen commented 6 years ago

Have a look at pi-lighting branch The python web server part looks portable https://github.com/antonpup/Aurora/blob/pi-lighting/aurora_neopixel_pi.py There seems to be enough websocket libraries available for particle photon

Example https://build.particle.io/libs/Particle-WebSockets/2.0.8/tab/example/WebSocketServer_LEDcontrol.ino