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

26th
Mar 2019
Stargazer32584
@Stargazer32584
Mar 26 14:05
@cluckj We checked the battery again. This was the real reason for the wlan-problem. Your x12-fix runs very good.
David
@davidkeddydb
Mar 26 17:45
I have an old Explorer/Edison rig that I am trying to restart. I wiped everything off (Didn't reflash) and I am trying to run the bootstrap script. Rig isn't seeing any wifi points. Thinking my network interface file may be messed up. Can someone point me to where I can see the old OpenAPS docs so I can see if I have something easy to fix in my /etc/network/interfaces file from way back when?
David
@davidkeddydb
Mar 26 19:40
@scottleibrand Thanks as always.
Riko L
@Ricco555
Mar 26 21:47
should autotune on two different rigs (connected to a same NS site with the same entry data) return the same resulting calculation? The reason I am asking is because it is not, and I am wandering if this is by design.
image.png
Riko L
@Ricco555
Mar 26 21:52
Assumption is that both are taking the same sample data, but obviously not.
viq
@viq
Mar 26 22:08
@Ricco555 both have same profile as a starting point, and both were told to look at same period of data?
Riko L
@Ricco555
Mar 26 22:10
The profile is the same, but how do I check if they look at the same period of data? I haven't fiddled with it so far so it is using defaults.
also, if not, how to sync it?
by "same profile", I assume you mean the profile from the pump ?
^ @viq
viq
@viq
Mar 26 22:15
I think there's actually 3 profile files that OpenAPS uses, I don't exactly know which one does what since I'm not using OpenAPS myself
I don't really know the default time period. It seems to be one day, but there are some references to previous days, so I'm not sure
Riko L
@Ricco555
Mar 26 22:23
Autotune is set up to run each day at 4am, but the time period to look back I am unsure. Anyway, both rigs should be able to get the same source of data, and since they were installed without me changing the defaults I would assume the setting would be the same on both.
viq
@viq
Mar 26 22:25
AFAIK there's profile.json, pumpprofile.json and autotune.json in ~/myopenaps/settings/ - check that all those files are identical on both
Riko L
@Ricco555
Mar 26 22:35
profile.json is the same for parameters, but hourly profile differs. And it is exactly the setting of the resulting autotune. the pump profile is the same on both sides. autotune.json file also looks generated after autotune in relation to basal profile and some parameters like sensitivity
viq
@viq
Mar 26 22:40
Try copying profile.json from one to the other and see if after that they'll remain in sync?
Out of curiosity, what did you use to generate the graph above?
Riko L
@Ricco555
Mar 26 22:43
@viq will try that. there is also one difference in autotune.log, days missing parameter.. what it means and why it differs in missing days I cannot comprehend. But it may be the reason why they don't match.
the graph is from excel. I use autotune results and copy it to excel for some analysis. unfortunately I am a bit rusty on the programming languages so I default to excel.
What I would love to automate is to have calculation on the insulin consumed throughout the day, week, month and compare to previous period
also to show trend of the interesting parameters like ISF, CSF etc.
Scott Leibrand
@scottleibrand
Mar 26 22:51
if days missing is different, that usually means one has been running longer than the other
Riko L
@Ricco555
Mar 26 22:54
does it affect the autotune calculation in any way?
btw, one IS running longer. Pi conf has been running longer but is only stationary while I was waiting for the Explorer Board to arrive for Edison.
Scott Leibrand
@scottleibrand
Mar 26 22:55
each day autotune starts from the previous day's output
they'll eventually converge to be close, but will never be identical unless you start them over from the same point
you could do a manual run starting from pumpprofile using a week or two worth of data, and then have them do their nightly runs starting from that point
Riko L
@Ricco555
Mar 26 22:56
I see. so fot several rigs it would make sense to copy the myopenaps folder ?
Scott Leibrand
@scottleibrand
Mar 26 22:56
or that, yes.
or just the settings/ and autotune/ subdirectories
Riko L
@Ricco555
Mar 26 22:57
thanks @scottleibrand , and @viq for good pointers
Scott Leibrand
@scottleibrand
Mar 26 22:58
:+1: