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

12th
Jan 2018
Scott Leibrand
@scottleibrand
Jan 12 2018 00:16
We’ll need to see your logs to know why it’s not uploading CGM data to Nightscout.
Or is OpenAPS still not getting the CGM data either? Did you try running lsusb like I suggested the other day?
@jzycom123 ^^
jburke41
@jburke41
Jan 12 2018 01:55
In my logs, my taget has suddenly changed to 149 mg/dl, whereas it is 122-136 mg/dl in my pump. I have autotune off. This has never happened to me before. Any throuhts on why this could be happening?
image.png
Martin Haeberli
@mhaeberli
Jan 12 2018 02:12
running SMB. suspended pump. started shower (forgot to zero temp first). openaps talked to suspended pump, began adding insulin, unsuspended pump. Re-attached pump. what to do about the ‘missing’ insulin? half-bolus to replace? … (obviously, next time, zero temp, suspend, then resume, cancel zero after shower)
Dana Lewis
@danamlewis
Jan 12 2018 02:19
prime if you wanna replace
Martin Haeberli
@mhaeberli
Jan 12 2018 02:20
good idea!
thx
Dana Lewis
@danamlewis
Jan 12 2018 02:20
fixed prime, i mean
Martin Haeberli
@mhaeberli
Jan 12 2018 02:21
:+1:
Scott Leibrand
@scottleibrand
Jan 12 2018 02:24
@jburke41 autosens ratio is 0.7
That means it thinks you are running really sensitive and need 70% of normal basal (or less, since that is the autosens_min).
When that sensitivityRatio is < 1, it raises your target as well to provide a bit of safety buffer.
Scott Leibrand
@scottleibrand
Jan 12 2018 02:41
@jzycom123 please copy and paste the English translation, not the Google Translate link. I only pasted the link to show you how to do the translation. @ jzycom123请复制并粘贴英文翻译,而不是Google翻译的链接。我只粘贴链接,告诉你如何做翻译。
jzycom123
@jzycom123
Jan 12 2018 02:41
scott leibrand,我是刚刚接触这个,所以好多东西不懂,请不要介意
Scott Leibrand
@scottleibrand
Jan 12 2018 02:42
That does not have an English translation, so I can’t read it. 这没有英文翻译,所以我看不懂。
jzycom123
@jzycom123
Jan 12 2018 02:43
thank you!
Scott Leibrand
@scottleibrand
Jan 12 2018 02:43
If you won’t provide the information we ask for, we won’t be able to help you troubleshoot. 如果您不提供我们要求的信息,我们将无法帮您排除故障。
我们需要查看您的日志,以了解为什么不将上传的CGM数据上传到Nightscout。
OpenAPS仍然没有获得CGM数据吗?你有没有尝试像我之前建议的那样运行lsusb?
jzycom123
@jzycom123
Jan 12 2018 02:45
ok
jzycom123
@jzycom123
Jan 12 2018 04:53
root@tangyouyingbeng:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@tangyouyingbeng:~# root@tangyouyingbeng:~# lsusb
-bash: root@tangyouyingbeng:~#: command not found
root@tangyouyingbeng:~# Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
-bash: Bus: command not found
root@tangyouyingbeng:~# Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-bash: Bus: command not found

Starting oref0-pump-loop at Fri Jan 12 12:47:31 HKT 2018 with 18 second wait_for_silence:
Waiting up to 4 minutes for new BG: date: invalid date ‘@’
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 18 seconds of silence: Radio ok. Listening: .No interfering pump comms detected from other rigs (this is a good thing!)
Old pumphistory-24h refreshValueError: need more than 0 values to unpack
Couldn't refresh_old_pumphistory_24h
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!)

The CC111x is located at /dev/spidev5.1
RileyLink OK
Version: subg_rfspy 0.8
OK

The CC111x is located at /dev/spidev5.1
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
RileyLink OK
Version: subg_rfspy 0.8
SUCCESS
Listening for 40s silence before mmtuning: .No interfering pump comms detected from other rigs (this is a good thing!)
mmtune:

