Hi there!
I got a few months ago a Pironman V2 Rapsberry Pi 4 case. Everything is working fine, but I noticed that the Pi’s default behaviour when power is restored after a power loss (where it automatically boots) is now different, because it won’t boot anymore after a power loss.
Is there a way to make it work this way with the Pironman V2 case?
Please provide us with a video of the problem so that we can analyze the solution.
Which way do you use to shut down the Pironman?
If you press and hold the power button to turn off the Pironman and then unplug the power cord when you want to start the Pironman, you need to connect the power cord and press the power button briefly.
If you unplug the power cord directly when you want to start the Pironman, you just need to connect the power cord and it will start the Pironman automatically.
My Pironman case is connected to an Alexa plug so I can control the power remotely. I live where the Pi is set, so my usual power off routine is pressing the Pironman button to turn off the Pi, and then switch off the Alexa plug to cut the power. I prefer this approach to mitigate the risk of SD card corruption, opting for a gentler shutdown. However, this method isn’t compatible with the automatic power-on behavior when electricity is restored.
My biggest concern was to find a method to remotely power on the Pi in case I’m away and forget to press the power button before leaving. This is crucial because I rely on the Pi as a multipurpose server that needs to be operational throughout the day. According to your response, simply switching off the Alexa plug will result in an automatic power-on when electricity is restored. Unfortunately, this implies a hard shutdown, and that’s what I don’t want to happen.
This does not work; see EDIT below
I’ve been looking for a solution that allows me to gracefully shut down the Pi and automatically restart it when power is restored, avoiding the abrupt “just-cutting-the-power-down” method. Unfortunately, the only method that proved effective for me was using CLI commands before turning off the plug. It’s very easy, but requires to connect to the Pi via SSH first. The steps are:
Execute sudo pironman stop to stop Pironman’s service. I don’t know why, but if I don’t execute this command, it won’t power on back.
Execute sudo poweroff to power off the Pi.
Switch off the plug.
Maybe there’s a better solution, or a built-in one. Anyway, this works for me, so I hope this proves helpful for anyone facing a similar issue.
I didn’t know about what you have told me about the differences between shutting down by button or by unplugging the cord, so… Thank you again for your response!
EDIT: I’ve been testing my solution now, and it doesn’t work, so I think I’m gonna switch to the hard shutdown method.
After the modification is done, press Ctrl+O, press Enter to save, and then press Ctrl+X to exit.
Then change the Shutdown signal jumper cap on the Pironman motherboard to link with GND.
This way the Pironman won’t power down when the Raspberry Pi is turned off. If you disconnect the external power supply and turn it on again, the Raspberry Pi will turn on.
But this has a disadvantage, that is, you can’t turn on the Raspberry Pi with a short press on the power button after the power is turned off.
You have to power off and power on again or press the button long enough to power off before you can press the button to turn it on.