Skip to content

Files

Latest commit

 

History

History
122 lines (111 loc) · 3.15 KB

README.md

File metadata and controls

122 lines (111 loc) · 3.15 KB

💉 Nightscout

The Nightscout plugin lets you display blood sugar values from a Nightscout site.

💬 Setting up a nightscout site

The nightscout website details how to self-host a nightscout site. Check out the instructions there.

➡️ Available options

TypeDescription
plugin_nightscout

Displays Blood Glucose

type: boolean
default: no
plugin_nightscout_url

Your Nightscout site URL

type: string
default: https://example.herokuapp.com
plugin_nightscout_datapoints

How many datapoints to show on the graph. 0 and 1 disable the graph.

type: number (0 ≤ 𝑥)
default: 12
plugin_nightscout_lowalert

When the blood sugar is considered low

type: number (0 ≤ 𝑥)
default: 80
plugin_nightscout_highalert

When the blood sugar is considered high

type: number (0 ≤ 𝑥)
default: 180
plugin_nightscout_urgentlowalert

When the blood sugar is considered urgently low

type: number (0 ≤ 𝑥)
default: 50
plugin_nightscout_urgenthighalert

When the blood sugar is considered urgently high

type: number (0 ≤ 𝑥)
default: 250

→ Full specification

ℹ️ Examples workflows

uses: lowlighter/metrics@latest
with:
  token: ${{ secrets.METRICS_TOKEN }}
  plugin_nightscout: 'yes'
  plugin_nightscout_url: ${{ secrets.NIGHTSCOUT_URL }}