These are chat archives for nightscout/intend-to-bolus
openaps device add cgm dexcomisn't working for me, maybe my openaps install isn't right
openaps device add cgm dexcomworks, didn't need to change anything, guess I just needed dinner
openaps alias add get-bg '! bash -c "openaps monitor-cgm 2>/dev/null || ( openaps get-ns-glucose && grep -q glucose monitor/ns-glucose.json && mv monitor/ns-glucose.json monitor/glucose.json )"' openaps alias add monitor-cgm "report invoke monitor/glucose.json" openaps alias add get-ns-glucose "report invoke monitor/ns-glucose.json"
drat, I was really hoping a fresh install would fix this problem. I thought I might have the wrong version of node installed or something (googling the error below brings up an old version of node as one of the issues).
I have data in my treatments collection on Mongo. Trying to query the latest treatment gives this:
pi@betacb3 ~/bcb-t $ nightscout latest-openaps-treatment $NIGHTSCOUT_HOST json: error: input is not JSON: Unexpected '<' at line 1, column 1: <head><title>Document Moved</title></head> ^ json: error: input is not JSON: Unexpected '<' at line 1, column 1: <head><title>Document Moved</title></head> ^ <head><title>Document Moved</title></head> <body><h1>Object Moved</h1>This document may be found <a HREF="https://bcbteddy.azurewebsites.net/api/v1/treatments.json?find[enteredBy]=/openaps:\/\//&count=1?">here</a></body>
Note that it is going to $NIGHTSCOUT_HOST so it is not my environment settings.
nightscout latest-openaps-treatment https://bcbteddy.azurewebsites.net
$NIGHTSCOUT_HOST, but couldn't get that to work, so I went with hardcoding it.