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

13th
Mar 2017
Dana Lewis
@danamlewis
Mar 13 2017 00:00
It’s got very specific instructions on what to close or when to open a new window, so if you’re struggling on that piece, it might be good to follow those. And re-flashing doesn’t hurt anything.
Terri Lyman
@tatigger
Mar 13 2017 00:01
@hayleyml I have resorted to taking pics with my phone and/or copying and pasting to a word document, so the files I edited can be reviewed for accuracy after they're gone, or repeated, when I redo it AGAIN. LO
David
@dakago
Mar 13 2017 00:02
cool thanks dana, I had made a couple of those on my own. I was actually going to suggest that maybe it get included in the setup script aliases. would help average users.
Dana Lewis
@danamlewis
Mar 13 2017 00:02
yea, we added l and wifi as default; either suggestions welcome for including in default, or PRing and adding suggested ones to the list for people to add on their own
hayleyml
@hayleyml
Mar 13 2017 00:02
Yeah I think so. It wouldn't let me flash using the instructions so I clicked the link to go to the Mac setup. I had to add just the Jubilinux from there but only added the image which I'm concerned didn't work completely. I'd really like to start over. So re-flashing isn't adding multiple programs to the same Edison/computer thingy? Anytime I don't think it looks right I close it. but I suspect it goes somewhere. I'm worried that all of this stuff will make it impossible in future. If I refresh it can I start from scratch?
Terri Lyman
@tatigger
Mar 13 2017 00:03
Nope, overwrites it @hayleyml
Dana Lewis
@danamlewis
Mar 13 2017 00:03
yes, just start over then - I’d try following the Mac instructions, and stop and ask if you’re unsure before closing anything - the Mac ones are pretty good about specifying when to open and how to spot problems vs. success and when you’re ready to move to the next step.
(h/t @Kdisimone for all her hard work on that version)
RedCyclist1
@RedCyclist1
Mar 13 2017 00:30
ok, once entere the Hostname scpript, i get the following... any ideas? sudo hciconfig hci0 name $HOSTNAME
Can't get device info: No such device
diabeticgonewild
@diabeticgonewild
Mar 13 2017 00:36
Going to re flash due to errors on openxshareble and avahi-daemon login issues where EdisonName@edison.local doesn't work, but pinging it after logging in works, and accessing the edison via IP address works. Such a pain. And I've been sick for the past month with various problems. 3 UTIs, puking big time at times, and fevers, so FML.
Flashing now via admin account on Windows
Terri Lyman
@tatigger
Mar 13 2017 00:42
@RedCyclist1 start over with the killall command. Bluetooth tethering, right?
Did you use Capital letters in the MAC address?
RedCyclist1
@RedCyclist1
Mar 13 2017 00:44
I restarted, I think 10x, caps for MAC address... figured I would try and reboot edison
gregtcm
@gregtcm
Mar 13 2017 00:45
What is the correct setup to read BG values from nightscout. I have the xDrip+ direct to OpenAPS via the REST upload, but want to know how to get OpenAPS to read my BG values directly from nightscout.
Dana Lewis
@danamlewis
Mar 13 2017 00:45
@gregtcm give it your NS URL during setup script
Terri Lyman
@tatigger
Mar 13 2017 00:45
Don't forget to recheck that BT tethering is enabled on your phone. LOL @RedCyclist1 don't ask why I said that.
gregtcm
@gregtcm
Mar 13 2017 00:47
@danamlewis This is what I have:
oref0-setup --dir=/root/myopenaps --serial=XXXXXX --cgm=xdrip --ns-host=https://xxxxxxxxx.herokuapp.com --api-secret=xxxxxxx --tty=/dev/spidev5.1 --enable=' autosens autotune meal ' --radio_locale='US'
But when I turn off my REST upload, I start getting the BG data is too old message.
Dana Lewis
@danamlewis
Mar 13 2017 00:49
Is your rig online?
gregtcm
@gregtcm
Mar 13 2017 00:49
@danamlewis I have run. BRB.
Yes
SSH & Ping is good.
Terri Lyman
@tatigger
Mar 13 2017 00:51
Why would you turn off Rest upload, @gregtcm ? Aren't you running "offline"?
And then the system uploads to nightscout from the Edison through the bt tether?
diabeticgonewild
@diabeticgonewild
Mar 13 2017 00:55
Has anyone had to MANUALLY install openxshareble before using the setup script, due to the setup script generating non-decipherable errrs?
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:06
Has anyone had to manually install openxshareble due to setup script errors?
RedCyclist1
@RedCyclist1
Mar 13 2017 01:06
@tatigger Yeah, I did that too, last time I got BT to work but it is on. Would it be easier to just plug directly into my Dexcom receiver instead of trying to bluetooth through my iphone?
Terri Lyman
@tatigger
Mar 13 2017 01:09
Once I had stopped making my mistakes, the process was relatively easy. I need it to work for travel... but I don't know if it would work via cable. Some do and some don't @RedCyclist1
Dana Lewis
@danamlewis
Mar 13 2017 01:10
@diabeticgonewild no one has been running openxshareble since it's not a know reliable setup
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:11
@danamlewis Then how do you connect via G4 usually? Like offline
Preferrably via setup script
Dana Lewis
@danamlewis
Mar 13 2017 01:11
Plugged in to the board
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:12
Oh, does it require extra power?
Like USB battery pack?
Also, thanks! :D <3
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:15
@danamlewis Thank you so much! Do you think we should make the setup guide based on paths, with respect to hardware setup? Like separate guides for each particular setup, but with the same substinance as the main guide?
I think that would make things a lot cleaner
Like a go-to guide for each particular setup. With a cheat sheet and a full guide.
1 page cheat sheet
gregtcm
@gregtcm
Mar 13 2017 01:18
Why would you turn off Rest upload, @gregtcm ? Aren't you running "offline"?
@tatigger Because I'm having phone issues. Also, I am curious and would like to know for backup purposes. :)
Dana Lewis
@danamlewis
Mar 13 2017 01:18
That would seem very hard to maintain given the plethora of hardware options that can be used for building plus the plethora of options for actual rig parts.
gregtcm
@gregtcm
Mar 13 2017 01:19
@danamlewis I'm back. Any thoughts on why my rig won't pull data from nightscout?
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:19
@danamlewis Not insurmountable. But it would make things clean and easy to follow. It's no different that writing the guide as it is now, just cleaner and easier to follow.
We could start off with one particular setup
And go from there
Dana Lewis
@danamlewis
Mar 13 2017 01:21
I didn't say insurmountable, but given my experience with maintaining these things, that would be very hard to keep up to date long term
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:21
I could start finding the combinations right now. It would make sense that way. And leave the main guide as is (and maybe add the information that would be made later on).
We could add tags so that we could find where we needed to update.
This stuff is nice, but it's a lot of stuff to sort through in the guide, and a lot of clean up (which I haven't been able to do from being sick...my sister's wedding...then being sick again...for a month)
Dana Lewis
@danamlewis
Mar 13 2017 01:22
Then we start having duplicate places to update same info - huge burden for updating, and causes confusion to people reading the docs.
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:23
Not if we add tags and follow the format of the guide
Dana Lewis
@danamlewis
Mar 13 2017 01:23
(I get that the docs aren't perfect - not saying they are. But important to think about sustainability and the level of effort required)
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:23
It's not that much effort. Trust me. It's a matter of planning it.
Dana Lewis
@danamlewis
Mar 13 2017 01:28
@diabeticgonewild let's keep the discussion in the open so others can contribute as well.
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:28
Got it
RedCyclist1
@RedCyclist1
Mar 13 2017 01:28
@danamlewis what is the difference between plugging desxcom into board or having it run bluetooth?
Dana Lewis
@danamlewis
Mar 13 2017 01:29
Plugging it in means it can pull bgs straight from the device
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:29
I think it would be nice to have a cheat sheet (a walkthrough for each setup), referencing particular parts of the docs that are specifically relevant, and places to pay close attention to, as clean as possible.
Dana Lewis
@danamlewis
Mar 13 2017 01:30
@redcyclist1 Receiver can only be paired to one device w bt, so if you like it to go to your phone to Dexcom servers and Ns, you can't also pair it to the rig
RedCyclist1
@RedCyclist1
Mar 13 2017 01:32
@danamlewis ah ok... why not just keep the rig running via bt vs. wifi? Battery power?
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:32
we get from other device makers: Dexcom, Medtronic, Tandem, etc.
I think we need something that appears professional, so that it doesn't look like a hobbyist project or an amateur medical device. Let's give documentation that shows people that OpenAPS is something that people can set up, in a non-intimidating way. We need to make it look as clean and as polished as possible to the quality of the product documentation that
Dana Lewis
@danamlewis
Mar 13 2017 01:32
@RedCyclist1 do you mean hotspot wise? And yes less battery for bt hotspot vs wifi hotspot
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:33
I am going to polish the Docs, don't get me wrong, and I am going to have it using the CommonMark (Markdown convention) documentation guidelines, so it looks clean.
But, we need to at least have reference sheets for each particular setup. That is a place that people decide to quit on OpenAPS. Because it looks intimidating and they don't know what to do with all of the devices.
The particular setups, with particular uses of X, Y, and Z devices, is where people get intimidated and quit.
RedCyclist1
@RedCyclist1
Mar 13 2017 01:35
@danamlewis right now I have the rig running on bluetooth, but I did not do the test... Although wifi is off and rig is still running. It doesn't seem like I need to run the ability to pick up wifi or bluetooth when I just keep it on BT. Am I thinking about that right?
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:37
But I don't see any reason why our docs can't be as clean and as easy to follow as a Medtronic, Dexcom, or Tandem manual
gregtcm
@gregtcm
Mar 13 2017 01:40
Looking at my ns-loop log, I see this:
Starting ns-loop at Sun Mar 12 18:37:03 PDT 2017:
ns://JSON/shell/cgm/ns-glucose.json
No JSON object could be decoded
diabeticgonewild
@diabeticgonewild
Mar 13 2017 01:41
And a 1 page reference sheet is always good, and we could make a "convention" (format) for each reference sheet to follow, so that each reference sheet matches each other with respect to content and appearance.
gregtcm
@gregtcm
Mar 13 2017 01:41
Does this help provide a clue?
I believe the upload part is working ... says Uploaded
yohanagarwaal
@yohanagarwaal
Mar 13 2017 02:28
I am having trouble connect my G4 with Share receiver to my iphone. Any ideas? How to make sure loop is picking up signals from the receiver.
Dana Lewis
@danamlewis
Mar 13 2017 02:29
@yohanagarwaal are you using Loop or OpenAPS?
yohanagarwaal
@yohanagarwaal
Mar 13 2017 02:33
@danamlewis I am using loop. I
Pete Schwamb
@ps2
Mar 13 2017 02:34
@yohanagarwaal There is a separate gitter for Loop, that might get you answers faster.
Dana Lewis
@danamlewis
Mar 13 2017 02:35
K. Might want to hop into https://gitter.im/LoopKit/Loop @yohanagarwaal
Jinx @ps2 :smile:
ps2 @ps2 makes muffled sounds because he’s jinxed.
yohanagarwaal
@yohanagarwaal
Mar 13 2017 02:39
Thanks guys
Dana Lewis
@danamlewis
Mar 13 2017 03:13
@RedCyclist1 I am not sure if there's a typo or otherwise I am having a hard time understanding the scenario/question.
Stephen Chandler
@stephenc95
Mar 13 2017 03:17
Does anyone know what range you should get with the edison and medtronic x22 pump?
Dana Lewis
@danamlewis
Mar 13 2017 03:20
what stick/board combo?
(the radio stick is what determines your range)
Stephen Chandler
@stephenc95
Mar 13 2017 03:20
edison and v1.2 explorer board
RedCyclist1
@RedCyclist1
Mar 13 2017 03:21
@danamlewis Sorry Dana, there are instructions to automate the use of wifi when at home and then automate to bt when out of range. I am thinking of just keeping it on bluetooth all the time since you mentioned the battery is more efficient.
Dana Lewis
@danamlewis
Mar 13 2017 03:22
the power efficiency is for the phone in that case (bluetooth vs wifi hotspot)
Stephen Chandler
@stephenc95
Mar 13 2017 03:22
Also, when looking at my loop logs, I get the following error. Could not parse input data: [TypeError: Cannot read property 'date' of undefined]
Is that error normal?
Dana Lewis
@danamlewis
Mar 13 2017 03:23
@RedCyclist1 so most people still want to wifi at home and and not run down their phone battery
RedCyclist1
@RedCyclist1
Mar 13 2017 03:23
@danamlewis gotcha thanks
Dana Lewis
@danamlewis
Mar 13 2017 03:25
@stephenc95 range will vary based on whether your pump is in direct line of sight of the rig or not; but you should get a couple of feet for standard use. many people can get the rigs to read across rooms or through walls to multiple rooms.
Rachel.
@Racheezy__twitter
Mar 13 2017 03:30
Running xdripAPS... Any treatments entered in xdrip don't show up in NS. Does that affect openaps COB?
Dana Lewis
@danamlewis
Mar 13 2017 03:34
check your logs and see if they’re being pulled locally
For anyone who was struggling with IFTTT - that page has been updated w/ newer screenshots that reflect IFTTT’s current web struture, which may help: http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-4/ifttt-integration.html
Dana Lewis
@danamlewis
Mar 13 2017 03:41
(which also serves as your friendly reminder to refresh the page of the docs you’re on periodically, if you’re leaving them open in tabs, because we have rounds of edits going on to multiple sections and pages at all hours of day and night, so if it’s been an hour or two since you last opened that page, it’s always worth a refresh so you can catch the best version we’ve updated to)
Dana Lewis
@danamlewis
Mar 13 2017 03:51
@stephenc95 is it looping? or not looping, and that’s the error?
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:05
OK I had a working Jubilinux install, but reflashed due to not having avahi-daemon and configuration issues. I can flash but I can't SSH in effectively. I know that it starts and restarts several times on the Explorer Board, but for how long does that go on before I can disconnect when flashing via Windows?
Scott Leibrand
@scottleibrand
Mar 13 2017 04:06
@diabeticgonewild Please remember that OpenAPS is a work in progress, so any docs that do get produced require a continual effort to keep them up to date, and manage all the edits that everyone wants to make to them. If you'd rather go pay $8000 to get a shiny new 670G with its shiny full-color documentation written by team of tech writers with a million-dollar budget, feel free. But if you're instead paying $0 to use OpenAPS because you feel this "hobbyist project" is a better solution for your needs than an expensive new commercial medical device, perhaps the lack of "polish" from the "amateurs" building the whole thing with zero budget isn't such a big deal. If you want to follow @Kdisimone's lead and actually go do the work to produce a walkthrough document, with extensive screenshots, for a particular configuration, and do the work she and @danamlewis have done to cleanly integrate it into the docs, great. But until you've actually put in the hours to produce something tangible, please don't complain about your inability to do so, or about the work of others who have put in the hundreds or thousands of volunteer hours to get us where we are now. I really do appreciate how much you have done to pay it forward and help others with your setup video and helping people in Gitter: if you can just keep doing that kind of thing when you can, that does a lot to motivate everyone else to help make things easier for the people who still need help working through the docs as they are today. (Oh, and BTW, I did find someone who put your broken pump to good use testing things: thanks!)
with regard to re-flashing, you generally need to get on console and hit Ctrl-D during one of the initial boot sequences...
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:07
I do agree. I have just been sick the past 2 months.
Scott Leibrand
@scottleibrand
Mar 13 2017 04:07
I think the only thing the board needs at that point is to be powered on so it can boot up, and get the Ctrl-D at the right point
so the OTG cable shouldn't really matter any more, just the UART one
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:08
I have worked on this. I don't know why you are using your political clout to publicly shame me @scottleibrand
Completely inappropriate @scottleibrand
Scott Leibrand
@scottleibrand
Mar 13 2017 04:09
are you able to connect to the Edison over serial console to watch the reboot cycles and do the Ctrl-D at the appropriate point?
Scorponok
@Scorponok
Mar 13 2017 04:09
@diabeticgonewild, I don't think @scottleibrand is trying to shame you - he's just pointing out how things work (by necessity) on an open source project
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:09
You shouldn't abuse your position. Which you are. You could have messaged me privately, which would have been more appropriate.
Just because I said that things could be polished, which I am willing to do, doesn't mean that you should take such an aggressive stance against how i feel that this project can be improved. Instead you are conjuring and insinuating that I am saying that this project sucks.
And you are being inappropriate @scottleibrand
So way to go. I don't know what you are trying to prove.
Scott Leibrand
@scottleibrand
Mar 13 2017 04:12
Feel free to vent if that makes you feel better: I'll be back in a bit if you want to get back to troubleshooting.
gregtcm
@gregtcm
Mar 13 2017 04:13
@scottleibrand Would you give me some pointers how to debug my OpenAPS not able to download my BG info from Nightscout?
Looking at my ns-loop log, I see this:
Starting ns-loop at Sun Mar 12 18:37:03 PDT 2017:
ns://JSON/shell/cgm/ns-glucose.json
No JSON object could be decoded
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:13
@scottleibrand If you don't think that what you said was inappropriate, then you have got to be crazy. I just made a SUGGESTION, and you made it into a public reprimand. You should be ashamed of yourself.
gregtcm
@gregtcm
Mar 13 2017 04:14
It is uploading info correctly (carbs, bolus, etc.)
Scott Leibrand
@scottleibrand
Mar 13 2017 04:17
@gregtcm Aside from just checking config, re-running setup, etc., I can think of two troubleshooting approaches: one would be to drill down on the aliases and reports to get to the command that is failing, and see if that gives you anything useful. The other would be to try to construct a curl command equivalent to what OpenAPS is doing, to see if you can figure out why it's not able to get a valid JSON response...
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:19

It is an amateur medical device and a hobbyist project, no matter how great it actually works.

Is it an FDA approved medical device? No

Does it use hobbyist components to control devices? Yes

Is it made by laymen? Yes

If that isn't a reality check, I don't know what is for you. I do think OpenAPS is amazing in all respects. But it is an amateur medical device and a hobbyist project, no matter how amazing it is.

@scottleibrand Get a grip, seriously
Dana Lewis
@danamlewis
Mar 13 2017 04:20
@gregtcm @scottleibrand wonder if it’s related to what we saw from autotune, re: needing auth_default_roles set? (see second to last bullet in http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-4/autotune.html#why-isn-t-it-working-at-all, with a link to the associated issue) Not 100% sure but might be related?
gregtcm
@gregtcm
Mar 13 2017 04:22
@danamlewis @scottleibrand That might be it! I can test that first. Otherwise I can " drill down on the aliases and reports " but wasn't exactly sure where to start from.
Dana Lewis
@danamlewis
Mar 13 2017 04:23
yea, this might be an easier thing to test first
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:26

@scottleibrand You aren't the one who needs infusions of blood products every 14 days, which causes flu-like symptoms for 3-5 days each. You aren't the one who had 3 UTIs in the past 5 weeks. You aren't the one who recently has been getting vomiting attacks so bad with lows every 2 out of 7 days, so bad that you have to inject the FULL DOSE of glucagon. And you aren't the one who needs 2 iron infusions (btw, allergic to the medicine and got sick from that) in order to have energy. You aren't the one in PT 3 days a week. And you aren't the one battling 2 rare autoimmune neurological diseases on top of T1D.

But, you pretty much knew that, and you made a long tirade saying that I should put the effort forth. Well guess what? I have been trying.

And you should be embarrassed to have insinuated that I wasn't working on this project. It is abusive, especially to put it out publicly. You should be ashamed of yourself.

Scott Leibrand
@scottleibrand
Mar 13 2017 04:30
@diabeticgonewild I think you misunderstood me. I'm not saying you should put in more effort. Rather, I'm saying that rather than coming here to complain about the work that others (who are in a better position to be able to put in the hours required) are doing on the docs, you should focus on the areas where you are doing a great job of paying things forward, even in the face of all your health issues and other things.
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:30
I wasn't complaining
So way to go on the tirade!
Stephen Chandler
@stephenc95
Mar 13 2017 04:32
@danamlewis It is looping. I was just wondering if that is normal or if anybody gets that in their logs.
Dana Lewis
@danamlewis
Mar 13 2017 04:33
@stephenc95 probably just a fluky data entry where it was expecting a date and couldn’t find one
glad it’s working :+1:
gregtcm
@gregtcm
Mar 13 2017 04:35
@danamlewis @scottleibrand And just like that I'm looping again! It still has some BG data is too old messages in the log, but I'm thinking that will clear itself out. I have a new temp basal, so I think we are good to go.
Dana Lewis
@danamlewis
Mar 13 2017 04:35
oh, hooray - so that fixed it?
@gregtcm think that’s worth PRing as a troubleshooting note at the bottom of the xdripAPS section so we can remember it for others in that situation?
gregtcm
@gregtcm
Mar 13 2017 04:36
Should I make a note of this somewhere? Add a note to an issue somewhere?
gregtcm
@gregtcm
Mar 13 2017 04:38
Ok, I can add it there. Would there be a quick way to add in the api secret somewhere?
Dana Lewis
@danamlewis
Mar 13 2017 04:39
I think that fix is in oref0-dev and will be part of the next release (see this PR openaps/oref0#424, and this commit: https://github.com/openaps/oref0/pull/424/commits/39c8a77f298783cab18900d074fe6532f995f6ab)
h/t to @beached for working on that
gregtcm
@gregtcm
Mar 13 2017 04:40
@danamlewis I'm not sure that is the best spot. This would be for online looping. My offline looping was working fine ... until my phone decided to have a bad day (wifi and bt won't stay on).
Scott Leibrand
@scottleibrand
Mar 13 2017 04:41
@gregtcm someone might also need to do this to fix it across the board: https://github.com/openaps/oref0/pull/407#issuecomment-283829333
gregtcm
@gregtcm
Mar 13 2017 04:42
I'll figure that out. And I am running on dev, so I believe I have that ... I did have to add my fix since my looping autotune wasn't working. I was going to check that if autotune would work tonight.
Yes, @scottleibrand , I think there needs to be a broader implementation of this. Do you want me to add a comment to that issue, or is there another issue to comment on ... or does the issue need to be created?
Thanks again @danamlewis for remembering this issue. :) Happy to be looping again!
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:48
@scottleibrand Just FYI, I wasn't complaining. And to publicly reprimand someone is an abuse of your position on this project.
Dana Lewis
@danamlewis
Mar 13 2017 04:48
@gregtcm :+1:
diabeticgonewild
@diabeticgonewild
Mar 13 2017 04:53
Anyway, thanks. Ctrl + D worked.
eliotsdad
@eliotsdad
Mar 13 2017 04:59
Aloha, quick time change question. Everything is working fine, Edison has the correct time (as do the Dex receiver, and uploader phone) but the graphical representation of the basal changes on NightScout appears to be an hour behind. NightScout BG readings are lining up with the correct time. It isn't impacting functionality, but I was wondering if y'all had experienced anything like this, and if there was a quick way to fix it.
sefish99
@sefish99
Mar 13 2017 05:00
…I just recently realized I hadn’t changed my pump time
Scott Leibrand
@scottleibrand
Mar 13 2017 05:01
@eliotsdad I'm guessing your pump time is wrong. Yeah, what @sefish99 said. :)
eliotsdad
@eliotsdad
Mar 13 2017 05:01
sweet! yeah, forgot that little (medically necessary) device! I changed the clock on the microwave and stove, though!
Scott Leibrand
@scottleibrand
Mar 13 2017 05:04
lol
eliotsdad
@eliotsdad
Mar 13 2017 05:08
Thank you for the assist @sefish99 and @scottleibrand
jcorbett80
@jcorbett80
Mar 13 2017 10:33
@diabeticgonewild in Windows it cycles alot. However most of the time it goes into troubleshoot mode is why. It stalls at 1 point waiting for your input. The problem is where it tells to it is in troubleshoot mode is not at the point it stalls and waits. If you scroll up it is there. If I remeber correctly it is a paragraph before a list of repeating lines. I had to full screen mine to figure it out. At that point I Hit Ctrl-D and it continued some more recycles but different ones that let me know it was doing what it needed and all worked. I want to get a screen grab using the snipping tool in Windows if you one one. I will put in the docs. I am also fully disabled and have a little more time than some others. I also am taking screen shots of other steps. Maybe between us we can get visuals of each step they are needed.
Tim Street
@tim2000s
Mar 13 2017 12:47
Does anyone use a cronned schedule to set eating soon? I figure it would make sense on weekdays for me...
Diabetic_Dude
@diabetic_dude_twitter
Mar 13 2017 13:00
wouldn't it would be just as easy to set the targets permanently in nightscout ?
I personally ruled against it because of murphy's law.
Matthias Granberry
@mgranberry
Mar 13 2017 14:25
My loop has powered off at night during the last two nights right around midnight. I had it plugged into a charger and the battery doesn't appear to have been drained and there isn't anything suspicious in the system logs. The system just stops, leaving even the red power LED on the explorer board off. I'll leave the serial console plugged into a computer for tomorrow, but I wanted to see if there's a known issue that I'm dealing with.
The last log entry that I see is a DHCP lease renewal at 12:01 AM
jcorbett80
@jcorbett80
Mar 13 2017 15:33
@mgranberry every outer releases all leases at a certain interval. Some Re daily some are longer. You may need to go into your router settings and see when yours is. If it istill and decide if you need to change it.
Matthias Granberry
@mgranberry
Mar 13 2017 15:37
I wouldn't have expected the device to shut off at the end of a DHCP lease. I think that's just a red herring, but shrug.
Arsenijs
@CRImier
Mar 13 2017 15:56
Yeah, not sure DHCP is relevant, indeed..
jmcrawford
@jmcrawford
Mar 13 2017 16:35
@mgranberry Are you running Autotune at midnight?
Matthias Granberry
@mgranberry
Mar 13 2017 16:35
yes
jmcrawford
@jmcrawford
Mar 13 2017 16:36
I wonder if the extra processing is causing it to pull more current than the charger can put out, causing it to brown out?
Dana Lewis
@danamlewis
Mar 13 2017 16:37
@mgranberry did you change anything, or do a new setup 3 days ago?
Matthias Granberry
@mgranberry
Mar 13 2017 16:38
Why is 3 days important? I've run oref0-setup from the SMB branch if that's what you're asking. The hardware hasn't changed.
Dana Lewis
@danamlewis
Mar 13 2017 16:39
Because you said it happened starting the last 2 nights ;)
Wondering if that would help you pinpoint any changes made that could help pin down problem areas
Is that when you ran it?
Matthias Granberry
@mgranberry
Mar 13 2017 16:42
I think the power supply suggestion is a good one. I used a different one then.
This feels more like a hardware issue than a software one, and ripple on an overloaded power supply would fit pretty well.
Dana Lewis
@danamlewis
Mar 13 2017 16:44
:+1: easy to test too
Matthias Granberry
@mgranberry
Mar 13 2017 16:46
I do see the beginning of the autotune logs from last night and it shuts down sometime during the run.
Matthias Granberry
@mgranberry
Mar 13 2017 16:55
I also found a string of nulls coming from mmtune in the log file from when it went down too. That still kind of sounds like it might be a power supply issue.
Matthias
@ceben80
Mar 13 2017 17:02
@tim2000s a cron triggered eating soon are you setting via NS? What's your cron line, sounds interesting...
Dana Lewis
@danamlewis
Mar 13 2017 17:04
@tim2000s @ceben80 if it's that regular, adjusting scheduled targets down prior to mealtime would also achieve that
Diabetic_Dude
@diabetic_dude_twitter
Mar 13 2017 17:20
IMG_2092.PNG
Dana Lewis
@danamlewis
Mar 13 2017 17:21
Nice icons :smile:
Diabetic_Dude
@diabetic_dude_twitter
Mar 13 2017 17:22
I never did get the IFTTT maker buttons to work how the instructions said to set them up.... However, I am very happy with my work around.. Just used Launcher and the testing web pages
Dana Lewis
@danamlewis
Mar 13 2017 17:22
Nice. You were probably a day before @Kdisimone updated the screenshots in the ifttt docs. Either way, glad you got i t going!
Diabetic_Dude
@diabetic_dude_twitter
Mar 13 2017 17:23
do you think instructions on how to do it are worth adding to everything.. cool if she already did it then good :)
Heck I am just happy with the results I am getting as of lately the 90 ---> says it all
Dana Lewis
@danamlewis
Mar 13 2017 17:25
:clap: :raised_hands:
Lorenzo Sandini
@lsandini
Mar 13 2017 17:56
hi, a little help with my crontab ? I added a line to reboot every hour, but it surely isn't rebooting :worried:
tried both commands "/30 sudo reboot" and "/30 shutdown -r", non works
Lorenzo Sandini
@lsandini
Mar 13 2017 18:15
strange the * character disappears here... Well it seems "sudo shutdown -r" is the right syntax.
Matthias
@ceben80
Mar 13 2017 18:20
Same as sudo reboot
fjungman
@fjungman
Mar 13 2017 19:32
I have the same issue. I have it set to once a day, at 2am, but it doesn't ever execute.
sudo shutdown -r now
Lorenzo Sandini
@lsandini
Mar 13 2017 19:34
I have now /30 * sudo shutdown -r and it reboots every 30 min.
fjungman
@fjungman
Mar 13 2017 19:37
Ok, I'll try yours. Are you still trying to get it to run every hour, or is it working as you want it to now?
dan lightner
@danimaniac
Mar 13 2017 19:40
Where do you have your cases 3d printed? I want to protect my rig, have already designed a case, but don't really know where to go from here?
peterfulvi
@peterfulvi
Mar 13 2017 19:45
@danimaniac I get mine done makexyx .You can upload your STL and decide what material to use and pay right on the spot there pretty good. Check it out https://www.makexyz.com
Paul Tinson
@ptinson
Mar 13 2017 19:47

