Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 2019 15:51
    xen0n starred openaps/oref0
  • Jan 31 2019 15:12
    cclauss opened #1191
  • Jan 31 2019 15:09
    cclauss edited #1190
  • Jan 31 2019 15:08
    cclauss edited #1189
  • Jan 31 2019 15:07
    cclauss edited #1190
  • Jan 31 2019 15:07
    cclauss opened #1190
  • Jan 31 2019 15:00
    cclauss synchronize #1189
  • Jan 31 2019 14:52
    cclauss opened #1189
  • Jan 31 2019 14:10
  • Jan 31 2019 14:06
    Owaisaaa starred openaps/docs
  • Jan 31 2019 12:20
    cclauss synchronize #22
  • Jan 31 2019 12:16
    cclauss opened #22
  • Jan 31 2019 12:11
    cclauss edited #21
  • Jan 31 2019 12:09
    cclauss opened #21
  • Jan 31 2019 11:31
    tuzoenduro commented #1406
  • Jan 31 2019 11:25
    cclauss opened #140
  • Jan 30 2019 05:53
  • Jan 29 2019 16:03
    tzachi-dar commented #1406
  • Jan 29 2019 14:46
    rostag starred openaps/oref0
  • Jan 27 2019 22:06
    PieterGit synchronize #1176
Scott Leibrand
@scottleibrand
the one about glucose.json being empty?
G. Kidd
@garykidd
yeah..
Scott Leibrand
@scottleibrand
you can either plug in CGM or get it from NS
if your NS download isn't working, you should check NS host and API secret
G. Kidd
@garykidd
neither seems to work..left cgm plugged in for a long time...
Scott Leibrand
@scottleibrand
I'd take a look at /var/log/openaps/cgm-loop.log first
and then look at the contents of the cgm-loop alias and try the components manually
G. Kidd
@garykidd
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:03:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:04:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:05:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:06:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:07:02 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:08:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:09:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:10:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:11:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:12:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:13:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
Fri 30 Sep 00:14:01 EDT 2016
cgm://JSON/oref0_glucose/raw-cgm/raw-entries.json
that's /var/log/openaps/cgm-loop.log in case it wasn't obvious.
Scott Leibrand
@scottleibrand
so just "not working". have to run component aliases to see why
G. Kidd
@garykidd
to view the contents of the cgm-loop alias....is that best to just cat openaps.ini
Scott Leibrand
@scottleibrand
no, openaps alias show cgm-loop
G. Kidd
@garykidd
lot of things to read in the alias section......I have a hard time distinguishing one alias form another....would be huge to put a hard return between each alias actually
Scott Leibrand
@scottleibrand
not sure what you're looking at
G. Kidd
@garykidd
oh was saying of openaps.ini
Scott Leibrand
@scottleibrand
you should never have to look at that
G. Kidd
@garykidd
the alias section...
got it
Scott Leibrand
@scottleibrand
you're welcome to, of course, but there are commands to do everything without it
G. Kidd
@garykidd
cool
holy cow.....lot of sub aliases
stet that
hmmmm...is that def. the alias....
This message was deleted
Scott Leibrand
@scottleibrand
maybe not. look at crontab -l
G. Kidd
@garykidd
pi@raspberrypi:~/APS401 $ openaps alias show cgm-loop
usage: openaps-alias show [-h] [--ini] [--json]
                          [{autosens,bg-fresh-check,enact,format-latest-nightscout-treatments,format-ns-status,gather,get-bg,get-ns-bg,get-ns-glucose,get-settings,invoke,latest-ns-treatment-time,merge-pumphistory-long,mmtune,monitor-cgm,monitor-pump,ns-loop,ns-meal-carbs,ns-temptargets,pebble,prep-pumphistory-entries,pump-loop,refresh-old-profile,refresh-old-pumphistory,refresh-old-pumphistory-24h,refresh-profile,refresh-pumphistory-24h,refresh-pumphistory-and-enact,refresh-temp-and-enact,upload,upload-ns-status,upload-pumphistory-entries,upload-recent-treatments,wait-for-long-silence,wait-for-silence,*}]
openaps-alias show: error: argument name: invalid choice: 'cgm-loop' (choose from 'autosens', 'bg-fresh-check', 'enact', 'format-latest-nightscout-treatments', 'format-ns-status', 'gather', 'get-bg', 'get-ns-bg', 'get-ns-glucose', 'get-settings', 'invoke', 'latest-ns-treatment-time', 'merge-pumphistory-long', 'mmtune', 'monitor-cgm', 'monitor-pump', 'ns-loop', 'ns-meal-carbs', 'ns-temptargets', 'pebble', 'prep-pumphistory-entries', 'pump-loop', 'refresh-old-profile', 'refresh-old-pumphistory', 'refresh-old-pumphistory-24h', 'refresh-profile', 'refresh-pumphistory-24h', 'refresh-pumphistory-and-enact', 'refresh-temp-and-enact', 'upload', 'upload-ns-status', 'upload-pumphistory-entries', 'upload-recent-treatments', 'wait-for-long-silence', 'wait-for-silence', '*')
Scott Leibrand
@scottleibrand
sorry, it's monitor-cgm
* * * * * cd /home/edison/cgm-loop && ( ps aux | grep -v grep | grep -q 'openaps monitor-cgm' || openaps monitor-cgm ) 2>& 1 | tee -a /var/log/openaps/cgm-loop.log
so openaps alias show monitor-cgm
G. Kidd
@garykidd
on rp3
Scott Leibrand
@scottleibrand
your crontab -l will show a different loop dir, but should show openaps monitor-cgm as well
Eric Jensen
@elnjensen
@scottleibrand @garykidd (and of course anyone else who is interested). I'm pleased to report that I got wifi roaming working on the Edison. I was having problems with it - would connect to available network on boot, but then wouldn't switch when that became available.
G. Kidd
@garykidd
I reverted to my previous cron setup already
Eric Jensen
@elnjensen
Now works great, with no wpa stuff in cron at all.
G. Kidd
@garykidd
@elnjensen nice....willl want to fully undertand that in short order
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 $
Eric Jensen
@elnjensen
Here's my /etc/network/interfaces:
auto lo iface lo inet loopback

# auto usb0 
iface usb0 inet static
    address 192.168.2.15
    netmask 255.255.255.0


# auto wlan0 
allow-hotplug wlan0
iface wlan0 inet manual
    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp
Scott Leibrand
@scottleibrand
@garykidd so it has never successfully created those files. you can invoke them manually though
openaps report invoke raw-cgm/raw-entries.json etc
G. Kidd
@garykidd
@scottleibrand still struggling to understand why it hasnt though
Eric Jensen
@elnjensen
The two changes (from what I had initially) were to change iface wlan0 inet dhcp to iface wlan0 inet manual and in the next line, to change wpa-conf to wpa-roam.
Scott Leibrand
@scottleibrand
@garykidd no way to know without trying it
@elnjensen odd, that should change precisely nothing
Eric Jensen
@elnjensen
@scottleibrand I know you've said that you didn't think that wpa-roam mattered, but I verified that, at least for the above file, that switch makes the difference.
Scott Leibrand
@scottleibrand
(since you have iface default inet dhcp)
jmcrawford
@jmcrawford
@elnjensen What does your /etc/wpa_supplicant/wpa_supplicant.conf look like?
Hannah Crabtree
@lollydaggle
this is a silly question - at what point in the setup script do I need to have my devices plugged in? can't get openaps use pump model or openaps use cgm iter_glucose to work
I'm suspicious RE: my carelink working but the CGM should communicate
Eric Jensen
@elnjensen
Interestingly there's is essentially zero documentation on wpa-roam vs. wpa-conf. Lots of pages where people post their configs, but no mention of it in man pages at all.
Scott Leibrand
@scottleibrand
yeah, I had to do some serious digging to find any info on it