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

2nd
Feb 2017
Dana Lewis
@danamlewis
Feb 02 2017 00:25
High five to @Kdisimone for writing up this great page which we just added to Phase 2 to help people know how to access their rigs: http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/accessing-your-rig.html
Jarred Yaw
@jyaw
Feb 02 2017 00:50
Does oref0-setup do all the setup for pancreabble if desired? Docs still say you have to setup outside of oref0-setup... also is that in dev now?
Dana Lewis
@danamlewis
Feb 02 2017 00:51
@jyaw see openaps/docs#603 this PR
Jarred Yaw
@jyaw
Feb 02 2017 00:51
I have an all day camping situation coming up
Cool, thanks!
Dana Lewis
@danamlewis
Feb 02 2017 00:51
and if that ends up working, make sure to :+1: that PR so it’ll get merged in, it’s waiting on someone else’s review
Jarred Yaw
@jyaw
Feb 02 2017 00:55
Ok, prob wouldn't get to it till the weekend so someone else may get there first
Scott Leibrand
@scottleibrand
Feb 02 2017 00:57
one more PR that needs some testing: openaps/oref0#372 - this one requires someone using MDT CGM who'd like to get trend arrows. :)
Jarred Yaw
@jyaw
Feb 02 2017 00:57
Is there a special input arg for oref0-setup? It says change BT addresses to the pebble address... wouldn't you want to do oref0-setup with the bt-mac arg?
Scott Leibrand
@scottleibrand
Feb 02 2017 00:57
and all of the green Help Wanted ones at https://github.com/openaps/oref0/pulls of course
Jarred Yaw
@jyaw
Feb 02 2017 01:47
nm I read the latest oref0-setup... should be easy to try out.
Eric Luhrs
@eluhrs
Feb 02 2017 02:05
Does this script pull the latest oref0 release?
I guess another way to ask the question is, does oref0 dev include the latest autotune and other advanced features?
Or should I be using next-dev?
Scott Leibrand
@scottleibrand
Feb 02 2017 02:07
dev and next-dev are identical today
I just branched it as a PR target but haven't merged anything there yet
actually next-dev might be a bit behind dev now
but, I would actually use quick-packages and then pull oref0 dev
you don't need the sources of everything else
Eric Luhrs
@eluhrs
Feb 02 2017 02:18
I guess this is what looked off to me, from oref0/Release.md: v0.2.0 / 2016-05-15
I thought my install last week was 0.3.6.
Scott Leibrand
@scottleibrand
Feb 02 2017 02:22
Yeah, you'll still need to upgrade oref0 to dev after doing quick-packages
Eric Luhrs
@eluhrs
Feb 02 2017 02:30
Hmmm. Can't remember how to do that. Is there a doc?
Eric Luhrs
@eluhrs
Feb 02 2017 02:36
Just did some searching. Looks like I just have to checkout the latest oref0 from github, then run npm install -g oref0. Is that right?
Scott Leibrand
@scottleibrand
Feb 02 2017 02:43
The way we usually do it is npm run global-install, but that probably works if you don't need the link bits.
(If you're ok rerunning it every time you want to update)
Eric Luhrs
@eluhrs
Feb 02 2017 02:45
Is npm run global-install run from within the oref0 src dir?
William Cannady
@Tilade
Feb 02 2017 02:52
quick question, any way to troubleshoot why an explorer board doesn't see a device in /dev/spidev5.1?
Dana Lewis
@danamlewis
Feb 02 2017 02:54
@Tilade was this rig previously working before; or is this during a brand new setup with the setup scripts?
William Cannady
@Tilade
Feb 02 2017 02:54
it was working and just stopped this morning
Dana Lewis
@danamlewis
Feb 02 2017 02:54
reboot, etc?
(tell us what you’ve tried so far for troubleshooting)?)
Scott Leibrand
@scottleibrand
Feb 02 2017 02:56
@eluhrs ya
William Cannady
@Tilade
Feb 02 2017 02:58
rebooted, no luck. disabled cron and tried manual commands, no luck, reran oref0-setup.sh. no improvement. resinstalled mraa and no luck. Reflashed the entire board with jubilinux and started over (was converting form old TI module to explorerboard, so I have a spare). Same problems. Whenever I run the new script, mraa throws a lot of exceptions, but worked previously.
Eric Luhrs
@eluhrs
Feb 02 2017 03:05
Thx, @scottleibrand
Scott Leibrand
@scottleibrand
Feb 02 2017 03:07
@Tilade Do you have a second Explorer board yet? Sounds like a possible hardware issue.
The ultimate test would be swapping the Edison between a working and (presumably) broken Explorer board.
@Tilade and if you don't have one, what city are you in? Someone might be able to meet up and do the swap test with you...
William Cannady
@Tilade
Feb 02 2017 03:12
peekskill, ny-- but I work in midtown. I just noticed it's got some LED lights with a faint glow i've never seen lit before regularly. I'll look or order another one regardless I think. bummer.... Wife was pumped to get this working
Dana Lewis
@danamlewis
Feb 02 2017 03:23
@kellyisworking - do you have an explorer board? or know someone else who might have one and be up for meeting up w/ @Tilade ? (see ^)
Scott Leibrand
@scottleibrand
Feb 02 2017 03:31
oh, actually, the faint LED's reminded me: you should try re-flashing the cc1110 too
you can do it from the Edison using ccprog
William Cannady
@Tilade
Feb 02 2017 03:38
oh--i've not done that from the edison before. how would I get started?
@danamlewis thanks for reaching out :)
Dana Lewis
@danamlewis
Feb 02 2017 03:40
:+1:
William Cannady
@Tilade
Feb 02 2017 03:40
sweet, thanks!
William Cannady
@Tilade
Feb 02 2017 04:23
reflashed and got rid of dim lights, but still no luck. Now says spidev5.1 is in use. Are you able to power the board WITHOUT using the battery port on the explorer and still have proper cc1110 access?
Scott Leibrand
@scottleibrand
Feb 02 2017 04:24
yes, you should be able to power it either over USB or JST
try commenting out your pump-loop line in cron, doing a full halt, and powering back up?
William Cannady
@Tilade
Feb 02 2017 04:27
ok, that worked
strange....i'll re enable the pump-loop line and built it back up
William Cannady
@Tilade
Feb 02 2017 04:41
ok, i can manually pull some read info--but it seems stuck at "MDT cgm data retrieve,Error retrying" mmtune seems to be ok now
thinking about calling a night soon anyway. maybe sleep will help :)
Dana Lewis
@danamlewis
Feb 02 2017 04:43
Are you using a MdT CGM?
William Cannady
@Tilade
Feb 02 2017 04:43
yes
William Cannady
@Tilade
Feb 02 2017 04:44
strange, just tried a manual openaps use pump model after I stopped cron and same "in use" error. Something's up...
Dana Lewis
@danamlewis
Feb 02 2017 04:44
Not sure that fixes your latest error, but may help on NS
Do a killall
William Cannady
@Tilade
Feb 02 2017 04:45
thanks, I had NS going strong when this was working (and with my old rig).
Scott Leibrand
@scottleibrand
Feb 02 2017 04:45
you might want to kill off your cron, pull the latest oref0, and do another oref0-setup. there have been some fixes recently to the order of pump operations for MDT CGM that might help.
William Cannady
@Tilade
Feb 02 2017 04:48
cool--i'll give that a shot. Gonna call it a night I think. Thanks guys for the help! Amazing project overall and appreciate the guidance!
Scott Leibrand
@scottleibrand
Feb 02 2017 04:50
:+1: g'nite
William Cannady
@Tilade
Feb 02 2017 05:18
k lied--had to try one more thing before bed. switched to dev branch and seems to be ok now. Gonna monitor it and see if it dies again and try to find the root cause. Nightscout works great. Thx again
Dana Lewis
@danamlewis
Feb 02 2017 05:22
:+1:
Randal
@ralegg87
Feb 02 2017 05:28
@ceben80 I was able to fix it, had to pip uninstall and reinstall openaps, not sure what happened but glad it worked for my "No script named openaps" error after I updated an old setup (reiterated here in case someone searches the chat with the same error at some point). Thanks for your help!
Matthias
@ceben80
Feb 02 2017 06:11
@ralegg87 glad it's running now :+1:
....and good morning from Germany :wink:
Matthias
@ceben80
Feb 02 2017 07:27

