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

30th
Dec 2017
lschuirmann
@lschuirmann
Dec 30 2017 01:08
Also, sorry that didn't display correctly
lschuirmann
@lschuirmann
Dec 30 2017 01:22
Trying again with formatting:
Dec 29 20:07:01 localhost subg_rfspy: status: OK
Dec 29 20:07:01 localhost Version: subg_rfspy 0.8
Dec 29 20:07:02 localhost CRON: pam_unix(cron:session): session closed for user root
Dec 29 20:07:02 localhost CRON: pam_unix(cron:session): session closed for user root
Dec 29 20:07:02 localhost CRON: (CRON) info (No MTA installed, discarding output)
Dec 29 20:07:02 localhost CRON: pam_unix(cron:session): session closed for user root
Dec 29 20:07:02 localhost SubgRfspyLink: opening serial port
Dec 29 20:07:02 localhost subg_rfspy: status: OK
Dec 29 20:07:02 localhost Version: subg_rfspy 0.8
Dec 29 20:07:03 localhost CRON: pam_unix(cron:session): session closed for user root
Ok, please see above error messages in papertrail. OpenAPS is working fine but papertrail isn't. Thanks!!
Todd Radel
@tradel
Dec 30 2017 02:24
Woohoo! Loop is running!
Dana Lewis
@danamlewis
Dec 30 2017 02:25
@tradel :confetti_ball:
Todd Radel
@tradel
Dec 30 2017 02:26
Just need to set up a few things like BT tethering, and then start tinkering
Hacking my own pancreas with Python. What amazing times we live in.
Dana Lewis
@danamlewis
Dec 30 2017 02:30
:D
Scott Leibrand
@scottleibrand
Dec 30 2017 02:41
@lschuirmann those aren’t errors. They’re not really even warnings. What is the problem?
lschuirmann
@lschuirmann
Dec 30 2017 03:01
@scottleibrand everything seems to be working fine, but papertrail isn't displaying my openAPS log correctly- I keep getting those messages on repeat. As far as I know, I setup papertrail properly
Todd Radel
@tradel
Dec 30 2017 03:13
@lschuirmann it sounds like you followed the directions on https://papertrailapp.com instead of the directions in the OpenAPS docs, so it’s only uploading syslog
lschuirmann
@lschuirmann
Dec 30 2017 03:34

@tradel yes, I went through all commands on the readthedocs page.

Are there obvious places in those instructions where someone not great with code like myself might leave something out? I proofread everything I pasted into terminal...

Todd Radel
@tradel
Dec 30 2017 03:36
what do you get when you run ps -ef | grep remote_syslog ?
PieterGit
@PieterGit
Dec 30 2017 12:11
created a PR to upgrade bluez, see openaps/oref0#876
PieterGit
@PieterGit
Dec 30 2017 13:03

does anybody have the pushover notification working on their pebble, pushover works fine, but I can't get the pushover messages as notifications on the pebble somehow. I noticed the pebble docs for pushover where removed: "Why do notifications not show up on my Pebble watch?

To receive Pushover notifications on your Pebble watch, you'll first need to setup the watch with your phone using Pebble's app (available for free in the App Store and Google Play). Once you have confirmed that you are able to receive Pebble notifications from standard apps like SMS and incoming phone calls, you can now get Pushover notifications displaying on your watch.

On both iOS and Android, the Pushover device client does not actually perform the task of sending notifications to your Pebble watch. There is no Pushover app to run on the Pebble watch, but instead, the Pebble app running on your phone is responsible for communicating with your watch and forwarding notifications from other apps like Pushover.

On Android, our Pushover device client is responsible for forwarding notifications to the Pebble app. If you are receiving notifications from Pushover on your phone but not on your Pebble watch (but you are receiving notifications from other apps like SMS), open the Pushover device client, go to Settings, and make sure "Display notifications on Pebble" is checked. Also make sure that your quiet hours are set properly, since notifications received during your quiet hours will not forward to your Pebble watch unless you enable the option in Settings.

On iOS, our Pushover device client does not actually communicate with the Pebble app or your watch in any way. Notifications generated from Pushover are posted directly to your phone's Notification Center and the Pebble app is responsible for watching the Notification Center and forwarding new alerts to the watch. If you are receiving notifications on your Pebble watch from apps like SMS but not from Pushover, you may need to toggle Pushover in the Notification Center. If those steps do not work, unfortunately we are unable to provide any further assistance since our app does not actually communicate with the Pebble app or your watch. In this case, you will need to contact Pebble for support."
I tried but can't get it to work on Android. Perhaps the pebble support has been removed by the pushover app

