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

23rd
Jun 2018
bjarecki
@bjarecki
Jun 23 2018 06:33
This message was deleted
tynbendad
@tynbendad
Jun 23 2018 07:06
did flask crontab entry get removed with the 0.6.2 release?
or am i doing something wrong...
tynbendad
@tynbendad
Jun 23 2018 07:11
maybe i added it manuallly a long time ago? i don't see it in the docs tho..
marafie
@marafie
Jun 23 2018 09:30
@danamlewis I just tried (on me) to enter 1 carb per min for 11 mins(one after another), the Openaps sees them all... Still no clue why this happens with my kid
Dana Lewis
@danamlewis
Jun 23 2018 14:18
Autosens poster is up! https://twitter.com/danamlewis/status/1010527139249246208 (full content available online)
Ebgineer
@Ebgineer
Jun 23 2018 15:28
nice @danamlewis :clap: - also saw a tweet on #2018ADA about Sooil and their coincidentally named Dana RS pump marketing OpenAPS compatibility.
joe5165
@joe5165
Jun 23 2018 16:24
I have a rig I started with 0.7.0-dev. I have an edison with explorer and I am getting the following error.
Listening for 40s silence before mmtuning: .No interfering pump comms detected from other rigs (this is a good thing!)
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.
I tried to run mmtune manually but it seems that has changed or something is wrong. Now i get
openaps: no process found
oref0-pump-loop: no process found
mmtune: Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/init.py", line 51, in call
self.run(self.args)
File "/usr/local/bin/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/cli/subcommand.py", line 52, in call
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/reports/invoke.py", line 24, in main
task = app.actions.commands['add'].usages.commands[device.name].method.commands[report.fields['use']]
KeyError: 'mmtune'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
joe5165
@joe5165
Jun 23 2018 17:34
I tried to reinstall 0.7.0-dev and I am still getting the same error
Eric
@ecc1
Jun 23 2018 17:50

What does which mmtune print? For some reason it's using the older Python version of mmtune, not the Go-based one that I thought was part of this branch, but @cluckj or @scottleibrand will know better than I.

Maybe the Go one should be renamed (mdttune?) to avoid this kind of problem, and to allow side-by-side comparison of mmtune and mdttune results if needed

Jon Cluck
@cluckj
Jun 23 2018 17:52
It's Go-mmtune
Eric
@ecc1
Jun 23 2018 17:52
Ah, way ahead of me :-)
Jon Cluck
@cluckj
Jun 23 2018 17:56
😉
Diadon81
@Diadon81
Jun 23 2018 18:47
Hi guys, what is power consumption for a new Raspberry PI W + Hamshield rig? What kind of LiPo should I use to guarantee 20h without recharge?
joe5165
@joe5165
Jun 23 2018 18:48
Do I need to update the PYthon
joe5165
@joe5165
Jun 23 2018 18:55
when I do Go-mmtune I get
2018/06/23 12:54:53 MEDTRONIC_PUMP_ID environment variable is not set
Scott Leibrand
@scottleibrand
Jun 23 2018 19:38
There’s one line in oref0-pump-loop you can run to set that from pump.ini
joe5165
@joe5165
Jun 23 2018 20:00
I got it to run mmtune now
joe5165
@joe5165
Jun 23 2018 20:06
This is what I am getting now
Starting oref0-pump-loop at Sat Jun 23 14:03:03 MDT 2018 with 14 second wait_for_silence:
Waiting up to 4 minutes for new BG: 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. Old pumphistory-24h, waiting for 14 seconds of silence: Radio ok. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Old pumphistory-24h refreshed
Profile less than 60m old; Profile valid. Refreshed pumphistory
Warning: setting mealCOB to 0 because currentDeviation is null/undefined
and meal.json
Checking pump clock: "2018-06-21T19:01:43-06:00" is within 90s of current time: Sat Jun 23 14:04:07 MDT 2018
Pump clock is more than 55s off: attempting to reset it
Waiting for ntpd to synchronize... OK!
Setting pump time to Sat Jun 23 14:04:08 MDT 2018
serial.serialutil.SerialException: Attempting to use a port that is not open
Setting CGM time to Sat Jun 23 14:04:10 MDT 2018
AttributeError: 'NoneType' object has no attribute 'ReadSystemTime'
Error: pump clock refresh error / mismatch
oref0-pump-loop failed. pump_loop_completed more than 15m old; waiting for 40s silence before mmtuning
Radio ok. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Listening for 40s silence before mmtuning: .No interfering pump comms detected from other rigs (this is a good thing!)
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 Jun 23 14:05:43 MDT 2018