I have a Ender 3 Pro with a Pi4 and actual, fresh installed Octoprint.
Then i use PSU-Control with Shelly-Sub-Addon to control a Shelly plug that power off the hole stuff if the printer is in idle for 20 minutes.
This works one time, and after this 1x successfully event, every time i boot the system by powering it up with the shelly-app, the system is booting up, and at one point the psu-control thinks the timeout is reached and switch the shelly plug off again in the boot sequence.
The plug powers the pi and the printer at the same time because the pi gets his power fom the printer power supply. I dont want the pi run the hole time.
and this constelation worked for some month. for me it seems that a update make some change and the plugin cant get the correct state during boot.
I know that this is not a "normal" way to power a system down, but it works.
power the system without a shelly-plug so the system starts normaly. then i use "shut down" from the octoprint menu, power all down, install the shelly plug again, and then the system starts normaly. but after 1x PSU-activation, i need to repeat this steps.
You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20220326140043.zip (14.5 KB)
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
browser.user_agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36
connectivity.connection_check : 22.214.171.124:53
connectivity.connection_ok : true
connectivity.enabled : true
connectivity.online : true
connectivity.resolution_check : octoprint.org
connectivity.resolution_ok : true
env.hardware.cores : 4
env.hardware.freq : 1500
env.hardware.ram : 3971153920
env.os.bits : 32
env.os.id : linux
env.os.platform : linux
env.plugins.pi_support.model : Raspberry Pi 4 Model B Rev 1.4
env.plugins.pi_support.octopi_version : 0.18.0
env.plugins.pi_support.octopiuptodate_build : 0.18.0-1.7.3-20220120112925
env.plugins.pi_support.throttle_state : 0x0
env.python.pip : 20.3.3
env.python.version : 3.7.3
env.python.virtualenv : true
octoprint.safe_mode : false
octoprint.version : 1.7.3
printer.firmware : Marlin 126.96.36.199 (Jun 9 2021 00:18:40)
systeminfo.generator : systemapi