Autoconnect with PSU Control

Hello,
I am running a new Octopi with PSU Controll installed.
Im turning my printer on/off with a Relay and the Plugin.
How would I set it up to autoconnect to my printer?
At the moment if I manually turn the printer on I have to click on connect as well.
That's not really a problem with the webinterface, however I setup Cura to use octoprint and it automatically turns the printer on but won't connect so it can't start a print.

Not sure if this is a perfect match but I did a simple search here on the forum and found this.