add system info panel

This commit is contained in:
alfrix committed 2024-05-09 11:33:02 -03:00
1 parent ef68ff0c11
commit ef184ceed3
7 files changed
+116 -6

No files matched your search

+3
View File
@@ -981,6 +981,9 @@ class KlipperScreen(Gtk.Window):
return False
self.printer.reinit(printer_info, config['status'])
self.printer.available_commands = self.apiclient.get_gcode_help()
info = self.apiclient.send_request("machine/system_info")
if info and 'system_info' in info:
self.printer.system_info = info['system_info']
items = (
'bed_mesh',