openaps report show
openaps report show monitor/glucose.json --cli
openaps report add monitor/glucose.json JSON ns shell get entries.json count=24
do-everything
alias to remove that raw-cgm report
cat openaps.ini
openaps monitor-cgm
openaps alias show
openaps alias remove monitor-cgm
openaps alias add monitor-cgm "report invoke monitor/glucose.json"
pi@raspberrypi:~/openaps_sor $ openaps alias show monitor-cgm
monitor-cgm ! bash -c "if [ -e /dev/ttyACM0 ]; then openaps monitor-cgm-usb && cp monitor/glucose{-usb,}.json; else openaps monitor-cgm-ns && cp monitor/glucose{-ns,}.json; fi"
monitor-cgm
alias to do an if-then.
/dev/ttyACM0
exists, that means the Dexcom receiver is plugged in and recognized.
tail -f /var/log/messages
and then watching the output as you plug in the receiver. (Type ctrl-c to get out of the mode of seeing the log messages.)
monitor-cgm-usb
, then copies the report glucose-usb.json
over to the name glucose.json
.
monitor-cgm-ns
, to produce glucose-ns.json
, then copies that file to the name glucose.json
.
monitor/glucose.json
report that the other tasks can use.
glucose-usb
is just a report produced from openaps use cgm iter_glucose 5
and the glucose-ns
is a report from running openaps use ns shell get entries.json count=5
(similar to what Gary suggested). Of course you can change number of entries if you want.
openaps device add units
. Not sure if it needs more than that.
openaps device add units units
.
[device "units"]
vendor = openaps.vendors.units
extra = units.ini
[device "units"]
Hi, new to openaps and trying to setting up my first system on a Raspberry Pi 3, I have come to the stage of uploading data into nightscout but cannot get it to work... when running
nightscout autoconfigure-device-crud <https://my.nightscout.host> <averylongplainsecret>
I only end up with the following result
bash: nightscout: command not found
monitor/meal.json
report. I couldn't find anything about it in the docs. Is the carbs = monitor/glucose.json
input correct?[report "monitor/meal.json"]
profile = settings/profile.json
carbs = monitor/glucose.json
clock = monitor/clock-zoned.json
reporter = text
json_default = True
use = shell
pumphistory = monitor/pumphistory-zoned.json
basal = monitor/carbhistory.json
device = meal
remainder =
glucose = settings/basal_profile.json
pi@raspberrypi:~/myopenaps_advanced $ openaps ns-meal-carbs
Warning: Argument order has changed: please update your oref0-meal device and meal.json report to place carbhistory.json after basalprofile.json
cd ~/src/oref0 && git checkout oref0-setup && git pull
git branch
shows you're already on oref0-setup, then a simple git pull
will do
openaps.ini
.
killall -g openaps
top
- there would be nothing with openaps, then more new processes would keep popping up, even though commented out in cron. Don't really understand it.
killall -g openaps
?
openaps device remove meal
and re-run?