Projekt Wetterstation: Luftdruck auslesen



Luft­druck­sen­sor BMP085 in FHEM ein­bin­den:

htt­p://ww­w.­kompf.­de/wea­ther/pi­ba­ro.html

htt­p://blo­g.­mo­ney­bag.­de/f­hem-tem­pe­ra­tu­ren-un­d-luft­druck-­mes­sen-­mit-­dem-bmp085-­sen­sor-am-raspber­ry-pi/

BMP085 an die RPI-Pins für 3V3, GND, SCL, SDA an­schlie­ßen

/et­c/­mo­du­les: > i2c-b­cm2708 > i2c-­dev

ap­t-­get in­stall i2c-tools ra­spi-­con­fig ma­ke

ra­spi-­con­fig -> Ad­van­ced Op­ti­ons -> I2C -> Yes -> Yes -> re­boot

su­do ad­du­ser fhem i2c

wget htt­p://raspber­ry.z­nix.­com/hi­pi­fi­les/hi­pi-in­stall perl hi­pi-in­stall

fhem.cf­g: # Lib für 180 un­ter­stützt auch 085 > de­fi­ne BMP180 I2C_BMP180 /de­v/i2c-1 > at­tr BMP180 poll_­in­ter­val 5 > at­tr BMP180 over­samp­ling_­set­tings 3 > de­fi­ne File­Lo­g_BMP180 File­Log ./lo­g/BMP180-%Y-%m.log BMP180 > at­tr File­Lo­g_BMP180 log­ty­pe text

Kommentare


Comments powered by Disqus