Octoprint PSU Control

OK I got it.

  1. Install HTTP Request flow cards on your Homey: HTTP request flow cards App für Homey | Homey

  2. Disable authentication in the App settings:

(I actually overlooked this step on the first try, it costed me a lot of time)

  1. Create flows for turning the printer on and off:

  1. Install Octoprint PSU control if you haven’t already: PSU Control

  2. In the Octoprint Web-UI, go to PSU control settings, use the control method “System Command” and use following commands:

On System Command: curl -X GET http://HOMEY.IP.ADDRESS.HERE/api/app/com.internet/printer_on
OFF System Command: curl -X GET http://HOMEY.IP.ADDRESS.HERE/api/app/com.internet/printer_off

  1. Hit save and test. :v:
2 Likes