How to Push PiJuice to BalenaOS

For beginners like myself, I would appreciate being pointed towards some documentation, or having laid out here in the forums, the steps for preparing PiJuice to be used on a device running balenaOS.

I am presuming that I need to use balena CLI to push the code from GitHub and this is done within the unzipped project directory that I get when I download the code from GitHub.
Something like: balena push <appName> , where appName is the name of my balena app.

  1. Am I on the right track?

Should I use the containerised version here: or just the regular PiJuice version:

  1. Which version should I use and what would make you choose one over the other?

  2. If I happen to be pushing other containers like the ones that come with screenly for instance, this is ok right?

That is in fact my use case. I have digital sign being managed by screenly and I need to attach the PiJuice to cover for power outages. I already have screenly running on top of BalenaOS but I’m expecting to have to start from scratch with a brand new ‘application’.
My next question will be about how I configure PiJuice to shutdown the Pi in the event of an extended loss of power but I guess that’s a question for another forum.

Many thanks,

p.s. feel free to point me towards any relevant documentation.

Hi, the best place to get started with is this guide:

I would suggest using, because it contains dockerfile with necessary steps to install pijuice. You can push the code using balena push <appName> or git push balena master (as pointed in getting started docs). Then you can add more services in docker-compose.yml.

Feel free to contact us if you have more questions.