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

30th
Jun 2017
katie disimone
@Kdisimone
Jun 30 2017 00:09
@fiberfan check your ns-loop logs and also check your mlab size to make sure you aren't over 500mb
kenkotch
@kenkotch
Jun 30 2017 02:00
its been a bit since I've been on here - and tonight it is for the first time with no issues! Wanted to reiterate how amazing SMB is. Now if only my Dr. thought technology was a good thing.
Screenshot 2017-06-29 19.57.08.png
Cameron Chunn
@applehat
Jun 30 2017 02:10
Yes!
I just ate half a pizza, and I'm inclined to agree.
kenkotch
@kenkotch
Jun 30 2017 02:38
how long after allowing SMB will it stop running? just curious
Cameron Chunn
@applehat
Jun 30 2017 02:39
@kenkotch I told my endocrinologist last visit that k was building a DIY closed loop - she didn't fully understand it but her husband was super excited. Can't wait to go back.... First time I've ever been excited to go to my Endo. Haha
How log will what stop running?
kenkotch
@kenkotch
Jun 30 2017 02:41
nice.
smb gets initiated by either bolus, cob or temp target. it won't just run with no user input (or am I wrong)
how long does it bolus until it needs a new bolus, cob or temp
is this making any sense?
Cameron Chunn
@applehat
Jun 30 2017 02:42
If you have UAM, and all 3 SMB settings, it can SMB at any time it's appropriate.
It reacts to carbs, be them announced or unannounced. I've had random spiked from being sick corrected by SMB because UAM saw it as a meal.
It essentially will work any time standard basal changes would, except for the base line regulation that happens.
It just happens that most SMB is from a user event, but with UAM it doesn't have to be.
kenkotch
@kenkotch
Jun 30 2017 02:52
that makes more sense. thank you @applehat
more curiosity- what is the logic on how it decides to use smb vs raising basal rate
sometimes it does one, sometimes the other. sometimes both
Cameron Chunn
@applehat
Jun 30 2017 02:57
I don't know the exact logic, but I do know it attempts to raise basal before giving a microbolus. I think the general idea with SMB is that a given basal rate can't deliver enough insulin fast enough
I'm sure someone else will come behind me and correct anything potentially wrong I'm saying.
But from what I understand, the stack of SMB on a rise are so you can "borrow insulin from the future".
rsilvers129
@rsilvers129
Jun 30 2017 02:58
Changing my insulin after 5 days didn’t change my calculated autosens values. Changing my site after 4 days made me go from 1.19 to 1.0 autosense over some hours for it to adapt.
Cameron Chunn
@applehat
Jun 30 2017 02:59
Dump an extra unit or two up front that can then be low temped later to stop the rise but not experience a low.
rsilvers129
@rsilvers129
Jun 30 2017 02:59
So it looks like I can full my resovoir up with 3ml of FIAsp and only change it when it runs out, as long as I change my site about twice in that same period.
kenkotch
@kenkotch
Jun 30 2017 02:59
thanks @applehat
Cameron Chunn
@applehat
Jun 30 2017 03:00
How long does 3ml of FIAsp last you, @rsilvers129 ?
rsilvers129
@rsilvers129
Jun 30 2017 03:00
About 6 days.
I made a plugin that sends me a pushover when my autosens reaches 1.15, so that I can change the site as needed rather than on a schedule.
Cameron Chunn
@applehat
Jun 30 2017 03:01
That's not a bad idea.
rsilvers129
@rsilvers129
Jun 30 2017 03:02
Last time I noticed a rise that the rig could not easily deal with, I checked, and autosens was on 1.19 and my site was 103 hours old.
Cameron Chunn
@applehat
Jun 30 2017 03:02
I have always just filled my 3ml up and changed it + site at the same time (tho that's generally 3-4 days)
I use more insulin I imagine :p
rsilvers129
@rsilvers129
Jun 30 2017 03:05
I think it would be a good standard feature to be able to set a autosens threshold that would generate a pushover. It doesn’t matter to me as I already have it, but it would benefit people who would never add their own script.
Cameron Chunn
@applehat
Jun 30 2017 03:07
I agree. I actually had an idea earlier about implamemting a notifications handler / middleware that would except messages and then forward them to whatever service you have configured in it. Would let you use pushover or any of the 100s of others vs being locked into one.
Would be a super simple service to write.
Scott Leibrand
@scottleibrand
Jun 30 2017 05:07
@applehat @kenkotch SMB will only activate when bolus IOB is positive, COB is positive, or temp target is < 100, and the corresponding preference is enabled.
That means you can have SMB for DIA hours after a bolus, or until all carbs are absorbed, or until your low temp target expires.
kenkotch
@kenkotch
Jun 30 2017 05:11
Thank you @scottleibrand
Cameron Chunn
@applehat
Jun 30 2017 05:15
I was close, just didn't have the exact parameters down. :P
Tim Street
@tim2000s
Jun 30 2017 05:23
Quick one - Autosens uses the ISF values from the pump rather than the Autotune calculated value doesn't it?
Scott Leibrand
@scottleibrand
Jun 30 2017 05:25
autosens starts from the autotuned ISF if autotune is configured in your loop, and then applies the ratio to that
Tim Street
@tim2000s
Jun 30 2017 05:32
Hummm. Best turn Autotune off if you have more than one ISF throughout the day then...
The reason I ask is that I can see in the OpenAPS pill, the ISF value changes according to the value set on the pump's profile rather than the ISF value in Autotune, and I was sure you'd said that it used the Autotune ISF.
Scott Leibrand
@scottleibrand
Jun 30 2017 05:34
the ISF value in the OpenAPS pill should reflect whatever autosens has adjusted the autotuned ISF to
look at the pump-loop.log to see the details of that adjustment
if you have a case where ISF really does vary throughout the day (and you're not just compensating for different responses to different meal types), we should look at whether it's possible to calculate ISF differently for different times of day. (and if it's not possible to calculate what the difference is, then I'm not convinced there is a real difference)
Tim Street
@tim2000s
Jun 30 2017 05:39
Okay, the pump-loop values are definitely from the pump and not Autotune. Current value in the log is 4.2. Autotune value is 2.8.
Scott Leibrand
@scottleibrand
Jun 30 2017 05:39
sounds like you don't have autotune enabled in your loop then
Tim Street
@tim2000s
Jun 30 2017 05:41
In which case there may be an issue with the setup script.
As it is in runagain.
Tim Street
@tim2000s
Jun 30 2017 05:48
And checking my OpenAPS/settings/profile.json I can see the Autotune data has been transferred.
Scott Leibrand
@scottleibrand
Jun 30 2017 05:52
We may be talking past each other then. Want to paste exactly what you're seeing?
Tim Street
@tim2000s
Jun 30 2017 05:53
From pump-log:
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
Autosens adjusting basal from 1.414 to 1.35; target_bg from 80 to 81; sens from 75.60000000000001 to 77.9
From Autotune: ISF | 43.200 | 50.136
(Which reflects my day time value at 2.4 mmol/l being auto tuned to 2.8)
Sorry about the format. On my phone.
My current pump ISF value is 4.2 which is 75.6 in mg/dl
Scott Leibrand
@scottleibrand
Jun 30 2017 05:59
Something is way off there. Autotune thinks your pump ISF is 43.2, not 75.6.
Tim Street
@tim2000s
Jun 30 2017 06:05
This is a case where there are two ISFs. The 43.2 is the daytime one.
(Calculated from fasting, eating 10g of carbs and then applying 1u when BG data is flat and repeating at different times of day)
That's probably the only reason I caught the anomaly.
Tim Street
@tim2000s
Jun 30 2017 06:13
Looking at it, I think somewhere it is picking up data from pumpprofile.json rather than profile.json.
Marcus Lindfors
@Mackwe
Jun 30 2017 08:37
Hi! Anyone running "cgm=xdrip" in oref0? I would need the following line (from crontab) completed: cd /root/myopenaps && ps aux | grep -v grep | grep -q 'openaps monitor-xdrip' || ( date; openaps monitor-xdrip) | tee -a /var/log/openaps/xdrip-loop.log; cp -up /root/myopenaps/xdrip/glu$ . As you can see I failed at copying it from the crontab...
Marcus Lindfors
@Mackwe
Jun 30 2017 09:07
Sorry. May be wrong channel. I'll try the oref0 one instead..
Carl Wehtje
@cjwehtje
Jun 30 2017 09:40
@fiberfan I had the same issue, turned out it was the Mlab that had reached the size limit. Once cleared the pump and openaps pills showed up again
Tim Street
@tim2000s
Jun 30 2017 10:01
@Mackwe This is the correct channel. The current dev has the correct cron lines in it for xDrip, so if you are running a reinstall from a fresh git pull, you don't need to manually update.
marafie
@marafie
Jun 30 2017 13:48
Hi.... if use the xdrip plus app and I do have the xdrip kit .... the hardware data source should be bluetooth wixel? ...... the xdrip kit gets disconnected from the mobile and stays disconnected until I reconnect it.... it used to work no idea why it has been disconnected for the last two weeks ..... please advice
Matthias
@ceben80
Jun 30 2017 15:16
@marafie try this channel :wink: https://gitter.im/jamorham/xDrip-plus
fiberfan
@fiberfan
Jun 30 2017 15:41
@cjwehtje I setup nightscout on Heroku and didnt setup the Mlab database directly. Do you know how I get to the database Heoku is using?
Giuseppe
@giupo
Jun 30 2017 15:58
@fiberfan dunno if this helps: go to https://dashboard.heroku.com/apps/<appName> , then under "Installed add-ons" section you should see your mLab Mongo db instance
hilarykoch
@hilarykoch
Jun 30 2017 17:43
@scottleibrand I have three rigs and can typically log into them wireless through terminal on my computer. Today, I am unable to log into one of them wirelessly and I don’t understand why. It says nodename nor servname provided, or not known
fiberfan
@fiberfan
Jun 30 2017 17:44
@giupo I had missed that. From there I was able to delete a bunch of device status records. If that isnt enough I will delete more. Thanks!
PieterGit
@PieterGit
Jun 30 2017 17:45
This kickstarter may also be of interest, for those using a fixed rig. Improvements over RPI3:
With RPI3 form factor
fiberfan
@fiberfan
Jun 30 2017 17:46
@giupo just checked nightscout and all is working now. THANKS!
Scott Leibrand
@scottleibrand
Jun 30 2017 17:46
@hilarykoch is that rig online? is it reporting to NS or papertrail?
cameronrenwick
@cameronrenwick
Jun 30 2017 17:47
@hilarykoch I find that happens periodically with my rig as well. The only thing I can say is, when my rig battery is fully charge it's always a solid ssh login... it "seems" like as the battery weakens my login problems increase. Dunno if this is pure coincidence or... but fwiw, my 2 cents
hilarykoch
@hilarykoch
Jun 30 2017 17:49
@scottleibrand I can see it on papertrail - it isn’t the one currently “running” but we always have it online and I checked and it is connected to proper wifi.
katie disimone
@Kdisimone
Jun 30 2017 18:09

@hilarykoch I had that happen on my rigs. I could totally see it on my home router. Worked just fine. But I could not use ssh root@edison.local. I could however use ssh root@192.168.1.xx. Have you tried doing that?

Regardless, what did end up bringing back my ssh with the hostname finally was clearing the known hosts file. Instructions are on the accessing your rig page. It's a quick 2-3 lines. Really easy

hilarykoch
@hilarykoch
Jun 30 2017 18:12
@Kdisimone Exactly the issue. Thank you! Pretty sure number will allow access - forgot about that, so thanks for the reminder. I’ll likely cler the known hosts file. :)
Matthias
@ceben80
Jun 30 2017 19:51
@Mackwe swapping over :wink:
Great!
Marcus Lindfors
@Mackwe
Jun 30 2017 19:52
Hi @ceben80 ! Thanks! Sometimes it's the easy workarounds that do the trick. =)
Matthias
@ceben80
Jun 30 2017 19:54
:smile:
Cameron Chunn
@applehat
Jun 30 2017 20:17
@Mackwe - Alternatively (and recommended way now, I think) in xdrip, just give it 2 API upload variables. Both your NS site and the rig's API address.
Marcus Lindfors
@Mackwe
Jun 30 2017 20:28
@applehat : Do I enter them comma separated (server1,server2)? That would make sense.
cameronrenwick
@cameronrenwick
Jun 30 2017 20:29
no just separate them with a single space (no comma, colon etc..)
Marcus Lindfors
@Mackwe
Jun 30 2017 20:30
@cameronrenwick Oh. Will try that tomorrow. Thanks! Off to bed now! =)
Matthias
@ceben80
Jun 30 2017 20:42
@applehat @cameronrenwick I did this in the past, didn't work, but maybe a typo, will try it again :wink:
cameronrenwick
@cameronrenwick
Jun 30 2017 20:45
well, not to sure, but I have 2 values in my api entry box and they're just separated by a single space. As has been said before, make sure it's http (and not https..)
dan lightner
@danimaniac
Jun 30 2017 20:52
2 addresses in the REST API space delimited. Has worked wonderfully for me for a while now. Example: http://secret@myaddress/api/v1/ http://secret@myLOCALaddress:5000/api/v1 where the first address is NS site and second address is local rig.
Matthias
@ceben80
Jun 30 2017 20:52
:+1:
cameronrenwick
@cameronrenwick
Jun 30 2017 20:52
just checked my phone and that's exactly how mine is written too
dan lightner
@danimaniac
Jun 30 2017 20:54
@tim2000s suggests the problem with this approach is that when one of the 2 uploads fails, they both fail. I have never had that happen yet.
Cameron Chunn
@applehat
Jun 30 2017 20:55
Same here
That doesn't happen
The latest xDrip will even skip the local upload if the local address isn't available.
So it only even tries when you have BT.
I swap to wifi at home and it's all seamless.
Question about IOB: just my max_iob effect how "agressive" basil and bolus changes will be?
dan lightner
@danimaniac
Jun 30 2017 20:59
@applehat What is the latest version of xDrip+? I am on 2017-04-03.
Cameron Chunn
@applehat
Jun 30 2017 20:59
That should be new enough, I believe. I have auto-updates turned on but have had mine set that way without issue for a month.
Oh wait that's actually kinda old. :P
I feel like a lot of times SMB is not quite agressive enough and let's me shoot higher then I'd expect - and then after I flattened out (at around 220) it kicked in again to start lowering.
I feel like it only works when I'm super accurate with my meal bolus.
Dana Lewis
@danamlewis
Jun 30 2017 21:01
maxIOB is “how much insulin can OpenAPS give me"
Scott Leibrand
@scottleibrand
Jun 30 2017 21:02
@applehat when you're inaccurate, are you undercounting or overcounting carbs?
Cameron Chunn
@applehat
Jun 30 2017 21:02
Undercounting generally.
Which I realize it can only do so much to correct
without risking a hypo
Just wasn't sure if there was some obvious setting I had overlooked in the docs
Scott Leibrand
@scottleibrand
Jun 30 2017 21:03
do you have UAM enabled?
Cameron Chunn
@applehat
Jun 30 2017 21:03
I do
Scott Leibrand
@scottleibrand
Jun 30 2017 21:04
if you undercount carbs with UAM, it will trust your count at first, and then gradually switch over to trusting the UAM predictions more as your COB decays to zero (but BG is still rising)
Cameron Chunn
@applehat
Jun 30 2017 21:04
Screen Shot 2017-06-30 at 4.03.36 PM.png
This was lunch. I only undercounted by maybe 10 carbs tho.
Scott Leibrand
@scottleibrand
Jun 30 2017 21:04
what's your CR and ISF?
Cameron Chunn
@applehat
Jun 30 2017 21:04
I should probably go look at autotune and update my pump settings, since I use bolus wizard...
(I just thought of that)
Scott Leibrand
@scottleibrand
Jun 30 2017 21:05
yeah, that might be part of it
JELCRAWFORD
@JELCRAWFORD
Jun 30 2017 21:05
Hi all - a quick question - we are going to switch to the non looping pump to go the beach for a few hours. What is the best approach with the rig at home? The 630g has all the same settings in it as the rig pump (looping pump). Thx in advance...
Cameron Chunn
@applehat
Jun 30 2017 21:05
Im assuming I have to get on-rig to view CR and ISF?
Scott Leibrand
@scottleibrand
Jun 30 2017 21:06
autotune report is on the rig, yes
Matthias
@ceben80
Jun 30 2017 21:06
@applehat maybe a insulin lead time will help?
Cameron Chunn
@applehat
Jun 30 2017 21:07
@ceben80 - Im still trying to get the hang of pre-bolusing a bit before hand. I've gotten pretty good at remembering to activate eating soon mode, but after being a horrible diabetic for 14 years I'm having to make some better habits still.
@scottleibrand which file in ~/myopenaps/autotune should I be looking at?
autotune_recommendations.json?
fjungman
@fjungman
Jun 30 2017 21:17

