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

16th
Jun 2017
Dana Lewis
@danamlewis
Jun 16 2017 00:53
That's a great to do for someone to tackle ;)
Katie Aldridge
@kcrcgm
Jun 16 2017 02:30
problem setting up papertrail_start a new aggregate.JPG
I'm trying to set up papertrail. What does this error mean?
Can you guys even see that screenshot? It looks tiny on my screen, lol
First time putting a screenshot in here. ;)
Katie Aldridge
@kcrcgm
Jun 16 2017 02:39
papertrail setup destination file.JPG
If I understand the error in the first screenshot, I must have messed something up in setting up this destination file thing (second screenshot)? Did I do the papertrail number and port correctly?
Mitchell Slep
@moomoobloo
Jun 16 2017 04:38
@scottleibrand yeah i think we figured out the problem with decocare release, i will try to fix it
in the mean time anyone who needs to manually upgrade can run easy_install -U decocare
rsilvers129
@rsilvers129
Jun 16 2017 04:51
Has anyone figured out of rewind_resets_autosens is a net good or not? I guess if I needed a boost because I was sick, I would not want it reset. But if I was being given a boost beacuse of a bad site or old insulin, then I would want it reset. Not sure if there is any way to know.
alternateal
@alternateal
Jun 16 2017 05:15
Quick question - has anybody got comms working to the 640g?
Dana Lewis
@danamlewis
Jun 16 2017 05:21
@rsilvers129 you can always toggle it on and off as it suits you
@alternateal no
alternateal
@alternateal
Jun 16 2017 05:29
@danamlewis thanks - was just talking to somebody who wanted to have a go at it
Dana Lewis
@danamlewis
Jun 16 2017 05:31
I know @applehat also just got hands on a 6xx and has been interested, too
Tim Street
@tim2000s
Jun 16 2017 05:37
@alternateal - although the commands on the contour next link have been figured out, the firmware blocks them. The next step is to be able to crack the over-the-air encryption and do it directly. That uses Zigbee so is going to take a while.
Cameron Chunn
@applehat
Jun 16 2017 05:44
Someone still needs to dump the firmware from a Next Link and try and find the encryption. But yeah, it's all 802.15.4 (like ZigBee) so once that encryption is cracked, the communication Is (hopefully) pretty well understood already.
I unfortunately didn't get a Next Link 2.4 with the pump I got - so I'm not much help there.
Cameron Chunn
@applehat
Jun 16 2017 05:50
I'm pretty hopeful that some form of looping will be doable on the 6-series tho. We know for a fact that bolus-over-radio is possible - the question of basal is still unknown tho. If nothing else, maybe some Extra-super Not-So-Micro Bolus loop. Heh.
Dana Lewis
@danamlewis
Jun 16 2017 05:51
...not without temp basals
Cameron Chunn
@applehat
Jun 16 2017 05:51
Yeah. I don't like the idea either.
Hard to say what all is possible right now is basically the answer tho, @alternateal, with no real timeline either. I do think the 6-series has more potential then newer 5/7 pumps being made to work.
Scott Leibrand
@scottleibrand
Jun 16 2017 05:55
@rsilvers129 if you're actually running resistant, and it's not from an old or failing site, then autosens will figure that out again in a few hours. I think the safety tradeoff is a good one: you won't go low from a sudden increase in sensitivity after a site change, and in exchange it'll be slightly slower to figure out if you're really still resistant. In the mean time it'll still be high temping, just not quite as aggressively.
Cameron Chunn
@applehat
Jun 16 2017 05:56
@alternateal You can upload your pump / CGM data into nightscout now with an Android phone using a Next Link 2.4 and a USB-OTG cable tho, if read-only data is interesting to you!
Benjamin Mammon
@bmammon
Jun 16 2017 05:56
iPhone 7 BT tethering question! My rig connects to my personal hotspot automatically when it becomes out of range of known wifi signals but it doesn't reconnect when I return to a known wifi signal. Anybody know how to reconnect automatically?
Cameron Chunn
@applehat
Jun 16 2017 05:58
Rig connects to BT teather but doesn't get back on wifi when in range? (Sorry, personal hotspot generally refers to a wifi hotspot, so I wanted to clarify)
Benjamin Mammon
@bmammon
Jun 16 2017 05:58
yes, exactly!
Cameron Chunn
@applehat
Jun 16 2017 05:59
Strange. The way oref0-online works, it will prefer your wifi over BT if it can connect and get internet access.
If you disable your BT Teather does it jump back onto wifi?
Benjamin Mammon
@bmammon
Jun 16 2017 06:00
Yes
I have to disable personal hotspot to connect back to wifi. As soon as I turn on personal hotspot, it connects via bluetooth tether
Cameron Chunn
@applehat
Jun 16 2017 06:01
Even if your in range of your personal wifi?
Benjamin Mammon
@bmammon
Jun 16 2017 06:03
yes, it's really weird
it seems like my phone is doing the same thing
if cellular data is on, my phone prefers that over wifi
Could I have done something wrong in the install that is affecting my phone too?
Cameron Chunn
@applehat
Jun 16 2017 06:05
I don't think that's possible, no. It sounds like maybe your home wifi is not providing good internet access and both the rig and phone are falling back to the "I know the internet works here" option.
Oref0-online use to just connect to wifi, but now it connects and verifies it can actually reach a website.
Benjamin Mammon
@bmammon
Jun 16 2017 06:07
hmm, i'm going to call Apple then!
Cameron Chunn
@applehat
Jun 16 2017 06:07
Hold off one second. I have a suggestion but I need to find it in the docs.
Benjamin Mammon
@bmammon
Jun 16 2017 06:07
Okay sure
This is just a guess, but i've had issue with my ISPs DNS servers before, and setting them to Google's DNS servers has always fixed the issue for me. If your comfortable configuring your home wifi router, it's possible to do it there instead so that it takes effect on all devices connected.
Benjamin Mammon
@bmammon
Jun 16 2017 06:10
Thanks so much Cameron!
Cameron Chunn
@applehat
Jun 16 2017 06:11
You wouldn't believe the number of friends who have had "my internet isn't working" issues that I've fixed by setting their DNS servers to 8.8.8.8 and 8.8.4.4
Benjamin Mammon
@bmammon
Jun 16 2017 06:11
Hahahaa, google to the rescue
Cameron Chunn
@applehat
Jun 16 2017 06:12
I figure they have indexed most of the internet, so their Domain Name Servers probably know where everything is ;)
Miiko
@tw_miiko_twitter
Jun 16 2017 08:39
Thank you OpenAPS, great! I am looping in day 2, but did not know why, it shows the purele line after meal time so funny
Miiko
@tw_miiko_twitter
Jun 16 2017 08:56
how can I picture or images upload post
Matthias
@ceben80
Jun 16 2017 09:49
@tw_miiko_twitter drag and drop the pic from your PC into here :wink:
peterfulvi
@peterfulvi
Jun 16 2017 11:40
Can i use my G4 transmitter without the receiver using xdrip on an android phone to run openaps
peterfulvi
@peterfulvi
Jun 16 2017 12:19
That was Xdrip
X drip
Sorry
cameronrenwick
@cameronrenwick
Jun 16 2017 13:03
yes you can @peterfulvi ..that setup is exactly what I do
sorry.. should clarify.. your phone uploads to NS (phone doesn't run openaps)
fidoman
@efidoman
Jun 16 2017 15:26
@scottleibrand - when is enact/enacted.json and enact/suggested.json used versus enact/smb-enacted.json and enact/smb-suggested.json used?
Scott Leibrand
@scottleibrand
Jun 16 2017 15:29
The SMB ones are used if you have SMB enabled and are using oref0-pump-loop in microbolus mode.
fidoman
@efidoman
Jun 16 2017 15:36
@scottleibrand - Thanks! I figured that might be the case but wanted to make sure. I'm working on some updates (or options) based upon the python SimpleHTTPServer implementation that Matthias created.
Andy Sharrow
@dramageek
Jun 16 2017 16:58
@peterfulvi clarify- there's two kinds of xDrip:
  1. A hardware device by that name. I think that's what @cameronrenwick is thinking of.
  2. xDrip/xDrip+ the Android app. In this case, you'll still need your Dexcom receiver for the G4. Now, if you switched to G5 you won't need the receiver, as it can talk directly to the app on your phone.
Either way, to run true openaps you'll still need an edison+explorer/Pi+TI, etc. There's another project that is working on implementing oref0 directly on the phone, but the name is escaping me at the moment. AndroidAPS?
marafie
@marafie
Jun 16 2017 17:11
I have agreed with a developer to install Nightscout on the rig and provide me with documentation, he will be testing the installation on VM running with jubilinux OS. Once he is 100% sure I will be testing the VM via linking my uploader to upload to the VM.... hoping after that I can test it on my offline closed loop ....
No idea if he will fulfill his agreement with me, he promised to submit it in 5 days
If any of you has suggestions please to share with me your thoughts
Andy Sharrow
@dramageek
Jun 16 2017 17:21
@marafie Nightscout ON the rig? I believe it's been done, but I thought that it was storage-intensive enough to make it impractical.
I suppose offline visualization would be better, but outside of that I don't see any gains. What are you trying to do?
David
@david-t1
Jun 16 2017 17:21
if I input carbs into pump, will the openaps algo take them into account?
marafie
@marafie
Jun 16 2017 17:22
I asked the develiper to limit the storage to few days
I have seen a that it has been working on a raspi
If you can share the Nightscout running on the rig it would be great ... I would like to see the NS interface for offline use... my rig now is offline for the past 2 days ..... using NS to enter few info like when I want to goto the gym .... etc using the portalcare
Andy Sharrow
@dramageek
Jun 16 2017 17:24
@david-t1 Yes. They'll get pulled with the rest of the pump history. That's how I input mine, with the bolus wizard. Though I am reconsidering that, as I'm starting to get A52 errors running the SMB loop.
marafie
@marafie
Jun 16 2017 17:27
@dramageek And getting info if the rig is on or no .... now to check if the rig is working I do check the pump abs see it it has temp basal and when was it set and how many mins is remaining
David
@david-t1
Jun 16 2017 17:27
tx, I can't tell from the pump-loop log that carbs are being factored in when the algo determines its temp basals
Scott Leibrand
@scottleibrand
Jun 16 2017 17:28
@david-t1 you should see the COB from the pump-entered carbs in your OpenAPS pill
David
@david-t1
Jun 16 2017 17:29
ok, I don't use NS but really I just wanted to confirm that the algo does take into account carbs if I input them
marafie
@marafie
Jun 16 2017 17:29
@dramageek and yes offline visualization is better. Since I travel a lot I need to have it working
Scott Leibrand
@scottleibrand
Jun 16 2017 17:31
@dramageek you can avoid A52 errors by making sure that SMB isn't trying to bolus while you have the bolus wizard open. there are a few ways to help with that. you can disable SMB with temp targets, so that it won't start until after the first bolus / carb entry. if you need to do a bolus wizard while SMB is still running from a previous meal, you can do a tiny easy bolus, and then once oref1 reads that you'll have 3 minutes before it can do its next SMB.
anyone care to PR these tips into the oref1 docs?
Andy Sharrow
@dramageek
Jun 16 2017 17:38
@marafie I can't find it. I remember seeing mention of it on here, but that's all. If I remember correctly, they deemed it impractical so they probably never wrote up instructions for it.
I did find this that I don't remember seeing before. Looks like it was added a month or so ago to the readthedocs:
http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-1/offline-looping-and-monitoring.html#creating-an-information-web-page-that-can-be-picked-up-using-the-rig-s-url
That would give you some info- wouldn't let you set temp targets or such, though.
Scott Leibrand
@scottleibrand
Jun 16 2017 17:41
If you have a developer who's willing to help, another option is to have them help with the OpenAPSApp we just started working on. That might be a bit more of a long-term project, though.
marafie
@marafie
Jun 16 2017 17:46
@scottleibrand I don't have a specific developer ... I usually deal with freelancers on freelancer.com ...... if you guys need funding I can contribute on a monthly basis ...... if you have the final app specifications I can post a project to see if someone is welling to develop it and what's the cost behind it.... but someone has to do the following up with the selected freelancer .... I have been involved in several mobile apps before that have the budget of 3000-6000 usd for each app.
@dramageek the rigs URL doesn't work with me every time no idea why I think the simple http service needs to be fixed or refreshed
Scott Leibrand
@scottleibrand
Jun 16 2017 17:47
@marafie ok, thanks. I don't think we're quite to that point yet. still lots of work to be done figuring out what's possible and what exactly we want it to do.
marafie
@marafie
Jun 16 2017 17:52
@scottleibrand I asked the developer that if he does a good job with the NS I am welling to hire him to do an interface that does the installation automatically .... like jail breaking used to be very hard process ... now you just need to goto a website and connect your mobile and it does all the work via the webpage
I would like to see this happening
Scott Leibrand
@scottleibrand
Jun 16 2017 17:55
https://github.com/aditmer/OpenAPSApp is what we have so far.
marafie
@marafie
Jun 16 2017 17:55
I would like to see the xdrip + rig in 1
Or a band that has both in aband like Fitbit
I will info the openaps app and try to see what can we do and notify you
marafie
@marafie
Jun 16 2017 18:01
To further develop any app or a product a questioner should be done were you mentioned what is the product (assuming we have final docs on it) and ask users what do they think of it and how to improve it
Scott Leibrand
@scottleibrand
Jun 16 2017 18:02
please don't commit a bunch of money to the project without also talking to @aditmer first. He'll better know what is needed to get it done.
Andrew Ditmer
@aditmer
Jun 16 2017 18:02
Did someone say money?
Ok... I see the thread now.
I'm willing to chat about it, but need to finish this other project before I can get back to OpenAPSApp
I should finish today
Scott Leibrand
@scottleibrand
Jun 16 2017 18:05
:+1:
peterfulvi
@peterfulvi
Jun 16 2017 18:05
Right now i have a g4 transmitter(g5 on the way). Im wanting right now to use it with the xdrip app on an android phone and do the offline implementation for now. Should that work without my reviever?
Thats the impression i got when i read the docs. I'll read over it a bunch before i do it
marafie
@marafie
Jun 16 2017 18:08
@aditmer if you needed to hire developers or want to outsource it I am welling to fund
peterfulvi
@peterfulvi
Jun 16 2017 18:10
Ok i get it it says G4 with the wireless bridge. But can i use the G4 and use the reciever to monitor my loop for now?
Andrew Ditmer
@aditmer
Jun 16 2017 18:10
Ok, we should chat about that. It could accelerate things.
Matthias
@ceben80
Jun 16 2017 18:19
@peterfulvi G4 transmitter and xdrip h/w and Android app are working completely independent, a Dexcom receiver is not required
Martin Haeberli
@mhaeberli
Jun 16 2017 18:29
remind me - what is the best advice when looping if I add carbs for a low? report the treatment via nightscout? enter it into the pump which we hope would bolus 0? (trying to make sure auto - tune / auto - sens have the information they need, for example) Up until now, we have mostly been doing carb corrections “blind"
Scott Leibrand
@scottleibrand
Jun 16 2017 18:31
if you enter the carbs into NS, or into bolus wizard with a minimal bolus of 0.1U or less, then that will make sure autotune knows about it. if you also want to prevent oref0/oref1 from high temping / SMBing from the rescue carb rise, you can also enter a short-duration high temp target along with it. several people have combined the carb entry and temp target into a single IFTTT button
Martin Haeberli
@mhaeberli
Jun 16 2017 18:32
k thx 4 the guidance
Cameron Chunn
@applehat
Jun 16 2017 18:53
I just had the thought "crap, I bolused the correct amount". I may enjoy watching SMB too much.
Scott Leibrand
@scottleibrand
Jun 16 2017 18:55
lol
rsilvers129
@rsilvers129
Jun 16 2017 19:00
@mhaeberli I log carbs for a low with IFTTT button on my iPhone and Apple Watch. Or sometimes with the pump as Scott said, but I generally only do that when it is an odd number that I don't have a button for.
Martin Haeberli
@mhaeberli
Jun 16 2017 19:02
:+1:
PopcornPam
@PopcornPam_twitter
Jun 16 2017 19:40
I am getting around to setting up a secondary rig, and the name isn't changing, instead, I see this root@sed-r-islocalhostjubilinuxlocalhostetchosts:~#
Scott Leibrand
@scottleibrand
Jun 16 2017 19:40
lol, oops
PopcornPam
@PopcornPam_twitter
Jun 16 2017 19:40
I followed the steps exactly as outlined here (http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/edison-explorer-board-Mac.html), but the password change seems fine
Scott Leibrand
@scottleibrand
Jun 16 2017 19:41
you'll probably want to just edit the /etc/hosts and /etc/hostname files manually at this point
the sed command only works if the file is in the state it expects it to be to begin with
PopcornPam
@PopcornPam_twitter
Jun 16 2017 19:41
through nano? and should I get the whole thing set up first, or take care of this first?
Scott Leibrand
@scottleibrand
Jun 16 2017 19:41
either way. the weird hostname doesn't hurt anything except your ability to ssh in
I'd use nano if you're ssh'd in, or vi if you're on console
ericmtx
@ericmtx
Jun 16 2017 19:43
possible to use the explorer board but connect the TI stick to it instead of on-board radio? The lockups on the exp board's radio are making it unusable but I have a spare TI stick.
PopcornPam
@PopcornPam_twitter
Jun 16 2017 19:43
speaking of that!!! I went to the tech man at the university I work at today, adn we figured out that using the same details, when hotspotting to my iphone, he can ssh into my rig using termius, but for whatever reason, I can not get my phone to let me connect! This is driving me more than a little crazy
127.0.0.1 localhost myopenaps3
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
openaps3 is what I want it, so that looks right?
Scott Leibrand
@scottleibrand
Jun 16 2017 19:43
@ericmtx I'm not sure where the solder points would be to attach a ribbon cable for the TI stick. there are pre-EB instructions for doing that with the Intel mini breakout board
ericmtx
@ericmtx
Jun 16 2017 19:44
I meant with the OTG cable like I did with the sparkfun board
Scott Leibrand
@scottleibrand
Jun 16 2017 19:44
that might also work
PopcornPam
@PopcornPam_twitter
Jun 16 2017 19:44
wierd
ericmtx
@ericmtx
Jun 16 2017 19:44
cool - in flash/install progress now so we'll see
Scott Leibrand
@scottleibrand
Jun 16 2017 19:44
@PopcornPam_twitter that file looks good. so just need to edit the /etc/hostname probably
PopcornPam
@PopcornPam_twitter
Jun 16 2017 19:45
that one showed up only saying myopenaps3... none of that other nonsense
Scott Leibrand
@scottleibrand
Jun 16 2017 19:45
maybe you only need a reboot then
ericmtx
@ericmtx
Jun 16 2017 19:46
I've reflashed the Edison as I was getting errors with no device found when trying to set up hciconfig hci0 portion of BT setup. I was on the sparkfun board at the time but back on the explorer for the reflash. hoping that makes the BT setup work as expected.
PopcornPam
@PopcornPam_twitter
Jun 16 2017 19:47
ok.. will try. Also, I find that I have to manually turnoff hotspot to get my rig to connect to my wifi after its been on bluetooth. Is there a way to make it automatically jump to wifi when it can?
root@myopenaps3:~# awesome
Andy Sharrow
@dramageek
Jun 16 2017 20:11
@PopcornPam_twitter oref0-online should handle reconnecting to wifi once it sees it. Anything helpful in the log? /var/log/openaps/network.log
ericmtx
@ericmtx
Jun 16 2017 20:11
unfortunately the spare TI stick connected to the explorer board with the OTG port/cable doesn't show when running ls -al /dev/tty*
green light comes on, but stick isn't being recognized as really attached
Matthias Granberry
@mgranberry
Jun 16 2017 20:17
I have an Explorer board that doesn't reliably work with a wired dexcom share receiver for offline support. Does anyone know what hardware version has the fix? Mine has a v1.2 silkscreened onto it. Maybe it's a cable. Are there any recommendations there?
ericmtx
@ericmtx
Jun 16 2017 20:19
I think I'd read about either having a 2017 board or you could potentially make a cut in the board to fix the direct dexcom connection issue. I don't have the reference though
Matthias Granberry
@mgranberry
Jun 16 2017 20:21
I have a 2017 board. Maybe it's a cable issue. It works at some times, but not at others.
Scott Leibrand
@scottleibrand
Jun 16 2017 20:24
Yeah, probably cable.
@ericmtx did you flash USB-capable firmware to your TI stick?
ejoe132
@ejoe132
Jun 16 2017 20:25
Can anyone assist with bluetooth pairing? Working with an Iphone, i get to the point to enter power off power on... then hit enter it goes to DEFAULT AGENT REQUEST SUCCESSFULL but then stops, and comes up with a new line for me to enter data. Is this where I enter "pair AA:BB......?
ericmtx
@ericmtx
Jun 16 2017 20:25
it was the TI stick I'd been using while the Edison was attached to the sparkfun board. worked fine with that
Scott Leibrand
@scottleibrand
Jun 16 2017 20:25
Does lsusb show it?
ericmtx
@ericmtx
Jun 16 2017 20:26
ah, unable to initialize lsusb
need to get that running on the Edison now I suppose
Zakm0n
@Zakm0n
Jun 16 2017 20:26
Ok, just finished flashing jubilinux to my edison, but i'm booting to system maintenance mode
ericmtx
@ericmtx
Jun 16 2017 20:28
wait - lsusb shows when a device is connected right? same message either way so it's not being seen I think (OTG port, OTG cable)
so the explorer board isn't seeing it as a valid usb device, but sparkfun board does
Cameron Chunn
@applehat
Jun 16 2017 20:29
did you enable the flat in /etc/rc.local to enable host most USB?
(or whatever explorer board jubilinux flag im talking about)
ericmtx
@ericmtx
Jun 16 2017 20:30
no - didn't know about that!
Cameron Chunn
@applehat
Jun 16 2017 20:30
flag* and yeah, otherwise the OTG port is a host mode port that appears as a network adapter =)
ericmtx
@ericmtx
Jun 16 2017 20:31
hmm - would the same flag be needed to connect the dexcom via OTG?
Cameron Chunn
@applehat
Jun 16 2017 20:31
Yeah, you need to enable OTG to use it as OTG =)
ericmtx
@ericmtx
Jun 16 2017 20:31
ah, I'll look that up. thanks for the info
Cameron Chunn
@applehat
Jun 16 2017 20:32
as root ,vi /etc/rc.local
its all nicely commented and everything
ericmtx
@ericmtx
Jun 16 2017 20:32
right on :smile:
Cameron Chunn
@applehat
Jun 16 2017 20:32
Theres some other fun stuff in there too, like auto-accepting bluetooth pair requests and enabling rfcomm login consoles over bluetooth
ericmtx
@ericmtx
Jun 16 2017 20:33
the onion that is linux
Cameron Chunn
@applehat
Jun 16 2017 20:33
I run linux as my main OS at home, so im use to the "there are 100 ways to do this, which way did THIS guy do it" processes solving =P
Luis Betancourt
@betluis
Jun 16 2017 20:34
@cjo20 something seems to be wrong with the arrows, pointing up when glucose is dropping.
image.png
ejoe132
@ejoe132
Jun 16 2017 20:35
Also just updated to 0ref1, what do I need to do to get smb going as well as uam?
Cameron Chunn
@applehat
Jun 16 2017 20:36
This message was deleted
Either modify oref0-setup or manually pass a microbolusenable flag, and then edit the preferences json.
ejoe132
@ejoe132
Jun 16 2017 20:39
@applehat I did the phase 4 all the way. But Im not sure what an enable flag is?
katie disimone
@Kdisimone
Jun 16 2017 20:44
@ejoe132 look in your oref0-runagain.sh
ejoe132
@ejoe132
Jun 16 2017 20:45
@Kdisimone so I should enter "oref0-runagain.sh" and look at the menu it brings up?
Cameron Chunn
@applehat
Jun 16 2017 20:45
cat oref0-runagain.sh
that will show you the command it will run
if you study that command, you should see what an enable flag is ;)
(assuming you have other features like autosense and ama enabled)
ejoe132
@ejoe132
Jun 16 2017 20:48

