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

26th
Aug 2018
mkericson
@mkericson
Aug 26 2018 01:26

Removing any existing git in /root/myopenaps/.git
Removed any existing git
Checking openaps 0.2.1 installation with --nogit support
openaps 0.2.1-dev
Checking /root/myopenaps: mkdir: cannot create directory ‘/root/myopenaps’: File exists
/root/myopenaps initialized
/root/src/decocare/ already exists; pulling latest 0.1.0-dev
fatal: unable to connect to github.com:
github.com: Name or service not known

Couldn't pull latest decocare 0.1.0-dev
:::: Does that mean Github is down - or do I have other issues?

Dana Lewis
@danamlewis
Aug 26 2018 01:34
Means rig doesn't have connectivity
mkericson
@mkericson
Aug 26 2018 01:41
:thumbsup:
kobradley
@kobradley
Aug 26 2018 03:46

mmtune: Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
No wait required.
If pump and rig are close enough, this error usually self-resolves. Stand by for the next loop.
Unsuccessful oref0-pump-loop at Sat Aug 25 23:43:22 EDT 2018

duty cycling disabled; start loop

Starting oref0-pump-loop at Sat Aug 25 23:44:03 EDT 2018 with 3 second wait_for_silence:
Waiting up to 4 minutes for new BG: First loop: not waiting

Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat Aug 25 23:44:05 EDT 2018

Preflight fail. Retry 1 of preflight
Preflight fail. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat Aug 25 23:44:12 EDT 2018

Retry 2 of preflight
Preflight fail. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat Aug 25 23:44:16 EDT 2018

Retry 3 of preflight
Preflight fail. Couldn't preflight
oref0-pump-loop failed. pump_loop_completed more than 15m old; waiting for 36 s silence before mmtuning
Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat Aug 25 23:44:19 EDT 2018

Listening for 36 s silence before mmtuning: Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat Aug 25 23:44:21 EDT 2018

Any thoughts on above pump log...I tried earlier suggestions including ccprog
kobradley
@kobradley
Aug 26 2018 04:05

Ebgineer@Ebgineer I ran the setup script again and had the following errors:
Reading state information... Done
bash-completion is already the newest version.
bc is already the newest version.
ntpdate is already the newest version.
jq is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Importing /root/src/oref0/lib/oref0-setup/supermicrobolus.json
determine-basal://JSON/shell/enact/smb-suggested.json
pump://JSON/set_temp_basal/enact/smb-enacted.json
pump://JSON/bolus/enact/bolused.json
Adding OpenAPS log shortcuts
Add NIGHTSCOUT_HOST and API_SECRET to /root/.bash_profile
sed: can't read .profile: No such file or directory
sed: can't read .profile: No such file or directory

Clearing retrieved apt packages to free space.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Downloading Go pump binaries from:
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Couldn't download and extract Go pump binaries

Not sure what I need to do...

Scott Leibrand
@scottleibrand
Aug 26 2018 04:06
@jalonergan if you stop cron first before re-running setup it won’t do the radio error check.
Andrew: needle-nosed pliers?
Ebgineer
@Ebgineer
Aug 26 2018 05:36
@kobradley sorry to say I can't tell what's happening either. It seems not to know where to retrieve the Go files. It's not a kind of error I have seen.
Scott Leibrand
@scottleibrand
Aug 26 2018 05:39
@denglfddd_twitter you might want to post your Edison flashing issues here for assistance. It’s bed time here.
邓力凡
@denglfddd_twitter
Aug 26 2018 05:45
@scottleibrand ok, Thanks
Alice826826
@Alice826826
Aug 26 2018 10:25
Is there a watch that can see blood sugar remotely? It is better to install NS Thank you.
GlossySwan
@GlossySwan
Aug 26 2018 13:06
Hello all, thanks for the help on accessing git hub. Just to record the outcome for wider awareness, it appears the Virgin Media UK has added GitHub to their list of websites to be blocked via their 'WebSafe' service. Even with firewall turned off, port forwarding etc all established, it is blocked before it ever reaches my house. Virgin Media users take note! It can be turned off by logging into your account (not your hub) and adjusting the settings on WebSafe. As this service is flagged to new customers who are also parents, I suspect I will not be the only one to find this particular variation on the problem.
Ebgineer
@Ebgineer
Aug 26 2018 13:08
Nice detective work @GlossySwan !
kobradley
@kobradley
Aug 26 2018 15:01
@Ebgineer
@Ebgineer Thanks for
@Ebgineer my apologies...you can tell I’m a newbie here...thinking I might need to reflash Edison and start again. From pump log I can’t get past the preflight. Thoughts?
Ebgineer
@Ebgineer
Aug 26 2018 16:27
@kobradley I'm new to much of this too. You may want to get help from an experienced person. Based on the error text, it is having trouble with the sed command in oref0-setup. Is it possible you haven't specified a nightscout host?
# Append NIGHTSCOUT_HOST and API_SECRET to $HOME/.bash_profile so that openaps commands can be executed from the command line
echo Add NIGHTSCOUT_HOST and API_SECRET to $HOME/.bash_profile
sed --in-place '/.*NIGHTSCOUT_HOST.*/d' $HOME/.bash_profile
kobradley
@kobradley
Aug 26 2018 16:43
@Ebgineer thanks! I’m traveling now...I’ll give it another try later when I get to hotel
Ryan Dalisky
@rdalisky
Aug 26 2018 16:47
How long after installing Dev branch should the loop begin to function? I tried last night, and I got unsuccessful loop for an hour. It said there was some smb file that wasn't present. does it take time to upload and create that file before the loop begins?
Dana Lewis
@danamlewis
Aug 26 2018 16:57
@rdalisky sounds like there's a different problem. Can you paste some of the logs?
Ryan Dalisky
@rdalisky
Aug 26 2018 16:58
yes ill try again and post the logs.
Dana Lewis
@danamlewis
Aug 26 2018 16:59
:+1: (to answer your original Q, 20 minutes max usually - and that's for it to read the pump. Doesn't usually take that long though)
Ryan Dalisky
@rdalisky
Aug 26 2018 17:00
Do i need to do anything besides updating my GIT, npm global install, and then installing oref0?
Dana Lewis
@danamlewis
Aug 26 2018 17:02
Re run oref0 setup
If you're switching to dev
Ryan Dalisky
@rdalisky
Aug 26 2018 17:04
I'll give it a shot, results soon.
Ryan Dalisky
@rdalisky
Aug 26 2018 17:25
Rebooting to fix radio errors comes up occasionally
just completed setup on dev
@danamlewis
Ryan Dalisky
@rdalisky
Aug 26 2018 17:33
how do I coppy from putty and paste here?
*copy
Ryan Dalisky
@rdalisky
Aug 26 2018 17:39

