I decided to have an uninterruptible power supply (UPS) for my Home Assistant (running on a Raspberry Pi). The design I came up with is shown below:

The input from the mains is supplied by a 15V AC to DC adapter (wall wart). This is shown as Vcc/Vss on …