@scottleibrand @danamlewis short q to the >6.3 decocare issue, I remember this was fixed by @ecc1 but it has not been merged, that's right?
Any chance that this fix will be merged soon?

Yesterday I did re-flash an edison and fully new install all rtd descripted steps, but realized the same error, thanks for your reply!

peterfulvi
@peterfulvi
Feb 02 2017 11:03
another issue when i reran setup board 21212 US\nCant': command not foundrror: unrecognized arguments: explore
21212 USlinux:~# openaps-device: error: unrecognized arguments: explorer board
peterfulvi
@peterfulvi
Feb 02 2017 12:48
image.png
apabari
@apabari
Feb 02 2017 12:59
Has anyone seen this before? trying to connect edison via BLE to an Android device....
root@EdisonAPS:~# sudo bt-pan client FA:39:46:65:72:BA
root@EdisonAPS:~# sudo dhclient bnep0
Cannot find device "bnep0"
root@EdisonAPS:~#
root@EdisonAPS:~# Cannot find device "bnep0"
all other steps in the config seem to work - just getting hung up here...
albertotrg
@albertotrg
Feb 02 2017 13:49
Hi. Sorry if already asked. Is there a european supplier for the Explorer Board? Thanks
Tim Street
@tim2000s
Feb 02 2017 13:50
@albertotrg Not currently.
But it's an open source design, and @SandraK82 was looking in to that.
albertotrg
@albertotrg
Feb 02 2017 13:54
Thanks @tim2000s . And in USA? Is there only one supplier (which is out of stock until late Feb)? Right?
Sandra Keßler
@SandraK82
Feb 02 2017 13:54
@tim2000s @albertotrg we are looking into it, however we need currently to focus on the blueReader project. A first glance showed that it should be easy to produce the boards in Europa, however we need time (time we currently dont have) to investigate into the chips, cost and production complexity of the board before we can announce if and at which price we can produce them
albertotrg
@albertotrg
Feb 02 2017 13:57
Gotcha @SandraK82
Eric Luhrs
@eluhrs
Feb 02 2017 14:33
Is it possible to mount the edison's mass-storage partition from jubilinux on an explorer board? I'd like to save my autotune.xlsx there so I can view it on my Mac.
Chris Oattes
@cjo20
Feb 02 2017 14:38
if you're on a mac you could probably use scp to get the files
scp user@host:/path/to/file . copies a remote file to the local machine
Eric Luhrs
@eluhrs
Feb 02 2017 14:46
@cjo20 Yea, I've done that in the past. But I think it should be possible to mount the mass-storage device and then write to it from a cron job.
jburke41
@jburke41
Feb 02 2017 15:16
Has anyone had trouble with extracting the 2 files from https://cdn.sparkfun.com/assets/learn_tutorials/3/3/4/dfu-util-0.8-binaries.tar.xz? I can get it to download but I cant seem to extract the files?
hilarykoch
@hilarykoch
Feb 02 2017 15:17
Looking to finally try and get OpenAPS setup today. I just saw the addition of the (2) M2 screws and (6) M2 nuts. Are these “required” for setup? Or can I set everything up and do this part when I can get the nuts and screws?
jburke41
@jburke41
Feb 02 2017 15:17
@hilarykoch Yes, you should be able to do everything and ge the screws later
hilarykoch
@hilarykoch
Feb 02 2017 15:18
@jburke41 Super. Thank you!
jburke41
@jburke41
Feb 02 2017 15:40
Has anyone every received this message when trying to set up the wifi netowrks using Intel Edison with Raspberry Pi? https://scontent-lga3-1.xx.fbcdn.net/v/t35.0-12/16443046_693439537531292_1123281646_o.jpg?oh=a414a57d7e28caa54e1a869baa41d201&oe=58955757
peterfulvi
@peterfulvi
Feb 02 2017 15:53
Latest error KeyError: 'pump'
Error, retrying
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 23, in main
device = app.devices[report.fields['device']]
KeyError: 'pump'
Matthias
@ceben80
Feb 02 2017 15:54
@jburke41 are u nano with sudo?
sudo nano /etc/network/interfaces
Scorponok
@Scorponok
Feb 02 2017 15:55
@jburke41 If you're using Windows, I'm pretty sure 7zip could open that file
hilarykoch
@hilarykoch
Feb 02 2017 15:59
Still thinking about “step 1” of connecting the Explorer Board to the Edison. I see pictures on the OpenAPS page but doesn’t look like an Explorer Board. Seems like my Explorer board has two nuts and bolts already on it and the Edison came with two nuts. Do I maybe have already what I need?
FullSizeRender.jpg.jpeg
Or maybe someone can post a pic of what it should look like combined?
Scorponok
@Scorponok
Feb 02 2017 16:02
@ceben80 Thanks for posting that, I didn't screw mine in because I wasn't 100% sure of which screws to use
jmcrawford
@jmcrawford
Feb 02 2017 16:03
@jburke41 Probaby means you're logged in as the Pi user, in which case you'd want to use sudo to edit the file.
Dana Lewis
@danamlewis
Feb 02 2017 16:04
@hilarykoch that's not an explorer board. You must have bought a different kind of breakout board
That will work for looping, but you'll also need to add a TI stick to it. Or get an explorer board (radio stick built in).
Matthias
@ceben80
Feb 02 2017 16:05
@jburke41 /etc/network/interfacesmust be always accessed with root rights!
hilarykoch
@hilarykoch
Feb 02 2017 16:07
@danamlewis I think I just figured it out! Goodness, it’s going to be a long day. OK, it came with the Edison I think and I just kept everything together. Hang on..
jburke41
@jburke41
Feb 02 2017 16:07
@ceben80 so instead of vi /etc/network/interfaces, I use sudo /etc/network/interfaces?
blob
hilarykoch
@hilarykoch
Feb 02 2017 16:09
FullSizeRender.jpg-1.jpeg
@danamlewis This is it, right?!
Scorponok
@Scorponok
Feb 02 2017 16:09
@hilarykoch I think you have the intel somethingorother board in your initial picture, you can buy it with the edison on amazon
That picture you just posted looks like the explorer board
For that you'd want the sparkfun screws that Mathias linked above
Dana Lewis
@danamlewis
Feb 02 2017 16:09
@hilarykoch yeaaaa now we're talking
Phew!!!!
Matthias
@ceben80
Feb 02 2017 16:09
@jburke41 see again my post
https://gitter.im/nightscout/intend-to-bolus?at=58935637e836bf7010c1ea90
sudo nano /etc/network/interfaces not sudo /etc/network/interfaces!
hilarykoch
@hilarykoch
Feb 02 2017 16:10
Ok, Phew is right. OK. So back to needing nuts and bolts. But that can wait. Ok, digging into the setup. Thanks!
Scorponok
@Scorponok
Feb 02 2017 16:11
Just snapping it in seems reasonably secure to me, I'd still screw it in before taking it anywhere though
Dana Lewis
@danamlewis
Feb 02 2017 16:12
:smile:
apabari
@apabari
Feb 02 2017 16:19
Seeking some guidance.... I finally have BLE working with my Edison and Android, AND offline with xDrip+ is also working. I can see from my pump, and from tailing the log that it's working. :) BUT... for some reason, data is not being uploaded to my NS site. Any ideas on how I can troubleshoot this?
blob
The OpenAPS Pill Status is being updates :)
Just no CGM data...
Matthias
@ceben80
Feb 02 2017 16:26
@apabari for uploading BGs from xDrip+ to your loop I think you've setup the API in the App itself as mentioned here https://github.com/colinlennon/xDripAPS#configuring-the-xdrip-android-app
but for uploading to ns as well you'll need to configure mongodb uploadin xdrip+
@ceben80 I am entering this in the edison window---should i be doing this in the flash window?
Matthias
@ceben80
Feb 02 2017 16:30
@jburke41 sudois missing, log in as rootand install it with apt-get install sudo
jburke41
@jburke41
Feb 02 2017 16:31
@ceben80 do you know how I log out?
@ceben80 Thanks for all of your help!
Matthias
@ceben80
Feb 02 2017 16:32
just logoff in your serial console window
apabari
@apabari
Feb 02 2017 16:33
@ceben80 Oh, okay, thank you! I didn't realize that. Will add that information in right now
Matthias
@ceben80
Feb 02 2017 16:33
but I see you are login as root
you don't need sudo with root login credentials
jburke41
@jburke41
Feb 02 2017 16:35
@ceben80 I am confused---either way it tells me not found
Matthias
@ceben80
Feb 02 2017 16:39
weird
root@eddie:/home/edison# apt-get install sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
sudo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
but your edison is flashed with jubilinux?
jburke41
@jburke41
Feb 02 2017 16:40
yup
SHould I try to re-do it? Will that harm it?
Chris Oattes
@cjo20
Feb 02 2017 16:41
That screenshot shows a Yocto install, not jubilinux
that's the thing @cjo20 :wink:
jburke41
@jburke41
Feb 02 2017 16:42
I used the ones on openapps
Will try again!! Thanks for all of the help!
Chris Oattes
@cjo20
Feb 02 2017 16:42
also, if you're using gitter on the same computer you're running those commands on, you can either copy and paste the text in here, or use "snipping tool" and paste the image straight in to this window
Matthias
@ceben80
Feb 02 2017 16:43
yes this will be more helpful for debugging :+1:
jburke41
@jburke41
Feb 02 2017 16:43
Great!!!
jburke41
@jburke41
Feb 02 2017 16:49
Is is necessary to downloand ubilinux?
jburke41
@jburke41
Feb 02 2017 17:13
Thanks for all of the help everyone!! Made the dumbest mistake---one of the cables was bad and that is why it didn't flash properly with Jubilinux the first time
Dana Lewis
@danamlewis
Feb 02 2017 17:14
:+1:
not the dumbest mistake, a common one :)
Scott Leibrand
@scottleibrand
Feb 02 2017 17:24
@ceben80 can you find what needs to be merged/released and comment on the relevant PR (or open one if needed)?
Matthias
@ceben80
Feb 02 2017 17:26
@scottleibrand but tbh I don't know the details, only that @ecc1 fixed that, I'm completely lost here :worried:
Scott Leibrand
@scottleibrand
Feb 02 2017 17:29
What did you have to do to fix it last time?
Matthias
@ceben80
Feb 02 2017 17:30
set back max basal in my pump to 6.3 :cry:
posted this issue month ago to Ben but unfortunately he's off here :worried:
Saskia
@Missdazzle
Feb 02 2017 17:31

