Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Matze1985/GlucoPy

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GlucoPy

  • A glucose python module for Nightscout
  • A terminal glucose checker

Modules

Windows

  • pip install pyttsx3

Linux

  • pip install google-speech

Alert option

  • pip install playsound

Speech option

  • pip install translate
  • pip install locale

Example

  • Run nightscout in console with a loop
import nightscout as ns

while 1:
  ns.run('https://[...].herokuapp.com', 0, 0, True, True, True) 

Keywords

Run()

sUrl

  • String: Nightscout url
  • https://[...].herokuapp.com = URL

iUnit

  • Integer: Unit of glucose
  • 0=Auto, 1=mg/dl, 2=mmol

iDisplay

  • Integer: Option of print glucose data
  • 0 = All, 1= Glucose, 2 = Direction, 3 = Delta, 4 = Minutes

bAlert

  • Boolean: Alarm option
  • True or False

bSpeech

  • Boolean: Speech option, with wait every zero min.
  • True or False

bWait

  • Boolean: Wait for glucose update
  • True or False

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.