rpi_temperature: New module to monitor RPi temperature (#3587)

Module to monitor RPi cpu temperature

Signed-off-by: Al Crate <aleph@al3ph.org>
This commit is contained in:
Al 2020-12-03 17:35:37 +00:00 committed by GitHub
parent a1ae548766
commit b911db4c0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 112 additions and 1 deletions

View file

@ -263,7 +263,7 @@ class PrinterHeaters:
return self.heaters[heater_name]
def setup_sensor(self, config):
modules = ["thermistor", "adc_temperature", "spi_temperature",
"bme280", "htu21d", "lm75"]
"bme280", "htu21d", "lm75", "rpi_temperature"]
for module_name in modules:
self.printer.load_object(config, module_name)
sensor_type = config.get('sensor_type')