4

I have a RPi connected to TV via it's USB port to display statistics graphs. Every morning I have to power it up and set up the chrome tabs which consumes lots of time. I was looking for a way to safely hibernate or suspend by saving state in the evening so the following morning I only have to boot it up.

Leaving the TV on all night is not an option.

Jay N
  • 149
  • 1
  • 1
  • 2

3 Answers3

1

is switching only the TV off and leaving the Pi running an option for you? I have a couple running this way - one with OMV and one with Pi-Hole. this way you can also reach the Pi via SSh or VNC from your laptop for example. Another option would be to simply disconnect the TV and connect via VNC from another computer.

https://www.raspberrypi.org/documentation/remote-access/vnc/

mthed
  • 74
  • 1
0

Rather than attempt to hibernate, I'd make a script that does nothing but "set up the chrome tabs" and whatever else you do after boot up that "consumes lots of time"

While the pi does not have an easy hibernate to disk, it has many ways to automate tasks. Personally I'd attach starting chrome to the loading of the desktop environment. Others may have fancier solutions with systemd.

Abel
  • 287
  • 1
  • 6
-2

Try sudo systemctl hibernate You could also suspend it if you wanted to with sudo systemctl suspend