Python Plugin: Dexcom Share API
Posted: Sunday 17 January 2021 14:24
My girlfriend is diabetic and I wanted a way to connect her Dexcom G6 to my Domoticz instance. Which would allow me to switch on the lights in the middle of the night if her glucose levels were too low. Dexcom does offer a devellopers API but all the data is a few hours behind, which isnt any good for what i needed it for. Dexcom has an app called follow that allows others to follow your current glucose levels. Luckily somebody else had already figured out how to connect to this and started a project caleld pydexcom. I basically just created the plugin.py scritpt for pydexcom.
i uploaded it all to github. Feel free to try it out and give me some feedback. This is my first experience with python, so i wouldnt be surprised if the script is full of errors. https://github.com/MSe-5-14/Domoticz-De ... /tree/main
Two devices are created, one showing the current glucose level and the other one show the trend.
i uploaded it all to github. Feel free to try it out and give me some feedback. This is my first experience with python, so i wouldnt be surprised if the script is full of errors. https://github.com/MSe-5-14/Domoticz-De ... /tree/main
Two devices are created, one showing the current glucose level and the other one show the trend.