seho85 / klipper-dgus

A python project to connect a DGUS display to Klipper
GNU General Public License v3.0
44 stars 12 forks source link

Lock display on startup mask when klippy is not ready #16

Closed seho85 closed 2 years ago

seho85 commented 2 years ago

When klippy is not in ready state, the information shown on the display are not correct. This may be due a disconnected printer mcu (printer poweredoff), an "emergency stop", or some other error condition.

Also the "Klippy State Message"

like

Shutdown due to webhooks request
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown

or

Lost communication with MCU 'mcu'
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown

Should be shown here.

A text output thats show in which state klippy currently is should be here.

And also the Firmware and Klippy should be restartable by a button, to bring the Printer back into "ready" state.