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

3rd
Aug 2018
Ryan Dalisky
@rdalisky
Aug 03 2018 00:31
Yes Dana, tried to run openaps first-upload, and i got a whole bunch of errors as outlined above. re-installing openaps on my edison to see if it helps.
Tim Gunn
@Tornado-Tim
Aug 03 2018 00:49
@tomasboudr : also worth checking the tx/rx LED's on the explorer board.... are they constantly dimmly lit?
pedroll
@pedroll
Aug 03 2018 06:49

Hi, I was trying to run Autone offline with combo. I have added a small modification in history.js to recognize the missing tbrs. but I see a difference in the news reported by AAPS and autotune.
I'm reviewing iob uploading absolute value and I see a difference in autotune iob: 2.4 / androidaps 2.12
It sounds little, but the maximum basal rate per hour is low (0.35) and the night when the tbrs are higher, the difference is greater

Is this difference expected? or are there still some affected calculations that I have not found?

else if (current.eventType == "Temp Basal" && current.enteredBy == "openaps://AndroidAPS") {
                  var temp = {};
                  var currentbasalprofile = profile_data.basalprofile;
                  // added missing fields to pickup tbr on combo ¿dana?
                // timestamp,
                // rate = absolute ? rate = profile_data.basalprofile.rate * percent
                // this missings fields are used  in other iob calcs?
                  temp.timestamp = current.created_at;
                  temp.started_at = new Date(tz(temp.timestamp));
                  temp.date = temp.started_at.getTime();
                  if (current.percent) {
                    // todo: check calculate absolute applying percent to profile
                      temp.rate = currentbasalprofile[temp.started_at.getHours()].rate * current.percent / 100;
                  } else if (current.absolute) {
                      temp.rate = current.absolute;
                  } else {
                      temp.rate = current.rate;
                  }
                  temp.duration = current.duration;
                  tempHistory.push(temp);
              }
pedroll
@pedroll
Aug 03 2018 06:59
there are also many UAMs that are not real(77)
Scott Leibrand
@scottleibrand
Aug 03 2018 09:17
Is it a time zone thing? Does the time zone of the VM match that of your basal profile?
pedroll
@pedroll
Aug 03 2018 09:37
I think not, autotune is running on desktop osx
pedroll
@pedroll
Aug 03 2018 09:44
sure not, I've checked the time of the last bolus of the day
pedroll
@pedroll
Aug 03 2018 10:01
is there any way to get active profile json from NS? I dont have a sample profile with hourly sensitivities, and we are using it.
gokhan84
@gokhan84
Aug 03 2018 10:03
image.png
I have not been able to log since 9:30 am .. Does anyone know?
pedroll
@pedroll
Aug 03 2018 10:24
ok, getting profile from /api/v1/profile
kallnap
@kallnap
Aug 03 2018 16:37
does the Metronic 715 have any limitations in OpenAPS use apart from having no Medtronic CGM connection?
Dana Lewis
@danamlewis
Aug 03 2018 16:44
Nope
kallnap
@kallnap
Aug 03 2018 16:48
great, I was not sure, I knew that the 712 has limitations and the 715 did great for me, but I stopped using it before SMB was implemented
Dana Lewis
@danamlewis
Aug 03 2018 17:03
:+1:
naboull1
@naboull1
Aug 03 2018 17:11
hey guys i need some help my rig isnt picking up my pump. ive changed new battery in pump reinstalled sd card the explorer hat has d3 and d4 light on constantly and it just keeps failling preflight
can i check if the antenna is broken somehow?
wfeddern
@wfeddern
Aug 03 2018 17:42

Trying to get bluetooth tethering working on my pi zero/HAT. Following directions in docs I get an error when running the "bt-pan client <phone MAC>" command:

bt-pan client 08:AE:D6:4A:45:36

Traceback (most recent call last):
File "/usr/local/bin/bt-pan", line 228, in <module>
if name == 'main': sys.exit(main())
File "/usr/local/bin/bt-pan", line 196, in main
try: iface = net.Connect(opts.uuid)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in call
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NotSupported: Operation is not supported

