chasepeeler / bgmeter

Rainmeter skin for displaying BG values from Nightscout
MIT License
0 stars 0 forks source link

Support nightscout sites that aren't public #2

Open chasepeeler opened 1 year ago

MrJordanRoth commented 1 year ago

@chasepeeler, you can use a token in your URL for line 25 - you could also set up a variable and leave it blank and have it added to that URL when data is present. I tested and it seems to work fine.

Example URL: https://YOURNIGHTSCOUT/api/v1/entries?count=1/?token=YOURTOKEN

`[Variables] ; If NightScout AUTH_DEFAULT_ROLES="readable" leave blank, else add "/?token=ENTERNSTOKEN" with your correct READABLE token. NightscoutAuth=

[MeasureNightscoutParent] Measure=WebParser URL=#NightscoutUrl#api/v1/entries?count=1#NightscoutAuth# RegExp=(?siU)#NightscoutItem# UpdateRate=300`