Haven't been on in a while, as I've been learning C++ and writing the driver for the power regulator/charger on the RiledUp. I have not managed to get USB OTG functioning (as it requires interaction with the Edison to detect the OTG connection), but I think that OTG is not terribly useful. I would rather just integrate the Wixel onto the board and be done with the G5 handheld. We are getting tremendously long run times from our G5 transmitters using the Wixel/Xdrip+ and never having paired them with anything else. The current G5 transmitter he started using in 2016, so we are well past 6 months with it.
I have ordered a couple of tiny displays from Adafruit to add that ability. I'm going on vacation, then I will finalize the schematic and layout. Any feature requests should be posted here. Right now, RiledUp2 will be:
RiledUp (Edison-based OpenAPS rig, with CC1110 radio, 1.5A charging for batteries with a thermistor to sense temp, Wixel interface to Edison, USB OTG (if someone does the SW)) PLUS Wixel on-board, Small graphics display, five-way button/joystick, optional 3G radio.

I've been thinking about the demise of Edison this year. It seems there will be a pretty good supply for APS use into 2018. We can decide on a replacement processor and create a build of Linux to support the APS work during this year, then add an interface to that chip/board to replace the Edison connection. Right now the Edison provides compute, memory (flash/ram), BT, WiFi and some power management, along with the various processor interfaces (USB, I2C, UART, etc.).

