TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
146 stars 39 forks source link

Possibility to power on mcu over obico #43

Open 0xUnkn0wN opened 1 year ago

0xUnkn0wN commented 1 year ago

Currently it is not possible to control / restart a printer / mcu that is turned off. It should possible to turn on the printer over the moonraker power control.

kennethjiang commented 1 year ago

This sounds like a good feature to have. Is there existing function in Moonraker that allows that? If so, please insert the links here so that I can take a look at them.

0xUnkn0wN commented 1 year ago

Moonraker Power API: Link

kennethjiang commented 1 year ago

I didn't know that! That's awesome! This API makes it so much easier to implement this feature.

Erech1676 commented 1 year ago

I turn on and off my printer through Octoprint with a kasa or tp Link plug in that controls a kp303 powerstrip.

Hr-Ravn commented 1 year ago

That would be a welcoming feature for me! I have a 1 channel relay controlled by the Gpio pins of my pi, to turn the printer on/off. this is setup in my moonraker config, so if this could retrieve the state of that, it would be much better along with the Tunneling!