Starting oref0-pump-loop at Sun Aug 26 13:36:03 EDT 2018 with 8 second wait_for_silence:
MDT CGM configured; not waiting
Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sun Aug 26 13:36:12 EDT 2018
Preflight OK.
Attempting to retrieve MDT CGM data from pump

CGM data retrieval from pump disrupted, retrying in 5 seconds...
Reattempting to retrieve MDT CGM data

CGM data retrieval from pump disrupted, retrying in 5 seconds...
Reattempting to retrieve MDT CGM data

CGM data retrieval from pump disrupted, retrying in 5 seconds...
Reattempting to retrieve MDT CGM data
MDT CGM data retrieved
No new MDT CGM data to reformat

Profile less than 60m old; Profile valid. Pump history updated through 2018-08-26T13:27:04-04:00; meal.json Warning: clock input Invalid Date is unzoned; please pass clock-zoned.json instead

Warning: setting mealCOB to 0 because currentDeviation is null/undefined
refreshed: {"carbs":40,"nsCarbs":40,"bwCarbs":0,"journalCarbs":0,"mealCOB":0,"currentDeviation":null,"maxDeviation":0,"minDeviation":999,"slopeFromMaxDeviation":0,"slopeFromMinDeviation":999,"allDeviations":[],"lastCarbTime":1535292310000,"bwFound":false}
Listening for 9 s silence: Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sun Aug 26 13:37:15 EDT 2018
Checking that pump clock: "2018-08-26T13:37:16-04:00" is within 90s of current time: 2018-08-26T13:37:17-0400
Temp refreshed: monitor/temp_basal.json: {"duration":0,"temp":"absolute","rate":0}
{"carbs":40,"nsCarbs":40,"bwCarbs":0,"journalCarbs":0,"mealCOB":0,"currentDeviation":null,"maxDeviation":0,"minDeviation":999,"slopeFromMaxDeviation":0,"slopeFromMinDeviation":999,"allDeviations":[],"lastCarbTime":1535292310000,"bwFound":false}
Autotune exists! Hoorah! You can use microbolus-related features.
{"iob":1.305,"activity":0.0143,"basaliob":1.044,"bolusiob":0.261,"netbasalinsulin":3.05,"bolusinsulin":2.1,"time":"2018-08-26T17:37:18.000Z","iobWithZeroTemp":{"iob":1.305,"activity":0.0143,"basaliob":1.044,"bolusiob":0.261,"netbasalinsulin":3.05,"bolusinsulin":2.1,"time":"2018-08-26T17:37:18.000Z"},"lastBolusTime":1535294574000,"lastTemp":{"rate":1.05,"timestamp":"2018-08-26T13:07:53-04:00","started_at":"2018-08-26T17:07:53.000Z","date":1535303273000,"duration":19.18}}
{"delta":-2,"glucose":176,"noise":null,"short_avgdelta":-2.56,"long_avgdelta":-1.47,"date":1535303160000,"last_cal":0}
null
No deliverAt found.
{"reason":"If current system time Sun Aug 26 2018 13:37:26 GMT-0400 (EDT) is correct, then BG data is too old. The last BG data was read 31.4m ago at Sun Aug 26 2018 13:06:00 GMT-0400 (EDT). Temp 0 <= current basal 1U/hr; doing nothing. "}
Couldn't smb_verify_suggested
oref0-pump-loop failed. MDT CGM configured; not waiting
Unsuccessful oref0-pump-loop (BG too old) at Sun Aug 26 13:37:26 EDT 2018

