I have a Creality Ender 3 that was hooked up to a Raspberry 4 / OctoPi.
All was working great, but I decided to re-image my Raspberry with the OctoPi containing the "new camera stack".
To do so:
I backed up my Octoprint installation
Re-imaged the Raspberry PI with the "Octopi (new camera stack)" distro
Finally restored Octoprint config from the saved archive file in step 1.
So far so good. I retrieved all my config. Printer is connecting to Octoprint...
BUT, before re-imaging my Raspberry, when I log to Octoprint UI while my printer was OFF, then switching ON my printer, I was able to see my printer automatically connect to Octoprint.
Now, I have to click the "Connect" button for the printer to reconnect to Octoprint after I switching it ON.
Any idea of how I can restore the former behavior (a.k.a printer auto-connect on switch ON)?
PS: I have 2 Octoprint instances. One on my Ender 3, and one on an Artillery SideWinder X2.
I did the same on both instances (re-imaging with "Octopi (new camera stack)" distro).
Got the very same re-connection issue on Octoprint instances.
OctoPrint doesn't automatically reconnect to the printer like that - it's not something that is implemented.
I think the Portlister plugin might have done this - but not sure. Also, plugins like PSU Control can auto connect the printer if they power on the printer.
Quite interesting comment.
Until not long ago, I had both "PSU Control" and "PSU Control - Meross" plugins activated.
But I deactivated them since I had trouble with the "PSU Control - Meross" one.
Maybe it is related...