With this PR, data records delivered by Diasend of the type insulin_basal will be imported into nightscout's basal profile.
Important Per default, the basal profile will be imported into a nightscout profile called "Diasend". This means, the default profile will not be overwritten and you'll need to manually select the Diasend profile within nightscout's Profile Editor:
You can select which profile the data will be imported to by setting the environment variable NIGHTSCOUT_PROFILE_NAME. E.g. to import the basal rate into the Default profile, set NIGHTSCOUT_PROFILE_NAME=Default.
Important 2 We already have a synchronization of basal profiles in place using the pump settings synchronization loop. To avoid the pump setting's basal rate to override the one provided by the diasend API, set importBasalRate: false for startPumpSettingsSynchronization.
With this PR, data records delivered by Diasend of the type
insulin_basal
will be imported into nightscout's basal profile.Important Per default, the basal profile will be imported into a nightscout profile called "Diasend". This means, the default profile will not be overwritten and you'll need to manually select the Diasend profile within nightscout's Profile Editor:
You can select which profile the data will be imported to by setting the environment variable
NIGHTSCOUT_PROFILE_NAME
. E.g. to import the basal rate into the Default profile, setNIGHTSCOUT_PROFILE_NAME=Default
.Important 2 We already have a synchronization of basal profiles in place using the pump settings synchronization loop. To avoid the pump setting's basal rate to override the one provided by the diasend API, set
importBasalRate: false
forstartPumpSettingsSynchronization
.