This app displays blood glucose data from Nightscout to a Pixoo device.
Nightscout -> Pixoo makes use of the great Pixoo Python library by SomethingWithComputers; which offers various helpful features like automatic image conversion. 👍
Code inspiration from https://github.com/4ch1m/pixoo-rest
Tested on Python 3.12.2
Clone this repository:
git clone https://github.com/Prince25/Nightscout-Pixoo
See .env-example
for necessary variables. Rename .env-example
or create an .env
file and put your individual settings in it, especially for
NIGHTSCOUT_URL=
PIXOO_HOST=
The app can now be run ...
- 🐍 directly; using your existing (venv-)Python installation
or
- 📦 fully packaged inside a dedicated (Docker-)container
Initialize Pixoo Submodule
git submodule init
git submodule update
Create a virtual environment and activate it (optional; but recommended):
python -m venv venv
. venv/bin/activate
Install all dependencies:
pip install -r requirements.txt
Finally, run the app:
python src/app.py
Simply execute ...
docker-compose up
... to automatically build the container and run it.
Please read the LICENSE file.