@danamlewis @scottleibrand As you saw in Twitter I started to loop with my new Explorer Board. Everything went fine so far today but now the loop isn´t going on. It throws me a byte error and it doesn´t create an enacted.json. Unplugging and replugging didn´t help.

reporting enact/suggested.json
{"temp":"absolute","bg":137,"tick":"+7","eventualBG":176,"snoozeBG":148,"predBGs":{"IOB":[137,139,140,141,141,142,141,141,140,139,137,135,133,131,128,126,124,122,119,117,115,113,111,109,108,106,104,103,102,100,99,98,97,96,95,94,94,93,93,93,92],"aCOB":[137,145,153,160,167,173,179,184,188,192,195,198,200,202,203,204,204,204,203,202,201,199,198,196,194,192,191,189,188,187,185,184,183,182,181,181,180,180,179,179,179,178],"COB":[137,139,141,142,144,145,146,147,148,148,149,149,150,150,150,150,150,150,150,151,151,151,151,151,152,152,152,153,153,154,154,155,156,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176]},"COB":25,"IOB":2.924,"reason":"COB: 25, Dev: 19, BGI: -1.22, ISF: 21, Target: 80; Eventual BG 176 >= 80, max_iob 6, adj. req. rate: 8.65 to maxSafeBasal: 6.6000000000000005, no temp, setting 6.6U/hr","duration":30,"rate":6.6}
enact/enacted.json raised byte must be in range(0, 256)
pump://JSON/set_temp_basal/enact/enacted.json
Traceback (most recent call last):
ValueError: byte must be in range(0, 256)
grep: enact/enacted.json: No such file or directory
enact/enacted.json raised byte must be in range(0, 256)
pump://JSON/set_temp_basal/enact/enacted.json
Traceback (most recent call last):
ValueError: byte must be in range(0, 256)
cat: enact/enacted.json: No such file or directory
Settings less than 10m old
Pumphistory-24 less than 20m old
Completed pump-loop at Thu Feb 2 17:50:54 CET 2017

I read about this 6.3 max basal problem so I changed my max basal in the pump from a moderate 7 down to that. But that won´t solve the problem. I definitely need some help please!

Scott Leibrand
@scottleibrand
Feb 02 2017 17:32
I would look through openaps and decocare issues / PRs (including closed ones) to find the fix.
^^ @ceben80
Matthias
@ceben80
Feb 02 2017 17:33
@Missdazzle What a coincidence today, same issue :smile:
Saskia
@Missdazzle
Feb 02 2017 17:33
Oh yes, I just see it! :)
Scott Leibrand
@scottleibrand
Feb 02 2017 17:33
@Missdazzle how long has it been since you changed it on your pump? Settings take a few minutes to refresh automatically.
Saskia
@Missdazzle
Feb 02 2017 17:34
@scottleibrand Well it seems to work with 6.3 but I need more than that.
Matthias
@ceben80
Feb 02 2017 17:34
@scottleibrand searching in Ben's repos....234 :astonished: ?
Dana Lewis
@danamlewis
Feb 02 2017 17:35
@Missdazzle are you using it to replace meal boluses?
Saskia
@Missdazzle
Feb 02 2017 17:35
No
Dana Lewis
@danamlewis
Feb 02 2017 17:35
(k, just checking)
Matthias
@ceben80
Feb 02 2017 17:35
that's the point 256 x 0,025 is the max
.....@ecc1 found this bug month ago, are u help here Eric, I would really appreciate it
hilarykoch
@hilarykoch
Feb 02 2017 17:37
Trying to Flash my edison and got this:
Screen Shot 2017-02-02 at 12.33.31 PM.png
I have my Lipo plugged into the explorer board.
Matthias
@ceben80
Feb 02 2017 17:40
@hilarykoch you need possibly one or more times unplug the power....last time yesterday when flashing I must do this 3-4 times, then the flashing processe was finished
hilarykoch
@hilarykoch
Feb 02 2017 17:41
ok thanks! @ceben80
@ceben80 Did it just complete the flashing process on its own after unplugging and plugging?
Matthias
@ceben80
Feb 02 2017 17:44
only unplug and re-plug....need some time, always when the boot process is hanging with "Ready to..."
my experiences
Tim Street
@tim2000s
Feb 02 2017 17:48
Yes. That's usually a sign it's not getting enough power. The other option is to change cables.
Matthias
@ceben80
Feb 02 2017 17:49
Hello Tim :wink:
hilarykoch
@hilarykoch
Feb 02 2017 17:50
Ok. yeah nothing happening. So switch cables to the computer? It won’t interreupt what is going on?
RosyRed
@RosyRed
Feb 02 2017 17:51
Katie convinced me to switch from Loop. I've ordered my supplies to build. I'm not very good at waiting. Hopefully the explorer board comes off back order quickly.
Matthias
@ceben80
Feb 02 2017 18:02
@hilarykoch that's what @tim2000s said, change "bad" USB cables.....
hilarykoch
@hilarykoch
Feb 02 2017 18:03
ok. thanks. think I only have two. :worried:
Dana Lewis
@danamlewis
Feb 02 2017 18:03
@RosyRed fingers crossed it ships ahead of schedule!
Tim Street
@tim2000s
Feb 02 2017 18:11
@danamlewis can you point me at explorer board plans? I want to get a quote on some from a potential supplier.
Matthias
@ceben80
Feb 02 2017 18:14
@danamlewis @scottleibrand what a pain searching in the channel but found this :star2:
https://gitter.im/nightscout/intend-to-bolus?at=58066ece36d642263682d8c0
Who is able to finalize the bug will merge to master, tbh I'm lost here, I would really appreciate if someone could do that :heart:
Saskia
@Missdazzle
Feb 02 2017 18:17
Well I´m lost anyway so any help would be wonderful!
I only found this openaps/decocare#12
But it says it´s merged!?
Dana Lewis
@danamlewis
Feb 02 2017 18:20
that’s into dev
Matthias
@ceben80
Feb 02 2017 18:21
are u able to give instructions with git xxx how to get this stuff - thanks
Matthias
@ceben80
Feb 02 2017 18:33
@danamlewis @scottleibrand for implementing that's okay?
cd ~/src
https://github.com/openaps/decocare.git
cd decocare
git checkout dev
sudo python setup.py develop
Scott Leibrand
@scottleibrand
Feb 02 2017 18:45
Add git clone to the second line and that would probably do the trick.
Matthias
@ceben80
Feb 02 2017 18:47
cd ~/src
git clone https://github.com/openaps/decocare.git
cd decocare
git checkout dev
sudo python setup.py develop
u a right forgot above :smile:
Matthias
@ceben80
Feb 02 2017 18:53
@scottleibrand ....done
edison@eddie:~$ cd ~/src
edison@eddie:~/src$ git clone https://github.com/openaps/decocare.git
Cloning into 'decocare'...
remote: Counting objects: 11480, done.
remote: Total 11480 (delta 0), reused 0 (delta 0), pack-reused 11480
Receiving objects: 100% (11480/11480), 17.25 MiB | 816.00 KiB/s, done.
Resolving deltas: 100% (8835/8835), done.
Checking connectivity... done.
Checking out files: 100% (2655/2655), done.
edison@eddie:~/src$ cd decocare
edison@eddie:~/src/decocare$ git checkout dev
Branch dev set up to track remote branch dev from origin.
Switched to a new branch 'dev'
edison@eddie:~/src/decocare$ sudo python setup.py develop
running develop
running egg_info
creating decocare.egg-info
writing requirements to decocare.egg-info/requires.txt
writing decocare.egg-info/PKG-INFO
writing top-level names to decocare.egg-info/top_level.txt
writing dependency_links to decocare.egg-info/dependency_links.txt
writing manifest file 'decocare.egg-info/SOURCES.txt'
reading manifest file 'decocare.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'CHANGES.*'
writing manifest file 'decocare.egg-info/SOURCES.txt'
running build_ext
Creating /home/.rootfs/usr/local/lib/python2.7/dist-packages/decocare.egg-link (link to .)
Adding decocare 0.0.32-dev to easy-install.pth file
Installing mm-press-key.py script to /usr/local/bin
Installing mm-send-comm.py script to /usr/local/bin
Installing mm-set-suspend.py script to /usr/local/bin
Installing mm-temp-basals.py script to /usr/local/bin
Installing mm-decode-history-page.py script to /usr/local/bin
Installing mm-latest.py script to /usr/local/bin
Installing mm-bolus.py script to /usr/local/bin
Installing mm-set-rtc.py script to /usr/local/bin
Installing mm-pretty-csv script to /usr/local/bin

