You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joachim Hummel 48b0eac841 Update Readme 2 years ago
scripts Added Scripts for MQTT 2 years ago
wordpress-plugin New Templates 4 years ago
LICENSE Initial commit 4 years ago
README.md Update Readme 2 years ago
createTable.sql Update new Version 4 years ago
release-notes.txt Modify release-notes 2 years ago
scheduler.py Added 4 Sensors 4 years ago
status.py Added new functions 2 years ago
temperature.py Added Scripts for MQTT 2 years ago
weather-app.png Add Screenshot 4 years ago
weather.py Correct variables 2 years ago

README.md

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