Skip to content

lime-nex/cgm_wecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgm_wecker

DISCLAIMER: Use at your own responsibility. This project aims to help people who don't wake up from their bloodsugar alarms at nigth. It does this via some python scripts which can either use Data from the Dexcom Share Server (you have to turn on to share your data in the dexcom app) or data from your per cable connected dexcom g6 receiver. When the programm will detect low bloodsugar under your specified amount it will trigger an alarm that will not stop until you answer a simple math question. This of course means that you have to connect some sort of audio device to receive the alarms. In conclusion this project helps to warn you when your bloodsugar is low and can do this both online and offline.

Setup

  • In the following I will show you how to download cgm_wecker to your rasberry pi. For that you will require a rasberry pi that is already setup and configured. Here are links to tutorials on how to setup your rasberry pi if you haven't already done so:

  • Rasberry Pi 5 Tutorial

  • Rasberry Pi 4 or lower Tutorial

  • Note: I can at this time only confirm that this is tested and works on a rasberry pi 5 although other rasberry pis like the rasberry pi 4 should be fine aswell.

  • The first step is to open the terminal on the rasberry pi.

  • Next enter this command and execute it.

curl -sSL https://raw.githubusercontent.com/lime-nex/cgm_wecker/main/installmain.sh | bash
  • An Interface should popup where you can configure some settings and login to dexcomshare if you want to use the online service of CGM Wecker.

The next time you want to start the programm look on your desktop and you will find a new application called CGM Wecker starten:

  • Execute it!
  • When you execute it it might ask you if you want to execute it in the terminal or not.
  • This does not matter and you can just do it either way.
  • If you are unsure or it didn't work for you I have a tutorial of an older version with different commands to type in. Both the commands in the video and those in the description work so you can do it with one or the other. if you have any problems try to google your way through the problem although if you can't fix it yourself you can contact me on my discord server for this project. (I am still a student at the moment so I wont always have time to help out everyone if there is demand.)

Acknowledgements

Big thanks to winemug for his dexpy project which helped me greatly and is a big part of this project. He was so kind as to allow me to fork his project. For the interaction of the online script with the dexcom api credits go to the pydexcom project by gagebenne.

Dexcom Share protocol is implemented according to the reverse engineering performed by github user StephenBlackWasAlreadyTaken

Dexcom Receiver code for communicating with the receiver via USB is borrowed from the dexctrack project, which in turn is based on the dexcom_reader project. Further enhanced to support Dexcom G6 receiver backfill.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors