aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bme280.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "bme280: Rename sensor_type from BME280 to bme280"Kevin O'Connor2021-02-201-1/+1
| | | | | | | | | This reverts commit ac61f8b72603e9d08832250026e48093dd66aec4. Many temperature sensors are capitalized, so don't make this chaneg to the bme280. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Rename sensor_type from BME280 to bme280Kevin O'Connor2021-02-201-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Implement support for min_temp/max_temp checksKevin O'Connor2021-02-011-1/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Disable bme280 when using debug outputKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Start temperature measurements from "klippy:connect" callbackKevin O'Connor2020-12-011-2/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: fix reported measured timeArksine2020-06-161-1/+2
| | | | | | This allows the bme280 to correctly work with the temperature_fan module. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* extras: Use "from . import module" for relative importsKevin O'Connor2020-06-151-2/+1
| | | | | | Use alternate import syntax to improve Python3 compatibility. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Rename try_load_module() to load_object()Kevin O'Connor2020-05-081-1/+1
| | | | | | | | Rename try_load_module() so that it uses consistent naming for "printer objects". Change the function to raise an error by default if the specified module does not exist. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Make heater.py an "extras" moduleKevin O'Connor2020-04-251-2/+2
| | | | | | | The heater logic is an independent module that does not need to be treated as part of the "core" klipper code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: handle read timeout exceptionsArksine2020-02-141-5/+12
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bme280: initial implementation of BME280 environmental sensorArksine2020-01-131-0/+195
Signed-off-by: Eric Callahan <arksine.code@gmail.com>