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

20th
Feb 2017
Paul Dickens
@thebookins
Feb 20 2017 00:12
@peterfulvi let me know how you go printing the case plans - I haven't printed one myself yet, so I'll be crossing my fingers that I didn't make any mistakes on the measurements. Bear in mind also that it will be a tight fit to maneuver the PCB into position, and also the screw holes need to be tapped.
Paul Tinson
@ptinson
Feb 20 2017 00:46
@RedCyclist1 are using the jublinux image? sudo is definately in that build
RedCyclist1
@RedCyclist1
Feb 20 2017 00:46
@ptinson yes
Paul Tinson
@ptinson
Feb 20 2017 00:46
can you do run “cat /etc/issue” and let us know what you get back
jmcrawford
@jmcrawford
Feb 20 2017 00:47
@RedCyclist1 You missed a step earlier, installing sudo - Check the phase-0 doc under the heading "Install packages, ssh keys, and other settings"
Paul Tinson
@ptinson
Feb 20 2017 00:48
@jmcrawford is that not part of the jublinux image?
RedCyclist1
@RedCyclist1
Feb 20 2017 00:48
I got Debian GNU/linux 8 \n\1
@jmcrawford Ok Thanks
jmcrawford
@jmcrawford
Feb 20 2017 00:57
No, it needs to be installed manually after flashing. There is a line in the doc that installs a bunch of packages:
```
apt-get install -y sudo strace tcpdump screen acpid vim python-pip locate
Paul Tinson
@ptinson
Feb 20 2017 01:48
interesting, i must have just installed sudo when it didnt work and not registered it wasnt there
bingshin chia
@sugarsanity_twitter
Feb 20 2017 01:49

@Kdisimone Hi Katie, I am using Enlite Sensor.

I have trouble of getting openAPS glucose data uploaded to my nightscout (temp basal data is able to be uploaded though). Can anyone help? :)

peterfulvi
@peterfulvi
Feb 20 2017 02:20
after runnin the settings with the tehering options do i have to do anything else or is my phone tethered to my rig.
katie disimone
@Kdisimone
Feb 20 2017 02:43
You have to go into bluetoothctl @peterfulvi and follow the guide for pairing. The setup script just installs the bluez to the Edison
peterfulvi
@peterfulvi
Feb 20 2017 03:04
Allright i did it got it to pair now its saying it cannot find my device
agent] Confirm passkey 810327 (yes/no): yes
[CHG] Device B6:E4:20:F7:1F:54 Modalias: bluetooth:v0046p0802d0903
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 00001112-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 00001115-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 00001116-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 0000112f-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 00001132-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device B6:E4:20:F7:1F:54 Paired: yes
[CHG] Device B6:E4:20:F7:1F:54 Connected: no
[CHG] Controller 58:A8:39:00:D9:4D Discoverable: no
[bluetooth]# trust b6:e4:20:f7:1f:54
Device b6:e4:20:f7:1f:54 not available
[bluetooth]# paired-devices
Device B6:E4:20:F7:1F:54 S240B
[bluetooth]# trust B6:E4:20:F7:1F:54 S240B
Device B6:E4:20:F7:1F:54 S240B not available
katie disimone
@Kdisimone
Feb 20 2017 03:20
Try turning your Bluetooth off and then on again right before typing the pair command. So roll through the commands starting with "power off" and when you get to "pair AA:BB:CC:DD:EE:FF", cycle your bluetooth off and on about 5 seconds before executing that command.
peterfulvi
@peterfulvi
Feb 20 2017 03:21
on my rig or device?
katie disimone
@Kdisimone
Feb 20 2017 03:21
On your phone.
peterfulvi
@peterfulvi
Feb 20 2017 03:21
ok
katie disimone
@Kdisimone
Feb 20 2017 03:21
Is s240B the name of your phone?
peterfulvi
@peterfulvi
Feb 20 2017 03:45
yes
now it freezes when i try to ge tinto bluetoothctl
it shows its paired on my phone
Dana Lewis
@danamlewis
Feb 20 2017 04:10
Enlite user having trouble getting BG to Nightscout - run OpenAPS first upload
katie disimone
@Kdisimone
Feb 20 2017 04:19
@peterfulvi I'd try rebooting rig. If you still don't get the phone to show up on the list of paired-devices, I'd forget the pairing on the phone and start again. (Don't forget you will have to accept the pairing on the phone and in the rig to get it working)
katie disimone
@Kdisimone
Feb 20 2017 06:13

suggestion for a pump loop continually failing to tune (other than rebooting )

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 Sun Feb 19 22:07:12 PST 2017:
Radio ok, Listening: .No pump comms detected from other rigs
Old pumphistory: 
Error, retrying
Starting pump-loop at Sun Feb 19 22:08:20 PST 2017:
Radio ok, Listening: .No pump comms detected from other rigs
Old pumphistory: 
Error, retrying

rig and pump are within 2-3 feet of each other.

jmcrawford
@jmcrawford
Feb 20 2017 06:33
Can you run a pump command manually? Something like "openaps use pump model"
joannestevens
@joannestevens
Feb 20 2017 07:21
@Kdisimone - I am having exactly the same issue
Sacha M
@coolestkidsever
Feb 20 2017 08:36
Hi ya. There was command about fixing a broken git repo - but I can't find it on my phone. I've got a "failed to run pack-ref" which I'm hoping can be resolved with a git fix somehow?
Sacha M
@coolestkidsever
Feb 20 2017 08:53
Found the command - but that didn't seem to fix my error
Anyone else had pack-ref failure errors or know how to fix?
Colin Lennon
@colinlennon
Feb 20 2017 09:00
@tim2000s Hi Tim, are you still using xDripAPS and switching between WiFi and BT tethering? I finally got my Edison to switch between WiFi and BT reliably and it's all working well. One issue is that the glucose report from xDripAPS can potentially override the one from NS, even when internet access is available (BT tethered and phone is in 3G/4G range). In this scenario, xDripAPS will often not have a full day's BG data, so autosens and AMA will not be able to run. I think I need to add a test to see if internet access is available (maybe using icanhazip.com) and only pull in the xDripAPS glucose report if this test fails, i.e. we are genuinely offline. What do you think?
Tim Street
@tim2000s
Feb 20 2017 09:31
I hadn't seen that happening because when I flip between the two, typically the check on which to use has worked okay.
Tim Street
@tim2000s
Feb 20 2017 10:09
Are you sure that is an issue that can't be handled by a basic comparison on the NS data, I.e if NS-data is continuous use NS else use xDrip?
jmcrawford
@jmcrawford
Feb 20 2017 10:46
@coolestkidsever I've had this happen a few times, never been able to find a legit fix. All I could do is wipe out the .git directory. It'll get recreated and life carries on, you only lose the git history. In your OpenAPS directory, run "rm -rf .git"
jmcrawford
@jmcrawford
Feb 20 2017 11:03
@colinlennon If you're running xDripAPS full time, wouldn't it have a full day's BG data regardless? (bear in mind, this question comes from someone who just got xDripAPS working again a couple of hours ago)
Note - the "api/v1" string is case sensitive in configuring xDripAPS - I think NS is more tolerant of upper/lower case. I'll test this out after our flight later today
Colin Lennon
@colinlennon
Feb 20 2017 11:32
@jmcrawford Yeah, if you run xDripAPS full-time, then it's not an issue. That's what I've been doing until now.
Colin Lennon
@colinlennon
Feb 20 2017 11:39
@jmcrawford It's only now that I've started switching between using xDripAPS and NS that I've realised there's an issue: when I'm at home, I can now disable BT tethering on my phone and have the rig switch to WiFi, but that means that xDripAPS won't have data for those periods of time.
@tim2000s Yip, an evaluation of the NS data could work. For now, I've changed my cron entry for xDripAPS so that it only generates the glucose report from xDripAPS if the rig does not have internet access. That should mean that whenever the rig does have internet access, it'll use Nightscout as the CGM data source. Seems to be working so far but I'll continue to test and monitor.
peterfulvi
@peterfulvi
Feb 20 2017 13:56
my phone show its paired with my rig can i ssh into it. how do i find the ip adress my phone gave to it. in the teherin proccess i couldnt get it to trust the device it said it couldnt find it. im just trying to get an offline connection between the phone and the rig so i can watch the loop and send temp bg coomands withouth being connected to the internet. Also is there a way to pake a personal network between the phone and the rig and ssh that way?
feraridurango
@feraridurango
Feb 20 2017 14:32
Hello I have a question. I was able to connect the rpi3 to my home wifi until I used an Ethernet cable at another location. Now when I returned home and hit the wifi button it says disassociated from "Anglani" wifi. I can do ifconfig and it shows 4 available wifi networks mine is listed in there ......so weird I am plugged into the Ethernet cable now but want to get back on my wifi
Scorponok
@Scorponok
Feb 20 2017 14:35
@feraridurango Did you set up the wifi network in wpa_supplicant etc so it knows to reconnect to it?
peterfulvi
@peterfulvi
Feb 20 2017 14:38
yes but im going to comment the networks out
feraridurango
@feraridurango
Feb 20 2017 15:01
@Scorponok no I have to look for instructions on that
lukas-ondriga
@lukas-ondriga
Feb 20 2017 16:08
@peterfulvi the best way to find out the BT tethering IP is to connect UART if possible and check the bnep0 using ifconfig. The mobile phone assignes the same IP address all the time. The network is only accessible by the devices connected by bluetooth so it is more or less personal.
feraridurango
@feraridurango
Feb 20 2017 16:11
@Scorponok thank you I found instructions yay!
katie disimone
@Kdisimone
Feb 20 2017 16:18
@peterfulvi on an iPhone?
But if you really want detailed info on how to setup the terminus app and scan for IP address...this page will walk you through that http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-2/on-the-go-wifi-adding.html
Matthias
@ceben80
Feb 20 2017 16:39
A1C 5.5 today, best the last 17 years, so happy :star2:
Karim Azzaz
@moimemecloud
Feb 20 2017 16:41
Hi there,
Before buying an Intel Edison Module, would you mind tell me if there are many models to work with the 900mhz Explorer Block - Hamshield - please? Thank you
Scorponok
@Scorponok
Feb 20 2017 16:57
@ceben80 nice!
@moimemecloud What do you mean by "many models"?
peterfulvi
@peterfulvi
Feb 20 2017 16:59
@lukas-ondriga so are saying to connect my
Rig usrt port through my computer then run ifcpnfig
Scorponok
@Scorponok
Feb 20 2017 17:11
@peterfulvi There's not a lot of good options for finding out your IP address - if you're on android maybe you can get one of those apps that "searches" the network or something? I think there's something about it in the docs
peterfulvi
@peterfulvi
Feb 20 2017 17:14
My phone is android
"If you can open a terminal session to your rig via serial, then ifconfig wlan0 (when using the WiFi hostpost option) or ifconfig bnep0 (when using bluetooth tethering) will display your IP address. Alternatively, you can use an Android app - there are lots of “Network IP Scanner” apps in the Play store. The Hurricane Electric Network Tools app works with both the WiFi hotspot and BT tethering options."
katie disimone
@Kdisimone
Feb 20 2017 17:15
I think ping sweep is the app for androids
peterfulvi
@peterfulvi
Feb 20 2017 17:21
I don't see it maybe its not tethered properly
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:20816 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20816 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1322987 (1.2 MiB)  TX bytes:1322987 (1.2 MiB)

usb0      Link encap:Ethernet  HWaddr 02:00:86:6a:57:d0
          inet addr:192.168.2.15  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 90:b6:86:10:dd:73
          inet addr:192.168.4.207  Bcast:192.168.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:224655 errors:0 dropped:12 overruns:0 frame:0
          TX packets:74065 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:33866701 (32.2 MiB)  TX bytes:10290795 (9.8 MiB)
Scorponok
@Scorponok
Feb 20 2017 17:21
I believe if you don't see "bnep0" in the interface list, it's not tethered
peterfulvi
@peterfulvi
Feb 20 2017 17:21
i'll go back afew steps then
Scorponok
@Scorponok
Feb 20 2017 17:22
I would connect via UART while you're getting it set up, that way you can keep a better eye on it
peterfulvi
@peterfulvi
Feb 20 2017 17:23
Im trying to get to the place were i can send temp BG with my phone a observe my loop totally offline. Thanks
Tim Street
@tim2000s
Feb 20 2017 17:27
It also won't auto tether to Bluetooth if you have wifi connectivity.
And when you say "observe your loop" what do yo umean?
katie disimone
@Kdisimone
Feb 20 2017 17:37
And by "totally offline" I think you may want to clarify that too. If your using your phone via BT tether...you're not totally offline.
Matthias
@ceben80
Feb 20 2017 17:41
but on long term that should be the goal, looping completely offline without relying on nightscout, or?
Scorponok
@Scorponok
Feb 20 2017 17:45
"working offline" for software in general is a tire fire, unfortunately
peterfulvi
@peterfulvi
Feb 20 2017 17:56
I mean tailing my loop if errors happen
Scorponok
@Scorponok
Feb 20 2017 17:58
@peterfulvi We usually do that via tethering to the same hotspot and connecting to "edison.local" or "raspberrypi.local" via SSH, or using the UART cable
I thought there was a page about it in the docs, but I can't find it
peterfulvi
@peterfulvi
Feb 20 2017 18:02
I know it's not totally offline but there. I just want to communicate with my rig without there having to be a router around. Of course updating and fixing problems require being online, but being able to control things without it seems good there is a degree of flexibility
I had trouble revering last night Kate helped me out. I'm going at it again hopefully tonight
dan lightner
@danimaniac
Feb 20 2017 18:16
@peterfulvi After printing, please comment on the fit and finish of @thebookins 's case. I like his design enough that my design is taking a back seat to a few other things right now. I will further refine my design, but I still want to print @thebookins to use first. Thanks.
Eric
@ecc1
Feb 20 2017 18:17
Just a reminder that you can fix problems "in the field" without network connectivity if you use an OTG to micro USB cable from your phone to your Edison, with a USB terminal app on the phone.
(It's also possible to set up "login over Bluetooth", but that's much more complicated.)
peterfulvi
@peterfulvi
Feb 20 2017 18:35
@danimaniac I'm in the same boat.i will let you know. I'm Learning auto desk right now and working on my own design I will definitely like everyone's input on it. I will keep you posted
Dana Lewis
@danamlewis
Feb 20 2017 18:40
@moimemecloud any Edison will work
Scott Leibrand
@scottleibrand
Feb 20 2017 18:59
@colinlennon if you turn off personal hotspot without turning off Bluetooth that should force your rig back to wifi. And if wifi is stable, you can immediately turn hotspot back on and then close out settings, and it won't reconnect until you leave home.
katie disimone
@Kdisimone
Feb 20 2017 19:00
@peterfulvi yes...with a couple android apps you should be able to achieve that. We are able to login to our rig while out and about to see our pump-loop tail. Ping sweep i think with get the IP address. And then find an ssh app for android, should be good to go
JustineAnne
@MicheleJustine
Feb 20 2017 19:58
I am setting up Bluetooth on my Pi with a BLE USB adapter and when installing Bluetooth software It's saying 'Sap driver installation failed' and 'sap-server: operation not permitted'.
joannestevens
@joannestevens
Feb 20 2017 19:58
Anyone managed to run a marathon with their loop yet?
Dana Lewis
@danamlewis
Feb 20 2017 20:31
@joannestevens I ran my full pre-closed loop but think I've just done half distances and long distance relays since closing the loop.
joannestevens
@joannestevens
Feb 20 2017 20:32
Thanks @danamlewis, am running one in 2 weeks - how did you find it performed during the halves?
Dana Lewis
@danamlewis
Feb 20 2017 20:33
Woot! Temp targets are your friends :smile: and like all things, if you're going to loop during the full, make sure to loop during your practice runs so your fueling strategy and coping strategies are sorted out.
I feel like looping amplifies and helps if you're prepared and practiced but it can't help if you've not trained and know generally what to expect body wise and fuel wise
joannestevens
@joannestevens
Feb 20 2017 20:34
Attempted 11 miles yesterday and too high temp basals were not my friend - setting it far too high
Dana Lewis
@danamlewis
Feb 20 2017 20:35
Did you change your targets? Have you been running all along with it?
joannestevens
@joannestevens
Feb 20 2017 20:35
Think I will forego it for this marathon.
Dana Lewis
@danamlewis
Feb 20 2017 20:35
If youve not practiced enough w it, it might be easier to go without and do manual mode
joannestevens
@joannestevens
Feb 20 2017 20:36
Yes, set high targets, seems to cope well with shorter runs but not long despite eating a couple of tubes of glucotabs
Dana Lewis
@danamlewis
Feb 20 2017 20:36
And when you turn it back on, set a high target until autosens picks up your sensitivity changes, etc
joannestevens
@joannestevens
Feb 20 2017 20:36
Ahh, yes that's a good point.
Matthias
@ceben80
Feb 20 2017 20:57
@joannestevens all the best for your marathon in 2 weeks
joannestevens
@joannestevens
Feb 20 2017 20:58
@ceben80 - thanks :)
lukas-ondriga
@lukas-ondriga
Feb 20 2017 21:19
Hi all, I had another issue with COB today. I turned off the loop, I had a dinner and then after two hours I started the loop. After the start the COB was like I entered it two hours ago into the pump and then it started to absorb. I checked the algorithm (oref0/lib/determine-basal/cob-autosens.js) and I found out that it takes first BG value after the meal - in my case it was two hours after. I did small change in the algorithm - for the time between meal and first BG it calculates absorbed BG from min_5m_carbimpact setting. Is it worth to create an issue/PR for this?
peterfulvi
@peterfulvi
Feb 20 2017 21:21
werear the outputs for autotune and autosensitivity, dont they make adjustments to your ISF and carb rations i haven't seen any such change or output in my loop:
Starting pump-loop at Mon Feb 20 16:18:15 EST 2017:
Radio ok, Listening: .No pump comms detected from other rigs
MDT cgm data retrieved
MDT cgm data reformatted
Profile less than 60m old
glucose.json newer than temp_basal.json
Temp refreshed
Temp duration 27m or more
glucose.json newer than pumphistory: Refreshed pumphistory
{"carbs":6,"boluses":0.4,"mealCOB":0}
{"ratio":1}
{"iob":0.6,"activity":0.006,"bolussnooze":0,"basaliob":0.6,"netbasalinsulin":1.25,"hightempinsulin":2.1,"time":"2017-02-20T21:19:32.000Z"}
{"delta":2,"glucose":132,"short_avgdelta":2,"long_avgdelta":1.65}
{"duration":28,"rate":2.5,"temp":"absolute"}
target_bg unchanged: 100
Carb Impact: 2.7 mg/dL per 5m; CI Duration: 0 hours
Accel. Carb Impact: 10 mg/dL per 5m; ACI Duration: 0 hours
determine-basal://text/shell/enact/suggested.json
reporting enact/suggested.json
{"temp":"absolute","bg":132,"tick":"+2","eventualBG":127,"snoozeBG":127,"predBGs":{"IOB":[132,133,135,136,137,137,138,138,138,137,137,136,135,134,133,131,130,129,128,126,125,124,123,121,120,119,118,117,116,115,114,113,113,112,111,110,110,109,109,108,108,107,107,106,106,106,106,106,106,105]},"COB":0,"IOB":0.6,"reason":"COB: 0, Dev: 16, BGI: -1.05, ISF: 35, Target: 100; Eventual BG 127 >= 110, adj. req. rate: 2.8 to maxSafeBasal: 2.5, temp 2.5 >~ req 2.5U/hr"}
{"bg":132,"temp":"absolute","snoozeBG":128,"recieved":true,"predBGs":{"IOB":[132,133,135,136,136,137,137,138,138,137,137,136,135,134,133,132,132,131,130,129,128,127,126,125,124,124,123,122,122,121,121,120,120,119,119,118,118,117,117,117,116,116,116,116,115]},"rate":2.5,"reason":"COB: 0, Dev: 16, BGI: -1.07, ISF: 35, Target: 100; Eventual BG 128 >= 110, adj. req. rate: 2.85 to maxSafeBasal: 2.5, temp 2.45<2.5U/hr","COB":0,"eventualBG":128,"timestamp":"2017-02-20T16:16:32.282785","duration":30,"tick":"+2","IOB":0.572}
Settings less than 10m old
Pumphistory-24 less than 20m old
lukas-ondriga
@lukas-ondriga
Feb 20 2017 21:29
@peterfulvi the line "target_bg unchanged" means that it is not adjusted, line {"ratio": 1} is from autosensitivity
peterfulvi
@peterfulvi
Feb 20 2017 21:30
Thanks.Just trying to see how it works in the loop
katie disimone
@Kdisimone
Feb 20 2017 21:34
I notice it because my isf used in the OpenAPS pill is different than what we have in the pump settings @peterfulvi
peterfulvi
@peterfulvi
Feb 20 2017 21:43
@lukas-ondriga Where do i add your script for setting temp targets. I would like to do it by the command prompt for now if that is possible. o i have to edit anything in openaps.ini?
PieterGit
@PieterGit
Feb 20 2017 22:08
are there any spidev guru's that can help me with trying to skip the dependency for mraa on edison, and use linux kernel gpio sysfs and spidev libraries. my first attempt is at scottleibrand/spi_serial#1 (does not work yet)
Diabetic_Dude
@diabetic_dude_twitter
Feb 20 2017 22:21
Just reviewing the edison directions before I get started in late Febuary. I have not seen a section that covers adding the 900MHZ EXPLORER BLOCK to the edison, is this an easy process? (from what I can see in the pictures it looks like I just remove piece with the intel edison what will you make sticker and replace it with the 900MHZ EXPLORER BLOCK I am just not sure and don't have all the parts yet)
Tim Mecklem
@tmecklem
Feb 20 2017 22:31
@PieterGit I’m not sure I can offer much by the way of technical assistance, but the mraa dependency in a thorn for some other work I’m doing too. :+1:
katie disimone
@Kdisimone
Feb 20 2017 22:32
PieterGit
@PieterGit
Feb 20 2017 22:34
@tmecklem : please have a look at scottleibrand/spi_serial#1 and if you can try to help it would be great
peterfulvi
@peterfulvi
Feb 20 2017 22:56

Igot all the way in the tehering proccces to establishing a network connection When i run

sudo bt-pan client AA:BB:CC:DD:EE:FF

this is what i get

root@petersedison:~# sudo bt-pan client b6:e4:20:f7:1f:54
Traceback (most recent call last):
  File "/usr/local/bin/bt-pan", line 228, in <module>
    if __name__ == '__main__': sys.exit(main())
  File "/usr/local/bin/bt-pan", line 188, in main
    dev_remote = find_device(opts.remote_addr, devs.values()[0])
  File "/usr/local/bin/bt-pan", line 53, in find_device
    return find_device_in_objects(get_manager().GetManagedObjects(), device_address, adapter_pattern)
  File "/usr/local/bin/bt-pan", line 68, in find_device_in_objects
    raise BTError('Bluetooth device not found')
__main__.BTError: Bluetooth device not found
Its paired and trusted on myphone and rig
Tim Street
@tim2000s
Feb 20 2017 23:00
@lukas-ondriga why did you turn the loop off when you ate? That seems counterintuitive. Especially if you are using AMA. I'm not sure that calculating carb absorbed from min_5m_carbimpact is useful unless you've calculated what your own is?
Eric
@ecc1
Feb 20 2017 23:43
Finally got BT tethering to work! As Dana suggested, I followed the directions on a newly-flashed Edison, and that worked. Then I was able to isolate the difference between that and my actual rig, which runs stretch instead of jessie, and the Debian version of bluez (5.43).
As someone here suggested (can't find them to give credit): the problem was in /etc/rc.local -- it needs to run the /usr/local/sbin/bluetooth_patchram.sh script that jubilinux installs.
peterfulvi
@peterfulvi
Feb 20 2017 23:50
I finally got it connected was able to ssh through the ip address that i found unning ifconfig. Now im going to work on the hot buttons
Dana Lewis
@danamlewis
Feb 20 2017 23:54
@ecc1 woot!
Eric
@ecc1
Feb 20 2017 23:58
But at least I can confirm that a more recent version of bluez works too, as does the systemd integration of bluetoothd (no need for experimental either)