Jeremy Cunningham
@jpcunningh
Dec 30 2017 16:06
The OpenAPS docs indicate if we are set to use the rapid-acting curve, it defaults to a peak of 75 minutes and DIA of 5 hours. We do not have any overriding preference for peak in our preferences.json. Does changing DIA in the pump have any impact on the algorithm when rapid-active curve is selected? If I understand the docs correctly, the pump's DIA setting would only be used if it was higher than 5 hours? I've looked through the logs and may be overlooking it, but is there anything in the logs that indicate what values are currently being used for DIA and Peak? Is there a method to determin what the DIA and peak should be. It seems that a lot of the autotune and autosens algorithms probably heavily depend on DIA and Peak being correct. Is that a correct assumption? Thank you in advance!
Scott Leibrand
@scottleibrand
Dec 30 2017 16:44
no, we don't log DIA and peak time. we don't have any definitive data showing that the precise values matter much, unless you're seeing lows 4-6h after large meals, in which case you might want to extend DIA from 5h to 6h.
Jeremy Cunningham
@jpcunningh
Dec 30 2017 18:20
Ok. Thanks!
When we suspend the pump, we have to put in a 0 temp basal before suspending. What's prohibiting recognizing pump suspension as an effective zero temp basal other than the code isn't written to handle suspends that way?
Dana Lewis
@danamlewis
Dec 30 2017 18:27
Correct - no one who it bothers has yet felt like spending the time doing that vs other things
Jeremy Cunningham
@jpcunningh
Dec 30 2017 18:31
:+1 Thanks!
:+1:
lschuirmann
@lschuirmann
Dec 30 2017 18:37

@tradel this is what happens:

root@ledison1:~# ps -ef | grep remote_syslog
root     10900 10557  0 13:35 pts/0    00:00:00 grep remote_syslog
root@ledison1:~#

Is this what should happen?

Enda Farrell
@endafarrell
Dec 30 2017 20:09
@lschuirmann It seems your papertrail setup hasn't worked - it's probably best to redo it. You should see something like this:
root@erig0:~# ps -ef | grep remote_syslog
root       438     1  0 12:42 ?        00:01:03 /usr/local/bin/remote_syslog -D
root      7545 30078  0 21:06 pts/0    00:00:00 grep remote_syslog
Specifically, the /usr/local/bin/remote_syslog -D line in the output.
Enda Farrell
@endafarrell
Dec 30 2017 20:41
@lschuirmann if you cat /etc/log_files.yml, does yours look like this?
root@erig0:~# cat /etc/log_files.yml
files:
 -  /var/log/openaps/pump-loop.log
 -  /var/log/openaps/autosens-loop.log
 -  /var/log/openaps/ns-loop.log
 -  /var/log/openaps/network.log
 -  /var/log/openaps/autotune.log
 -  /var/log/openaps/cgm-loop.log
 -  /var/log/openaps/pushover.log
destination:
  host: ***.papertrailapp.com # NOTE: change this to YOUR papertrail host!
  port: 00000   # NOTE: change to your Papertrail port
  protocol: tls
lschuirmann
@lschuirmann
Dec 30 2017 20:54

@endafarrell this is the output:

root@ledison1:~# cat /etc/log_files.yml
 -  /var/log/openaps/pump-loop.log
 -  /var/log/openaps/autosens-loop.log
 -  /var/log/openaps/ns-loop.log
 -  /var/log/openaps/network.log
 -  /var/log/openaps/autotune.log
 -  /var/log/openaps/cgm-loop.log
 -  /var/log/openaps/pushover.log
destination:
  host: logs6.papertrailapp.com
  port: 21234
  protocol: tls

I tried redoing the papertrail setup once already. Is there a way to completely delete it to start over from scratch?

Carl
@c-robertson
Dec 30 2017 21:18
@lschuirmann Looks like your log_files.yml file is missing the first line, which should be '''files:'''
@lschuirmann sorry, just 'files:' without the quotes...
(stupid markup)
Jeremy Cunningham
@jpcunningh
Dec 30 2017 21:21
What's the process for changing a site to make sure the IOB remains accurate? Is it similar to that described for showering? Manual 0 temp basal, suspend, then rewind when ready to proceed? TIA!
Enda Farrell
@endafarrell
Dec 30 2017 21:25
@lschuirmann - @c-robertson has it I think :)
lschuirmann
@lschuirmann
Dec 30 2017 21:29
@c-robertson @endafarrell hooray-that fixed it! Thank you!
Carl
@c-robertson
Dec 30 2017 21:31
:+1:
Dana Lewis
@danamlewis
Dec 30 2017 22:43
@jpcunningh yea. Doesn't make that much of a difference for that short time, but good habit to do so you don't miss much if you had a high temp running
Jeremy Cunningham
@jpcunningh
Dec 30 2017 22:51
Thank you @danamlewis !
Enda Farrell
@endafarrell
Dec 30 2017 23:02
qq: when I have positive deviations and (recent) Carbs On Board, is it normal/expected that the Zero-Temp predictions are always the quickest to go below my target - and then to continue to go far below my 100-100 target?
Scott Leibrand
@scottleibrand
Dec 30 2017 23:48
Yes, the ZTpredBGs ignore positive deviations (assume they revert to zero immediately).