Projekt Wetterstation: Luftdruck auslesen
Luftdrucksensor BMP085 in FHEM einbinden:
http://www.kompf.de/weather/pibaro.html
BMP085 an die RPI-Pins für 3V3, GND, SCL, SDA anschließen
/etc/modules: > i2c-bcm2708 > i2c-dev
apt-get install i2c-tools raspi-config make
raspi-config -> Advanced Options -> I2C -> Yes -> Yes -> reboot
sudo adduser fhem i2c
wget http://raspberry.znix.com/hipifiles/hipi-install perl hipi-install
fhem.cfg: # Lib für 180 unterstützt auch 085 > define BMP180 I2C_BMP180 /dev/i2c-1 > attr BMP180 poll_interval 5 > attr BMP180 oversampling_settings 3 > define FileLog_BMP180 FileLog ./log/BMP180-%Y-%m.log BMP180 > attr FileLog_BMP180 logtype text
Kommentare
Comments powered by Disqus