Pi-Powered VPN Client Gateway with Web based Management Interface

Most VPN service providers offer several servers to connect to around the world. When I first started using a VPN, I configured OpenVPN on my main home network router. To change which VPN server…

Source: Pi-Powered VPN Client Gateway with Web based Management Interface


Logitech Media Server with RasPi

I think I can safely assume that all of us at least one time in ours life listened radio. It’s a great to have “something to play in background” while we enjoy other things. Let’s turn our raspi into greatest radio you’ll ever have.

Logitech back in 2001 introduced first Squeezebox device, It just played music / radio from central server over local network. One great thing about it – it is fully open source. Unfortunately logitech discontinued the line but server and a couple of players preserved and can now be installed on multitude of devices including raspi. Thanks to Allthingpi LMS installation is now painless which we’ll see in a second.

continue on Raspberry @ Home blog…

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)