This project is a server-client system that aims to control a NeoPixel LED strip. The server part comprises an
Arduino sketch that implements a
Web Server and offers an
API for controlling the NeoPixel LED Strip. The client is an
Android app, named
ArduinoPixel, that connects to the server and makes API calls to control the color and the on/off state of the LED strip.
The client communicates with the server through the following HTTP requests:
/. The server responds with a Hello from Arduino Server message.
/strip/status/. The server responds with ON or OFF for the on/off state of the strip.
/strip/color/. The server responds with a JSON representation of the strip’s color, e.g.
/strip/status/on/. The server turns the strip on.
/strip/status/off/. The server turns the strip off.
/strip/color/. The server changes the strip’s color. The data are delivered as a JSON object, e.g.
I’ve also written a script on Linux that automates the turning on and off of the strip with the start and shutdown of the computer during the night. It will be available soon.
humblehacker at codebender has forked the Arduino sketch and adapted it for