I have a pretty big Raspberry Pi project for controlling a Paludarium (see http://www.paluweb.nl ). The entire automation is done in Python, and the Python scripts talk via the serial port to +- 12 Arduino-like boards that do the actual hardware control (light, mist, rain, temperature etc etc). I have the Pi retrieve real meteo data from a biological station in Costa Rica, and store all of these values (plus control values I send out to the hardware) in a SQLite database.
It all works beautifully, BUT I do everything through SSH today. Adding an interactive web frontend has always been a dream, but what to choose? At first I was told that Flask might be a good micro frontend to use. Then I saw CGI scripting. Then I saw Node-js...
I want to get my hands dirty, but I want to make sure I make the right choice now and not figure out I've taken the wrong road later on. What I need:
- Able to create a complex web page with tabs where I can configure variables etc (I have MANY settings)
- Buttons on the website to control hardware (basically call python scripts)
- Draw graphics on the web page that draws its values from the SQLite Db and I want to be able to change the graphs in realtime as I change date/time or enable/disable checkboxes for what I want to see
- Must run on a decent webserver that runs as a service on the Pi.
I run Raspbian on the Pi. Does anyone have an idea on what is smart (and what is not so smart) to do?