aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/Config_Changes.md7
-rw-r--r--docs/Config_Reference.md2
-rw-r--r--klippy/extras/temperature_host.py2
3 files changed, 6 insertions, 5 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md
index ffc9a1fb..f2963ef2 100644
--- a/docs/Config_Changes.md
+++ b/docs/Config_Changes.md
@@ -8,9 +8,10 @@ All dates in this document are approximate.
20210219: The `rpi_temperature` module has been renamed to
`temperature_host`. Replace any occurrences of `sensor_type:
-rpi_temperature` with `sensor_type: temperature_host`. The
-`rpi_temperature` name is deprecated and will be removed in the near
-future.
+rpi_temperature` with `sensor_type: temperature_host`. The path to
+the temperature file may be specified in the `sensor_path` config
+variable. The `rpi_temperature` name is deprecated and will be
+removed in the near future.
20210201: The `TEST_RESONANCES` command will now disable input shaping
if it was previously enabled (and re-enable it after the test). In order
diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md
index 701c32a3..2e048276 100644
--- a/docs/Config_Reference.md
+++ b/docs/Config_Reference.md
@@ -2151,7 +2151,7 @@ Temperature from the machine (eg Raspberry Pi) running the host software.
```
sensor_type: temperature_host
-#path:
+#sensor_path:
# The path to temperature system file. The default is
# "/sys/class/thermal/thermal_zone0/temp" which is the temperature
# system file on a Raspberry Pi computer.
diff --git a/klippy/extras/temperature_host.py b/klippy/extras/temperature_host.py
index e0a665a9..3950106c 100644
--- a/klippy/extras/temperature_host.py
+++ b/klippy/extras/temperature_host.py
@@ -14,7 +14,7 @@ class Temperature_HOST:
self.printer = config.get_printer()
self.reactor = self.printer.get_reactor()
self.name = config.get_name().split()[-1]
- self.path = config.get("path", RPI_PROC_TEMP_FILE)
+ self.path = config.get("sensor_path", RPI_PROC_TEMP_FILE)
self.temp = self.min_temp = self.max_temp = 0.0