Raspberry Pi geocache project [Solved]

I am building a Raspberry Pi-based geocache system using a UPS HAT. The device will be installed in a remote outdoor location and left unattended for long periods (potentially months at a time). It will only be activated when a user interacts with it via a physical button.

The system runs a game (Pygame-based application), and is designed to operate as a self-contained interactive kiosk.

Power Behaviour Requirements

I am trying to design a reliable power system and would like guidance on the following behaviour:

  1. Automatic Power-On

    • The system should automatically power on when external power is connected or restored (e.g. plugging in a power bank or battery pack).
  2. User Activation

    • Alternatively, the system may remain in a low-power or standby state and be activated via a physical button press.
  3. Automatic Shutdown

    • The Raspberry Pi should be able to safely shut down via software after a period of inactivity (e.g. 1 hour of no user interaction).
  4. Power Cut / Low Power State

    • After shutdown, I would like the system to ideally:

      • Fully cut power to the Raspberry Pi, OR

      • Enter a very low-power state to minimise battery drain

  5. Wake Behaviour

    • The system should then be able to power back on either:

      • When the user presses a button, or

      • When external power is re-applied

Thank you!

Just asked a friend and it seems to be working fine! Thank you!