- A glucose python module for Nightscout
- A terminal glucose checker
pip install pyttsx3
pip install google-speech
pip install playsound
pip install translate
pip install locale
- Run nightscout in console with a loop
import nightscout as ns
while 1:
ns.run('https://[...].herokuapp.com', 0, 0, True, True, True)
- String: Nightscout url
https://[...].herokuapp.com
= URL
- Integer: Unit of glucose
- 0=Auto, 1=mg/dl, 2=mmol
- Integer: Option of print glucose data
0
= All,1
= Glucose,2
= Direction,3
= Delta,4
= Minutes
- Boolean: Alarm option
True
orFalse
- Boolean: Speech option, with wait every zero min.
True
orFalse
- Boolean: Wait for glucose update
True
orFalse