pi@raspberrypi:~/APS401 $ openaps alias show monitor-cgm
monitor-cgm report invoke raw-cgm/raw-entries.json cgm/cgm-glucose.json
pi@raspberrypi:~/APS401 $ cat raw-cgm/raw-entries.json
cat: raw-cgm/raw-entries.json: No such file or directory
pi@raspberrypi:~/APS401 $ cat cgm/cgm-glucose.json
cat: cgm/cgm-glucose.json: No such file or directory
pi@raspberrypi:~/APS401 $ ls
cgm cgm.ini detect-sensitivity.ini determine-basal.ini enact get-profile.ini iob.ini meal.ini monitor ns-glucose.ini ns.ini openaps.ini oref0.ini pebble.ini preferences.json pump.ini pump-session.json raw-cgm settings tz.ini units.ini upload
pi@raspberrypi:~/APS401 $ cd cgm
pi@raspberrypi:~/APS401/cgm $ ls
ns-glucose.json
pi@raspberrypi:~/APS401/cgm $
openaps report invoke raw-cgm/raw-entries.json
etc
wpa_supplicant.conf
file...
/etc/wpa_supplicant/wpa_supplicant.conf
. Nothing special in here, just a few networks and the kind of setup you commonly see recommended:country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="aaa"
psk="****"
priority=1
}
network={
ssid="xxx"
psk="****"
scan_ssid=1
priority=2
}
network={
ssid="yyy"
psk="****"
priority=3
}
pi@raspberrypi:~ $ cd && ~/src/oref0/bin/oref0-setup.sh
Usage: oref0-setup.sh <--dir=directory> <--serial=pump_serial_#> [--tty=/dev/ttySOMETHING] [--max_iob=0] [--ns-host=https://mynightscout.azurewebsites.net] [--api-secret=myplaintextsecret] [--cgm=(G4|G5|MDT)] [--enable='autosens meal']
Start interactive setup? [Y]/n y
What would you like to call your loop directory? [myopenaps] APS401
Ok, APS401 it is.
What is your pump serial number? #########
Ok, ########## it is.
What Kind of CGM are you using? (i.e. G4, G5, MDT) G5
Ok, G5 it is.
Are you using mmeowlink? If not, press enter. If so, what TTY port (i.e. /dev/ttySOMETHING)? /dev/ttyACM0
Ok, TTY /dev/ttyACM0 it is.
Are you using Nightscout? If not, press enter.
If so, what is your Nightscout host? (i.e. https://mynightscout.azurewebsites.net)? https://######.azurewebsites.net
Ok, https://projectfeedback.azurewebsites.net it is.
And what is your Nightscout api secret (i.e. myplaintextsecret)? #############
Ok, ########## it is.
Do you need any advanced features? y/[N] y
Enable automatic sensitivity adjustment? y/[N] y
Enable advanced meal assist? y/[N] y
Setting up oref0 in /home/pi/APS401 for pump ######## with G5 CGM,
NS host https://##########.azurewebsites.net, TTY /dev/ttyACM0, advanced features autosens meal
Continue? y/[N] y
Checking /home/pi/APS401: true
/home/pi/APS401 already exists
/home/pi/src/oref0/ already exists; pulling latest
fatal: unable to connect to github.com:
github.com[0: 192.30.253.112]: errno=No route to host
Couldn't pull latest oref0
lsusb
to see if the CGM is recognized
wpa-roam
doesn't appear in any file in the source tree. Don't think I'll chase this unicorn any farther - just happy to have it working! Any place in the docs that /etc/network/interfaces
is described? I could take a look and see if a modest PR there would make sense. (And BTW, now that this is setup, it seems I don't need to every run wpa_cli scan
- it just finds a new network pretty quickly on its own.)