Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,9 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
* `OPENAPS_URGENT` (`60`) - The number of minutes since the last loop that needs to be exceed before an urgent alarm is triggered
* `OPENAPS_FIELDS` (`status-symbol status-label iob meal-assist rssi`) - The fields to display by default. Any of the following fields: `status-symbol`, `status-label`, `iob`, `meal-assist`, `freq`, and `rssi`
* `OPENAPS_RETRO_FIELDS` (`status-symbol status-label iob meal-assist rssi`) - The fields to display in retro mode. Any of the above fields.
* `OPENAPS_PRED_IOB_COLOR` (`#1e88e5`) - The color to use for IOB prediction lines. Colors can be in either `#RRGGBB` or `#RRGGBBAA` format.
* `OPENAPS_PRED_COB_COLOR` (`#FB8C00FF`) - The color to use for COB prediction lines. Same format as above.
* `OPENAPS_PRED_ACOB_COLOR` (`#FB8C0080`) - The color to use for ACOB prediction lines. Same format as above.
* `OPENAPS_PRED_IOB_COLOR` (`#1e88e5`) - The color to use for IOB prediction lines. Colors can be in `#RRGGBB` format, but [other CSS color units](https://www.w3.org/TR/css-color-3/#colorunits) may be used as well.
* `OPENAPS_PRED_COB_COLOR` (`#FB8C00`) - The color to use for COB prediction lines. Same format as above.
* `OPENAPS_PRED_ACOB_COLOR` (`#FB8C00`) - The color to use for ACOB prediction lines. Same format as above.
* `OPENAPS_PRED_ZT_COLOR` (`#00d2d2`) - The color to use for ZT prediction lines. Same format as above.
* `OPENAPS_PRED_UAM_COLOR` (`#c9bd60`) - The color to use for UAM prediction lines. Same format as above.
* `OPENAPS_COLOR_PREDICTION_LINES` (`true`) - Enables / disables the colored lines vs the classic purple color.
Expand Down
4 changes: 2 additions & 2 deletions lib/plugins/openaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ function init (ctx) {
, urgent: settings.urgent ? settings.urgent : 60
, enableAlerts: settings.enableAlerts
, predIOBColor: settings.predIobColor ? settings.predIobColor : '#1e88e5'
, predCOBColor: settings.predCobColor ? settings.predCobColor : '#FB8C00FF'
, predACOBColor: settings.predAcobColor ? settings.predAcobColor : '#FB8C0080'
, predCOBColor: settings.predCobColor ? settings.predCobColor : '#FB8C00'
, predACOBColor: settings.predAcobColor ? settings.predAcobColor : '#FB8C00'
, predZTColor: settings.predZtColor ? settings.predZtColor : '#00d2d2'
, predUAMColor: settings.predUamColor ? settings.predUamColor : '#c9bd60'
, colorPredictionLines: settings.colorPredictionLines
Expand Down