This is a bit of a "yet another LED+ controller" but in case it is of interest....
I wanted a controller for the LED+ that was web based, not based on physical controls. In fact I wanted it to be headless - no physical keyboard or control. I also wanted it to support wired or wireless, as I had one tank easily wired, one not so much.
I also started doing this to include other measurements and controls (like flow rate) and gave up - expensive sensors that probably work, and cheap ones that didn't; I decided that was not needed. But the Pi is easily extensible if I find some good sensors.
I was not yet ready to automate dosing or feeding, but similarly, easy to add.
So right now this is ONLY a LED+ controller, that:
- Is Headless
- Is Wired or wireless
- Has Web based controls for changing lighting
- Has Web based scheduling for automated light control
- Still supports the regular remote (i.e. no physical changes to LED+)
- Has been optimized to reduce SD card I/O while running
I put the instructions on my own web site where it's easier to update (no commercials there, or similar), but would be delighted with Q&A here.
Note that this presumes one is reasonably familiar with Linux and the Pi and soldering. Because it uses an add-on board with a header socket, as well as a few components, it requires more soldering than some of the audrino options, and indeed if you want a simple controller those are perhaps better.
When configured and installed, the web page looks like this:
The keys on the left side, vaguely the same as on the physical remote, can be used for direct control. There are also some added keys, notably the ones with percentages, which will move the indicated color up or down by about 20% or 100% gradually. In addition there's a up/down by percentage for rgbw, i.e. all colors.
The percentages are approximate, I made no effort to discern exactly how many steps each color can do, in part because I found different LED+'s do not respond equally (I have five of them). So I wanted something approximate for 20%, and far enough to be completely on or off for 100%.
The schedule is on the right side, military time. You can schedule by right clicking on a button, it adds it to the schedule and you type in the time.
Here's an example of my second build, using a pretty vanilla case, where the IR emitted is connected via a standard 1/8th stereo plug (socket added by me), and with a wifi dongle. This one is under my 220G tank, and driven by the same power supply I use to drive four LED+'s.
Here is a work in progress to mount the emitter and four IR receivers on a wooden frame that fits on top. It's unfinished as of this shot, and has a piece of aluminum foil substituted for a diffuser, but it should give the idea.
Because it's a web app (and a pretty vanilla one) it should work from almost any device. I have had some issues on touch screens discerning right click/long touch vs a touch-and-hold, so the up/down and Mx keys work fine for individual strikes, but on a tablet/phone you might not be able to "hold" depending on your browser implementation.
The web page gives the linux configuration information, and all the source code including the config files for lirc (the IR remote control software) are in a tarball that's available at the web page.
I'll update periodically as I make changes, and put some release notes as appropriate to new versions on the web page linked above.
Note: No security is built in; the presumption is that it is on a local LAN and no security is needed. Adding authentication and authorization would be straightforward but I had no need for it. Do not expose this, without suitable security changes, to the outside internet.
I welcome both suggestions and questions.