These are chat archives for nightscout/intend-to-bolus

29th
Apr 2018
Tim Gunn
@Tornado-Tim
Apr 29 2018 03:06
thank you to whoever spoke to hamsheild (enhanced radio devices) recently.....prob @danamlewis ;) They just got in contact with me.
Scott Leibrand
@scottleibrand
Apr 29 2018 04:07
👍
lyntonr
@lyntonr
Apr 29 2018 05:08

Hi everyone. I'm new here , I'm a 59 yo Australia T1 interested in setting up a closed loop system.

3 days ago I got a libre scanner and sensor and for the first time in 35 years I can see just how wonky my sugars really are :(
Some nights I hypo and some night hit 16 or higher. Its clearly unpredictable and impossible to set hard and fast basal rates which leads me to desiring a closed loop system.
So far I have the following

An older paradymn minimed 754 running 2.6A firmware (also a 10yo 522 as a backup)
Libra freestyle sensors and a scanner.
Blucon nightrider ffrom ambrosia.com (on order 2 weeks ago ... hopefully soon)
lots of Pi Zero W 's
huawei nexus 6p + xdrip on it.
an (empty at the moment) herokuapp nightscout deployment.

I'm also about to pre order the Pi explorer hat , which I believe will complete the hardware requirements for a closed loop setup.
The explorer hat should be shipping now or soon I believe.

So from my readings my current understanding is that :
blucon device talks to xdrip+ app on phone to send bg readings from libre sensor to nightscout herokuapp site.
pi zero W communicates with night scout to receive new bg readings in real time.
pi explorer hat radio communicates with minimed 754 pump to get insulin bolos basal etc data.
openaps sofware on pi works out temp basal and or bolus adjustments and controls the 754 for delivery via comms on the explorer hat.
Am I on the right track here ?
Anything missing from this setup ?
Any caveats to this, or perhaps a better way to go ?

I hope that I can get this all working with my older 754 2.6A (current pump is also 754 but unfortunately 3.1A) until such time as a closed loop capable pumps are available in australia.,
which may be a few years yet, We don't even have the 670g here yet , best I can do is the 640g at the moment :(

Thanks in advance for any comments and/or words of encouragement.

I would be particularly interested in comments from anyone using a minimed 754 2.6A in a closed loop (any issues with it ? are bolus and temp basal both possible on this pump ?)

I'm very excited by all this and , as retired tech head T1D rpi enthusiast, this is right up my alley.
I hope that once up and running I can contribute to future development somehow. These is sure to be something that I will want to get my programmers teeth into :)
Lynton

Dana Lewis
@danamlewis
Apr 29 2018 05:13
@lyntonr welcome! You're on the right track :smile: and yes, a 754 with compatible firmware will allow bolus and temp basal remotely
And yes - HATs are shipping soon :+1:
lyntonr
@lyntonr
Apr 29 2018 05:14
wow that was quick reply thanks dana cant wait to get started :)
lyntonr
@lyntonr
Apr 29 2018 05:40
anyone know how to get libre flash data into nightscout from the libre scanner ? I can get it into a tab delimited file but how can I bulk upload into nightscout ? Only way I can find it by using an nfc phone and xdrip but that would just be a single reading at a time (i think) . Hoping to be able to load historical data and run autotune prior to setting up closed loop hardware.
lyntonr
@lyntonr
Apr 29 2018 07:35
Trying to work out which frequency explorer phat to get. I am in australia and pump is mmt-754CAS . options are a 915mhz for america,asia,australia or 868mhz for europe. Appears that 915 is correct for australian devices but perhaps this pump is from europe ? Or is this just a location issue and pump model not important ?
skubesch
@skubesch
Apr 29 2018 08:26
Looking for clarification on modifying cron to allow BT pairing with two phones. I was assuming the modified line would look something like * * * * * ps aux | grep -v grep | grep -q "oref0-online AA:AA:AA:AA:AA:AA BB:BB:BB:BB:BB:BB" || cd /root/myopenaps && oref0-online AA:AA:AA:AA:AA:AA BB:BB:BB:BB:BB:BB 2>&1 >> /var/log/openaps/network.log I set up everything initially using the MAC address AA:AA:AA:AA:AA:AA (where I ran the setup script using this BT address); this was working but after adding BB:BB:BB:BB:BB:BB with this syntax, it allows the rig to pair with the phone with MAC address BB:BB:BB:BB:BB:BB but it no longer pairs with phone AA:AA:AA:AA:AA:AA. Ideally I'd like it to first try to pair with AA:AA:AA:AA:AA:AA, and if that's not available to fall back on BB:BB:BB:BB:BB:BB. Any suggestions?
val-albany
@val-albany
Apr 29 2018 13:19