@applehat this is what it gave me, root@edisonone:~# cd edisonone
root@edisonone:~/edisonone# cat oref0-runagain.sh

To run again with these same options, use:

oref0-setup --dir=/root/edisonone --serial=461143 --cgm=G4-upload --ns-host=http://al1.herokuapp.com --api-secret=** --tty=/dev/spidev5.1 --max_iob=15 --enable=' autosens autotune meal ' --radio_locale='US' --btmac='24:E3:14:9C:20:55'
root@edisonone:~/edisonone#

Matthias
@ceben80
Jun 16 2017 20:51
@ejoe132 pls don't post your pump serial in a public chat room
ejoe132
@ejoe132
Jun 16 2017 20:53
@ceben80 Ok, asking cause I dont know, but what is the danger of that? wouldnt one need to be real close to the pump to communicate(hack) it?
Zakm0n
@Zakm0n
Jun 16 2017 20:53
Can anyone help me with a jubilinux flash?
peterfulvi
@peterfulvi
Jun 16 2017 20:56
@ceben80 can I do the offline mode without building a wireless bridge by just using the android app. It looks like you would run setup and choose xdrip for cgm. Another question is can I just rerun setup and put in a different cgm option rather than the MDT.
Xdrip
ejoe132
@ejoe132
Jun 16 2017 20:57
@applehat So is the enable flag just changing a false to a true? I see where it has a --enable=' but not sure how to get that to work for smb, already in preferences switched uam to true
Michael Maniscalco
@gtscalco_twitter
Jun 16 2017 20:57
@ejoe132 this is an older video but shows a high gain omni-directional distance gain on 2.4ghz (bt) https://www.youtube.com/watch?v=cwKWOdOHiWY - there are also directional antennas that can increase distance significantly. Scary enough to keep your privates private ;)
ejoe132
@ejoe132
Jun 16 2017 20:58
@gtscalco_twitter Ok, thank you, I appreciate the warning. Didnt realize the threat potential
Matthias
@ceben80
Jun 16 2017 21:01
@peterfulvi yes if you're using the G5 w/ xdrip+ app
peterfulvi
@peterfulvi
Jun 16 2017 21:03
Ok I'm just going to wait for my G5 then thanks
ejoe132
@ejoe132
Jun 16 2017 21:10
So what elese do I need to do to get smb and uam working?
Cameron Chunn
@applehat
Jun 16 2017 21:11
This message was deleted
Dana Lewis
@danamlewis
Jun 16 2017 21:14
@applehat :fish:
Cameron Chunn
@applehat
Jun 16 2017 21:15
:fishing_pole_and_fish:
Dana Lewis
@danamlewis
Jun 16 2017 21:15
yes, the latter is preferred ;)
Zakm0n
@Zakm0n
Jun 16 2017 21:15
Hey guys, I'm having some trouble flashing jubilinux, can anyone give me a hand?
ejoe132
@ejoe132
Jun 16 2017 21:15
@applehat So where do I enter that string? if I enter what you said to beforre it just starts a new line for me and says command not found?
Dana Lewis
@danamlewis
Jun 16 2017 21:16
@Zakm0n where are you struggling? share about what steps you’re on & what errors you’re getting, or what’s not working, etc. and there should be folks who can help
Zakm0n
@Zakm0n
Jun 16 2017 21:17
I've run flashall.bat, and in windows i'm getting wait for reboot, but in the terminal, it's stopping after the last DFU complete with a message of ctrl+c to exit
I've tried to ctrl+c but it reboots into rescue mode
I've changed the bootargs_target to multi-user, and now i'm back at ctrl+c
Cameron Chunn
@applehat
Jun 16 2017 21:19
@ejoe132 I've helped as much as I really can. Its not enabled in oref0-setup's automated process yet because its still considered experimental and not ready for mass consumption. It really is important that you be able to read the code and figure out how to enable it yourself before having it enabled. =/
Zakm0n
@Zakm0n
Jun 16 2017 21:19
ctrl+c and now i'm back in rescue mode
Cameron Chunn
@applehat
Jun 16 2017 21:21
@gtscalco_twitter the best part about the video you posted is that it totally breaks FCC regulations for Part 15 =)
ejoe132
@ejoe132
Jun 16 2017 21:22
@applehat Ive read the documents on how it works and what it does, Im just not a programer in the sense of being able to look and understand that language, if youd just be more specific itd be great
Zakm0n
@Zakm0n
Jun 16 2017 21:22
also, after the welcome to linux message on boot, i'm getting "Failed to start Load Kernel Modules."
Dana Lewis
@danamlewis
Jun 16 2017 21:22
(and @applehat, I obviously understand your dilemma here. Also would welcome thoughts if you have better ideas on safety-gates here)
Cameron Chunn
@applehat
Jun 16 2017 21:26
@danamlewis I dont know the correct answer, really. Warning-labels don't really do much. The "read the code" wall seems reasonable to me - especially when all you have to do is literally open the file and search for "SMB" and theres instructions =P
ejoe132
@ejoe132
Jun 16 2017 21:29
@applehat @danamlewis My point is being that people understand the risks involved in using any of this, just some dont understand reading code or I guess dont have a mental map of where to go to enter these things to activate features. I understand being cautious but most understand what were using isnt commericial ready, but are will to take the time and watch it just not knowledgable in what these codes mean
Dana Lewis
@danamlewis
Jun 16 2017 21:30
@ejoe132 but that’s the exact point: you should be willing to learn more about the system in order to turn on the most advanced features that are not ready otherwise for someone without a deep understanding of the system.
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:30
@ejoe132, I also read the docs etc and could't figure it out. @rsilvers129 had to explain it to me. And each time I have a hard time getting back to it just because of lack of programming know how. The tricky part is that it is hard to use basic logic (to a non programmer) to get to it
Dana Lewis
@danamlewis
Jun 16 2017 21:30
(I completely understand your frustration and others, but this is currently the best solution we have to make it as safe as possible so no one turns this on without (hopefully) have first reading the docs, the code, and having a good understanding of the differences between basic oref0 and oref1)
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:32
I think the frustration for me was that I had read the docs, and felt like I had a good handle on the difference, but didn't know to use nano oref0-runagain.sh to actually change the code
Dana Lewis
@danamlewis
Jun 16 2017 21:33
That’s actually a good thing, as that’s something we expect people to learn/be doing with oref0, too, to customize their systems.
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:33
And that was about not fully understanding how to edit code... that may be an intentional safety measure, but was frustrating nonetheless
Dana Lewis
@danamlewis
Jun 16 2017 21:33
:+1:
ejoe132
@ejoe132
Jun 16 2017 21:33
@danamlewis Thats the thing though, Ive read your papers on them, understand the logic (math) of what its looking at, but just dont know the programing language to know when Im told just enter it what that means to do. I dont know what the resource is to become knowledgable of reading coding. The difference here is knowing what it does vs know how to speak it, like guess my example would be i know the risks of driving an automobile but i dont know how the automobile runs exactly,
Cameron Chunn
@applehat
Jun 16 2017 21:34
@ejoe132 going off that same example tho, people who drive race cars do know how their race cars work.
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:34
thats a great analogy.. but to play devils advocate for a sec
kenkotch
@kenkotch
Jun 16 2017 21:35
I agree with Dana that that is the exact point. If you want a readymade system minimed now makes one and more are coming to market soon. In the meantime if you want to be ahead of the curve, there is a lot to learn-
for me, in learning how to build my system I have learned to understand not just more about programming more about how my body works in relation to insulin, exercise and carbs and is therefore a huge net win
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:35
by having robert explain it to me, I now understand a bit more about navigating within the openaps file
Dana Lewis
@danamlewis
Jun 16 2017 21:36
@PopcornPam_twitter definitely would welcome your PRs along with everyone else’s with ways to create a better “intro to OpenAPS” and “how the code works” to add to the guide
there used to be a ton of that, and because the docs are so full already, that got moved out of the main docs as to not intimidate people.
ejoe132
@ejoe132
Jun 16 2017 21:37
guess im stuck then, just dont know where a resource is to learn to read a custom program. To me trying to figure this out is like not having a map and trying to walk accross a state, i dont see the paths or have navigation to know where to go
Dana Lewis
@danamlewis
Jun 16 2017 21:37
can always be improved - but need help from ya’ll to do that.
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:37
@danamlewis , I have been thinking about that a lot... in my previous life I taught middle school science, and ran a program that put professional scientists as email buddies with 7th graders, so making science accesisble is my jam..
Dana Lewis
@danamlewis
Jun 16 2017 21:37
i.e. http://openaps.readthedocs.io/en/latest/docs/introduction/understand-this-guide.html#understanding-how-all-the-pieces-fit-together if this doesn’t explain well how everything works - what would you do to imrpove it?
@PopcornPam_twitter great :)
Zakm0n
@Zakm0n
Jun 16 2017 21:38
@danamlewis is there any other troubleshooting resource for jubilinux flashing?
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:38
I am a bit stretched getting ready for diabetes camp in Haiti, and hopefully repurposing my dead dexcom transmitters so we can have more kids on CGMs.... so once camp is over, expect some actual prs
Dana Lewis
@danamlewis
Jun 16 2017 21:38
@Zakm0n which page are you using for flashing instructions?
Dana Lewis
@danamlewis
Jun 16 2017 21:39
k. this section on the all-computers-page has more troubleshooting if you haven’t already checked it out: http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/setup-edison.html#troubleshooting
Scott Leibrand
@scottleibrand
Jun 16 2017 21:39
@ejoe132 @ceben80 @gtscalco_twitter anyone who can hear your pump talking to your rig already knows your pump serial number. It's transmitted in the clear on every command. I wouldn't worry about that: focus on keeping your NS API secret a secret: that can actually be used to cause trouble remotely.
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:40
@danamlewis , for example: crontab.txt: At the end of oref0-setup.sh, you will be asked if you want to enable the “cron” to schedule and automate your closed loop. If you answer “yes”, the script creates a crontab file at the same level as where the src and <myopenaps> directories are located. Once it’s running, it will also create various logs that are stored on the Edison/Pi, so you can see what it has done in the past; what it is doing now; and why it is doing or has done anything.
Michael Maniscalco
@gtscalco_twitter
Jun 16 2017 21:40
@scottleibrand +1
PopcornPam
@PopcornPam_twitter
Jun 16 2017 21:40
This is confusing because it doesn't say what cron is
For example:
Cron: this is what makes your loop go from open to closed
ejoe132
@ejoe132
Jun 16 2017 21:44
So are there any reccomended resources to learn the programming language?
Dana Lewis
@danamlewis
Jun 16 2017 21:45
That combination of the linux basics at the top, and the below information, should help give you more of a “map” of what’s on your rig, and how to poke around.
FWIW: I actually find it easier to poke around on Github vs. on the rig, so if you go to https://github.com/openaps/oref0/, you’ll find that same file structure
for example, you can go into the “lib” folder and then into determine-basal to find that file and start reading that code - and looking for the commented out lines (start with // and are gray), can help you look at various sections of the code, i.e. https://github.com/openaps/oref0/blob/master/lib/determine-basal/determine-basal.js#L333
Cameron Chunn
@applehat
Jun 16 2017 21:51
^ make sure you click the button that says "master" and change it to "dev" if you are on the dev branch, to see the dev code.
Dana Lewis
@danamlewis
Jun 16 2017 21:52
:+1:
ejoe132
@ejoe132
Jun 16 2017 21:52
@danamlewis so to confirm if I enabled it correctly would the best method possibly be cat oref0-runagain.sh?
Dana Lewis
@danamlewis
Jun 16 2017 21:52
:+1:
ejoe132
@ejoe132
Jun 16 2017 21:54
@danamlewis ok, Looks like im gonna be doing some more reading tonight. Would doing research on linux system also have a benefit in giving me more perspective in understanding notation?
Dana Lewis
@danamlewis
Jun 16 2017 21:54
:+1: yes, linux basics help a lot so you can dig in/out of files. there’s a couple linked from the docs, but you can google “linux basics” etc. and use any guide - it’s universal (not specific to OpenAPS)
ejoe132
@ejoe132
Jun 16 2017 21:56
@danamlewis Awesome, well off to do my research. Thank you for putting up with us non techies
Zakm0n
@Zakm0n
Jun 16 2017 21:57
@danamlewis I've done all of the troubleshooting steps, i'm still seeing rescue mode
Dana Lewis
@danamlewis
Jun 16 2017 21:57
I’m a non-techie, too :+1: thanks to everyone who’s been helping making the docs more clear - they’re never going to be perfect, but discussions like this (and resulting PRs to make it even more clear) is what helps us keeping making it more possible for everyone to do this :+1:
@Zakm0n (tagging @Kdisimone, queen of flashing on multiple types of computers, for input on what else to try)
Zakm0n
@Zakm0n
Jun 16 2017 21:58
Awesome, thanks. I'm a techie, but this is only the 4th time i've delved into linux systems
ejoe132
@ejoe132
Jun 16 2017 22:11
So setting up bluetooth tethering, im getting failed to set discoverable on, could this just be something happened when setting up the script and something is missing and should just rerun the script?
katie disimone
@Kdisimone
Jun 16 2017 22:14
@Zakm0n one time I got stuck in a rescue loop, basically the edison would be recognized for a very short while and then be kicked off again. Then the cycle just kept repeating. I ended up installing yocto freshly through the intel site and then after putting yocto back on, the next attempt at a jubilinux flash went fine. Make sure you aren't using the oldest version of jubilinux available. The newer two versions (they both work fine) have the advantage of not requiring a control-d to continue during flashing and therefore have less likelihood of getting into that rescue mode
Zakm0n
@Zakm0n
Jun 16 2017 22:15
I'll reinstall yocto now, thanks!
I was actually in the process of installing the intel edison board config program when you sent that message, lol
Dana Lewis
@danamlewis
Jun 16 2017 22:17
Hey @ELUTE, or anyone else with a 512 or 712 pump - can someone test these updated directions, and confirm if that makes the x12 usable, or if we need any other tweaks (such as suggestions on which of the fields in the settings file are default vs. user adjusted)? This is an open PR (and I don’t have an x12), so need someone to help test this so we can get it merged in. https://github.com/eliotsdad/docs/blob/1f59a64ee570b317c2d40fdbc6bef8894fd71985/docs/docs/walkthrough/phase-2/troubleshoot-oref0-setup.md#512-users--712-users--x12-users to preview, and comment on the PR here with any feedback: openaps/docs#887
katie disimone
@Kdisimone
Jun 16 2017 22:17
I’m switching to laptop to see if I can find the link to where I used
Zakm0n
@Zakm0n
Jun 16 2017 22:18
the config tool is downloading the latest yocto directly
katie disimone
@Kdisimone
Jun 16 2017 22:22
perfect…I believe that’s what I used
Zakm0n
@Zakm0n
Jun 16 2017 22:29
@Kdisimone fresh yocto, back into rescue mode
trying changing bootargs_target again
katie disimone
@Kdisimone
Jun 16 2017 22:36
Can you post some screen shots of what you were doing before/when the error happened? Did you get yocto on and stable? Did the problem happen again AFTER you started to flash jubilinux again?
Zakm0n
@Zakm0n
Jun 16 2017 22:38
I'll walk you through the steps I took after fresh yocto. I logged into edison with root in putty, ran cmd and flashall.bat from the jubilinux folder, reboot in putty, flash runs and cmd says wait two minutes for reboot
putty says ctrl+c to continue and sits there until I ctrl+c
how do you post images to chat?
image.png
ah, there we go
katie disimone
@Kdisimone
Jun 16 2017 22:42
good. and did you press Control-D?
Zakm0n
@Zakm0n
Jun 16 2017 22:43
yes, now I've got a prompt "sh-4.3#"
katie disimone
@Kdisimone
Jun 16 2017 22:46

any messages around it? Screen shot?

And…I’d highly recommend flashing with a version of jubilinux that doesn’t require the Control-D. Version v0.0.0 requires the Control-D. Versions v0.1.0 and v0.1.1 do not. Here’s the link to v0.1.1 http://www.jubilinux.org/dist/jubilinux-v0.1.1.zip

(and you still have to add those other two files to that jubilinux folder even with the 0.1.1 version too)
Zakm0n
@Zakm0n
Jun 16 2017 22:47
i'm using 1.0 right now...
or 0.1.0, let me get 0.1.1
katie disimone
@Kdisimone
Jun 16 2017 22:48

hmmmm…well v0.1.0 should be ok too.

What’s the screen look like now?

Zakm0n
@Zakm0n
Jun 16 2017 22:49
image.png
ok, 1.1 is downloaded and extracted
reboot and reflash maybe?
katie disimone
@Kdisimone
Jun 16 2017 22:51
yes, I would
Did your Yocto install go ok?
Did you try logging into rig with that system and seeing if yocto had installed ok? (just walking through troubleshooting steps)
Zakm0n
@Zakm0n
Jun 16 2017 22:55
i'll do that next, i'm at the ctrl+c to continue again
katie disimone
@Kdisimone
Jun 16 2017 22:55
doesn’t sound like the yocto quite took then...
Zakm0n
@Zakm0n
Jun 16 2017 22:56
the yocto install went perfect, immediately after when I logged in, yocto was ready to go
i'm gonna do yocto one more time and start fresh
Zakm0n
@Zakm0n
Jun 16 2017 23:02
yocto takes forever to flash lol
C:\Intel\Edison\Image\edison-image-20160606
image.png
didn't mean to paste that file path lol
Zakm0n
@Zakm0n
Jun 16 2017 23:09
Edison now has 3 com ports in device manager?
katie disimone
@Kdisimone
Jun 16 2017 23:10
👍🏻 not sure about the com ports though. Perhaps unplugging and rebooting computer would be good
Start the com port fresh?
Zakm0n
@Zakm0n
Jun 16 2017 23:11
the two extra went away, back in putty now
image.png
well, they came back, but com12 is the one that putty will connect to
guess i'm gonna flashall.bat again
image.png
image.png
less than a minute to flash, something isn't right is it?
ctrl+c and then:
Zakm0n
@Zakm0n
Jun 16 2017 23:16
image.png
ctrl+D and then
image.png
Zakm0n
@Zakm0n
Jun 16 2017 23:28
image.png
showing that it's loading poky kernel, which is part of yocto is it not?
rsilvers129
@rsilvers129
Jun 16 2017 23:32
@rsilvers129
There was an instruction webpage for the modificaiton to Loop that allowed it to reflect local G5 data to OpenAPS. I downloaded it once and compiled it, but I wanted to check for updates. Does anyone have a link to the page I am talking about?
Zakm0n
@Zakm0n
Jun 16 2017 23:50
@Kdisimone I'm seriously about to install a linux distro on my spare hard drive and dual boot into linux to try flashing from there...
think it might be some windows 10 oddity?
katie disimone
@Kdisimone
Jun 16 2017 23:52
Could be. Do you have access to a Mac anywhere? The macs seem to have little flashing issues
Zakm0n
@Zakm0n
Jun 16 2017 23:53
I don't