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

17th
Jan 2017
Tim Street
@tim2000s
Jan 17 2017 00:10
Has anyone else found that their explorer board interferes with their car key signal?
Dana Lewis
@danamlewis
Jan 17 2017 00:10
(lol)
Eric
@ecc1
Jan 17 2017 00:12
I think most keyfobs in the US use the 433 MHz band, so I wouldn't expect it here.
chrisharris751
@chrisharris751
Jan 17 2017 01:21
@walker0 It's set correctly. Although I can't tell if daylight savings has been accounted for.
Scorponok
@Scorponok
Jan 17 2017 01:49
@chrisharris751 is there a time zone you need to set up on your nightscout site, maybe? Not sure if that's a thing... is it still wrong if you check it on a different device?
Chris Oattes
@cjo20
Jan 17 2017 02:11
@tim2000s How'd you work out it was interfering with the car key fob?
Aaron Michelson
@Aaybob
Jan 17 2017 02:14
I can edit wpa_supplicant.conf to remove home network reboot and I'm on phone hotspot.
I can leave the house with wpa_supplicant.conf {home ..... phone} both listed and I'm never on phone hotspot.
Is that even possible?
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 02:25
@TC2013 hello can you please share how you were able to copy that black box and paste it here thank you
Aaron Michelson
@Aaybob
Jan 17 2017 02:26
@danamlewis Yes, I intentionally opened and closed test PRs. I made a video with the procedure in it.
Chris Oattes
@cjo20
Jan 17 2017 02:26
@ryan_anglani_twitter Put ``` before and after your text (it's different to ''')
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 02:30
@cjo20 I tried and it didn't work :(
Chris Oattes
@cjo20
Jan 17 2017 02:31
it does work
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 02:31
wow how did you do that ??lol
Chris Oattes
@cjo20
Jan 17 2017 02:32
I did what I said. I put ``` before and after my message
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 02:33
do you also right click and hit copy?
Chris Oattes
@cjo20
Jan 17 2017 02:33
It doesn't matter how the text between the ``` gets there.
You can type it, paste it, anything. Gitter doesn't care where it comes from, it just puts anything between ``` in that box.
```test``` gives test
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 02:39
test
i want to copy from the putty box and paste here
Chris Oattes
@cjo20
Jan 17 2017 02:40
Just hilight the text in putty, that should copy it to the clipboard, then ctrl+v in the text box here
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 02:44

