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

28th
Dec 2017
live4sw
@live4sw
Dec 28 2017 00:34 UTC
@jdhigh Yep, that was me who had the problem with the Pixel 2. I'm glad to hear it's working for you, I will admit that my old Pixel was working so well that after BT didn't work the first few times trying on the Pixel 2, I just quickly went back to the original. So I'm glad to hear it actually does work.
If it hasn't already been updated, I'd suggest you do a PR on http://openaps.readthedocs.io/en/latest/docs/Customize-Iterate/bluetooth-tethering-edison.html to update on your experience
Dana Lewis
@danamlewis
Dec 28 2017 00:40 UTC
:+1:
Tim Street
@tim2000s
Dec 28 2017 06:28 UTC
@alimhassam if you want bt to stay connected to a phone when there’s no internet, you can modify oref0-online.sh to leave the bt connection up if there’s no external website to ping. Or you can setup a permanent bt tether, removing most of oref0-online.sh and allowing your phone to manage connectivity. The android phones typically don’t drop connection if there’s no cell signal.
It’s usually the rig network cycling when it can’t ping externally.
Tim Street
@tim2000s
Dec 28 2017 07:10 UTC
Had an interesting side effect of cleaning out my rigs last night. They’d stopped connecting via BT to the phone whilst they had very little disk space left. Clearing them out has meant that they now bt tether quite happily.
DaisyHK
@laurathiessen
Dec 28 2017 07:45 UTC
@live4sw ... that new pixel 2... r u looking to get ride of it??? ;) u may be able to sell it to others who could make it work...
jamespaulley
@jamespaulley
Dec 28 2017 09:23 UTC
What's the problem with the Pixel 2?
live4sw
@live4sw
Dec 28 2017 13:28 UTC
@laurathiessen Oh I just returned it to Google for a refund. And it sounds like there isn't a problem, I just got frustrated with it and didn't feel the need to replace my Pixel. @jdhigh seems to have had a good experience.
alimhassam
@alimhassam
Dec 28 2017 13:55 UTC
@tim2000s can you share how you modified oref0-online.sh?
libre1
@libre1
Dec 28 2017 15:48 UTC
image.png
should profile.json be empty?
pump is 512
kenkotch
@kenkotch
Dec 28 2017 15:56 UTC
My Edison is sad. Failed smb with this error:
RefreshIndexError: bytearray index out of range
Any ideas?
Dana Lewis
@danamlewis
Dec 28 2017 16:44 UTC
@kenkotch usually self resolves
@libre1 were you successfully already looping with this pump? If not, there's some extra steps you have to take with a 512
kenkotch
@kenkotch
Dec 28 2017 16:53 UTC
Thanks @danamlewis
It has been coming in and out for a few days and for the last 6 hrs, out. I’ll keep an eye on it.
libre1
@libre1
Dec 28 2017 16:55 UTC
@danamlewis nope, first time, but i did http://openaps.readthedocs.io/en/latest/docs/Build%20Your%20Rig/x12-users.html everything from here
Dana Lewis
@danamlewis
Dec 28 2017 17:02 UTC
@kenkotch k. it means it didn't get a good pump read - so I'd check orientation of rig to pump, etc. too and see if anything is different from the last few days
kenkotch
@kenkotch
Dec 28 2017 17:03 UTC
Thanks. The difference: travel. So who knows
peterlynton
@peterlynton
Dec 28 2017 18:11 UTC
I'm getting this error for the last few hours, mmtune appears to tune ok:
Radio check failed. mmeowlink.exceptions.CommsException: Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
Listening for 40s silence before mmtuning: .No interfering pump comms detected from other rigs (this is a good thing!)
mmtune: mmeowlink.exceptions.CommsException: Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
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.
peterlynton
@peterlynton
Dec 28 2017 18:17 UTC
So ref-pump-loop is successful sometimes, just not every time.
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 18:34 UTC
Good morning. If my rig is looping according to the log, but OpenAPS pill in Nightscout is showing yellow 52 minutes, that seems like a NS issue?
Dana Lewis
@danamlewis
Dec 28 2017 18:40 UTC
either that or rig connectivity issues, yes
so check rig communicating online; if it is; check future treatments, etc.
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 18:45 UTC
blob
I'm able to SSH into the rig on this IP.
blob
And looks like rig is looping.
blob
But NS is an hour ago.
Dave Acklam
@dcacklam
Dec 28 2017 18:59 UTC
@peterlynton
@peterlynton Use ccprog to reflash your firmware
Jacob H
@jdhigh
Dec 28 2017 19:05 UTC
@dirkgastaldo Did you try ''' openaps first-upload '''?
Dana Lewis
@danamlewis
Dec 28 2017 19:06 UTC
openaps first-upload only works to get BG's uploaded when no BG data showing from a Medtronic cgm
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 19:06 UTC
(No, I did not try that.)
Dana Lewis
@danamlewis
Dec 28 2017 19:06 UTC
so if you know your rig is looping, follow the rest of the NS troubleshooting steps: http://openaps.readthedocs.io/en/latest/docs/Troubleshooting/Rig-NS-communications-troubleshooting.html
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 19:06 UTC
Thank you.
peterlynton
@peterlynton
Dec 28 2017 19:15 UTC
@dcacklam thanks will do.
Dana Lewis
@danamlewis
Dec 28 2017 19:16 UTC
someone who's getting those frequently could PR in an auto-fix (after x number of those, try to automatically re-flash cc prog) for that
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 19:19 UTC
My size on disk is at 496 MB. I ran the repairDatabase command but it timed out. I sent an email to support@mlab.com and asked if they could compact my database.
peterlynton
@peterlynton
Dec 28 2017 19:26 UTC
@danamlewis ok I'll see if the ccprog resolves the issue. It's only happened today but will do a PR if necessary.
Dana Lewis
@danamlewis
Dec 28 2017 19:32 UTC
:+1:
Carl
@c-robertson
Dec 28 2017 19:36 UTC
On the subject of reviewing autotune output, the understanding autotune docs show an example of output. Is it possible to pull something like that off of a rig that has been running with autotune enabled? If so, how much historical data would it take into account?
Answering my own question, found 'autotune_recommendations.log' in /myopenasp/autotune. Missed it on the first pass...
Carl
@c-robertson
Dec 28 2017 19:41 UTC
Still wondering how much history that accounts for... i.e. after running my rig for ~4 weeks, would it be reasonable to start adjusting my pump settings from it?
Dana Lewis
@danamlewis
Dec 28 2017 19:44 UTC
yes
~2 weeks was our original recommendation, but even shorter than that is fine - although it's always up to you, regardless of time frame, about how much you decide to adjust your underlying pump settings
Scott Leibrand
@scottleibrand
Dec 28 2017 19:54 UTC
autotune is an iterative algorithm that always tunes one day at a time, and updates the previous days' data accordingly.
Carl
@c-robertson
Dec 28 2017 19:57 UTC
@scottleibrand so, to analyze a ~2 week period, I would have to pull the files for each individual day from the rig (i.e. 14 separate files) and then average out the recommendations (some Excel magic)
now a linux NOOB question, is there an easy way to pull a handful of files from the rig onto my Windows laptop?
Dana Lewis
@danamlewis
Dec 28 2017 20:04 UTC
@c-robertson they tune on top of the previous day; so your most recent one is the one you should use
Carl
@c-robertson
Dec 28 2017 20:06 UTC
@danamlewis ah, ok, misinterpreted what @scottleibrand said. Thanks!
Dana Lewis
@danamlewis
Dec 28 2017 20:06 UTC
:+1: (and yes, you could copy files over; but you shouldn't need to for autotune)
Carl
@c-robertson
Dec 28 2017 20:07 UTC
@danamlewis for future reference, how to 'bulk' copy files?
(not to be weird, but I feel privileged to be talking to you guys... :smile:)
philipgo
@philipgo
Dec 28 2017 20:15 UTC
@c-robertson WinSCP is a useful tool for copying files to and from the rig
Dana Lewis
@danamlewis
Dec 28 2017 20:16 UTC
hehe. and yup, scp is the method to do it
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 20:53 UTC
Does the rig need to be running anything to allow WinSCP to connect?
alimhassam
@alimhassam
Dec 28 2017 21:00 UTC
@dirkgastaldo no, just having ssh running should allow winscp to work.
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 21:00 UTC
Thank you
Tim Street
@tim2000s
Dec 28 2017 21:20 UTC
Technically you don’t need an ssh session running to use SCP/WinSCP as it requires the username and password.
alimhassam
@alimhassam
Dec 28 2017 21:24 UTC
i was refering to sshd
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 21:27 UTC
Thank you, I'll try it tonight.
Dirk Gastaldo
@dirkgastaldo
Dec 28 2017 22:49 UTC
@danamlewis It was the size of my mLab MongoDB. They couldn't compact my DB below 496 MB so I had to clean out entries. Good news is I opened an Open Humans account and contributed my data before cleaning out my entries. NS back to showing OpenAPS pill.
Dana Lewis
@danamlewis
Dec 28 2017 22:51 UTC
:+1: thanks for donating data before deleting :confetti_ball:
Ivica Suran
@isuran
Dec 28 2017 22:53 UTC
image.png
question, after openaps first-upload I get mongo error.
google didn't help
Scott Leibrand
@scottleibrand
Dec 28 2017 23:15 UTC
I think that just means you tried to re-upload a data point that was already successfully uploaded
you should see info in NS now, and should be able to proceed
Ivica Suran
@isuran
Dec 28 2017 23:17 UTC
@scottleibrand I have no data in NS.
image.png
receiving data from it into rig but no upload
Dana Lewis
@danamlewis
Dec 28 2017 23:20 UTC
First upload solves BGs
If you're not rendering temps and have an unknown pill, likely another issue
See the NS troubleshooting docs - check future treatments and mlab size
Ivica Suran
@isuran
Dec 28 2017 23:31 UTC
image.png
@danamlewis I did, I'ts new NS site, empty future items.
Scott Leibrand
@scottleibrand
Dec 28 2017 23:32 UTC
what pump model?
Ivica Suran
@isuran
Dec 28 2017 23:33 UTC
512, i did edit the three (3) necessary files: basal, settings, and targets. But I used mg instead of mmol in that files, can that be a problem
Scott Leibrand
@scottleibrand
Dec 28 2017 23:36 UTC
you can try manually running cd ~/myopenaps && openaps report invoke settings/profile.json to see what it's complaining about...
Ivica Suran
@isuran
Dec 28 2017 23:38 UTC
image.png
Dana Lewis
@danamlewis
Dec 28 2017 23:38 UTC
Remind me - are you running on dev or master?
Ivica Suran
@isuran
Dec 28 2017 23:39 UTC
master
Dana Lewis
@danamlewis
Dec 28 2017 23:39 UTC
Ok. Might want to try dev - there are some x12 fixes in dev
Ivica Suran
@isuran
Dec 28 2017 23:41 UTC
Thanks, I'll try