Skip to content

Latest commit

 

History

History
133 lines (126 loc) · 3.62 KB

File metadata and controls

133 lines (126 loc) · 3.62 KB

💉 Nightscout

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

Authors@legoandmars
Supported features
→ Full specification
📗 Classic template
👤 Users
No tokens are required for this plugin

➡️ Available options

TypeDescription
plugin_nightscout

Enable nightscout plugin

type: boolean
default: no
plugin_nightscout_url

Nightscout URL

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

Number of datapoints shown the graph

type: number (0 ≤ 𝑥)
zero behaviour: disable
default: 12
plugin_nightscout_lowalert

Threshold for low blood sugar

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

Threshold for high blood sugar

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

Threshold for urgently low blood sugar

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

Threshold for urgently high blood sugar

type: number (0 ≤ 𝑥)
default: 250

🌐 Setup a Nightscout instance

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

ℹ️ Examples workflows

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