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

25th
Sep 2018
Dana Lewis
@danamlewis
Sep 25 2018 00:31
@tzachi-dar no
@mhaeberli afaik, no
Martin Haeberli
@mhaeberli
Sep 25 2018 00:32
k thx :-(
I guess i’ll have to find out soon...
alimhassam
@alimhassam
Sep 25 2018 00:36
@mhaeberli why use a receiver and a wire when the pi can communicate directly to the g6 through bluetooth??
Scott Leibrand
@scottleibrand
Sep 25 2018 00:49
512 is the oldest loopable pump
Martin Haeberli
@mhaeberli
Sep 25 2018 03:59
@alimhassam gr8 - i didn’t know that. can the g6 talk to BOTH the Pi and an iPhone at the same time?
tzachi-dar
@tzachi-dar
Sep 25 2018 05:24
Thanks @danamlewis
Boris and Kayley Raskin
@boryanvbu
Sep 25 2018 05:37

Hi, our rig has been having trouble connecting to the bluetooth hotspot, so we removed the paired device from both phone and rig and paired it again. Now, we are able to get the rig to connect to the phone's bluetooth hotspot, but can't get an IP address assigned to the rig in order to get internet access. After running the sudo dhclient bnep0 command and then ifconfig bnep0 we get the following output which is missing the line with the IP address

root@bokayaps:~# ifconfig bnep0
bnep0     Link encap:Ethernet  HWaddr 98:4f:ee:04:29:7c
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:398 (398.0 B)  TX bytes:60 (60.0 B)

Tried connecting to two different iPhones now with the same result. Does anyone have any ideas?

iValkou
@iValkou
Sep 25 2018 08:48
Hello, mmtune fails with error:
root@apsberry:~/myopenaps # openaps mmtune
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.
I made it works:
root@apsberry:~/myopenaps # cd ~/myopenaps && sudo service cron stop && killall -g openaps ; killall -g oref0-pump-loop; OREF0_DEBUG=1 oref0-mmtune && sudo service cron start
openaps: no process found
mmtune: 2018/09/25 11:49:34 connected to CC111x radio on /dev/spidev0.0
2018/09/25 11:49:34 setting frequency to 868.400
2018/09/25 11:49:35 model 722 pump
2018/09/25 11:49:35 frequency set to 916.300
2018/09/25 11:49:36 frequency set to 916.350
2018/09/25 11:49:38 frequency set to 916.400
2018/09/25 11:49:39 frequency set to 916.450
2018/09/25 11:49:41 frequency set to 916.500
2018/09/25 11:49:43 frequency set to 916.550
2018/09/25 11:49:44 frequency set to 916.600
2018/09/25 11:49:46 frequency set to 916.650
2018/09/25 11:49:47 frequency set to 916.700
2018/09/25 11:49:49 frequency set to 916.750
2018/09/25 11:49:50 frequency set to 916.800
2018/09/25 11:49:51 frequency set to 916.850
2018/09/25 11:49:53 frequency set to 916.900
{
  "scanDetails": [
    [
      "916.300",
      0,
      -128
    ],
    [
      "916.350",
      0,
      -128
    ],
    [
      "916.400",
      0,
      -128
    ],
    [
      "916.450",
      0,
      -128
    ],
    [
      "916.500",
      0,
      -128
    ],
    [
      "916.550",
      0,
      -128
    ],
    [
      "916.600",
      0,
      -128
    ],
    [
      "916.650",
      0,
      -128
    ],
    [
      "916.700",
      0,
      -128
    ],
    [
      "916.750",
      0,
      -128
    ],
    [
      "916.800",
      0,
      -128
    ],
    [
      "916.850",
      0,
      -128
    ],
    [
      "916.900",
      0,
      -128
    ]
  ],
  "setFreq": 916.6,
  "usedDefault": true
}
2018/09/25 11:49:55 disconnecting CC111x radio on /dev/spidev0.0
but my pump is WW
iValkou
@iValkou
Sep 25 2018 08:57
I found my pump.ini was wrong
oref0-runagain.sh rewrites this file despite the fact that the pump locale is specified correctly
iValkou
@iValkou
Sep 25 2018 09:08
that's why loop takes more than 5 min
adenis76
@adenis76
Sep 25 2018 09:42
I have Edison/Explorer Board and I am trying to flash rig with jubilinux on Windows/PC. I am installed driver and putty. When I try to connect rig with PC my win 10 only recognizes rig as merrifield. After 5 minutes device is losing connection and I need to restart rig to reconnect. I am try more cables and result is same. I am also try on another computer with no luck. Do you have any suggestions? Thanks in advance.
MarinaFa
@MarinaFa
Sep 25 2018 11:32

Hi everyone! I am trying to build my OPENAPS system since a few months now and I am stopped at some point. I have read all the instructions on the website and I have even asked 3informaticians for help but the problem remains unsolved. You are now my best hope to keep on moving forward…

Here is the situation:

I bought everything needed to build my rig. I tried to flash the Intel Edison but I have an error message: “failed kernel moduls”. I tried flashing several times and from different computers (Mac and PC). I also tried with another Intel Edison (I have 2) and a great lot of DATA cables, but the problem is the same.

I tried to continue with the installation of the Wifi, but it doesn’t work because it is written: “root@edison” instead of “root@jubilinux” .

I would appreciate any advice you can give me because the situation now is totally frozen for me.

Boris and Kayley Raskin
@boryanvbu
Sep 25 2018 17:04

@scottleibrand and @danamlewis , have you guys seen something like this before? Thanks!

Hi, our rig has been having trouble connecting to the bluetooth hotspot, so we removed the paired device from both phone and rig and paired it again. Now, we are able to get the rig to connect to the phone's bluetooth hotspot, but can't get an IP address assigned to the rig in order to get internet access. After running the sudo dhclient bnep0 command and then ifconfig bnep0 we get the following output which is missing the line with the IP address

root@bokayaps:~# ifconfig bnep0
bnep0     Link encap:Ethernet  HWaddr 98:4f:ee:04:29:7c
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:398 (398.0 B)  TX bytes:60 (60.0 B)

Tried connecting to two different iPhones now with the same result. Does anyone have any ideas?

philipgo
@philipgo
Sep 25 2018 17:20
Is there a simple way to find out when min_5m_carbimpact was applied? I would like to analyze whether it makes sensr to increase it?
Scott Leibrand
@scottleibrand
Sep 25 2018 19:05
@boryanvbu Bluetooth is a bit of a black box: we spent months not getting it to work, but then were finally able to get it to work by reflashing and exactly following the instructions in the docs.
@philipgo the CI is logged in pump-loop.log
philipgo
@philipgo
Sep 25 2018 19:22
@scottleibrand Trying to get my head around the details of the carb absorption logic. Default min_5m_carbimpact is 8 mg/dl/5min in dev, yet there are lots of Carb Impacts < 8mg/dl/5min in the logs.
The reason I am asking is that we see repeated lows on sensitive days where OpenAPS thinks that there is a lot of COB while apparently no absorption is taking place any more
Scott Leibrand
@scottleibrand
Sep 25 2018 23:48
any time CI is < 8, carb absorption will be assumed to be proceeding at a rate of 8 mg/dL/5m for purposes of calculating COB (after the fact), but projected future carb absorption will start from the actual current value
raising min_5m_carbimpact from 8 would force it to decay carbs faster when CI is low (due to post-meal physical activity or whatever)