Scott Leibrand
@scottleibrand
Jan 12 2018 05:10
@jzycom123 looks like your Dexcom is recognized. What is in /var/log/openaps/cgm-loop.log ? 看起来像你的Dexcom是公认的。什么在/var/log/openaps/cgm-loop.log?
jzycom123
@jzycom123
Jan 12 2018 05:15
NO
A few days ago run correctly, these two days has been unable to run, I do not know why
@scottleibrand
A few days ago run correctly, these two days has been unable to run, I do not know why
Scott Leibrand
@scottleibrand
Jan 12 2018 05:24
Please paste the contents of /var/log/openaps/cgm-loop.log 请粘贴/var/log/openaps/cgm-loop.log的内容
jzycom123
@jzycom123
Jan 12 2018 05:26
How to do it?
Scott Leibrand
@scottleibrand
Jan 12 2018 05:27
tail -n 100 /var/log/openaps/cgm-loop.log
jzycom123
@jzycom123
Jan 12 2018 05:29
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 12:56:02 HKT 2018
CGM Data 845.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 12:57:01 HKT 2018
CGM Data 846.44 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 12:58:02 HKT 2018
CGM Data 847.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 12:59:02 HKT 2018
CGM Data 848.44 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:00:02 HKT 2018
CGM Data 849.47 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:01:01 HKT 2018
CGM Data 850.44 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:02:02 HKT 2018
CGM Data 851.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:03:01 HKT 2018
CGM Data 852.44 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:04:02 HKT 2018
CGM Data 853.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:05:02 HKT 2018
CGM Data 854.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:06:02 HKT 2018
CGM Data 855.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:07:02 HKT 2018
CGM Data 856.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:08:01 HKT 2018
CGM Data 857.43 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:09:02 HKT 2018
CGM Data 858.44 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:10:01 HKT 2018
CGM Data 859.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:11:02 HKT 2018
CGM Data 860.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:12:02 HKT 2018
CGM Data 861.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:13:02 HKT 2018
CGM Data 862.47 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:14:02 HKT 2018
CGM Data 863.47 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:15:02 HKT 2018
CGM Data 864.48 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:16:02 HKT 2018
CGM Data 865.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:17:01 HKT 2018
CGM Data 866.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:18:01 HKT 2018
CGM Data 867.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:19:02 HKT 2018
CGM Data 868.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:20:01 HKT 2018
CGM Data 869.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:21:01 HKT 2018
CGM Data 870.45 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:22:02 HKT 2018
CGM Data 871.47 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:23:02 HKT 2018
CGM Data 872.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:24:02 HKT 2018
CGM Data 873.47 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:25:01 HKT 2018
CGM Data 874.46 mins ago is old (>=5.1), not waiting
cgm://JSON/oref0_glucose/monitor/glucose-oref0.json
Fri Jan 12 13:26:02 HKT
Scott Leibrand
@scottleibrand
Jan 12 2018 05:36
Ok, so your problem is it can’t read BG data from the CGM, but it’s not clear why. You’ll probably want to manually run the command to retrieve CGM data to get a more detailed error message. 好的,所以你的问题是它不能从CGM读取BG数据,但是不清楚为什么。您可能需要手动运行该命令来检索CGM数据以获取更详细的错误消息。
I think it’s openaps use cgm iter_glucose 1
jzycom123
@jzycom123
Jan 12 2018 05:38
root@tangyouyingbeng:~# openaps use cgm iter_glucose 1
Not an openaps environment, run: openaps init
Scott Leibrand
@scottleibrand
Jan 12 2018 05:43
cd myopenaps
Or cd ~/myopenaps-cgm-loop
jzycom123
@jzycom123
Jan 12 2018 05:45
root@tangyouyingbeng:~# cd ~/myopenaps-cgm-loo
-bash: cd: /root/myopenaps-cgm-loo: No such file or directory
Ebgineer
@Ebgineer
Jan 12 2018 05:50
be sure to copy the whole command, yours ends with "loo" but should be "loop"
jzycom123
@jzycom123
Jan 12 2018 05:52
sorry
root@tangyouyingbeng:~# cd ~/myopenaps-cgm-loop
root@tangyouyingbeng:~/myopenaps-cgm-loop
Ebgineer
@Ebgineer
Jan 12 2018 05:55
openaps use cgm iter_glucose 1
jzycom123
@jzycom123
Jan 12 2018 05:55
Traceback (most recent call last):
File "/usr/local/bin/openaps-use", line 63, 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-use", line 57, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/init.py", line 92, in call
return self.method.selected(args)(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/init.py", line 31, in call
return self.method(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/uses/use.py", line 45, in call
output = self.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps/vendors/dexcom.py", line 418, in main
candidates = itertools.takewhile(self.comparison, self.dexcom.iter_records(self.RECORD_TYPE))
AttributeError: 'NoneType' object has no attribute 'iter_records'
Ebgineer
@Ebgineer
Jan 12 2018 06:05
You'll need somebody with more expertise to help with that. I get this when I do it:
~/myopenaps-cgm-loop# openaps use cgm iter_glucose 1 [ { "trend_arrow": "NOT_COMPUTABLE", "system_time": "2018-01-12T04:51:28", "display_time": "2018-01-11T21:53:00", "glucose": 124 } ]
jzycom123
@jzycom123
Jan 12 2018 06:10
好的,谢谢,实在不行就重新安装
ChrisHanzic
@ChrisHanzic
Jan 12 2018 07:09
When creating IFTTT applets, do you enter bg values in mg/dl or mmol?
Thacher
@thacherT1D
Jan 12 2018 07:15
@ChrisHanzic I use mg/dL , but I would think it would just have to match your nightscout settings... for example the body of my IFTTT applet for a temp target of 120 mg/dL for 1 hour looks like this {"enteredBy": "IFTTT-button", "eventType": "Temporary Target", "reason": "low treatment", "carbs": 0, "targetTop": 120, "targetBottom": 120, "duration": 60, "secret": "aaaaaaaaaaaaaaaaaaaaaaaaaaa"}
ChrisHanzic
@ChrisHanzic
Jan 12 2018 07:17
I was sort thinking along the lines of using mmol. But wanted confirmation.
Thacher
@thacherT1D
Jan 12 2018 07:21
If you're using mmol everywhere I would start there, but it's easy enough to wire up an IFTTT button and then watch NS/logs to see what it did
ChrisHanzic
@ChrisHanzic
Jan 12 2018 07:21
Will do :) Thanks
Thacher
@thacherT1D
Jan 12 2018 07:21
:smiley:
ChrisHanzic
@ChrisHanzic
Jan 12 2018 07:22
After all dont want to sent a temp target of 120mmol :O
Thacher
@thacherT1D
Jan 12 2018 07:29
yeah, definitely not, haha
ChrisHanzic
@ChrisHanzic
Jan 12 2018 08:18
@thacherT1D for future reference - regardless of if you operate in mmol IFTTT values are in md/dl.
Tim Street
@tim2000s
Jan 12 2018 08:32
@scottleibrand - I modified my Autosens limitations in preferences.json to apply wider variation on both autotune and autosens. When I was getting massive daily swings in average isf thanks to Fiasp, this worked really well.
Scott Leibrand
@scottleibrand
Jan 12 2018 18:12
:+1: What I was talking about was what you changed in the autotune code to apply a bigger % of the day’s changes.
Thacher
@thacherT1D
Jan 12 2018 19:15
@ChrisHanzic thanks for the update!
jburke41
@jburke41
Jan 12 2018 19:24
Hi all! I am having some issues with automatic bluetooth connection lately. I redid all of the steps on the Bluetooth Tethering page. Everything goes well until the last step where you test if the bluetooth will connect automatically: iwconfig wlan0 txpower off; sleep 120; iwconfig wlan0 txpower auto. My phone does not automatically connect (no blue bar at top of screen, no NS updates).
Thacher
@thacherT1D
Jan 12 2018 19:33
@jburke41 this is going to sounds stupid... have you checked that your hotspot is on? Sometimes mine just seems to turn itself off... carrier settings reset or other random reasons... this has definitely tripped me up at least once.. twice... that's all I'm admitting to :)
jburke41
@jburke41
Jan 12 2018 19:34
@thacherT1D Not stupid at all, but yes it is on!
Thacher
@thacherT1D
Jan 12 2018 19:41
@jburke41 I just ran bluetooth re-setup b/c of buying a new phone -- and will rerun for my backup rig tonight... will keep an eye out for a similar issue and let you know if I figure something out
jburke41
@jburke41
Jan 12 2018 19:41
@thacherT1D Thanks!
fabe21
@fabe21
Jan 12 2018 22:14
Capture9.JPG
Scott Leibrand
@scottleibrand
Jan 12 2018 22:15
@fabe21 what's your question?
fabe21
@fabe21
Jan 12 2018 22:15
Hi all, I am brand new to this as I just built my rig and I think I started looping with a test pump. Not sure if I am getting data yet?
Scott Leibrand
@scottleibrand
Jan 12 2018 22:17
that pump-loop.log looks good to me
fabe21
@fabe21
Jan 12 2018 22:17
I have tethered the rig to my phone and so it seems to be communicating but not sure if my Xdrip app is sending glucose numbers to the Edison? And is my Nightscout site just for monitorying the entire operation. ?
Scott Leibrand
@scottleibrand
Jan 12 2018 22:18
NS is for monitoring, setting temp targets, entering carbs, and running autotune
your logs show it got a recent BG reading of 109
fabe21
@fabe21
Jan 12 2018 22:19
I wish it showed MMOL. Can I not use Xdrip for that?