My son has a Dexcom G6, which I have the night-scout website set up for. I use home assistant to pull json data from the night-scout website. The BG reading then shows up as a sensor in home assistant.
I have started working on automations with node red and the custom Alexa component.
Currently I am able to turn on a LIFX light, send a TTS message to Alexa (wake up!, BG reading is xx), and turn on my magic mirror (which displays the BG reading via night-scout) all when its 10PM-530AM and the BG reading is out of a certain window.
I am still working on the logic (I could use help) but it think its pretty neat and the wife is amazed.
The logic needs the ability to change the light color based on if the BG is high or low, needs to be able to determine if the BG reading is current or old (can be determined from night-scout json data I think). Also, I want to be able to tell Alexa I have addressed the concern and have it stop running the node red automation for a certain amount of time.
Also the automation currently turns off the LIFX light if the BG reading goes back within range.
I will try to post my .yaml code in the next day or so if you are interested.