The other option would be to find a 3G module that has the capability to run Linux and has BT/WiFi on it. This would likely be the lowest-power solution.

Cameron Chunn
@applehat
Jun 30 2017 21:21
Heh. According to autotune, my settings on my pump are actually more aggressive then what autotune has decided. Pump is a CR of 7, SENS of 20 - autotune is 7.4 and 24 respectively.
@fjungman whats the benefit of the wixel for a G5 over just talking BLE?
Marcus Lindfors
@Mackwe
Jun 30 2017 21:23
@fjungman The wixel can't communicate with the G5 afaik. The on-board Edison BT adapter might, though..
tynbendad
@tynbendad
Jun 30 2017 21:24
@fjungman hamshield said they may make a version of explorer for another processor board after edison is gone
they said either rp0 or something else i hadn't heard of but sounded interesting...
Dana Lewis
@danamlewis
Jun 30 2017 21:24
@tynbendad yes, several of us are talking about non-Edison options in exploration.
Marcus Lindfors
@Mackwe
Jun 30 2017 21:24
@fjungman I have the Wixel connected directly to the OTG port of my 900 MHz explorer block. That captures my G4 signals..
Dana Lewis
@danamlewis
Jun 30 2017 21:25
@Mackwe have you documented that? I think there would be a lot of people interested if you’re willing to write that up.
tynbendad
@tynbendad
Jun 30 2017 21:25
@danamlewis choose the option with the longest battery life overall please ;)
Dana Lewis
@danamlewis
Jun 30 2017 21:25
@tynbendad lots of things to consider (cost, ease of use), but yes, battery life is one of the important factors
Marcus Lindfors
@Mackwe
Jun 30 2017 21:26
@danamlewis No. Got it up and running yesterday- Thought I'd test it out first! =)
Dana Lewis
@danamlewis
Jun 30 2017 21:26
haha! fair enough. :D :D :D
..when it works though :D ;)
fjungman
@fjungman
Jun 30 2017 21:26
On RiledUp, there is a port to connect the Wixel power and UART. I'm only using power right now, as the UART works, but I am not capable of implementing Xdrip on the Edison.
tynbendad
@tynbendad
Jun 30 2017 21:26
was autotune broken for a bit on dev branch?
Dana Lewis
@danamlewis
Jun 30 2017 21:27
@fjungman is there a gist or a repo link for people to leave comments on, that’ll be easier than you tracking through Gitter? Want to do what’s easiest for you for people to leave ideas for while you’re gone.
@tynbendad not AFAIK, what are you seeing?
Cameron Chunn
@applehat
Jun 30 2017 21:27
I've been writing some code (not really working yet tho) to read the G5's directly from the Edisons Bluetooth. Its just BLE with some funky auth stuff.
Marcus Lindfors
@Mackwe
Jun 30 2017 21:28
@danamlewis It's not a 100% perfect solution, but using cgm=xDrip as OpenAPS reciever and a "faked Parakeet" (USB version of the same) in the OTG port makes it a 100% offline (needing only BT to communicate) solution.
fjungman
@fjungman
Jun 30 2017 21:28
@danamlewis longest battery life is lowest radio use, so getting rid of the phone from the loop is a good start. Getting rid of the Wixel to whatever BT connection saves Wixel power.
tynbendad
@tynbendad
Jun 30 2017 21:28
two rigs have way different autotune results, espec. ISF
both are on dev branch but one from end of may, one mid june
Dana Lewis
@danamlewis
Jun 30 2017 21:29
@tynbendad that’s probably a result of what data the rigs have had access to
if you want to, you can copy over files from another rig to bring them closer together
tynbendad
@tynbendad
Jun 30 2017 21:29
they've been running for a while so i'd expected them to converge
fjungman
@fjungman
Jun 30 2017 21:29
@Mackwe we only use the Wixel with the G5.
tynbendad
@tynbendad
Jun 30 2017 21:29
but i did try to copy profile.pump.json and profile.json over
didn't help
Marcus Lindfors
@Mackwe
Jun 30 2017 21:29
@danamlewis I would like to make the phone not neccessary and thanks to fellow users, I know it can be done (apart from really iffy calibrations).
Dana Lewis
@danamlewis
Jun 30 2017 21:30
@Mackwe that plus the new board display being worked on would be a fascinating combo :D
fjungman
@fjungman
Jun 30 2017 21:30
@Mackwe :+1:
Marcus Lindfors
@Mackwe
Jun 30 2017 21:30
@fjungman Interesting. I thought it only communicated via BT? Kewl! =)
Dana Lewis
@danamlewis
Jun 30 2017 21:30
@tynbendad have you tried copying the autotune log files, too?
JELCRAWFORD
@JELCRAWFORD
Jun 30 2017 21:31
@danamlewis - can you point me in the right direction for connecting to the nonloopable pump for a few hours - do we let Openaps and the looping pump run at home to track basal? Or tempzero and suspend and head off without the rig? Thx!
tynbendad
@tynbendad
Jun 30 2017 21:31
@applehat i think @thebookins was trying to get g5 on edison also
fjungman
@fjungman
Jun 30 2017 21:31
@Mackwe from what I can tell, the BT radio in the G5 doesn't burn power if it is not paired.
tynbendad
@tynbendad
Jun 30 2017 21:31
@danamlewis which files? i didn't think it would read log files
Dana Lewis
@danamlewis
Jun 30 2017 21:31
@JELCRAWFORD hmmm. I’d maybe suspend the pump (without temp) so openaps has neutral IOB when you get home, and if you have significant bolus IOB from the 630, maybe do a bolus into the air before you re-connect (and add a high temp target) the loopable pump when you get home.
fjungman
@fjungman
Jun 30 2017 21:32
@danamlewis what display is being worked on? Is there a gitter or slack for that?
Dana Lewis
@danamlewis
Jun 30 2017 21:32
if you temp zero, it’ll assume no basal, which is not quite correct - so regular suspension should work well for this scenario.
tynbendad
@tynbendad
Jun 30 2017 21:32
rig with display? that sounds cool
Marcus Lindfors
@Mackwe
Jun 30 2017 21:32
@fjungman And you're still able to pick up the signals? That's good news to me! =) Anhy ideas on battery life?
Scott Leibrand
@scottleibrand
Jun 30 2017 21:32
@tynbendad there are json files in the autotune directory, as well as autotune json files in settings/
Dana Lewis
@danamlewis
Jun 30 2017 21:32
@fjungman @tynbendad no channel yet - just a prototype that was created at the hackathon
tynbendad
@tynbendad
Jun 30 2017 21:32
ah, i only took the .json files from autotune dir
fjungman
@fjungman
Jun 30 2017 21:33
@Mackwe it works really well, and we are up over 6 months on this G5.
JELCRAWFORD
@JELCRAWFORD
Jun 30 2017 21:34
ok - thx! wondered about bolus at beach, bolus to the air makes sense. not sure why the high temp target when we get home though? Appreciate the help though.
Marcus Lindfors
@Mackwe
Jun 30 2017 21:34
@fjungman Whoow! Now we're talking! Are there any repos available for G5 wixels?
Dana Lewis
@danamlewis
Jun 30 2017 21:34
@JELCRAWFORD to give you more safety margin until your IOB re-normalizes to match what’s actually happening in the body.
Cameron Chunn
@applehat
Jun 30 2017 21:34
Would ya look at that
I suppose I should check that out before re-inventing the wheel
tynbendad
@tynbendad
Jun 30 2017 21:35
i dunno if he's got anywhere, just know he was looking
Dana Lewis
@danamlewis
Jun 30 2017 21:35
@JELCRAWFORD i’m über-cautious though - so you’ll have a better feel based on what’s been happening about whether that’s needed or not
fjungman
@fjungman
Jun 30 2017 21:37
@Mackwe I just use the latest Xdrip+ and Wixel app (the one that doesn't need the transmitter serial number hard-coded). I can dig the links up...
tynbendad
@tynbendad
Jun 30 2017 21:37
wait, what's a g5 wixel?!
Marcus Lindfors
@Mackwe
Jun 30 2017 21:37
@fjungman No need. I know where to find them. But it works with a normal xBridge fw?
@tynbendad Exactly my response a few minutes ago. =)
tynbendad
@tynbendad
Jun 30 2017 21:38
lol
Cameron Chunn
@applehat
Jun 30 2017 21:38
I asked the same thing as well
I can't imagine why you'd need a Wixel to talk to a BLE device....
fjungman
@fjungman
Jun 30 2017 21:39
Yes, normal firmware for the Wixel.
Eric
@ecc1
Jun 30 2017 21:40
@fjungman Just to be clear, are you saying that G5 transmitters are transmitting sensor info on both BLE and the old-style proprietary 2.4GHz FSK style that the Wixel code picks up? (Or rather, are capable of doing both, and choose based on whether or not they're BT-paired?) This is the first I've heard of that!
tynbendad
@tynbendad
Jun 30 2017 21:40
well, if it gets us g5 onto edison without a phone sooner i'm all for it...
Marcus Lindfors
@Mackwe
Jun 30 2017 21:40
Me too!
fjungman
@fjungman
Jun 30 2017 21:40
@applehat because BT sucks for reliability. :)
Cameron Chunn
@applehat
Jun 30 2017 21:41
I double @ecc1's question above. The G5 still does 2.4GHz FSK?
fjungman
@fjungman
Jun 30 2017 21:41
@ecc1 yes, I thought (until today) that everyone was doing it that way. Maybe I'm wrong and we just have super-batteries in our G5 transmitter, but I read somewhere that it had both links in it.
JELCRAWFORD
@JELCRAWFORD
Jun 30 2017 21:41
@danamlewis super cautious given the sharp drops lately is a good idea :)
thx!
Eric
@ecc1
Jun 30 2017 21:42
I can see how it would make product-engineering sense for Dexcom, decoupling their dependence on a G5/BLE app for phones. But that's great news!
tynbendad
@tynbendad
Jun 30 2017 21:42
@fjungman, can you post a link to the wixel you're using, or did you make something yourself?
fjungman
@fjungman
Jun 30 2017 21:42
Put another way, the Wixel reads the packets, even with the phone off. If it is using its BT link for that, I'm impressed, since I never paired it.
Cameron Chunn
@applehat
Jun 30 2017 21:43
BLE doesn't use "pairing"
fjungman
@fjungman
Jun 30 2017 21:43
@tynbendad sure, it is just the regular Wixel plus HM-17.
tynbendad
@tynbendad
Jun 30 2017 21:44
i've never used a wixel (we went straight to g5, never g4) - where do you get them?
Cameron Chunn
@applehat
Jun 30 2017 21:44
Yeah my curiosity is peaked now.
tynbendad
@tynbendad
Jun 30 2017 21:44
thx
Marcus Lindfors
@Mackwe
Jun 30 2017 21:44
Art no 1337 (no kidding!) =)
Eric
@ecc1
Jun 30 2017 21:48

The Wixel is like the CC1110 on the Explorer and RileyLink: a radio plus an MCU, only this one is a 2.4GHz radio (for proprietary formats, rather than say WiFi or Bluetooth, which also use 2.4GHz).

The radio-only version of that chip is the CC2500, which is very cheap, and can be controlled over SPI from an Edison to also receive G4 transmissions (see https://github.com/ecc1/cc2500 for example). Now I have to see whether that code will pick up G5 transmissons too, as soon as I can find a live G5 transmitter.

fjungman
@fjungman
Jun 30 2017 21:48
To be clear, we stuck with the Wixel, originally, because BLE was so unreliable for the link. Restarting phones all the time was a PITA. Then we switched back to a G4, then they bombarded us with G5s and I reapproached it with the Wixel, and it worked. So, that is where we are...
Marcus Lindfors
@Mackwe
Jun 30 2017 21:48
Status.PNG
Another Q then: I recently move to Heroku and everything seems to be updating now, except "pump" and "OpenAPS" pills. I think it did work, but stopped. Do you know how to troubleshoot that? Yes, I have re-installed oref0. Didn't help..
fjungman
@fjungman
Jun 30 2017 21:50
@ecc1 Sweet! I can add that to the RiledUp2 and not sweat the Wixel code. Now we just need the calibration functions and uploading via internet to Mongo or whatever.
Marcus Lindfors
@Mackwe
Jun 30 2017 21:50
Not to mention the CC2500 is a LOT smaller and less power consuming. ;-)
tynbendad
@tynbendad
Jun 30 2017 21:52
@fjungman has anyone else duplicated this G5 transmitter to wixel connection?
Marcus Lindfors
@Mackwe
Jun 30 2017 21:52
@fjungman So just pair up with the xBridge2 and enter the G5 transmitter and you're good 2 go? Is that what's needed?
Cameron Chunn
@applehat
Jun 30 2017 21:53
I just asked in the xDrip channel as well @tynbendad
tynbendad
@tynbendad
Jun 30 2017 21:53
:+1:
Eric
@ecc1
Jun 30 2017 21:53
There are pros and cons. My code is in Go, and not as mature as the xdrip plus xdrip-wixel combo. But there are SPI libraries for Python and of course C (lots from the Raspberry Pi community) that could be used with it too.
Cameron Chunn
@applehat
Jun 30 2017 21:54
I wish more stuff was written in Go. It just makes so much sense on our low-power applications.
tynbendad
@tynbendad
Jun 30 2017 21:55
if g5 really works on 2.4ghz i think John Costik might freak out after all his g5 ble work
Cameron Chunn
@applehat
Jun 30 2017 21:55
I dont know - the G5 BLE stuff is still great.
For using xDrip on my phone, it makes sense, I think.
Im only interested in the Wixel method because of battery life concerns on mobile rigs
Marcus Lindfors
@Mackwe
Jun 30 2017 21:56
@applehat Using a parakeet for kids (no phone) would be very useful..
That's why we are still on G4.
tynbendad
@tynbendad
Jun 30 2017 21:57
yes, a g5 parakeet is what i would love - no dependence on my kids phone would be awesome
it would still have to work offline as well though
Cameron Chunn
@applehat
Jun 30 2017 21:57
My end-goal is to have a rig configuration that doesn't depend on my phone either (or an active internet connection at all)
I want a rig with a screen, and I want my internet connection to only be needed for remote monitoring.
tynbendad
@tynbendad
Jun 30 2017 21:58
if you need to calibrate without phone then you need buttons too, but i'd be ok using phone for that.
Cameron Chunn
@applehat
Jun 30 2017 21:58
I mean, I want buttons as well
I'd like to be able to develop a rig configuration that most people could use without issue
tynbendad
@tynbendad
Jun 30 2017 21:59
:+1:
Cameron Chunn
@applehat
Jun 30 2017 21:59
I think one of the biggest hurdles currently for a lot of folks is how complex the whole system ends up being. All the moving parts.
Like, I know im capable of keeping my rig online and know what to do if I don't have internet
Marcus Lindfors
@Mackwe
Jun 30 2017 22:00
@tynbendad It has been done. Completely offline OpenAPS. Calibrations need to be sent through SSH though. Will work on that when I can. =)
Cameron Chunn
@applehat
Jun 30 2017 22:00
But if it was my wife having to do it, we'd be introuble.
@Mackwe I have 2 thoughts on calibration without a screen / ssh / phone
Marcus Lindfors
@Mackwe
Jun 30 2017 22:01
@tynbendad There is code using a Wixel to pick up signals feeding OpenAPS with glucose data.
Dana Lewis
@danamlewis
Jun 30 2017 22:01
@applehat that’s one of the challenges of supporting flexibility - g4, g5, iphone, android, receiver, no receiver, etc. etc.
Marcus Lindfors
@Mackwe
Jun 30 2017 22:01
@applehat Sure! Go!
Dana Lewis
@danamlewis
Jun 30 2017 22:02
(love this conversation about exploring all the new ideas and options!)
fjungman
@fjungman
Jun 30 2017 22:02
So, for input, I think a five-way button is simplist. Up-Down-Left-Right and enter.
Marcus Lindfors
@Mackwe
Jun 30 2017 22:02
@applehat It would be nice to input calibs through NS and fetching them from there.. =)
Scott Leibrand
@scottleibrand
Jun 30 2017 22:02
:+1: for a simple system with all the moving parts soldered down into one or more boards that regular users can just snap together and then install the software
Cameron Chunn
@applehat
Jun 30 2017 22:02
Exactly @scottleibrand
@Mackwe Either NS, like you said - or
Marcus Lindfors
@Mackwe
Jun 30 2017 22:02
@scottleibrand I second that. =)
tynbendad
@tynbendad
Jun 30 2017 22:03
bt xbox controller for input ;)
Marcus Lindfors
@Mackwe
Jun 30 2017 22:03
@tynbendad LOL! Yay! =)
Scott Leibrand
@scottleibrand
Jun 30 2017 22:03
KISS ;-p
Cameron Chunn
@applehat
Jun 30 2017 22:03
@Mackwe If you have a Medtronic Pump with a Contour Next Link, it will automatically upload finger-sticks - use those.
Marcus Lindfors
@Mackwe
Jun 30 2017 22:03
@scottleibrand We are!! =)
Cameron Chunn
@applehat
Jun 30 2017 22:03
@Mackwe 2nd Alternative. The Contour Bluetooth ($15 - I have one and use it with xDrip currently) to auto-calibrate
tynbendad
@tynbendad
Jun 30 2017 22:03
@applehat - i like that...
Scott Leibrand
@scottleibrand
Jun 30 2017 22:03
s/are/were/ (until the xbox got involved) ;-)
Marcus Lindfors
@Mackwe
Jun 30 2017 22:03
@applehat Well... This is for Dex.
Cameron Chunn
@applehat
Jun 30 2017 22:04
Dexcom sensors to the rig, tho, right?
Marcus Lindfors
@Mackwe
Jun 30 2017 22:04
@applehat Contour Bluetooth! I like that idea!
@applehat Yes.
Cameron Chunn
@applehat
Jun 30 2017 22:04
Then it doesn't matter.
On the rig you have "Oh hey, medtronic pumps says finger stick was this..."
"Hey dexcom reading software 2000, use this for calibration"
Marcus Lindfors
@Mackwe
Jun 30 2017 22:05
Why not pair it with the rig directly? =)
Cameron Chunn
@applehat
Jun 30 2017 22:05
If you have the bluetooth one, then of corse
Marcus Lindfors
@Mackwe
Jun 30 2017 22:05
Edison boards do.. =)
Cameron Chunn
@applehat
Jun 30 2017 22:05
if you have a CNL already, no reason to not grab the reading alternativly.
Make the calibration system modular
So that it could work with NS Finger Sticks, Bluetooth Meters, or CNL => Medtronic => NS data.
Marcus Lindfors
@Mackwe
Jun 30 2017 22:06
I don't unfortunately. Just a 754 pump.
Yes. Modular is always the way to go. =)
Cameron Chunn
@applehat
Jun 30 2017 22:06
No CNL?
Marcus Lindfors
@Mackwe
Jun 30 2017 22:06
Nope.
Cameron Chunn
@applehat
Jun 30 2017 22:07
I got one free with my pump =P
I dont use it tho. The $15 contour bluetooth is perfect
Marcus Lindfors
@Mackwe
Jun 30 2017 22:07
I got my pump.. Let' say "off market".
Cameron Chunn
@applehat
Jun 30 2017 22:07
I got my 722 off market, but am prescribed a 754 (3.0fm)
Marcus Lindfors
@Mackwe
Jun 30 2017 22:07
I'll have a look at the BT Contour. This is promising. =)
Cameron Chunn
@applehat
Jun 30 2017 22:08
Anyway Im leaving work. Ill catch the chat later.
Marcus Lindfors
@Mackwe
Jun 30 2017 22:08
@applehat Okay. See ya! =)
Any ideas to my question above?
(I recently move to Heroku and everything seems to be updating now, except "pump" and "OpenAPS" pills. I think it did work, but stopped. Do you know how to troubleshoot that? Yes, I have re-installed oref0. Didn't help..)
Cameron Chunn
@applehat
Jun 30 2017 22:09
Oh - last option of corse is a screen to enter claibrations :p
Scott Leibrand
@scottleibrand
Jun 30 2017 22:09
@Mackwe is your devicestatus collection full on mlab?
Marcus Lindfors
@Mackwe
Jun 30 2017 22:10
@applehat Yas, please! :-P
@scottleibrand Brand new db..
Scott Leibrand
@scottleibrand
Jun 30 2017 22:11
could be it's not configured correctly? you can try hitting yournightscout.herokuapp.com/api/v1/devicestatus.json directly...
Marcus Lindfors
@Mackwe
Jun 30 2017 22:11
Status.PNG
It has a total of 9 records. Last one 2 hours ago.
@scottleibrand Should I try dropping it?
Marcus Lindfors
@Mackwe
Jun 30 2017 22:23
@scottleibrand ??? I dunno what happened. I haven't changed a single thing and now it updates again..? Really odd. Well, now it works. And as they say: If it ain't broken.. ;-)
Cameron Chunn
@applehat
Jun 30 2017 22:45
Fix it until it is?
gregtcm
@gregtcm
Jun 30 2017 22:54
@danimaniac I also have my xdrip set up for 2 REST uploads, but both to my rig ... one to its IP when home, and one to its IP when on my hotspot. So, one is always failing and it uploads to the other just fine.
Tim Street
@tim2000s
Jun 30 2017 22:56
@gregtcm Have they changed the xDrip+ code then? It used to be the case that if the first one failed the second didn't upload.
gregtcm
@gregtcm
Jun 30 2017 23:03
@tim2000s I don't know. It has always worked for me that way ... for maybe the last two or three months?? when I learned that you could add two urls to the upload setting. So, it must be something they fixed at some point. I've only been looping since early March.