Kodi Background addon for controlling LEDs

SoloXis

New member
Nov 15, 2016
1
0
0
Hey all,

I've been fiddling around with a project on the arduino for controlling WS2812B lights by music, but this has been very limiting and would like to have it controlled from the PI as well (since the music source is). I've seen projects similar (such as the ambilight alternative) where the Pi controls LEDs as well as playing video so was wondering if I could achieve something similar.

The ideal setup would involve Kodi sending out data (fft maybe) to the arduino at about 40fps (25ms). I have no experience in python or Kodi addons for that matter, but hopefully it wont be too much of a learning curve. So, my main questions are
1. Does kodi allow background addons? (so it would run alongside YouTube or SoundCloud for example)
2. Is there an API to access the current audio data I would need to get audio spectrum and frequency information?

Thanks!