edekeijzer / OctoPrint-PSUControl-HomeAssistant

GNU Affero General Public License v3.0
30 stars 7 forks source link

How connect PSU Control to my Plug connected on home assistant #13

Closed BeppeTemp closed 2 years ago

BeppeTemp commented 2 years ago

Hi, I don't understand how the plugin should work, currently I have PSU Control and PSU Controll Home assistant installed on my Octoprint, the printer is connected to a properly configured xiaomi smart plug with home assistant, I don't understand how I should now tell a PSU Controll to turn off the plug when printing is finished.

edekeijzer commented 2 years ago

Configure the Power Off Options in the main PSUControl plugin. The HomeAssistant part is just an add-on that allows PSUControl to switch an HA entity on and off instead of Raspberry Pi GPIO pins.