M5_NightscoutMon icon indicating copy to clipboard operation
M5_NightscoutMon copied to clipboard

Show BWP as alternative to COB+IOB

Open funkstille opened this issue 3 years ago • 0 comments

ENHANCEMENT REQUEST: I love the BWP feature of nightscout and would love to see that during the night instead of COB+IOB. I added that feature once in my code, but just removed COB+IOB for it, since it would not fit all to the small screen.

And since I am not a typical developer and used to GitHub I was not able to push that into you repo ;)

Maybe you could just build something like IOB+COB or BWP or None

I just added BWP here

Available strcat(NSurl,"/api/v2/properties/iob,cob,delta,loop,basal,bwp"); JsonObject bwp = JSONdoc["bwp"]; ns->bwp = bwp["bwp"]; // 0 strncpy(ns->bwp_display, bwp["display"] | "N/A", 16); // 0 strncpy(ns->bwp_displayLine, bwp["displayLine"] | "BWP: N/A", 16); // "BWP: 0U" // Serial.println("BWP OK");

funkstille avatar Apr 20 '21 12:04 funkstille