@Bender1061 Thought I would update you and the channel with where I am at. I have managed to get the GPS and 3G connection working with the Edison and explorer board. So now the rig I am putting together has its own dedicated 3G mobile connection that i can control from linux.
I will be doing some power draw tests tonight to see if i need to get a bigger battery.

The big win for me is that I can now collect the GPS data locally to the edison and when my daughters BG drops below 4 mmol it will start updating the mongo database with the last 100 GPS locations as well as new ones until her BG is above 4. It also sends me a txt so i know something is happening.

Lorenzo Sandini
@lsandini
Mar 13 2017 19:58
@fjungman I set it to reboot every 30 min for now, just to be sure. I'll try 60 or 120 minutes in the future. The Carelink stick really is unreliable. Waiting for my TI-stick for the test rig, and my edison/explorer board.
Scott Leibrand
@scottleibrand
Mar 13 2017 19:58
@ptinson what are you using for 3G? how difficult is that to integrate?
Paul Tinson
@ptinson
Mar 13 2017 20:38
@scottleibrand I am using the simcom 5360A the board i am working with is an eval board right now but adafruit have a similar device which is smaller.
Setting it up is actually very simple. when it connects you get 4 new serial interfaces /dev/ttyUSB0-3.
You just need to setup ppp to use /dev/ttyUSB3 for data.
/dev/ttyUSB1 is the NMEA sentence output and i use gpsd to turn that into something easy to consume from python.
I have been a little over the top and use redis as the store for gps data on the edison
you could just use a python list, or a file
jdunn42
@jdunn42
Mar 13 2017 20:39
@danimaniac I used 3dhubs.com. They show you people near you who can do the printing and how much each charges. In some cases, you can avoid shipping altogether.
Paul Tinson
@ptinson
Mar 13 2017 20:40
the biggest issue is that my explorer board doesnt have voltage on the OTG port so i have had to jerry rig a power circuit to support the simcom module
Scott Leibrand
@scottleibrand
Mar 13 2017 20:53
or use an external USB battery on the UART port?
I'm not sure how widely useful the GPS stuff would be, but I suspect there'd be a lot of people who'd love to build themselves a rig with built-in GSM so they can dispense with Bluetooth and wifi entirely. so if you have any good directions for getting that set up, I think they'd be quite useful
would combine well with the VPN thing too
peterfulvi
@peterfulvi
Mar 13 2017 21:16
What are someof the ifttt buttons i can make. I've done eating soon and cancel temp. What are the treatment buttons for, especially the low treatment and the 15, 60gram carb buttons, doe thes administer boules or does it enter static imformation th NS. I wouls lke to set them up. If any have suggestions.
Dana Lewis
@danamlewis
Mar 13 2017 21:17
@peterfulvi it just enters the information into NS for you; you’d still need to bolus (either via easy bolus button if you prefer, or via bolus wizard)
so most people pick carb amounts for buttons that are their most common carb entries
peterfulvi
@peterfulvi
Mar 13 2017 21:20
Ok. Thts cool. Im trying to get some data for my ENDO who isreccomending the 670 when it comes out, i want to blow him away by telling him im looping already. Were can i find thecode to do a easy bolus button and would that administer insulin(WARNING!!!)
Dana Lewis
@danamlewis
Mar 13 2017 21:20
easy bolus button is the up arrow on your pump
it’s not an IFTTT button
so yes, bolusing via the pump would administer insulin
peterfulvi
@peterfulvi
Mar 13 2017 21:21
Oh ok. DUH
Dana Lewis
@danamlewis
Mar 13 2017 21:22
no worries. some people are on MDT pumps for years and miss that feature. one of the best on the pumps IMO
peterfulvi
@peterfulvi
Mar 13 2017 21:23
Great. I'll justmake a bunch of buttons to send info to NS. Thanks
Dana Lewis
@danamlewis
Mar 13 2017 21:23
:+1:
Paul Tinson
@ptinson
Mar 13 2017 21:36
@scottleibrand I will write up how i got it working for 3G.
Yeah , the GPS bit is specific to me and wanting to know where to start looking if i had to for my daughter
The data side is actually very simple, and you can integrate it easily.
A battery on the UART port may be a good test. I really want to keep the form factor as small as possible though and those external batteries arent the smallest.
I will take a look at the online script again and see what would be needed to support a ppp0 interface as well as BT
would be good to have auto fall back to wifi
Tim Street
@tim2000s
Mar 13 2017 21:58
@danamlewis What's the expected behaviour of easy bolus? Press to give dose then press Act to accept?
Dana Lewis
@danamlewis
Mar 13 2017 21:58
Guess what? Hamshield is selling pre-flashed Edisons now that have Jubilinux. I just updated the hardware page to link to that option (http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/hardware/edison.html), and there’s a note at the bottom of the page http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/hardware/edison.html#next-steps-after-you-get-your-hardware that links people directly to the step in the docs where they’d need to continue from (aka log in as root, set up wifi, then move on w/ rest of OpenAPS steps)
Tim Street
@tim2000s
Mar 13 2017 21:59
(And on the cron of temp targets - the main reason for doing it in Cron was that it means I wouldn't have to remember to reset them for weekends)
Dana Lewis
@danamlewis
Mar 13 2017 21:59
@tim2000s up arrow = your pre-set increment (mine is 0.5u). So up arrow the number of times you want, ACT, then it’ll buzz/beep back the number of increments, and act to confirm again.
very handy for when you’re multitasking and/or when pump is under clothing.
@tim2000s yea, cron would probably be easiest if you’re convinced of the regularity need, otherwise pre-scheduling the week via NS might also be a good option for someone who’s not quite sure of needing cron
Tim Street
@tim2000s
Mar 13 2017 22:06
Ah - I hadn't realised that was what it did.
Yeah - whilst i was at work today I realised that I pretty much run Eating Soon the same time Mon-Fri, so having cron set to do that would be handy for both breakfast and lunch (and if I needed it set to coincide with the alarm for DP)
Dana Lewis
@danamlewis
Mar 13 2017 22:08
you may also want to try Waking Up Mode, depending on when you eat vs. wake up
that’s then triggered by an actual behavior vs a schedule, so for holiday etc. it doesn’t bite you in the butt (not that an Eating Soon really would, but you know what I mean)
Tim Street
@tim2000s
Mar 13 2017 22:08
I don't get DP these days, so it's not really an issue.
Paul Dickens
@thebookins
Mar 13 2017 22:09
Our rig stopped working yesterday and when I looked at the logs, there were a bunch of lines like CRON: (CRON) error (create tmpfile). Had to reboot. Suspect that the /tmp mount was full. Anyone else seen this? Would it make sense to add a scheduled reboot every (say) 24 hrs to avoid?
Tim Street
@tim2000s
Mar 13 2017 22:10
@thebookins Yup. I've a cron job that cleans out /tmp every 24 hours. Haven't had a chance to check why, but I think it's Git.
jmcrawford
@jmcrawford
Mar 13 2017 22:10
I've set up a job to check for disk capacity, sends an alert via Pushover if it exceeds a set threshhold. I've not seen /tmp fill up, but /var and /root (both of which are the same slice)
Paul Dickens
@thebookins
Mar 13 2017 22:18
OK, thanks @tim2000s and @jmcrawford I'll add a cron job. Worth a PR? Or maybe not everyone is affected?
Scott Leibrand
@scottleibrand
Mar 13 2017 23:15
@thebookins I have some updates to oref0-reset-git that are in dev (or a PR open to dev, can't remember) that should help with /tmp being full
Paul Dickens
@thebookins
Mar 13 2017 23:41
Thanks @scottleibrand , looks like the latest changes to oref0-reset-git are in openaps/oref0#423. I'll pull and see if it helps. Maybe openaps/oref0#422 too?
Scott Leibrand
@scottleibrand
Mar 13 2017 23:42
I was referring to the 423 ones, yeah
422 won't help much with /tmp, but will help if you have frequent .git lock errors