Description
Is your feature request related to a problem? Please describe
If i want to change port of fans and other devices on my printers mainboard, i have to power down my whole printer, including my host and all connected stuff. Rebooting it is a time sink.
I changed my hardware, so that i can powerdown/powerup my mainboard via a shelly seperatly. Now i would like not to use the shelly cloud, but issue the off/on commands via the printerweb ui. I learned, that for this i can use moonraker.
Describe the solution you'd like
I figuered out (hopefully correct) how to write the config in moonraker. But i found no Button for it in Fluidd.
I found out, that mainsail already had such an implementation and would like to request such a feature also for fluidd.
[power shelly]
type: http
bound_services: klipper
initial_state: on
restart_klipper_when_powered: True
restart_delay: 2
user:
password:
on_url:http://192.168.178.104/relay/0?turn=on
off_url:http://192.168.178.104/relay/0?turn=off
status_url:http://192.168.178.104/rpc/Switch.GetStatus?id=0
response_template:
Describe alternatives you've considered
mainsail-crew/mainsail#897 --> the request in the mainsail git
and https://docs.mainsail.xyz/overview/quicktips/printer-power-switch as other alternative. I don´t know how mainsail did it finally.
--> add:
#1350 -> already a FR for a Powerbutton change (but a little bit different)
Additional information
No response