Skip to content

This app displays blood glucose data from Nightscout to a Pixoo device.

Notifications You must be signed in to change notification settings

Prince25/Nightscout-Pixoo

Repository files navigation

Nightscout -> Pixoo

This app displays blood glucose data from Nightscout to a Pixoo device.

Introduction

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

Setup

Tested on Python 3.12.2

Clone

Clone this repository:

git clone https://github.com/Prince25/Nightscout-Pixoo

Configure Environmental Variables

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=

Usage

The app can now be run ...

  • 🐍 directly; using your existing (venv-)Python installation

or

  • 📦 fully packaged inside a dedicated (Docker-)container

Direct

Initialize Pixoo Submodule

git submodule init
git submodule update

Install Dependencies

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

Run

Finally, run the app:

python src/app.py

Containerized

Simply execute ...

docker-compose up

... to automatically build the container and run it.

License

Please read the LICENSE file.

About

This app displays blood glucose data from Nightscout to a Pixoo device.

Topics

Resources

Stars

Watchers

Forks