naboull1
@naboull1
Aug 03 2018 18:05

Starting oref0-pump-loop at Sat 4 Aug 04:01:06 AEST 2018 with 10 second wait_for_silence:
Waiting up to 4 minutes for new BG: First loop: not waiting

Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat 4 Aug 04:01:17 AEST 2018

Preflight fail. Retry 1 of preflight
Preflight fail. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat 4 Aug 04:01:51 AEST 2018

Retry 2 of preflight
Preflight fail. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat 4 Aug 04:02:08 AEST 2018

Retry 3 of preflight
Preflight fail. Couldn't preflight
oref0-pump-loop failed. pump_loop_completed more than 15m old; waiting for 39 s silence before mmtuning
Could not parse profile.json: { Error: ENOENT: no such file or directory, open '/root/myopenaps/settings/profile.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object.<anonymous> (/root/src/openaps-menu/scripts/status.js:45:33)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/root/myopenaps/settings/profile.json' }
Could not parse edison-battery.json: { Error: ENOENT: no such file or directory, open '/root/myopenaps/monitor/edison-battery.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object.<anonymous> (/root/src/openaps-menu/scripts/status.js:51:38)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/root/myopenaps/monitor/edison-battery.json' }
Could not parse suggested.json: { Error: ENOENT: no such file or directory, open '/root/myopenaps/enact/suggested.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object.<anonymous> (/root/src/openaps-menu/scripts/status.js:88:35)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/root/myopenaps/enact/suggested.json' }
Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat 4 Aug 04:02:44 AEST 2018

Listening for 39 s silence before mmtuning: Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sat 4 Aug 04:02:49 AEST 2018

mmtune: Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
No wait required.
If pump and rig are close enough, this error usually self-resolves. Stand by for the next loop.
Unsuccessful oref0-pump-loop at Sat 4 Aug 04:03:21 AEST 2018
grep: monitor/temp_basal.json: No such file or directory

Dana Lewis
@danamlewis
Aug 03 2018 18:11
@naboull1 did you reinstall on the new sd card? Looks like t might have failed - it's not picking up profile in settings, so it's not reading at all. I'd try install of oref0 again.
N3FM
@N3FM
Aug 03 2018 18:13
@ryanchen26 re: "clock input invalid date..." This is an error from reading history. It won't go away but won't bother your system. You may see it 3 or 4 times in a row. Re: "IndexError: list index out of range", I ALWAYS get that error whenever setting pump time. (0.6.2, 722 pump with Enlite sensors on Edison/Explorer board).
Dana Lewis
@danamlewis
Aug 03 2018 18:38
@N3FM do you have a spare rig? I'd be curious to see if 0.7.0 (dev) has the same issues for Enlite users
Scott Leibrand
@scottleibrand
Aug 03 2018 18:40
@naboull1 if your cc1110 LEDs are constantly dimly lit, you need to follow the openaps docs page on running ccprog to reflash the cc1110. it's not going to even try to use the radio until it gets working firmware that turns off those LEDs.
N3FM
@N3FM
Aug 03 2018 18:50
@danamlewis Spare rig is enroute. When I tried 0.7.0, I got nothing from the (pump) cgm at all... A week or so ago... No clock, no history, no cgm data at all. Interestingly, preflight reported OK (pump model?)
Dana Lewis
@danamlewis
Aug 03 2018 18:51
ok I think there have been some enlite-related fixes since then. but if you keep testing, can you help keep an eye out (once you get these ones resolved) for if the indexerror and clock input invalid errors still occur? They shouldn't - but want to make sure those known errors don't translate to the Go radio code (aka 0.7.0)
Jon Cluck
@cluckj
Aug 03 2018 18:51
the new enlite Go code should be ready for testing soon-ish
Dana Lewis
@danamlewis
Aug 03 2018 18:52
:+1: thx @cluckj and @N3FM