KlipperScreen / KlipperScreen

GUI for Klipper
https://klipperscreen.github.io/KlipperScreen/
GNU Affero General Public License v3.0
1.01k stars 319 forks source link

Power ON button on the home screen #1336

Closed blonestar closed 2 months ago

blonestar commented 2 months ago

Requested feature

Power ON button would be nice to have within click on the main/home screen for relay controlled printers.

image 20240416_080120

Is your feature request related to a problem?

I find just a bit hard to turn on my printer from the KlipperScreen as I'm using relay to control it. On the other hand it is quite easy to do that from the Mainsail. image

Describe alternatives you have considered

Need to open Menu > Power to get to the Relay/Power controls

20240416_080159

Additional information

Relays are controlled through the Moonraker and GPIOs on the Pi (BTT Pi in this case)

image

mjfsch commented 2 months ago

This already exists - however it is sometimes a little tricky to get working

It is supposed to auto detect if the power device and the printer have the same name, however i and others have had trouble with this.

You can get around it, by defining the name of the printers associated power device in your klipperscreen.conf

to make it work, in klipperscreen.conf i added this at the start of the file

e.g.

[printer Trident] power_devices: Printer

See: https://klipperscreen.github.io/KlipperScreen/Configuration/#printer-options

and issue with auto recognition: https://github.com/KlipperScreen/KlipperScreen/issues/1241

alfrix commented 2 months ago

https://klipperscreen.github.io/KlipperScreen/Panels/#splash-screen screenshot

blonestar commented 2 months ago

Just added this line to the klipperscreen.conf and it's working. power_devices: Printer Thank you, will close the issue

20240416_122502