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

21st
Oct 2018
Dana Lewis
@danamlewis
Oct 21 2018 00:05
Correct. Rf turns off when pump battery low
peterfulvi
@peterfulvi
Oct 21 2018 04:01
How do i update nightscout. I currently run 0.9.2 and i updated my reprositories in git hub but nothing happened on my site. Im trying to enable xdrip-js on it
peterfulvi
@peterfulvi
Oct 21 2018 05:37
I updated it. Ihad to redeploy it in heroku. But now its not taking my API secret which i double checked.
Arnoud82
@Arnoud82
Oct 21 2018 11:38
Hello, not sure if this is the right place to ask.
im trying t setup a rig with a PI0 and the Miniloop v0.1 Daughter Board, doing al the setup stuf i got this message at the and of installing modify_go.sh

root@Testklier:~# ./modify_go.sh
github.com/ecc1/medtronic (download)

cd /root/go/src/github.com/ecc1/medtronic; git pull --ff-only

fatal: unable to access 'https://github.com/ecc1/medtronic/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
package github.com/ecc1/medtronic: exit status 1
github.com/ecc1/nightscout (download)
github.com/ecc1/papertrail (download)
github.com/ecc1/radio (download)
github.com/ecc1/gpio (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/ecc1/spi (download)
Couldn't go get medtronic
root@Testklier:~#
root@Testklier:~#
root@Testklier:~# ./modify_go.sh
github.com/ecc1/medtronic (download)
github.com/ecc1/nightscout (download)
github.com/ecc1/radio (download)
github.com/ecc1/gpio (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/ecc1/spi (download)
github.com/ecc1/rfm69 (download)
github.com/ecc1/papertrail (download)
sending incremental file list
bgproxy
cgmhistory
cgmpage
cgmts
cgmupdate
fakemeter
historypage
listen
mdt
mmtune
printrecord
pumphistory
readcgm
readhistory
regenerate
rssi
setbasals
sniff
ts
txtest
writehistory

sent 118,380,604 bytes received 415 bytes 5,261,378.62 bytes/sec
total size is 118,350,488 speedup is 1.00
ln: target '/root/myopenaps/' is not a directory: No such file or directory
Couldn't softlink openaps.jq
root@Testklier:~#

Dana Lewis
@danamlewis
Oct 21 2018 11:44
@Arnoud82 what's the miniloop board? Might be worth asking this in the hardware dev channel
Arnoud82
@Arnoud82
Oct 21 2018 11:54
@danamlewis thats the miniloop board and im trying do make that work for me, because a explorer Hat cost's me 180 euro to get here in the Netherlands.
Scott Leibrand
@scottleibrand
Oct 21 2018 15:39
Looks like your Internet connection is having issues. You might be able to just retry, or switch to a “clean” connection (like maybe smartphone tethering) if there’s any chance your ISP is playing shenanigans.
KS615
@KS615
Oct 21 2018 19:01
Hi all, I had a error a week ago when I tried to re-run the script to change my pump serial number. After trying to trouble shoot, I decided to try to re-run the bootstrap script (using serial connection) and am getting, "
Wifi SSID: root@edison1:~#" When I put in my network name, it says, "-bash: Dogo: command not found" What am I missing here? I'm sure its something simple that I'm just not seeing. TIA
Dogo is my network name
VAMNS2
@VAMNS2
Oct 21 2018 20:50

Hi, I tried to compact mLab two times but file size didn't decreased so I deleted the biggest files (devicestatus, treatments and entries) and then re-compacted. Nightscout screen remains empty (there is only logo, two dotted lines, menu and a blank black screen). When I try to select whatever link in the menu (e.g. Profile editor or Admin tools) I got an error page "Nightscout - Boot error". Any ideas how to fix?

Nightscout - Boot Error
Unable to setup authorization
{"name":"MongoError","message":"connection 0 to ds229909.mlab.com:29909 timed out","stack":"MongoError: connection 0 to ds229909.mlab.com:29909 timed out
at Function.MongoError.create (/app/node_modules/mongodb-core/lib/error.js:29:11)
at Socket. (/app/node_modules/mongodb-core/lib/connection/connection.js:198:20)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:106:13)
at Socket.emit (events.js:208:7)
at Socket._onTimeout (net.js:407:8)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5)"

tzachi-dar
@tzachi-dar
Oct 21 2018 21:58
I have noticed that the example of bg_targets_raw.json also contains an x,i, first that are not documented and do not actually exist.
What should I do about them?
{
"units": "mg/dL",
"targets": [
{
"high": 120,
"start": "00:00:00",
"low": 110,
"offset": 0,
"i": 0,
"x": 0
},
{
"high": 110,
"start": "06:00:00",
"low": 110,
"offset": 360,
"i": 12,
"x": 1
},
{
"high": 120,
"start": "20:00:00",
"low": 110,
"offset": 1200,
"i": 40,
"x": 2
}
],
"first": 1
}
tzachi-dar
@tzachi-dar
Oct 21 2018 22:03
also on the file basal_profile, there is start and minutes. Are both of them used? Is it my responsibility to keep them coherent?
Eric
@ecc1
Oct 21 2018 22:10
those fields are added when decocare decodes the target schedule, and the Go code adds them for compatibility (all that's really "present" on the pump are the start time and target values, and the ordering of the entries
same for basal schedules and carb ratios, iirc