Updates for latest moonraker version

This commit is contained in:
Jordan Ruthe
2020-11-13 16:28:37 -05:00
parent 83c0cb07c9
commit 47df413795
2 changed files with 11 additions and 9 deletions

View File

@@ -165,12 +165,14 @@ class KlipperScreen(Gtk.Window):
def ws_subscribe(self):
requested_updates = {
"toolhead": [],
"virtual_sdcard": [],
"print_stats": [],
"heater_bed": [],
"extruder": [],
"configfile": []
"objects": {
"toolhead": ["homed_axes","estimated_print_time","print_time","position","extruder"],
"virtual_sdcard": ["file_position","is_active","progress"],
"print_stats": ["print_duration","total_duration","filament_used","filename","state","message"],
"heater_bed": ["target","temperature"],
"extruder": ["target","temperature","pressure_advance","smooth_time"],
"configfile": ["config"]
}
}
self._ws.klippy.object_subscription(requested_updates)