The code is a backup of the original script. If the script is removed from the original page.
sudo apt-get install python3-pip
sudo pip3 install smbus2
wget https://raw.githubusercontent.com/LocalghostFI/Raspberry-Pi/main/WaveShare-UPSHAT-IAN219.py
python3 WaveShare-UPSHAT-IAN219.py
Buy own: https://www.waveshare.com/ups-hat.htm
Koodi on luotu https://gumroad.com/l/playoutbee järjestelmälle josta puuttuu uudelleenkäynnistys (V0.9.2).