Installed /home/edison/src/decocare
Processing dependencies for decocare==0.0.32-dev
Searching for argcomplete==1.8.2
Best match: argcomplete 1.8.2
Adding argcomplete 1.8.2 to easy-install.pth file

Using /home/.rootfs/usr/local/lib/python2.7/dist-packages
Searching for python-dateutil==2.6.0
Best match: python-dateutil 2.6.0
Adding python-dateutil 2.6.0 to easy-install.pth file

Using /home/.rootfs/usr/local/lib/python2.7/dist-packages
Searching for pyserial==3.2.1
Best match: pyserial 3.2.1
Adding pyserial 3.2.1 to easy-install.pth file

Using /home/.rootfs/usr/local/lib/python2.7/dist-packages
Searching for six==1.10.0
Best match: six 1.10.0
Adding six 1.10.0 to easy-install.pth file

Using /home/.rootfs/usr/local/lib/python2.7/dist-packages
Finished processing dependencies for decocare==0.0.32-dev
apabari
@apabari
Feb 02 2017 19:38
For some reason, my board just stopped working.... seems like an issue with the radio. Has anyone seen this before?
root@EdisonAPS:~# tail -F /var/log/openaps/pump-loop.log
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_interface.py", line 28, in open
    self.check_setup()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 72, in check_setup
    self.serial_rf_spy.sync()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_rf_spy.py", line 121, in sync
    raise CommsException("Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?")
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.
 Listening: ..................................^C
root@EdisonAPS:~# tail -F /var/log/openaps/pump-loop.log
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_interface.py", line 28, in open
    self.check_setup()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 72, in check_setup
    self.serial_rf_spy.sync()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_rf_spy.py", line 121, in sync
    raise CommsException("Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?")
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.
Very strange, because it was working just fine... then it just stopped working
Matthias
@ceben80
Feb 02 2017 19:39
Do u have a WW pump?
apabari
@apabari
Feb 02 2017 19:44
no, North American
Scott Leibrand
@scottleibrand
Feb 02 2017 19:45
you might want to pull the latest version of oref0 and re-run oref0-setup to get the latest version of mmeowlink, which has some fixes that might help
apabari
@apabari
Feb 02 2017 19:45
I'm just trying the oref0-setup.sh process again to see if that makes a difference
@scottleibrand ok, thanks... i'm just confused, because i just set it up 3 hours ago - it worked for an hour, and then stopped
Is the dev branch of oref0 still required for BLE tethering?
Dana Lewis
@danamlewis
Feb 02 2017 19:49
No
We released to master last night
apabari
@apabari
Feb 02 2017 19:50
Ah, okay thanks!
Dana Lewis
@danamlewis
Feb 02 2017 19:52
:+1: so anyone running fresh off of master today may help us spot if there are any bugs from the release, but a lot of people were running stable on fresh copies of dev so hopeful to there won't be many issues.
apabari
@apabari
Feb 02 2017 19:57
This is what I'm seeing now.... during the setup....
Resetting spi_serial
Attempting to communicate with pump:
mmtune: pump://JSON/mmtune/monitor/mmtune.json
monitor/mmtune.json  raised  Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?
Traceback (most recent call last):
  File "/usr/local/bin/openaps-report", line 82, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/__init__.py", line 51, in __call__
    self.run(self.args)
  File "/usr/local/bin/openaps-report", line 75, in run
    output = app(args, self)
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in __call__
    return self.method.main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 40, in main
    output = task.method(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 44, in __call__
    self.before_main(args, app)
  File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 62, in before_main
    self.setup_medtronic( )
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 92, in setup_medtronic
    setup_medtronic_link(self)
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/mmeowlink.py", line 75, in setup_medtronic_link
    link = builder.build(radio_type, port)
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/link_builder.py", line 16, in build
    return SubgRfspyLink(port)
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 55, in __init__
    self.open()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_interface.py", line 28, in open
    self.check_setup()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/subg_rfspy_link.py", line 72, in check_setup
    self.serial_rf_spy.sync()
  File "/usr/local/lib/python2.7/dist-packages/mmeowlink/vendors/serial_rf_spy.py", line 121, in sync
    raise CommsException("Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?")
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.
Dana Lewis
@danamlewis
Feb 02 2017 20:03
You used correct port in setup script?
apabari
@apabari
Feb 02 2017 20:05
I did....
I just checked my OpenAPS version and I'm on 0.2.0-dev
I must have installed the wrong one -- but not sure that would be the cause of the issue... would it?
I copied and pasted /dev/spidev5.1
Dana Lewis
@danamlewis
Feb 02 2017 20:09
That's openaps version, check your oref0 version too
apabari
@apabari
Feb 02 2017 20:11
Sorry, could you tell me how to check that?
andyhandy
@andyhandy
Feb 02 2017 20:14
Hi All. Is anyone aware of a NS watchface for the pebble steel (original version) that includes openaps pillbox info? Thanks
Scott Leibrand
@scottleibrand
Feb 02 2017 20:17
@apabari npm list -g oref0
apabari
@apabari
Feb 02 2017 20:18
/usr/local/lib
└── oref0@0.4.0
Scott Leibrand
@scottleibrand
Feb 02 2017 20:19
ok, that is good. and pip show mmeowlink?
also, what do the two LEDs next to the USB ports do? are they usually off? do they light up briefly when you do reset_spi_serial.py or mmtune?
apabari
@apabari
Feb 02 2017 20:20
---
Name: mmeowlink
Version: 0.11.0
Location: /home/.rootfs/usr/local/lib/python2.7/dist-packages
Requires: argcomplete, decocare, python-dateutil, pyserial
Dana Lewis
@danamlewis
Feb 02 2017 20:21
@andyhandy are you looking for non-Urchin?
apabari
@apabari
Feb 02 2017 20:21
@scottleibrand They are fully on; no flickering or turning off
Scott Leibrand
@scottleibrand
Feb 02 2017 20:25
ok, that's your problem then
you need to re-flash the cc1110. you can do that using ccprog
can you also PR that in to the troubleshooting section of the docs, in a place where you would've seen it?
Dana Lewis
@danamlewis
Feb 02 2017 20:26
:+1: for PRing since that’s been spotted 2-3 times now
apabari
@apabari
Feb 02 2017 20:30
Ah, ok, thanks, I will
Silly Q.... how to I "download" the ccprog to my Edison?
Scott Leibrand
@scottleibrand
Feb 02 2017 20:32
"Once you've cloned and made that program", so click the provided link and do those things
Clone starts with the big green button, and make is a command you can run inside the newly cloned directory.
If that's not clear enough, you'll have more to add to your PR. :)
apabari
@apabari
Feb 02 2017 20:34
Sorry, I see the program -- https://github.com/ps2/ccprog -- just not sure how to download it to my Edison
nevermind... git clone :)
Yes, I'll try to make the PR "idiot proof"
Scott Leibrand
@scottleibrand
Feb 02 2017 20:35
:)
apabari
@apabari
Feb 02 2017 20:36
(Andy-Proof)
Scott Leibrand
@scottleibrand
Feb 02 2017 20:36
lol
apparently idiocy doesn't last long? ;-)
apabari
@apabari
Feb 02 2017 20:37
:)
apabari
@apabari
Feb 02 2017 20:43
OK... I think I need a little more teaching help
Scott Leibrand
@scottleibrand
Feb 02 2017 20:43
how far did you get?
apabari
@apabari
Feb 02 2017 20:43
git clone https://github.com/ps2/ccprog will pull the files in
Then I go into the ccprog directory
and I type make
And it seems to do... something
I assume it's compiled the program
So I pull in the files using wget https://github.com/EnhancedRadioDevices/subg_rfspy/releases/download/v0.8-explorer/spi1_alt2_EDISON_EXPLORER_US_STDLOC.hex
root@EdisonAPS:~/ccprog# ccprog -p 19,7,36 erase
-bash: ccprog: command not found
apabari
@apabari
Feb 02 2017 20:51
trying it out now
:)... if you type ./ccprog that does it....
and the two lights went out!
Scott Leibrand
@scottleibrand
Feb 02 2017 20:54
:-)
apabari
@apabari
Feb 02 2017 21:00
phew... it works. Thanks @scottleibrand ! :clap:
I will put in a PR for the documentation update later tonight (if my kids sleep on their own!) or tomorrow from work. Thanks :)
Scott Leibrand
@scottleibrand
Feb 02 2017 21:02
:+1:
peterfulvi
@peterfulvi
Feb 02 2017 21:05
@danamlewis allright, I started over and reran setup last night, erased all the old directories( i was having a problem with the radio on the explorer board), so after the install of the loop the radio actually was listening it was not finding the pump. i checked and made sure i put the right serial in, its the number on the back that under sn without the numbers , i put the static json file. If you look at my recent posts you will see the errors im getting. One is KeyError: 'pump' and the other is no pump comms detected from other rigs. If you could help that would be great. Im happy i got the board to talk i just need the pump to talk back and i will feel like i landed on the moon
Scott Leibrand
@scottleibrand
Feb 02 2017 21:06
ugh, what do we need to do to make it clear that "no pump comms detected from other rigs" is a good thing?
do we need to literally make it say "no pump comms detected from other rigs (that's good)" ?
what exactly are you doing when you get the KeyError: 'pump'? can you paste that full command/context?
Scorponok
@Scorponok
Feb 02 2017 21:15
@scottleibrand "Success! No pump comms detected from other rigs"
Scott Leibrand
@scottleibrand
Feb 02 2017 21:16
heh. really it's "ok, everyone else has finally shut up, so I can talk now" ;-)
Dana Lewis
@danamlewis
Feb 02 2017 21:19
oskarpearson/mmeowlink#59
hilarykoch
@hilarykoch
Feb 02 2017 21:21
Long story short. Pretty sure I’ve already screwed things up. My computer (Mac) won't even acknowledge the Edison under devices now when connected (I think because I had ejected it). Is there a way to start “all over”?
Scott Leibrand
@scottleibrand
Feb 02 2017 21:21
have you tried just rebooting?
hilarykoch
@hilarykoch
Feb 02 2017 21:21
My computer?
Scott Leibrand
@scottleibrand
Feb 02 2017 21:21
yeah
hilarykoch
@hilarykoch
Feb 02 2017 21:22
I did a restart.
Scott Leibrand
@scottleibrand
Feb 02 2017 21:22
can you connect to the Edison UART console ok with screen?
hilarykoch
@hilarykoch
Feb 02 2017 21:23
So sorry I’m clueless here. “screen”?
Scott Leibrand
@scottleibrand
Feb 02 2017 21:23
like it says in the directions
hilarykoch
@hilarykoch
Feb 02 2017 21:24
I had everything going fine and ran into a problem with power. Fixed the power problem and when I reconnected, nothing happened.
Hang on...
I get a blank screen and when I hit return, nothing
Scott Leibrand
@scottleibrand
Feb 02 2017 21:32
And when you leave it plugged in and reboot the Edison?
(Hold the little black button for 10 seconds to turn it off, and 2 to turn it on)
hilarykoch
@hilarykoch
Feb 02 2017 21:38
Ok, looks like something is happening. I only have one terminal screen open though. IS that ok? Looks like it is finishing flashing..
andyhandy
@andyhandy
Feb 02 2017 21:39
@danamlewis thanks - your response made me realise I hadn't configured Urchin in the settings!
Dana Lewis
@danamlewis
Feb 02 2017 21:40
@andyhandy :+1:
hilarykoch
@hilarykoch
Feb 02 2017 21:47
Ok, so if I cannot connect with the Edison screen, is it likely a cable issue? I was trying to avoid a trip to the store, but thinking this must be the problem...
Scott Leibrand
@scottleibrand
Feb 02 2017 21:48
depends on what stage it's at
be patient and watch it over console, and if it gets stuck, check the troubleshooting page, or try just starting over
hilarykoch
@hilarykoch
Feb 02 2017 21:49
Ok. thank you!
It stopped originally with “Ready to receive application” so I charged the lipo. Now when I type in this (sudo screen /dev/tty.usbserial-* 115200) into a new terminal page, it says “cannot find a PTY"
And despite rebooting computer and the Edison, it still doesn’t show under “devices”
Scott Leibrand
@scottleibrand
Feb 02 2017 21:53
you can always try swapping cables, or try different ones... is the Edison at a login prompt on the console screen session?
if you can't connect with screen, you should be able to unplug the console cable and plug it back in, then try again (maybe in a new terminal window)
the screen connection should work regardless of the state of the Edison, as it's actually just talking to a little chip on the Explorer board. if nothing else, you should be able to connect and get a blank screen, but usually hitting Enter there will get a response of some sort
hilarykoch
@hilarykoch
Feb 02 2017 21:56
BINGO! Had to disconnect AND reboot! Back in business!
Thank you! @scottleibrand
Scott Leibrand
@scottleibrand
Feb 02 2017 21:56
I would make sure that part works reliably, with each of your cables, before moving on to troubleshooting anything else.
:+1:
RosyRed
@RosyRed
Feb 02 2017 22:03
@danamlewis I have questions about autotune. I think that discussion moved?
Dana Lewis
@danamlewis
Feb 02 2017 22:03
@RosyRed yup! over to https://gitter.im/openaps/autotune
peterfulvi
@peterfulvi
Feb 02 2017 22:08
@scottleibrand hereit is scott nothings wrong how you wrote it. Like i said im new in this whole realm and wouldn't even venture in if i did think the people behind it wanted to share there resources and time. here it istail -F /var/log/openaps/pump-loop.log
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
Error, retrying
Listening: .No pump comms detected from other rigs
mmtune: pump://JSON/mmtune/monitor/mmtune.json
reporting monitor/mmtune.json
"916.636", 0, -99 Starting pump-loop at Thu Feb 2 17:01:29 EST 2017:
Radio ok, Listening: .No pump comms detected from other rigs
Old pumphistory: Traceback (most recent call last):
File "/usr/local/bin/openaps", line 170, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps", line 155, in run
builtins.dispatch(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/builtins.py", line 48, in dispatch
get_alias(args.command, app)(args)
File "/usr/local/lib/python2.7/dist-packages/openaps/builtins.py", line 27, in call
spec_command = shlex.split(self.spec.fields.get('command'))
File "/usr/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
Error, retrying
Listening: .No pump comms detected from other rigs
mmtune:
Dana Lewis
@danamlewis
Feb 02 2017 22:09
(no, everyone gets tripped up on that so it’s worth editing the text output, which I put in a PR to do.)
Scott Leibrand
@scottleibrand
Feb 02 2017 22:17
@peterfulvi looks like there's a problem with one of your aliases or reports missing a closing quotation mark. let's drill down to see which one
the thing that cron runs is openaps pump-loop, so from within your ~/myopenaps directory (cd ~/myopenaps) we can do openaps alias show pump-loop to see what that does
you'll see openaps wait-for-silence && openaps refresh-old-pumphistory && openaps refresh-old-pumphistory-24h - the first one gets you the "No pump comms detected from other rigs", and the second one is the one that seems to be erroring out. we can look at what that one does by running openaps alias show refresh-old-pumphistory
paste the output of that last one for me please
peterfulvi
@peterfulvi
Feb 02 2017 22:30
root@petersedison:~/peteropenaps# openaps alias show refresh-old-pumphistory
refresh-old-pumphistory ! bash -c "find monitor/ -mmin -15 -size +100c | grep -q pumphistory-zoned || ( echo -n \"Old pumphistory: \" && openaps gather && openaps enact ) "
root@petersedison:~/peteropenaps#
That was the last ouput
Scott Leibrand
@scottleibrand
Feb 02 2017 22:33
ok, that looks right. maybe we should run it manually to confirm
killall -g openaps; openaps refresh-old-pumphistory will do that
the killall is just to make sure nothing else is using the radio.
peterfulvi
@peterfulvi
Feb 02 2017 22:36
image.png
I have to go home i will be out for a while but we will keep this going. Thank You let me know that you think
Scott Leibrand
@scottleibrand
Feb 02 2017 22:38
ok, so time to drill down one more level when you get a chance
if you notice in the openaps alias show refresh-old-pumphistory output, the next two things after echo -n \"Old pumphistory: \" (which you do see) are openaps gather && openaps enact. so we can run each of those manually and see which one gives us that error
specifically, killall -g openaps; openaps gather and then killall -g openaps; openaps enact if the gather one doesn't error out
if gather is the one with the problem, we can drill down to see what it is doing by running openaps alias show gather
iananders
@iananders
Feb 02 2017 22:50
trying to setup an edison/explorer board setup and my jubilinux flashing process seems to go though without issue until the reboot twice step where the OS boots up and tries to "Load Kernel Modules" - any idea?
Scott Leibrand
@scottleibrand
Feb 02 2017 22:52
need more info
did it take the full 10 minutes to flash? what exactly is the last error?
after Flashing rootfs, (it can take up to 10 minutes... Please be patient) you should see 10 minutes worth of slowly marching #### characters on console
iananders
@iananders
Feb 02 2017 22:54
it did take about 10 minutes to flash, and i know the docs say i will start to get worried about being stuck in a loop) but it's probably rebooted maybe 10 times now
Scott Leibrand
@scottleibrand
Feb 02 2017 22:54
did you ever do Ctrl-D?
iananders
@iananders
Feb 02 2017 22:55
it never let me - the process never stopped to enter anything
Scott Leibrand
@scottleibrand
Feb 02 2017 22:55
might need to re-flash then. if it's continually rebooting, just doing ./flashall.sh should catch it on one of them
iananders
@iananders
Feb 02 2017 22:55
i see that line of text asking for Ctrl-D to continue but it continues to reboot again
Scott Leibrand
@scottleibrand
Feb 02 2017 22:56
every successful flash I've done prompts for Ctrl-D, and is happy once I press that. if I don't press it in time, it has a lot more trouble (but usually succeeds eventually)
iananders
@iananders
Feb 02 2017 22:56
ok good to know. i'll try to re-flash it now
hilarykoch
@hilarykoch
Feb 02 2017 23:12
Ok, I’ve set up wifi networks, closed out, opened a new window to try and login to my Edison, and I can’t seem to get to what I need.
Screen Shot 2017-02-02 at 6.09.01 PM.png
Scott Leibrand
@scottleibrand
Feb 02 2017 23:16
that means your wifi isn't working, most likely
Paul Tinson
@ptinson
Feb 02 2017 23:16
@hilarykoch i had to use the IP address of the edison, not all setups will support .local. names
Scott Leibrand
@scottleibrand
Feb 02 2017 23:16
go back to your screen session to check if you have an IP in ifconfig
Paul Tinson
@ptinson
Feb 02 2017 23:16
can get it from the serial with ifconfig
snap:)
Scott Leibrand
@scottleibrand
Feb 02 2017 23:16
jinx :)
Dana Lewis
@danamlewis
Feb 02 2017 23:16
@ptinson :)
Paul Tinson
@ptinson
Feb 02 2017 23:17
PS. I feel like iam going to break the explorer board its sooo dinky
Dana Lewis
@danamlewis
Feb 02 2017 23:17
@ptinson I’ve been not-careful with mine and haven’t had any issues, even w/ it in a soft case. So other than stomping on it…should be fine.
hilarykoch
@hilarykoch
Feb 02 2017 23:17
@scottleibrand How do I get to my screen session to check that?
Scott Leibrand
@scottleibrand
Feb 02 2017 23:18
same way you did last time
you probably shouldn't have closed it
but you can reopen it the same way
hilarykoch
@hilarykoch
Feb 02 2017 23:19
Ok, so the directions said to close it….
Scott Leibrand
@scottleibrand
Feb 02 2017 23:19
ok, can you PR an update to them when you're done?
hilarykoch
@hilarykoch
Feb 02 2017 23:19
sure.
“Cannot find a PTY"
Scott Leibrand
@scottleibrand
Feb 02 2017 23:21
same as last time?
try the same fix?
hilarykoch
@hilarykoch
Feb 02 2017 23:21
OK
Paul Tinson
@ptinson
Feb 02 2017 23:27
@danamlewis good to know. I am sure it is robust. Everyone i show is in awe of the size and capability.
katie disimone
@Kdisimone
Feb 02 2017 23:32
Would there ever be a way of getting a NS pill (or as part of OpenAPS pill) the name of the wifi network that the rig is connected to? That would be very valuable to me as a remote parent sometimes if concerned about data use and whether the school wifi is working vs being on my kid's phone.
Scott Leibrand
@scottleibrand
Feb 02 2017 23:34
if you wanted to add that you could do it similarly to the way uploader battery is done. would be a little bit of work to get set up though
katie disimone
@Kdisimone
Feb 02 2017 23:36
Maybe that will be my six month goal
Scott Leibrand
@scottleibrand
Feb 02 2017 23:39
you mean you'll have it done next week? ;-)
katie disimone
@Kdisimone
Feb 02 2017 23:40
😂
Paul Tinson
@ptinson
Feb 02 2017 23:43
not too bad to get the ssid from the commandline though iwgetid -r will display the ssid you are connected to
Scott Leibrand
@scottleibrand
Feb 02 2017 23:48
yeah, but you have to have ssh tunnels or something set up to be able to get in remotely
katie disimone
@Kdisimone
Feb 02 2017 23:48

