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

15th
Nov 2018
Raymond Richmond
@PedanticAvenger
Nov 15 2018 00:15
Anyone have their Edison rig suddenly stop getting an IP from their BT PAN to an android phone?
Just started happening this morning and a reload doesn't resolve.
Garrett Webb
@garetis
Nov 15 2018 03:23
So I had to stop using the loop for a few weeks while I waited for a new transmitter. I started it up and have run into a few issues. I reinstalled everything and the same errors are occurring. I'm running a 715, G5, Edison/Explorer, and have installed Lookout. Does anyone know how to cure any of these errors?
Starting oref0-pump-loop at Wed Nov 14 21:15:02 CST 2018 with 26 second wait_for_silence:
Waiting up to 4 minutes for new BG: jq: error: Cannot index string with number
parse error: Expected string key before ':' at line 513, column 9
jq: error: Cannot index string with number
parse error: Expected string key before ':' at line 513, column 9
ls: cannot access /tmp/pump_loop_completed: No such file or directory
Radio ok. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Preflight OK. Profile less than 60m old; Profile valid. Refreshed pumphistoryWarning: could not parse monitor/glucose.json
/home/.rootfs/usr/local/lib/node_modules/oref0/lib/determine-basal/cob.js:8
    glucose_data = inputs.glucose_data.map(function prepGlucose (obj) {

TypeError: Cannot read property 'map' of undefined
Also, when I was reinstalling npm there was a warning about 12 vulnerabilities and possibly one being critical. I ran the audit routines advised, but didn't seem to help. I read online that it might not be a big deal, but wanted to mention it just in case.
Raymond Richmond
@PedanticAvenger
Nov 15 2018 04:05
I would just like to thank whoever is responsible for the bootstrap script. So bloody elegant a way to go from zero to tweaking in no time. :)
Scott Leibrand
@scottleibrand
Nov 15 2018 04:29
😃
Dana Lewis
@danamlewis
Nov 15 2018 04:39
@PedanticAvenger 🙌🏼
RamiLaakso
@RamiLaakso
Nov 15 2018 05:13
NS was silent around the clock and in the morning I tried first-upload and then (without thinking) removed the devicestatus collection from mongodb, when I should have removed
...the data in it. Is there a script I need to run now?
In between getting out of bed and waking up...)
dmdfreak
@dmdfreak
Nov 15 2018 05:41
trying to install a new pi zero. installed to a new sdcard from the suggested page of hardware. But can't get it to connect with putty. Any ideas? I've never had trouble connecting to my edison setup
I've double checked the network info and its correct.
dmdfreak
@dmdfreak
Nov 15 2018 05:48
Got the local IP number and that let me connect. I couldn't get raspberrypi.local to work per the instructions.
loztblaz
@loztblaz
Nov 15 2018 08:58
Would removing the screen from the explorer hat cause any issues? I don't really use the screen and I'm trying to make a very compact 3d printed case, but figured I should ask first.
x3nr1qu3x
@x3nr1qu3x
Nov 15 2018 12:02
@scottleibrand I have installed pibakery image again, but i have some issues on openAPS installation, look that
Sin título.png
and when the installation of openAPS has finished, the "reboot" command has still not worked, I had to manually restart it. Now I'm installing oref0 but I think I'll still have problems :(
x3nr1qu3x
@x3nr1qu3x
Nov 15 2018 12:09
i have a lot of lines like that. " (node:1143) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. " but i dont know what it means...
loztblaz
@loztblaz
Nov 15 2018 13:37
I was having an issue where UAM predictions would get set to 'null', COB would disappear, and parts of the loop wouldn't function properly because of the carb ratio validation in oref0-meal.js. line 56-57 // disallow impossibly low carbRatios due to bad decoding
if ( typeof(profile_data.carb_ratio) == 'undefined' || profile_data.carb_ratio < 3 ) {
i'd get an out of bounds error on the carb_ratio, but the problem is that my carb ratio is actually under 3, at 2.3
rosaasor1
@rosaasor1
Nov 15 2018 14:15
If I enter carbs using IFTTT, careportal or Bolus Wizard, they are displayed correctly in NS. Openaps pill always shows COB=0, and continuous log always shows COB= 0. Does not appear openaps collects carbs info. Suggestions?
Scott Leibrand
@scottleibrand
Nov 15 2018 15:01
@loztblaz in which units?
@rosaasor1 check your ns-loop.log
@x3nr1qu3x I would install the raspbian lite image instead of pibakery then, unless someone else knows of an easier fix.
loztblaz
@loztblaz
Nov 15 2018 15:46
2.3g:1u, standard US units.
i've got super high resistance, not expecting everything to get changed on account of me or anything, just wanted to put it out there in case anyone else was in a similar search
Raymond Richmond
@PedanticAvenger
Nov 15 2018 16:08
Turns out my PAN issues were due to dhclient.leases corrupting itself. extra line inserted into it caused a parsing error.Not sure where it would have come from except a possible system update impacting it.