mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-16 03:07:56 -06:00
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:
parent
a1ae548766
commit
b911db4c0d
4 changed files with 112 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue