Open chasepeeler opened 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`
@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`