This repository consists application for client and server of reflector. Reflector is application which make visualization on rgb led strip. I can:
- listen for current output audio and display it.
- React to triggers for ifttt. F.ex on alarm clock turn on light.
- Set colors via rest api.
Video:
- To record
- >Python 3.6
- Raspberry pi - any version(I use zero)
- PulseAudio and parec
This application in one thread listens for audio output and every set period sends via queue to another thread. In separate thread is calculated rms over this period of time and send to server application via REST endpoint.
This application is flask webserver which enables controling led strip via REST endpoints.