Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 15:51
    xen0n starred openaps/oref0
  • Jan 31 15:12
    cclauss opened #1191
  • Jan 31 15:09
    cclauss edited #1190
  • Jan 31 15:08
    cclauss edited #1189
  • Jan 31 15:07
    cclauss edited #1190
  • Jan 31 15:07
    cclauss opened #1190
  • Jan 31 15:00
    cclauss synchronize #1189
  • Jan 31 14:52
    cclauss opened #1189
  • Jan 31 14:10
  • Jan 31 14:06
    Owaisaaa starred openaps/docs
  • Jan 31 12:20
    cclauss synchronize #22
  • Jan 31 12:16
    cclauss opened #22
  • Jan 31 12:11
    cclauss edited #21
  • Jan 31 12:09
    cclauss opened #21
  • Jan 31 11:31
    tuzoenduro commented #1406
  • Jan 31 11:25
    cclauss opened #140
  • Jan 30 05:53
  • Jan 29 16:03
    tzachi-dar commented #1406
  • Jan 29 14:46
    rostag starred openaps/oref0
  • Jan 27 22:06
    PieterGit synchronize #1176
C-Ville
@C-Ville
@colinlennon did the implementation of xdrip cellphone data to the edison/pi
vincepf
@vincepf
@C-Ville Thanks. Looks like right now the only xdrip solution without a phone may be @oschumac 's work.
diabeticgonewild
@diabeticgonewild
Does anyone know if you can initiate a calibration for xDrip directly though SSHing into the Explorer board and entering in some sort of "calibration command" (with Calibration BG value) in the SSH terminal? Or do you somehow have to connect and configure the Explorer board to pull the calibration BG values from Nightscout?
Thank you in advance for an answer. 😃
C-Ville
@C-Ville
@diabeticgonewild as far as i know @oschumac solution is based on ssh. But based on the intel breakout board, the explorer board does not have a serial port to connect the wixel directly
diabeticgonewild
@diabeticgonewild
Awesome! Thank you so much! I will take a look at his Github page! 😍😃👍
diabeticgonewild
@diabeticgonewild
OK so I went through @oschumssc repos which are purely amazing. He does not have a setup for retrieving the calibration data. I wonder if I could "spoof" and inject Code with "fake Calibration data from NS" or inject the embedded xDrip code/program on the Explorer board.
I guess I need to work on that.
Actually, I haven't been able to read to save my life lately and I really have a problem. Sucks.
Brian Rabinovitz
@bdr1177
Can the edison connect directly to the NS uploader phone (via bluetooth) and read BGs from the xdrip app for openaps purposes? Our uploader phone/service won't support bluetooth tethering, so we can't go that route.
alternateal
@alternateal

So trying to run autotune on a linux VM - it runs beautifully until creating the recommendations and falls over when it reaches 04:30 this text:

ubuntu@ip-172-31-6-162:~$ ./src/oref0/bin/oref0-autotune-recommends-report.sh ~/myopenaps
./src/oref0/bin/oref0-autotune-recommends-report.sh: line 95: 2
3 - 1: syntax error in expression (error token is "3 - 1")

suggestions?

