SolarPi – Weather / Temp RasPi Project

See It: http://solarpi.tafkas.net

More Details: http://blog.tafkas.net/2014/11/19/solarpi-a-flask-powered-photovoltaic-monitor/


excerpt from the blog post…

After collecting some photovoltaic data using PikoPy and a some readings from the residential meter it was time to put everything together. The data is collected by a couple of scripts triggered by a cronjob every five minutes.

$ crontab -l
*/5 * * * * python /home/solarpi/kostal_piko.py
*/5 * * * * python /home/solarpi/collect_meter.py
*/15 * * * * python /home/solarpi/collect_weather.py

The results are then written into a SQLite database. I chose SQLite over PostgreSQL for its lighter footprint on the Raspberry Pi. And since we will have no concurrent writes SQLite should be capable serving as a database backend.

The sole purpose of the web application is to fetch data from the database and render the results. I decided to use Flask, a microframework for Python based on Werkzeug and Jinja 2. For the Frontend I used the Bootstrap based SB Admin 2 Theme.

(continue reading at link above)

12 Cool Projects For Your Raspberry Pi

When it comes to this $35 microcomputer, the real question might be, what can’t you do with it?

Here are twelve tutorials for taking your Raspberry Pi to the limit. You’ll find that you can automate your home, design your own devices, and perhaps even save a lot of money (that is, if you don’t suddenly feel the need to buy twelve new Raspberry Pis)…

Source: 12 Cool Projects For Your Raspberry Pi – ReadWrite