diff options
author | Simon Kühling <mail@simonkuehling.de> | 2019-12-12 13:33:23 +0100 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-12-13 10:45:04 -0500 |
commit | 2721211456d6e8613e76681d0e06f15c46f8d113 (patch) | |
tree | 8aecb857c6019f516a64a7f0774bb19fca06e511 /docs | |
parent | 4cbbe18afdb44b08636d217eb9a63b466502da75 (diff) | |
download | kutter-2721211456d6e8613e76681d0e06f15c46f8d113.tar.gz kutter-2721211456d6e8613e76681d0e06f15c46f8d113.tar.xz kutter-2721211456d6e8613e76681d0e06f15c46f8d113.zip |
heater: Add PrinterHeater get_status() function
Provide a list of available heater and sensor names to
gcode macro templates through the printer.heater.available_heaters
and printer.heater.available_sensors variables
Signed-off-by: Simon Kühling <mail@simonkuehling.de>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Command_Templates.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/Command_Templates.md b/docs/Command_Templates.md index c95ebea4..383c4694 100644 --- a/docs/Command_Templates.md +++ b/docs/Command_Templates.md @@ -160,6 +160,13 @@ The following are common printer attributes: - `printer.toolhead.homed_axes`: The current cartesian axes considered to be in a "homed" state. This is a string containing one or more of "x", "y", "z". +- `printer.heater.available_heaters`: Returns a list of all currently + available heaters by their full config section names, + e.g. `["extruder", "heater_bed", "heater_generic my_custom_heater"]`. +- `printer.heater.available_sensors`: Returns a list of all currently + available temperature sensors by their full config section names, + e.g. `["extruder", "heater_bed", "heater_generic my_custom_heater", + "temperature_sensor electronics_temp"]`. The above list is subject to change - if using an attribute be sure to review the [Config Changes document](Config_Changes.md) when upgrading |