iamsolankiamit / balena-picase

balenaOS RetroFlag Pi-Case Safe Shutdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

balena-picase

Using the Retroflag NESPI Case+ with balenaOS. Adding the ability of soft shutdown to balenaOS and the NESPI CASE+ on the Raspberry Pi

Install:

Overlay:

Log into your device:

balena ssh <applicationOrDevice>

Install the overlay:

wget -O - "https://raw.githubusercontent.com/ykelle/balena-picase/main/overlay.sh" | bash

or

wget -O  "/mnt/boot/overlays/RetroFlag_pw_io.dtbo" "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/RetroFlag_pw_io.dtbo"

Reboot your device.

Container:

Click this to deploy this repository to balenaCloud:

or download this repo, navigate into the folder and run

balena push <applicationOrDevice>

Further details:

This project uses files from the Retroflag-Repo. The python script will run in a docker container and not directly on the Raspberry Pi. Instead of using system calls in the script, we are interacting with the balena Supervisor.

About

balenaOS RetroFlag Pi-Case Safe Shutdown

License:MIT License


Languages

Language:Python 82.3%Language:Shell 17.7%