Hi, I'm running 0.6.0 and was just running my oref0-runagain.sh. Everything seems to move along fine until it tries to get latest oref0:

Finished processing dependencies for decocare==0.1.0-dev
/root/src/oref0/ already exists; pulling latest
error: object file .git/objects/1e/e1adc33a5334fc8e44d17e1d923281f854cfd0 is empty
error: object file .git/objects/1e/e1adc33a5334fc8e44d17e1d923281f854cfd0 is empty
fatal: loose object 1ee1adc33a5334fc8e44d17e1d923281f854cfd0 (stored in .git/objects/1e/e1adc33a5334fc8e44d17e1d923281f854cfd0) is corrupt
Couldn't pull latest oref0

what do I need to do to clean this up?

val-albany
@val-albany
Apr 29 2018 13:39
never mind, just found Scott's answer from earlier....
val-albany
@val-albany
Apr 29 2018 13:48
And never mind the never mind above, tried moving myopenaps to backup and re-running setup, get same error as it tries to update oref0. So I guess I need to get a fresh oref0, but all I see in the docs is the git directions, which still error out...
It's not always easy to find things in the documentation, but it's quite good :)
Thacher
@thacherT1D
Apr 29 2018 15:46
Hey all - I have a question about Pushover alerts… I have them working per the NightScout site, but I can’t figure out how to get these type of alerts (see picture next) without getting Dexcom alerts through Pushover as well
Thacher
@thacherT1D
Apr 29 2018 15:51
okay... The app doesn’t seem to want to let me paste a picture, the alerts I’m looking for are the ones that tell me how many carbs to eat and the battery alarms… Without the dexcom alerts ( which I’m already getting from the Dexcom app ).... I can’t decipher this from the NightScout documentation 😕
philipgo
@philipgo
Apr 29 2018 15:55
@thacher The carbs required pushover alerts do not come through Nightscout, you enable them during OpenAPS setup and the rig sends them directly.
lyntonr
@lyntonr
Apr 29 2018 16:13
Thanks @BjoTore_twitter , doc's are indeed excellent. The key was the info that the CA in the model number means Canada or Australia so pump is 916 mHz. So I guess the 915 mHz explorer hat will be the one to get. Hope 915 is close enough.
Scott Leibrand
@scottleibrand
Apr 29 2018 16:32
@val-albany looks like it’s your ~/src/oref0 git dir that is corrupted, so that is the one you need to delete. After doing so you’ll just need to re-clone the rep to re-download it.
Jon Cluck
@cluckj
Apr 29 2018 16:32
@lyntonr the difference is the external antenna they ship with
Scott Leibrand
@scottleibrand
Apr 29 2018 16:35
@lyntonr the frequency range we see from pump to pump is about 1MHz, so 915 and 916 are effectively the same.
The mmtune process finds the exact frequency, but the antenna’s optimal frequency range is dozens of MHz wide.
lyntonr
@lyntonr
Apr 29 2018 16:40
Just (pre)ordered one :) the 915 covers 902-928 mHz.
Dana Lewis
@danamlewis
Apr 29 2018 16:46
:+1:
JDT1Dad
@JDT1Dad
Apr 29 2018 16:46
Hello all, just joined and know nothing about gitter
Dana Lewis
@danamlewis
Apr 29 2018 16:46
@JDT1Dad welcome!
JDT1Dad
@JDT1Dad
Apr 29 2018 16:47
My little girl is T1D and we are just starting to go down the road of getting sleep!
Dana - thanks
Dana Lewis
@danamlewis
Apr 29 2018 16:47
We use this for live troubleshooting sessions. There's a also a Fbk group you can join, but for technical stuff Gitter is nicer for real-time conversations
JDT1Dad
@JDT1Dad
Apr 29 2018 16:48
Whats the facebook group called? I am not great on facebook either
JDT1Dad
@JDT1Dad
Apr 29 2018 16:54
Sorry for being stupid, I presume it is called nightscout
JDT1Dad
@JDT1Dad
Apr 29 2018 16:57
thank you
val-albany
@val-albany
Apr 29 2018 17:18
@scottleibrand dumb q - how do I re-clone oref0 ?
val-albany
@val-albany
Apr 29 2018 17:38
okay, just found it. cd ~/src && git clone git://github.com/openaps/oref0.git || (cd oref0 && git checkout master && git pull)
Dana Lewis
@danamlewis
Apr 29 2018 17:44
:+1:
Thacher
@thacherT1D
Apr 29 2018 19:05
@philipgo so if so turn off the pushover alerts from NightScout I will still get the carbs required ones?
Sorry for being dense on this one 😕
philipgo
@philipgo
Apr 29 2018 19:40
@thacherT1D Correct 😉