@ptinson you're speaking to a worse-than-new OpenAPS user. I am still learning. 😉

I'd like to learn how to login to her rig while we are not in same area and not on same network, and then I could do a command line. But I haven't figured that out yet. So a nightscout pill would be best anyways

Oh. Twinning with Scott. I have to figure out those tunnels first
Dana Lewis
@danamlewis
Feb 02 2017 23:48
:+1:
katie disimone
@Kdisimone
Feb 02 2017 23:49
I will figure that out though. Somehow. Maybe.
Dana Lewis
@danamlewis
Feb 02 2017 23:49
*some time
Paul Tinson
@ptinson
Feb 02 2017 23:51
i can help with that, setting up tunnels, ill practice and write some docs for it
Scott Leibrand
@scottleibrand
Feb 02 2017 23:51
I wonder if openport.io would be good for this
Dana Lewis
@danamlewis
Feb 02 2017 23:52
super - thanks @ptinson!
Paul Tinson
@ptinson
Feb 02 2017 23:53
you can access wifi details from python as well
Scott Leibrand
@scottleibrand
Feb 02 2017 23:53
Paul Tinson
@ptinson
Feb 02 2017 23:54
i will see what it would cost to run an openvpn server for openaps people
wont be much
Scott Leibrand
@scottleibrand
Feb 02 2017 23:55
looks like openport.io is the only one on that list with a free option
their code is open source, too, if you wanted to host an openport server
Paul Tinson
@ptinson
Feb 02 2017 23:57
ok thanks
ill take a gander
hilarykoch
@hilarykoch
Feb 02 2017 23:58
@scottleibrand So I’ve done if config — Not sure what I should be looking for to determine wifi issues?
Scott Leibrand
@scottleibrand
Feb 02 2017 23:59
This message was deleted