Health · CGM

Blood sugar widget

The last sensor value from your own Nightscout site, on your Android home screen — refreshed on your own interval.

Blood Sugar 2m
112 ↗

Preview · sample data

The source

Nightscout already holds the numbers; what it does not do is sit on your home screen. Zync reads the same entries endpoint and prints the latest sensor value, so a glance is enough — without unlocking the phone and opening a follower app.

your-nightscout-site

https://YOUR-SITE/api/v1/entries.json?count=1

The result format

Pick the fields you want by their JSON path, and embed them between braces. A literal \n breaks the line; everything else is copied as written.

Response: https://YOUR-SITE/api/v1/entries.json?count=1

{0.sgv} {0.direction | Flat: →, SingleUp: ↑, SingleDown: ↓, FortyFiveUp: ↗, FortyFiveDown: ↘, DoubleUp: ↑↑, DoubleDown: ↓↓}
112 ↗

Every rule this language supports — paths, indexes, math, optional values, lists — is in the mapping docs.

Keep reading

All use cases