When setting the environment variable "SINGLE_SHOT" to ´true´ the builtin scheduler will be disabled and the script runs just once and exits after completion. This is very useful if you want to use your own scheduler.
Disabling of HTTPS for Nightscout
Until now, the https:// prefix was hard-coded into the URL of the Nightscout instance. Although HTTPS encryption is very important and should be the default, there are deployments where disabling this it me required. A very good use-case for disabling HTTPS has been provided in #68. The new environment variable NIGHTSCOUT_DISABLE_HTTPS allows this behavior to be enabled.
Minor improvements
The script no longer tries to upload 0 measurements to Nightscout
What happened in this update:
"Single shot" mode
When setting the environment variable "SINGLE_SHOT" to ´true´ the builtin scheduler will be disabled and the script runs just once and exits after completion. This is very useful if you want to use your own scheduler.
Disabling of HTTPS for Nightscout
Until now, the
https://
prefix was hard-coded into the URL of the Nightscout instance. Although HTTPS encryption is very important and should be the default, there are deployments where disabling this it me required. A very good use-case for disabling HTTPS has been provided in #68. The new environment variableNIGHTSCOUT_DISABLE_HTTPS
allows this behavior to be enabled.Minor improvements
winston
dependency