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

1st
Aug 2018
Adi Barilan
@Adidushi
Aug 01 2018 08:41
I can help with Hebrew
tepidjuice
@tepidjuice
Aug 01 2018 08:51
Running 0.7.0 Dev and xdripaps is not working. I get an 'unable to do restapi upload: internal server error' when uploading to http://secret@ip/api/v1/ I've tried restarting the phone and rig a few times as per Tim's issue but that hasn't worked.
iValkou
@iValkou
Aug 01 2018 09:13
@tepidjuice xDripAPS.py crashes when xDrip+ tries to upload a calibration data
I made PR, but seems like the repository is dead colinlennon/xDripAPS#3
tepidjuice
@tepidjuice
Aug 01 2018 09:23
@iValkou any fix?
You can manualy download a fixed xDripAPS.py, replace ~/.xDripAPS/xDripAPS.py then reboot
tepidjuice
@tepidjuice
Aug 01 2018 09:27
This seems like an old problem. But xdripaps was worked for me a few weeks ago. What's changed?
iValkou
@iValkou
Aug 01 2018 09:29
nothing. it is rare case when array of entries begins with a calibration.
maybe you have another issue, it's a possible fix
john36m
@john36m
Aug 01 2018 11:52
Trying to update my .0.7.0-dev When I get to the git pull step, I get the following error "Your configuration specifies to merge with the ref 'refs/heads/0.7.0-dev'
from the remote, but no such ref was fetched." What is my next step?
john36m
@john36m
Aug 01 2018 12:33
I found the file that contains that reference. It's in src/oref0/.git/config But what do I do with it?
Jon Cluck
@cluckj
Aug 01 2018 13:37
0.7.0-dev no longer exists, it was merged to dev
You'll need to switch branches, do npm run global-install and then (maybe) re-run the interactive setup
john36m
@john36m
Aug 01 2018 13:41
@cluckj I had thought of that, but I was afraid I would mess up my perfectly working device. Ah the joys of the dev branch(es). I will try that now. Thanks.
Jon Cluck
@cluckj
Aug 01 2018 13:42
When did you last update 0.7.0-dev?
john36m
@john36m
Aug 01 2018 14:06
I cannot recall. Certainly a long time ago.
john36m
@john36m
Aug 01 2018 14:16
But re-ran dev install and seems OK so far. Raspberry PI zero dexcom G5
Jon Cluck
@cluckj
Aug 01 2018 14:16
okay :)
(whew)
the problem some folks have had is switching from a pre-refactor 0.7.0-dev to dev
st8ass
@st8ass
Aug 01 2018 14:56
Hi all. I have a problem with Оpenaps. Tonight openaps began to introduce a bolus on meal without carbs. I noticed that the COB has changed from 10 to 38 after midnight. I do not understand what happened. I did not enter carbs into the nightscout.
log.jpg
COB.jpg
tepidjuice
@tepidjuice
Aug 01 2018 16:15
@iValkou thanks
This fixed my issue.
Jon Cluck
@cluckj
Aug 01 2018 18:29
@philipgo about the xdripaps issue: are you bluetooth tethered all the time, or just when there's no wifi?
philipgo
@philipgo
Aug 01 2018 18:59
@cluckj Only when there is no wifi.
Jon Cluck
@cluckj
Aug 01 2018 19:01
Okay 😁
I'm not seeing it because I'm tethered all the time
I was able to reproduce it by not tethering for a while, then reconnecting
xdripaps is only storing the data it is sent, so if it's not tethered it doesn't get any data
philipgo
@philipgo
Aug 01 2018 19:06
Okay... yes, that is our use case. I remember that in the past switching from online to offline looping used to work. So why does it not work after a reconnect?
Jon Cluck
@cluckj
Aug 01 2018 19:08
Openaps will stop looping until xdrip+ sends xdripaps enough data to start looping again
Disconnecting the tether leaves big gaps in the xdripaps db
Andy Sharrow
@dramageek
Aug 01 2018 19:21
@cluckj Should that matter? Looking at monitor-xdrip, it just compares old and new copies of xdrip/glucose.json, and adds the diff to monitor/glucose.json
Gaps shouldn't matter since it just appends the new values, so monitor/glucose.json should still have everything.
Jon Cluck
@cluckj
Aug 01 2018 19:23
I don't think it appende
d
Andy Sharrow
@dramageek
Aug 01 2018 19:35
@cluckj Hmm. Yeah, you're right, it just copies the whole file over.
Any reason we couldn't append with some sort of jq command? It might result in duplicate entries if a result makes it through both nightscout and xDripAPS?