alternateal
@alternateal
Ignore me - it is important to set the minutes in profile.json to minutes from midnight, probably worth pointing out the ISF should be relative to mg/dL rather than mmol/L :-)
Colin Lennon
@colinlennon
@C-Ville @C-Ville @tim2000s I'm trying to update the cron entry for xDripAPS, so that you can switch between pulling CGM data from NS and from xDripAPS easily. For some reason though, my rig isn't pulling CGM data from NS - I keep getting JSON object could not be decoded errors...
It's not an issue for me as I'm using xDripAPS 24/7, but would one of you be able to test my change? The new cron entry looks like this -
* * * * * cd /root/myopenaps && ps aux | grep -v grep | grep -q 'openaps monitor-xdrip' || ( date; cp -rf xdrip/glucose.json xdrip/last-glucose.json; openaps monitor-xdrip) | tee -a /var/log/openaps/xdrip-loop.log; cmp --silent xdrip/glucose.json xdrip/last-glucose.json || cp -up xdrip/glucose.json monitor/glucose.json
The change should mean that the glucose data pulled from xDripAPS will only be copied to monitor/glucose.json when it has changed. So, when your Edison is connected to the internet via
WiFi, if you turn off BT tethering/WiFi hotspot, the file won't be updated by xDripAPS which should mean that the CGM data pulled from NS is used.
jmcrawford
@jmcrawford
@colinlennon As an alternative, could you run xDripAPS all the time, and upload the data to NS when a network connection was available?
Colin Lennon
@colinlennon
Sorry - meant to tag @ceben80 in rather then @C-Ville twice!
@jmcrawford Yip, that's exactly what I do now. The only reason you might want to switch is to save phone battery. BT tethering isn't too demanding, but running a WiFi hotspot drains battery pretty rapidly.
Matthias
@ceben80
@colinlennon great Colin will update my cron later :wink: 1st my big Eddie :smile: later his tiny brother
Colin Lennon
@colinlennon
Thanks @ceben80 ! Strange problem with my rig. It seems to fail to pull CGM data from NS when it's on a WiFi network and not BT tethered to my phone. Treatments and temp-targets seem to work, it's just get-ns-glucosethat fails. If I turn on BT tethering on my phone, when the rig reconnects, get-ns-glucose and by extension get-ns-bg works! Weird.
Matthias
@ceben80
just updated
will see tomorrow how it's works @colinlennon
as u know I'm running with my huawei mobil router so alway WiFi connected to the same IP net
Matthias
@ceben80
@colinlennon I now have WiFi connection (thus NS connection) and monitor/glucose.jsonis up to date :+1:
xdrip/glucose.jsonis now 7 min old, think it's okay?!
Colin Lennon
@colinlennon
@ceben80 Sounds good! Did you switch off the REST upload the xDripAPS in the Android app?
Scott Leibrand
@scottleibrand
@alternateal can you PR in that change please?
@scarral is this an existing Linux box, or a new install?
alternateal
@alternateal
@scottleibrand PR there as #572
Scott Leibrand
@scottleibrand
Thx. One comment, then it looks good to merge.
alternateal
@alternateal
@scottleibrand try that version on #572
C-Ville
@C-Ville
@colinlennon that sounds awesome
Matthias
@ceben80
@colinlennon no didn't do that, will make it today later :wink:
woodtrevor
@woodtrevor
@bdr1177 There are apps that can be used for BT tethering that bypass the native tethering methods. Helpful if your provider doesn't allow tethering.
Matthias
@ceben80
@colinlennon REST switched off and same positive result as posted above
https://gitter.im/nightscout/intend-to-bolus?at=5884f641e836bf70107909e3
C-Ville
@C-Ville
@colinlennon are you still using yocto or do you BT tether using jubilinux?
C-Ville
@C-Ville
I am running through the current dev documents and now I have the question, what the difference is between
mkdir -p ~/src; cd ~/src && git clone -b dev git://github.com/openaps/oref0.git || (cd oref0 && git checkout dev && git pull)
and
mkdir -p ~/src; cd ~/src && git clone git://github.com/openaps/oref0.git || (cd oref0 && git checkout dev && git pull)
both should get to the dev version of ore0?
Scott Leibrand
@scottleibrand
the former is correct
the latter won't checkout the dev branch the first time, only if you already have it cloned
where is the latter exactly?
C-Ville
@C-Ville
@scottleibrand no need to worry, the dev docs point to master instead of dev and I made the change myself, and was not sure, why there are differences
jlaes
@jlaes
I'm trying to setup Autotune on a Google Cloud VM, but I get an error "E: Unable to locate package nodejs-legacy" as the last line. I setup an Ubuntu 1204 image
C-Ville
@C-Ville

@scottleibrand so the original in the docs says
Step 1: Pull/clone oref0

in phase 2
Pull/clone the latest oref0 master by running:
mkdir -p ~/src; cd ~/src && git clone git://github.com/openaps/oref0.git || (cd oref0 && git checkout master && git pull)

Scott Leibrand
@scottleibrand
@C-Ville wait, the dev docs? we don't use those except for testing out major structural changes
C-Ville
@C-Ville
@scottleibrand ah okay I wanted to use dev oref0 for xdrip and thought the dev docs would be the way to go
Scott Leibrand
@scottleibrand
the dev branch of oref0, yes
but there are no different docs for dev
@jlaes which command did you run that gave you the nodejs-legacy error?
C-Ville
@C-Ville
@scottleibrand thanks for explaining, my bad