aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bme280.py
Commit message (Collapse)AuthorAgeFilesLines
* Isort all klippy codeTomasz Kramkowski2025-08-151-0/+1
|
* Run black on all first party python codeTomasz Kramkowski2025-08-061-271/+338
|
* bme680: measure gas VOC once a whileTimofey Titovets2024-08-161-8/+24
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* bme680: select mode onceTimofey Titovets2024-08-161-19/+22
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* bme280: use periodic mode for BM[PE]280Timofey Titovets2024-08-161-18/+60
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* bme280.py: drop unused max_sample_timeTimofey Titovets2024-08-161-2/+0
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* bme280.py: iir_filter mask input valueTimofey Titovets2024-08-161-1/+2
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* bme280: Add BMP388 sensor support to BMxx80 (#6576)林玮 (Jade Lin)2024-04-241-2/+151
| | | | | | Extends the BMxx80 category with support for the BMP388 sensor, providing temperature and pressure output similar to the existing BMxx80 class of sensors. Signed-off-by: 林玮 (Jade Lin) <linw1995@icloud.com>
* bmp280: Add support for BMP180 sensor (#6370)vaxxi2023-11-161-6/+121
| | | | | Extends the BMxx80 category with support for the older BMP180 sensor, providing temperature and humidity output. Signed-off-by: VAXXi Popescu <github@vaxxi.net>
* bme280: use consistent report time for BME680Eric Callahan2023-05-311-1/+1
| | | | | | | | Sample the BME680 every .8 seconds, matching that of the BME280. This resolves an issue where `get_report_time_delta()` returns a value that doesn't match the actual delta. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bme280: fix integer handling for python3 in bme280.py (#5237)cbc020092022-02-061-1/+1
| | | Singed-off-by: Christopher Conroy <cbc02009@gmail.com>
* bme280: round reported temps to 2 decimal placesEric Callahan2021-10-151-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bme280: Add support for BMP280 and BME680 sensors (#4040)Michael Kurz2021-03-151-66/+335
| | | | | | | | | This adds support for BMP280 and BME680 sensor ICs, along with fixing calibration data readout for BME280. Gas sensor readout for the BME680 is just the raw compensated value. To get actual meaningful values, more research is needed. Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
* 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>