is this is right place to ask what this means ```Attempting to communicate with pump:
pump://JSON/read_temp_basal/monitor/temp_basal.json
monitor/temp_basal.json raised ACK is 0 bytes:

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 61, in before_main
self.setup_medtronic( )
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/medtronic.py", line 160, in setup_medtronic
self.uart.open( )
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 874, in open
log.info('%s' % self.product_info( ))
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 515, in product_info
return self.query(ProductInfo)
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 509, in query
return self.process( )
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 496, in process
ack, response = self.command.respond(raw)
File "/usr/local/lib/python2.7/dist-packages/decocare/stick.py", line 71, in respond
raise AckError("ACK is 0 bytes:\n%s" % lib.hexdump(raw))
decocare.errors.AckError: ACK is 0 bytes:

Schedule openaps in cron? y/[N] y
pi@raspberrypi:~ $
Scorponok
@Scorponok
Jan 17 2017 02:45
@ryan_anglani_twitter When I see that, it usually means "can't communicate with carelink stick" - plugging in the stick, or changing the USB port it's in, fixes it
Dana Lewis
@danamlewis
Jan 17 2017 02:45
usually ack=0 is carelink wonkiness
^ :+1:
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 02:45
i have clipboard now i had to download it @cjo20 thank you :)
Dana Lewis
@danamlewis
Jan 17 2017 02:45
that, plus “port not open”, are two things that could be added to the troubleshoot page if anyone’s hankering for a PR ;) :)
Aaron Michelson
@Aaybob
Jan 17 2017 02:50
@danamlewis I could have left it open but it was such a minor change. I put capital letters on " PR (pull request)". PRing seems so easy now I'm almost like we don't need any instruction on that. But I remember the learning curve. Newbies are afraid to try anything, afraid of breaking things.
Dana Lewis
@danamlewis
Jan 17 2017 02:51
@Aaybob k. i’ve seen several come through over multiple days, so was just ensuring they were intentional and I didn’t need to go in and revive them.
Aaron Michelson
@Aaybob
Jan 17 2017 02:51
:+1:
@danamlewis I also went back to some old ones, saw messages for the first time, deleted a closed branch. "closed branch" that word makes me so nervous.
Dana Lewis
@danamlewis
Jan 17 2017 02:54
yep, that one gets me every time :)
Aaron Michelson
@Aaybob
Jan 17 2017 02:54
:smile:
Do people using "hotspot" iphone list in wpa_supplicant.conf first phone then home net and control which one is active by manually turning on and off on the phone the hotspot feature?
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 03:02
it is working :)
@Scorponok @danamlewis
Scorponok
@Scorponok
Jan 17 2017 03:02
\o/
Toby Canning
@TC2013
Jan 17 2017 03:37
@kenstack Yes, it is with the production Explorer board.
woodtrevor
@woodtrevor
Jan 17 2017 03:41
@ryan_anglani_twitter You can solve the Carelink wonkiness without touching the rig by doing
Grrr...
sudo oref0-reset-usb
Scorponok
@Scorponok
Jan 17 2017 03:42
Nice, thanks for the tip
woodtrevor
@woodtrevor
Jan 17 2017 03:44
You can detect it by grepping the log or running a simple report like 'openaps use pump model' (ie. via a cron job)
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 03:56
@woodtrevor thank you I just keep doing cd && ~/src/oref0/bin/oref0-setup.sh
so the sudo reset will work better or is the correct thing to do
Chris Oattes
@cjo20
Jan 17 2017 03:57
Why do you keep running oref0-setup.sh, and why do you have the cd there?
Scorponok
@Scorponok
Jan 17 2017 03:57
the "cd" is in the readthedocs.io instructions IIRC
Chris Oattes
@cjo20
Jan 17 2017 03:58
I can't think of a good reason to have cd && something instead of something
Eric Luhrs
@eluhrs
Jan 17 2017 03:58
I want to try the new autotune feature. I see there are a few possible github branches: autotune-zero-isf, autotune, and dev. Which is the best for me to use?
Chris Oattes
@cjo20
Jan 17 2017 03:59
I think it was merged to dev

@cjo20 ```Run this:

cd && ~/src/oref0/bin/oref0-setup.sh```

ffs, I guess I messed up the backtick thing
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 04:00
it was the last step I was at that got the pump to talk to the pi3 so I go back to that to make it work again @cjo20
Chris Oattes
@cjo20
Jan 17 2017 04:00
@Scorponok Try putting the ``` on their own line.
I suspect that command should have been cd ~ && ~/src/oref0/bin/oref0-setup.sh
Eric Luhrs
@eluhrs
Jan 17 2017 04:01
Thanks, @cjo20. That's what I thought, but just wanted to check.
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 04:01
I am still very new at this and I am now at phase 3 which means reading through more and understanding what it all says @cjo20
ejoe132
@ejoe132
Jan 17 2017 04:13
Wanting to turn on Watchdog on rpi3, as last few nights my setup has stopped working mid way through the night for no other identifiable reason, wake up and just restart and starts again. Is watchdog automatically on on the rpi3 running Jessie?
kenstack
@kenstack
Jan 17 2017 04:31
@TC2013 if you look in the mmeowlink room or on the issues on GitHub for the board I'm wondering if your issue is related to a delay issue I'm seeing - after the board sleeps for a bit (say after a loop) it seems to be unresponsive to the first few commands - on the 2nd or 3rd try it seems to work - @cjo20 is working on it
Martin Haeberli
@mhaeberli
Jan 17 2017 04:32
looking for guidance on what the critical “low battery” voltages should be set at for the Energizer Ultimate Lithium batteries; we have a Medtronic 522 in use...
@eluhrs yes for dev for autotune. :+1: @cjo20
Aaron Michelson
@Aaybob
Jan 17 2017 04:59
The way to reboot in the field would be to press the power button, then unplug and replugin the battery. Right?
Martin Haeberli
@mhaeberli
Jan 17 2017 05:00
@danamlewis :+1:
Eric
@ecc1
Jan 17 2017 05:01
No need to unplug the battery. Hold the power button until the light goes out (about 10 seconds), so it's halted. Then hold it again until it flashes (about 2 seconds) and it should boot.
Oops, that's for Intel mini-breakout board. Someone else should chime in for Explorer.
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 05:02
I have a question if the pump is giving a temp basal of 2.0U/H because the blood sugar is 260 is it also giving the .30 that is in the pump before openaps?
Eric
@ecc1
Jan 17 2017 05:04
If you mean 0.30 U/hr is the normal basal profile, then no, that has been replaced by the 2.0 U/hr temp basal. The pump will only revert to the basal profile when the temp basal ends (either at its time limit or if it's cancelled early)
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 05:07
@ecc1 yes that is what I mean thank you
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 05:22
I have another question.... my putty box was closed the openaps is up and running I want to look at the info in the putty box again what do I run to see it?
Eric
@ecc1
Jan 17 2017 05:27

It depends what you were running with putty on the Edison. If it was just a login shell, then it went away when you closed your putty window and your SSH connection. Lots of people use screen or tmux in conjunction with ssh; that session "sticks around" and you can reconnect to it if you lose the SSH connection.

Even if you lost your shell, the info you want might be in the logs, so you can page through them.

Aaron Michelson
@Aaybob
Jan 17 2017 05:27
PuTTY.exe
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 05:28
@ecc1 it is on a pi3
@Aaybob I should run putty.exe ?
Scott Leibrand
@scottleibrand
Jan 17 2017 05:33
@cjo20 cd ~ and cd do the same thing
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 05:35
@ecc1 how do I get screen or tmux ?
diabeticgonewild
@diabeticgonewild
Jan 17 2017 05:44
I need to do a ton of PRs. 😭
Tim Street
@tim2000s
Jan 17 2017 05:58
@cjo20 The car has one of those touch free keys and every so often I'd walk up to the car and I couldn't open it or it would tell me the key wasn't detected in the vehicle. The fix was straightforward... move it to a different pocket. Just a bit random!
Aaron Michelson
@Aaybob
Jan 17 2017 06:31
@ryan_anglani_twitter PuTTY.exe If you're RPi isn't on the internet you'll need an ethernet cable. But in either case use PuTTY.exe. The window that opens is a terminal connected to RPi. Use the SSH default option for a wireless terminal into RPi. Use the serial option for an ethernet cable connection to a terminal into RPi. I haven't needed the ethernet cable so don't know details there. Its just like running your desktop computer. Try unplugging the chord connected screen. Doesn't mean the computer isn't working.
Tim Street
@tim2000s
Jan 17 2017 06:32
How are people getting on with Bluetooth on the dev branch. Mine seems to temperamental.
Aaron Michelson
@Aaybob
Jan 17 2017 06:32
@tim2000s me, I gave up. It's just to save phone battery life.
chrisharris751
@chrisharris751
Jan 17 2017 07:11
@tim2000s mine was working well. Then I ran the setup script again to and it doesn't work anymore. I will troubleshoot it tonight. The biggest problem I was having was xdrip g5 causing it to reset Bluetooth and drop the connection. I found an app (Android) called BT auto tether that auto reconnects it that worked well. I also got a new to me transmitter that is working much better than my old one. So once
I get it connected again I think it will be working well.
Tim Street
@tim2000s
Jan 17 2017 10:43
Thanks @Aaybob & @chrisharris751 Mine thethered from a unix prompt but stops beyond that and doesn't communicate properly.
(iPhone)
chrisharris751
@chrisharris751
Jan 17 2017 11:10
I have discovered tonight that when I turn my home network Wi-Fi off, my phone, my wife's phone and our tablets all automatically connect to the rig as a Wi-Fi source!!! 😟
Further more the rig seemed to think it had Wi-Fi, so the Bluetooth tether wouldnt connect.
chrisharris751
@chrisharris751
Jan 17 2017 11:15
I don't know if I've missed something, but I don't think random devices should be connecting to the rig.
Tim Street
@tim2000s
Jan 17 2017 12:24
Just set up the xDrip version of dev. Anything I need to know?
Assume on xDrip I point the rest API at my localhost:5000?
Matthias
@ceben80
Jan 17 2017 12:37
Yes Tim :+1:
David
@davidkeddydb
Jan 17 2017 12:40
Cortisone shot kicked my and OpenAPS ass. Guess one needs to change ISF as it couldn't keep up with the extra insulin demand.
Tim Street
@tim2000s
Jan 17 2017 13:08
@ceben80 How are you communicating between Edison and xDrip? If xDrip is on the phone running the wireless hotspot does it still communicate?
Matthias
@ceben80
Jan 17 2017 13:19
Yes @tim2000s both are talking via my Huawei mobil router wlan, it works absolut reliable. I only use this wlan LAN, at home the Huawei acts as a home wlan extender (repeater), no network switching is required, that's great.
Tim Street
@tim2000s
Jan 17 2017 13:32
That's handy.
I'm not seeing any data being picked up in the xdrip/glucose.json
I used the version in the dev setup script.
Geoff Aumaugher
@geoffro10
Jan 17 2017 13:36
Should I leave auto sensitivity off if I'm using autotune?
Nevermind, I see the differences in both. :D
Matthias
@ceben80
Jan 17 2017 13:41
@tim2000s a xdrip service/daemon needs to be started up, but don't know more details at the moment
Here the cron entry
@reboot python /home/edison/.xDripAPS/xDripAPS.py
C-Ville
@C-Ville
Jan 17 2017 14:01
@tim2000s you can check with the android app fing if port 5000 is open on the edison which it should be if your python script is running
or you can check with ps -aux |more
if the script is running on your edison
Tim Street
@tim2000s
Jan 17 2017 14:19
Yup. The script is running. 5000 is open and I can see it in ps -ef
C-Ville
@C-Ville
Jan 17 2017 14:33
@tim2000s which android are you using? on my cyanogenmod 13 I was not able to upload anything from xdrip to either mongo or NS (both running on my edison) when the cell phone was in hotspot mode. on my S5 mini running stock firmware (Android 5) this was not a problem. I have not yet tried with the python xdrip script
Tim Street
@tim2000s
Jan 17 2017 14:35
Currently connected via a hub using android 5.1.1
Both mechanisms upload to NS this way.
Tim Street
@tim2000s
Jan 17 2017 15:31
Careful about adding a wireless charger. It gets very hot...
Brian Rabinovitz
@bdr1177
Jan 17 2017 15:38
I tested openaps overnight last night. BG was 274, but openaps set a neutral basal. Is this because it is running by default in low glucose suspend mode? Nightscout showed an IOB of 0.0. Or is there something else going on?
Scorponok
@Scorponok
Jan 17 2017 15:40
I think the default settings will reduce your basal, but never increase it - that's "low glucose suspend mode"
Tim Street
@tim2000s
Jan 17 2017 15:45
@bdr1177 If you had used the default settings, then yes, it won't raise TBRs. If you aren't sure how to raise them then you probably need to re-read the docs and understand what it's doing and how it works to do it safely.
Chris Oattes
@cjo20
Jan 17 2017 15:47
@bdr1177: what is your max_iob set to?
jmcrawford
@jmcrawford
Jan 17 2017 15:53
@ryan_anglani_twitter @Aaybob The ethernet port on a Pi is just ethernet, not serial. There are serial pins on the GPIO if you've got the right cables for it. However you were connecting to your Pi before - open up Putty.exe, and put the same IP address in, or raspberrypi.local.
Brian Rabinovitz
@bdr1177
Jan 17 2017 16:09
@tim2000s Thanks. That's exactly what I'm doing - reading through the documentation to understand how it works to do it safely. I understand how to move beyond low glucose suspend mode by changing max_IOB, but I asked my question to confirm that I'm understanding correctly.
@cjo20 max_IOB is still set to zero. Haven't raised it yet. I assumed that was the reason for openaps not setting a higher temp basal, but just wanted to confirm my understanding that it wasn't something else.
Is there any way for the edison to read and report the charge remaining in the LiPo battery that is powering it?
fiberfan
@fiberfan
Jan 17 2017 16:16
@bdr1177 if openaps has done a reduced temp basal so net iob is negative it can then do an increased temp basal that brings net iob back to zero. Net iob takes into account your set basal rates so a reduced temp basal will make net iob negative.
My previous post applies only if max iob is zero.
Scorponok
@Scorponok
Jan 17 2017 16:19
Right, but it'll only ever go back to your normal temp basal, right? It won't go above that
Brian Rabinovitz
@bdr1177
Jan 17 2017 16:22
@Scorponok I don't think so. As @fiberfan says, I've observed a temp basel above the set temp basel when there is a negative IOB.
Scorponok
@Scorponok
Jan 17 2017 16:22
Interesting, thank you
Dana Lewis
@danamlewis
Jan 17 2017 16:25
@scorponok because it's net IOB. If there's net negative, there may be high temps until net IOB returns to zero.
Scorponok
@Scorponok
Jan 17 2017 16:28
I guess I'm missing something - if there's a negative IOB, that means your basal has been reduced to avoid going low, right? If max_iob is set to 0, when the low is over, won't it just set it back to your normal basal? (Apologies if I'm misunderstanding something)
Dana Lewis
@danamlewis
Jan 17 2017 16:30
Max iob is max net IOB . So if there is negative net IOB and you're predicted to rise from it, it may high temp you above normal basal up until netiob reaches back to 0 then it switches off regardless of predicted BG
Scorponok
@Scorponok
Jan 17 2017 16:31
Oh, wow, I didn't realize that. Thanks!
Dana Lewis
@danamlewis
Jan 17 2017 16:31
:+1:
Geoff Aumaugher
@geoffro10
Jan 17 2017 16:35
Will autotune change basals, carb ratios, and correction ratios? If so, does it change it in the pump or just the rig? Finally, if it's only the rig, should there be a point in time to make the actual changes in the pump?
Dana Lewis
@danamlewis
Jan 17 2017 16:37
@geoffro10 depends on whether you’re running it as a standalone vs on the rig, but yes it can. It will only change on the rig, because we want to keep the pump as-is so if the rig breaks it falls back to what you’ve programmed in;; and that’s also how we do the safety cap comparison of 20% compared to what’s in your pre-programmed pump. you should figure out how you want to watch autotune & decide when/how you might use that information to change what’s in your pump.
Geoff Aumaugher
@geoffro10
Jan 17 2017 16:40
@danamlewis OK, thx. I was running it manually today on a virtual machine just to see what it would do. Seemed to work well. Looked at the crontab entry and manually pasted that command. Interesting to see it continue to change by running it over and over. Is that because it would set an autotune.json file and rewrite it Everytime?
dougtakeuti
@dougtakeuti
Jan 17 2017 17:26
A personal note about Enlite Sensors. I hesitated a lot before looping because of the lack of accuracy of MDT sensors. I know people have very different experiences with Enlite and I have my own horror stories about them. For that reason I thought I could not get started until I had access to a Dexcom. I decided to start anyway and have been looping for a year. I have to say that in recent months the sensor have been spot on. I'm not sure what improvement they've done, but in my sample space of n=1 I can see the difference. Obviously the other annoying features remain the same, but perhaps this will encourage those of us who are still hesitant to give it a try.
Dana Lewis
@danamlewis
Jan 17 2017 17:28
:+1: good to hear @dougtakeuti. There’s also different kinds of enlites, and I’ve also heard that the latest versions are much better than earlier generations..so it may also depend on where in the world people are & which versions they have.
Jarred Yaw
@jyaw
Jan 17 2017 17:38
have there been any advancements made with the stability of camping mode with the dexcom receiver (plugged in via OTG)? Also, was thinking about trying that with my old sparkfun rig, but haven't... does that have the same issues the explorer board has?
Dana Lewis
@danamlewis
Jan 17 2017 17:39
@jyaw advancements of what kind are you imagining?
Jarred Yaw
@jyaw
Jan 17 2017 17:39
I guess I remember hearing that it didn't really work all that well, so I hadn't put much effort into trying
Dana Lewis
@danamlewis
Jan 17 2017 17:40
it works really well IMO. limitations may be for those who want to see full logs more easily/visualize, but in terms of just having a running loop running offline, it works (and can do pancreabble or just see temps running on pump)
Jarred Yaw
@jyaw
Jan 17 2017 17:41
.... I'm talking about the USB connection specifically
Dana Lewis
@danamlewis
Jan 17 2017 17:41
i’m not sure we’ve had any mainstream issues with usb connections?
Jarred Yaw
@jyaw
Jan 17 2017 17:41
ok, than I must have mis-read or something. Thanks.
Dana Lewis
@danamlewis
Jan 17 2017 17:42
Maybe some people wondering about fragility of dexcom usb port is what you’re remembering?
Matthias
@ceben80
Jan 17 2017 17:43
@danamlewis hey Dana :wink:
Q to the explorer board, when the rig is completely shutdown and OTG is connected to power, the red LED indicates it's charging?
And when the LED is off that means battery is full :question:
Jarred Yaw
@jyaw
Jan 17 2017 17:43
perhaps, sheesh I thought there were OTG issues with the explorer rigs or something. Dunno where I saw that. Nevermind :smile:
Dana Lewis
@danamlewis
Jan 17 2017 17:44
@jyaw for explorer, you do have to have the second battery to power if you have the cgm plugged in. so additional bulk there…or maybe there’s something else people have spotted that you saw that i don’t remember being a big deal? :) others may chime in later if I’m missing something.
@ceben80 light for charging, yes. not sure about the led going off (because I’ve got so many boards from so many different test batches) but check the explorer board repo, it should have info there
Jarred Yaw
@jyaw
Jan 17 2017 17:46
thanks for the reminder on the battery, I'll give it a try soon then
Matthias
@ceben80
Jan 17 2017 17:46
understood rig farmer :smile: @danamlewis
Dana Lewis
@danamlewis
Jan 17 2017 17:49
:+1:
j4cbo
@j4cbo
Jan 17 2017 17:50
I've also heard that there are different versions of enlite, but Medtronic is pretty vague on the subject
/me is starting with Enlite (explorer board should show up tonight!) but switching to Dexcom asap, and probably not going past PLGM until the Dexcom arrives
whoops, no /me in Gitter?
danamlewis @danamlewis does work
Dana Lewis
@danamlewis
Jan 17 2017 17:54
(not sure why yours didn’t?)
j4cbo
@j4cbo
Jan 17 2017 17:55
I'm on my phone at the moment, maybe the mobile client doesn't do it
Tim Street
@tim2000s
Jan 17 2017 17:55
I've only ever used the Enlite II, which is what Medtronic dubbed the ones in the UK that were designed to be used with the 640G Predictive Low glucose suspend features. I always found them to be good. I think they also updated the algorithm on the Minimed transmitter when they did the Guardian 2 transmitter early last summer.
j4cbo
@j4cbo
Jan 17 2017 17:56
interesting
I don't think Enlite II was ever available in the US
i got a "530G system" (enlite + MMT-551) new in December 2015, and just switched back to an MMT-523 for the purpose of looping
had an original Guardian way back in the day. that thing was miserably inaccurate, and turned me off of CGMSes entirely for a long time
Scott Leibrand
@scottleibrand
Jan 17 2017 18:46
@davidkeddydb if you have something like cortisone making you more resistant, you need to adjust your basals too, not just your ISF.
Dana Lewis
@danamlewis
Jan 17 2017 18:47
:+1: @davidkeddydb per my q in fbk, wondering if you’re running autosens and what it’s reporting for ISF and basal changes
Scott Leibrand
@scottleibrand
Jan 17 2017 18:49
@jyaw you've heard correctly: quite a few of the handful of folks who've tried it have had reliability issues trying to use the Dexcom receiver over OTG. we haven't gotten it working well enough to use it mobile yet. I actually just met with Morgan, who thinks there might be some things he can try on the hardware side to help improve it, but until then I would use a Pi if you want a reliable USB connection to the Dexcom receiver for camping mode.
but also, if you want to give it a try when you're not depending on it, there may be hardware differences (cords etc.) that make it work better that you could discover, or possibly even something that could be done in software to kick it when it's not working correctly
as with Bluetooth stuff, what we need most is for people to try it out with a troubleshooting attitude and sufficient time to experiment with different setups to see what works, and most importantly to keep track of what they're trying so we can share results about what works and what doesn't, and update scripts and docs accordingly.
j4cbo
@j4cbo
Jan 17 2017 19:01
once I get my Dexcom I plan to spend some engineering time working on making the Edison able to talk to the Dexcom transmitter directly
Dana Lewis
@danamlewis
Jan 17 2017 19:01
woot woot! :)
Martin Haeberli
@mhaeberli
Jan 17 2017 19:02
@j4cbo :+1:
j4cbo
@j4cbo
Jan 17 2017 19:02
doctor's signing the prescription today \o/
Dana Lewis
@danamlewis
Jan 17 2017 19:02
:clap:
Eric
@ecc1
Jan 17 2017 19:03
@j4cbo I have code to do that, with a CC2500 module connected to the Edison via SPI: https://github.com/ecc1/cc2500 (see g4.go). Haven't added calibration yet, though.
(That's for G4 transmitters; should be possible to talk to G5 using just the onboard BT.)
j4cbo
@j4cbo
Jan 17 2017 19:07
I'm planning to do G5 only and not worry about calibration for now (can use the official app or receiver for that)
Geoff Aumaugher
@geoffro10
Jan 17 2017 19:27
Is there any way to change the increments of insulin units? The 522/722 pumps only increment in 0.05 units.
Scott Leibrand
@scottleibrand
Jan 17 2017 19:57
change them where, from what to what?
Geoff Aumaugher
@geoffro10
Jan 17 2017 20:10
My rig is continually trying to set temp basals such as 0.68 or 1.625. The pump only allows 0.05 increments.
Also, autotune is wanting to change basal rates to .671 or .603, etc. Again, can only do 0.05 increments.
Dana Lewis
@danamlewis
Jan 17 2017 20:13
based on the pump increments allowed, it’ll round to the closest relevant increment
Geoff Aumaugher
@geoffro10
Jan 17 2017 20:17
OK, so if NS is showing 0.68, it's actually doing 0.70?
Dana Lewis
@danamlewis
Jan 17 2017 20:18
I assume you mean by “if NS is showing” that if the OpenAPS pill is describing the calculations needed as .68…then you’d look for the enacted status of the next run, and it’ll tell you whether it set a .7 or a .65 or whatever for half an hour
Geoff Aumaugher
@geoffro10
Jan 17 2017 20:27
Just says enacted. Doesn't say how much.
But the Basal pill says T: 1.125
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 22:20
how long can the rpi3 be unplugged from the zendure battery before it gets disconnected and looses power?
PieterGit
@PieterGit
Jan 17 2017 22:27
@danamlewis @scottleibrand (and other autotune fans): did you see my comment in openaps/oref0#261 . Any objections to make Excel generation on by default?
JaysonEwer
@JaysonEwer
Jan 17 2017 22:30
@scottleibrand and @danamlewis How do you folks keep your multiple rig configs in sync with each other? I'm assuming you have some way to maintain sanity by not having 7 different rigs with 7 different configs on them. :-D Or are you just diligent and when making a modification on one you cary through and update all your other rigs? Thanks!
Scott Leibrand
@scottleibrand
Jan 17 2017 22:31
@PieterGit excel on by default sounds good.
@JaysonEwer configs? What configs? ;-)
PieterGit
@PieterGit
Jan 17 2017 22:36
@jyaw @scottleibrand @danamlewis : about dexcom with usb on explorer board: With jubuntu the usb connection seems too instable to be usefull (eg. lsub -99 errors). I tried with ubuntu 4.8rc4 and that worked. unfortuately that kernel does not support /dev/spidev5.1 which is required to talk to TI. Current kernel should have it available, but I keep getting problems installing it on my edison board. I get a lot of weird flash errors after my switch to ubuntu. Need to see if recovery and/or flashing back to jubuntu or intel kernel fixes that. See https://communities.intel.com/thread/75472?start=60&tstart=0 for details on installing a newer kernel on an Edison. I hope @ecc1 or other kernel guru's manage to create a recent ubuntu/debian image with stable USB and /dev/spidev5.1 for TI communication enabled. Stable/better wifi and bluetooth would of course also be nice. Help is wanted.
@scottleibrand : i'll PR Excel on by default for autotune later. I also have good idea's for graphs and making the reports better. I have nice idea's but too little time.
Scott Leibrand
@scottleibrand
Jan 17 2017 22:45
One thing I think we need to do is move people away from doing multiple runs and toward just using more weeks of history if they want
We also should update the .sh to pull a different treatments file from NS for each day's run: that speeds things up a lot.
PieterGit
@PieterGit
Jan 17 2017 22:48
@ryan_anglani_twitter the rpi will power off instantly without power. There are some micro UPS solutions, or you could use a small lipo with a Powerboost. The nice thing about Zendure batteries is that they can charge and give power to the rpi3 without problems. What are you trying to accomplish?
They call that pass-through charging
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 22:49
my wonderful son saw the battery and unhooked it to charge something else @PieterGit so how would I go about restarting it ? do I run cd && ~/src/oref0/bin/oref0-setup.sh
@PieterGit now the putty box says ttributeError: 'Pump' object has no attribute 'model'
PieterGit
@PieterGit
Jan 17 2017 22:52
@ryan_anglani_twitter in most cases the rpi3 will boot without problems and you can continue where you were. You don't have to rerun oref0-setup.sh if that was completed. I don't know that attribute error. Reinstalling might work, but I don't know what the rpi was doing before your wonderful son took all the power.
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 22:56
how would I reinstall @PieterGit
PieterGit
@PieterGit
Jan 17 2017 22:57
Just re-run oref0-setup.sh . You can also call script somelogfilename.txt first, so that you can always see what has been done just before your son touches the Zendure again :smile: .
woodtrevor
@woodtrevor
Jan 17 2017 22:57
@ryan_anglani_twitter I would sit tight and give it a minute to recover. I see that often when I have taken the pump out of range. It should recover after a minute or two when the pump is back in range.
PieterGit
@PieterGit
Jan 17 2017 22:58
@ryan_anglani_twitter : did you completely finish the oref0-setup.sh before the power disappeared?
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 22:59
yes it was working
PieterGit
@PieterGit
Jan 17 2017 22:59
I agree with @woodtrevor that waiting a bit and seeing what's going is often better than restarting / re-installing
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 22:59
ok thank you @PieterGit @woodtrevor
PieterGit
@PieterGit
Jan 17 2017 23:00
you can also disable the pump-loop in the crontab (crontab -e) and first try a openaps use pump model to see if rpi3 to pump communication works
That command should return the model number of your pump.
you can also check if there are running openaps processes with ps -ef | grep openaps
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 23:07
ok I had to run orefo setup its back up again @PieterGit
I just got the pi3 a week ago and have only hooked it to my boy today I have been working on this like a maniac .... I am going to order an intel it would be so great to have it so small @PieterGit
Scott Leibrand
@scottleibrand
Jan 17 2017 23:15
@ryan_anglani_twitter if you're not already, you should be tailing the pump-loop.log to see what exactly is going on
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 23:18
@scottleibrand do you want to see his nightscout page?
i have been looking at the calculations and it looks ok so far
Scott Leibrand
@scottleibrand
Jan 17 2017 23:20
no, I'm just trying to suggest how you can check to see what's working and what's not
powering down the Pi should generally be no big deal, although in rare cases that (or letting the battery completely die) can result in git or file system corruption and require some additional work to recover.
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 23:22
ok thank you maybe you can take a peek to see if it looks good? @scottleibrand
Scott Leibrand
@scottleibrand
Jan 17 2017 23:24
what's his normal basal?
NS says 0.3U/hr, but OpenAPS thinks it's closer to 2U/hr
you might need to fix your basal profile in NS to get it to match
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 23:26
its .3 until 12am
yes I noticed that from when I first started the system up .... is that a preloaded number 2U/hr @scottleibrand
Scott Leibrand
@scottleibrand
Jan 17 2017 23:28
1 hour ago, the OpenAPS pill said "setting current basal of 2U/hr as temp", but NS said the current basal is actually 0.3U/hr
no, it comes from your pump
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 23:28
ok
Scott Leibrand
@scottleibrand
Jan 17 2017 23:29
you can look at the contents of the pump-loop.log to see what it's using to make its decisions, or you can look at the contents of the ~/myopenaps/settings directory to see specific settings that it pulled from the pump and make sure they're correct
reptilian chat queen
@hepkitten_twitter
Jan 17 2017 23:30
Hello all: I am the photo editor who emailed your mailing list this morning looking for photos, just peeking in here to idle in case I need to bug you again for anything!
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 23:32
@scottleibrand ok those settings are up to date but small issue his 5:30am basal is .325 and the openaps pump cannot do that rate
Scott Leibrand
@scottleibrand
Jan 17 2017 23:43
that's not really a problem. most of the time it will need to do something a bit higher or lower than that, and the pump will always pick the rate it can do that's closest to what openaps asks for, and then openaps will calculate IOB based on the rate the pump actually set.
Aaron Michelson
@Aaybob
Jan 17 2017 23:48
Is there docs on how to go mobile? Is the mobile wifi hotspot working for others? Things test great at home but out and about Edison doesn't run right.
Ryan anglani
@ryan_anglani_twitter
Jan 17 2017 23:48
@scottleibrand thank you for your answers :)
@Aaybob i was just going to ask how can I leave the house ? lol we have g4 share and a moto G @scottleibrand