This project provides a Python-based uploader that retrieves CGM data from the Medtrum EasyView API and pushes it to a Nightscout instance. It is intended for personal use by people who rely on Medtrum devices but want their data available in Nightscout.
- Login to Medtrum EasyView
- Fetch CGM readings from your Medtrum device
- Upload data automatically to a Nightscout server
- Simple configuration and extensible codebase
- A Medtrum Easyview follower account that follows exactly 1 user
- A working Nightscout instance
- Python 3.11+ or Docker
-
Clone this repository
-
Install
requestsandpyyamldependencies -
Configure your credentials for Medtrum EasyView and Nightscout (see below) in
~/.nightscout_easyview/secrets.yaml. -
Run the uploader:
python uploader.py
-
Clone this repository
-
Configure your credentials for Medtrum EasyView and Nightscout (see below) in
.env/secrets.yamlon the Docker host. -
Create project:
docker compose up --build -d
Credentials are read from secrets.yaml in the location mentioned above. The file should have the following structure:
easyview:
username: <e-mail for follower account>
password: <password of follower acount>
nightscout:
url: https:/your.nightscout.instance.here
secret: <your nightscout API secret>- This is not an official Medtrum or Nightscout project.
- Use at your own risk.
- Contributions are welcome.
Special thanks to bruderjakob12 for his work in reverse engineering parts of the Medtrum EasyView API. His research provided valuable insights that made this uploader possible.