I've decided to join the automation brigade. I constantly forget to dose fertilizers so decided at the very least I'd set something up to automatically dose those for me... well, i haven't gotten around to that yet.
Right now I've got a system that allows me to schedule relays for daily on/off times, as well as reading the temperature from a waterproof thermometer. Neither of which are actually attached to my fish tank, or all that usable at the moment.
I'm still very much developing, and prototyping, my aquarium controller.
I know a lot of folk go with the arduino; but I didn't. I wanted my choices to be nearly 100% unfettered. I did have to make some concessions... a specific framework and noSQL database did not support the ARM chip, nor did i find a usable, up to date, build for ARM.
Along with not wanting my programming choices to be limited, I wanted a GUI, and I wanted it accessible on my home network. Two things the arduino sort of fails at out of the box. Where the arduino fails, the raspberry shines. While programming it is a lot more involved, options are endless.
My controller is being programmed using node js
, and using the web sockets protocol to provide a real time open connection to the Pi. This is important because the Pi is connected to my home network, which makes access to it available on any device with a current browser. phone, iPad, computer... hell, even my PS3 could bring up the GUI. The browser effectively provides a native like application.
The video below demonstrates the, very, basic GUI. Buttons for the 6 relays currently under control, and the temp sensor reporting back. I can schedule each relay independently to turn on or off, the schedule is set for every day of the week. I didn't show this because it checks every minute, and I didn't think anyone wanted to sit and watch a video for 2+ minute of nothing happening.
Future updates will be including the ability to schedule a relay to a data point... namely the temp sensor, so they turn on/off base on a given temp. and then of course the peristaltic pumps will be wired up and tested.
anyway, here is the video.