Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.47 KB

README.md

File metadata and controls

19 lines (10 loc) · 1.47 KB

Bjorn RGB

See bjorn-ctl for the configuration tool for devices running this service.

This app is meant to run on a Raspberry Pi to display an image on a connected Unicorn HAT HD. It periodically pulls a configuration file (see bjorn-ctl) to update the displayed image and other settings.

Running

Configure the provided .env.sample file with a jsonblob ID for storing the configuration. If using the bjorn-ctl tool for updating the configuration, this ID should match the one provided to the configuration tool. Rename the file to .env.

Follow the provided installation instructions for the Unicorn HAT HD Python library.

Then, install dependencies and run the script with pip install -r requirements.txt; python3 bjorn.py.

The provided service/bjorn.service can be modified and used to automatically run the script on boot. The bjorn script automatically pulls updates from the GitHub repo before running the app.

WiFi

This script will display a wireless symbol the device is not connected to the internet upon starting. If you would like the WiFi network to be easily configurable without having to SSH into the device or connect it to a display, wifi-setup may be a good option.