using 723 pump, explorer, and medtronic cgm
Dana Lewis
@danamlewis
Aug 26 2018 17:43
Do you have fresh BG data in your CGM?
Ryan Dalisky
@rdalisky
Aug 26 2018 17:43
yes i do
Ryan Dalisky
@rdalisky
Aug 26 2018 17:53
I selected download for the go libraries in setup if that makes a diff
GlossySwan
@GlossySwan
Aug 26 2018 20:19
evening all, forecasting the answer from the docs, but am I wasting my time trying to use a carelink USB with a Raspberry Pi running latest oref0?
Dana Lewis
@danamlewis
Aug 26 2018 20:25
@GlossySwan carelink drives people nuts with limited range. oref0 0.6.2 (master) will be last to support carelink usage. You can use it, but not many people can help troubleshoot if you have issues using it, and we'd highly recommend ti stick or other antenna instead
GlossySwan
@GlossySwan
Aug 26 2018 20:26
Thanks. Range is not my problem - time is my problem!
So I take it that if i just completed install on my RPi3, the version of oref0 I have installed should accept carelink...
Dana Lewis
@danamlewis
Aug 26 2018 20:27
If you installed master, yes
GlossySwan
@GlossySwan
Aug 26 2018 20:28
Okay - I followed the script (lots of times...learning as I go) and that points towards a 'dev' due to latest Raspbian...
when I connect the carelink, it appears to acknowledge it, but the loop just gets stuck on 'failed preflight'
Dana Lewis
@danamlewis
Aug 26 2018 20:31
Ah, you'll need to switch to master
Dev won't support carelink
(And rerun setup so it can find out you're trying to use carelink)
GlossySwan
@GlossySwan
Aug 26 2018 20:33
okay. thank you. Loved your article in The Guardian.
And also taking from that I will need to install an older version of Raspian, check?
Dana Lewis
@danamlewis
Aug 26 2018 20:36
@rdalisky sorry for delayed response. I think there are a few things still being fixed for mdt CGM with dev. There's at least one open pr if you want to look and see if there's anything there that helps resolve, but there's a few other things that need fixing before it gets merged to dev. Sounds like @juehv is going to work on it some more in the next few days.
@GlossySwan haven't talked to anyone lately who's done fresh Pi and carelink install, so not sure. You'll have to experiment and find out what works.
GlossySwan
@GlossySwan
Aug 26 2018 20:40
okay - will let you know! Am on a Pi3 and running full raspian, vice lite.
Dana Lewis
@danamlewis
Aug 26 2018 20:55
:+1: ya, please let us know what you land on
Jens Heuschkel
@juehv
Aug 26 2018 21:31
@GlossySwan carelink just works with the master branch. In dev it's dead (and I think it will never come back to live again :D ). Check if your pump.ini contains the word carelink somewhere, then it should work if you pump is in range.
Scott Leibrand
@scottleibrand
Aug 26 2018 21:41
@rdalisky openaps/oref0#1081
@GlossySwan AFAIK full raspbian doesn't work: you should install raspbian lite.
GlossySwan
@GlossySwan
Aug 26 2018 21:43
R - thanks. I'm seeing the loop in raspbian and it is accepting the carelink, but not making any progress in clearing errors after 30 minutes.
Have just lashed out the £ to get a Pi Zero WH and explorer board....running out of time to get it all up before deploying o/s!
Ryan Dalisky
@rdalisky
Aug 26 2018 22:02
@scottleibrand is there another patch I need to install after dev install?
Ryan Dalisky
@rdalisky
Aug 26 2018 22:08
I tried two days ago and it still had the same error. when I tried to update the C1110 radio, it said that it was an unknown device.
Scott Leibrand
@scottleibrand
Aug 26 2018 22:10
are the two LEDs dimly illuminated? if so, did you use the Pi or the Edison pinout for ccprog?
Ryan Dalisky
@rdalisky
Aug 26 2018 22:10
used the edison pinout
and they were not, but mmtune didnt work.
Ryan Dalisky
@rdalisky
Aug 26 2018 22:17
Oh ok i just saw Dana's post, I'll avoid dev for now.
Dana Lewis
@danamlewis
Aug 26 2018 22:32
Anyone looking for Edison? Someone just found some on eBay, $25
(That's an amazing price, so if you're looking to loop and don't necessarily want the screen of the Pi rig, Edison+Explorer Board is still highly recommended rig choice)
Tim Gunn
@Tornado-Tim
Aug 26 2018 22:57
Agreed if you can still get your hands on a Edison, get one as its faster than the Pi and more battery efficient :)
邓力凡
@denglfddd_twitter
Aug 26 2018 23:43
Hi,All! I met a problem,I can connect via the UART port, but I can't enter any commands and can't enter the LINLUX system.When I manually restart the rig, it will still be stuck there.
QQ截图20180826131511.png