TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
154 stars 41 forks source link

Possibility to power on mcu over obico #43

Open 0xUnkn0wN opened 2 years ago

0xUnkn0wN commented 2 years 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 2 years 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 2 years ago

Moonraker Power API: Link

kennethjiang commented 2 years ago

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

Erech1676 commented 2 years 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 2 years 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!