Arksine / moonraker

Web API Server for Klipper
https://moonraker.readthedocs.io
GNU General Public License v3.0
1.02k stars 392 forks source link

Generic HTTP request power on printer #805

Closed oRudi07 closed 2 months ago

oRudi07 commented 5 months ago

What happened

Hi, I tried to configure the power option in Mainsail to power my printer on/off. This is the config: [power printer] type: http on_url: http://192.168.1.20:8087/set/zwave2.0.Node_003.Binary_Switch.targetValue?value=true off_url: http://192.168.1.20:8087/set/zwave2.0.Node_003.Binary_Switch.targetValue?value=false status_url: http://192.168.1.20:8087/getPlainValue/zwave2.0.Node_003.Binary_Switch.currentValue

The Switch is configured in ioBroker, but i cannot control the switch with this configuration. What do i have to put in the response_template and request_template to get it work?

Client

Mainsail

Browser

Chrome

How to reproduce

no

Additional information

No response

Arksine commented 2 months ago

Unfortunately it appears that no one was able to assist with your specific help request. If you still need assistance I would recommend the Klipper Discord or Discourse, as you may get a more prompt reply.