Go to file
2017-07-12 15:59:19 +02:00
scripts Added Scripts for MQTT 2017-01-06 15:42:05 +01:00
wordpress-plugin New Templates 2015-06-19 21:06:17 +02:00
createTable.sql Update new Version 2015-05-21 19:14:11 +02:00
LICENSE Initial commit 2015-04-19 21:58:06 +02:00
README.md Update Readme 2017-07-12 15:59:19 +02:00
release-notes.txt Modify release-notes 2017-01-06 13:58:10 +01:00
scheduler.py Added 4 Sensors 2015-06-05 22:44:20 +02:00
status.py Added new functions 2017-01-06 15:22:17 +01:00
temperature.py Added Scripts for MQTT 2017-01-06 15:36:16 +01:00
weather-app.png Add Screenshot 2015-04-19 22:18:53 +02:00
weather.py Correct variables 2017-01-06 15:27:00 +01:00

myweather

My Weather for Raspberry Pi with BMP180 / BMP085 / DS18B20



Installation for Adafruit Python-Modules needed:

sudo apt-get update
sudo apt-get install git build-essential python-dev python-smbus
git clone https://github.com/adafruit/Adafruit_Python_BMP.git
cd Adafruit_Python_BMP
sudo python setup.py install

sudo apt-get install python-mysqldb


Insert the required database parameter in "scheduler.py" for WordPress Plugin
databaseUsername="XXXXX"
databasePassword="XXXXX"
databaseName="XXXXX" #do not change unless you named the Wordpress database with some other name
databaseHost="www.xxx.de"
Install the WordPress Plugin

Start "./scheduler.py" manually and check if there any errors.

vi /etc/cron.d/weather
*/15 * * * * pi /home/pi/myweather/scheduler.py > /dev/null

Demo: http://blog.joachimhummel.de/category/wetter