rxseger / homebridge-bme280

BME280 temperature/humidity/pressure sensor bridge for Homebridge: https://github.com/nfarina/homebridge
MIT License
16 stars 14 forks source link

First draft of a pull request including the barometric preasure sensor. #2

Closed NorthernMan54 closed 7 years ago

NorthernMan54 commented 7 years ago

Thought I would share a first draft of adding the barometric preasure sensor. This is visible to most of the 3rd party home kit apps, including Eve. I'm still playing with the code a bit, as I want to add device polling so that I can trigger based on temperature in HomeKit so please hold off on merging for a bit.

NorthernMan54 commented 7 years ago

I have completed adding device polling, and made some improvements in error handling, basically focused on homebridge exiting when it can't find the BME280 or the I2C bus.

rxseger commented 7 years ago

Thanks!