Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 2019 15:51
    xen0n starred openaps/oref0
  • Jan 31 2019 15:12
    cclauss opened #1191
  • Jan 31 2019 15:09
    cclauss edited #1190
  • Jan 31 2019 15:08
    cclauss edited #1189
  • Jan 31 2019 15:07
    cclauss edited #1190
  • Jan 31 2019 15:07
    cclauss opened #1190
  • Jan 31 2019 15:00
    cclauss synchronize #1189
  • Jan 31 2019 14:52
    cclauss opened #1189
  • Jan 31 2019 14:10
  • Jan 31 2019 14:06
    Owaisaaa starred openaps/docs
  • Jan 31 2019 12:20
    cclauss synchronize #22
  • Jan 31 2019 12:16
    cclauss opened #22
  • Jan 31 2019 12:11
    cclauss edited #21
  • Jan 31 2019 12:09
    cclauss opened #21
  • Jan 31 2019 11:31
    tuzoenduro commented #1406
  • Jan 31 2019 11:25
    cclauss opened #140
  • Jan 30 2019 05:53
  • Jan 29 2019 16:03
    tzachi-dar commented #1406
  • Jan 29 2019 14:46
    rostag starred openaps/oref0
  • Jan 27 2019 22:06
    PieterGit synchronize #1176
Eric
@ecc1
@dcacklam I can't reproduce that with go 1.15 from bullseye:
/tmp $ git clone https://github.com/ecc1/medtronic
Cloning into 'medtronic'...
remote: Enumerating objects: 3007, done.
...
/tmp $ cd medtronic/cmd/cgmupdate/
/tmp/medtronic/cmd/cgmupdate $ go build -v
go: downloading github.com/ecc1/nightscout v0.0.0-20181103224750-3f979d458431
github.com/ecc1/medtronic/packet
github.com/ecc1/gpio
github.com/ecc1/nightscout
github.com/ecc1/spi
github.com/ecc1/cc111x
github.com/ecc1/radio
github.com/ecc1/medtronic
github.com/ecc1/medtronic/cmd/cgmupdate
/tmp/medtronic/cmd/cgmupdate $ go version
go version go1.15.9 linux/amd64
Looks like your build is using an older version of code from the nightscout repo. I'd try removing your local copy of the Go source and retrying
Dave Acklam
@dcacklam
@ecc1
I am using the 'go' source that is installed by the oref0-install script.
Dave Acklam
@dcacklam
@ecc1
From oref0-setup.sh
    golangversion=1.12.5
    if go version | grep go${golangversion}.; then
        echo Go already installed
    else
        echo "Removing possible old go install..."
        rm -rf /usr/local/go/*
        echo "Installing Golang..."
        if uname -m | grep armv; then
            cd /tmp && wget -c https://storage.googleapis.com/golang/go${golangversion}.linux-armv6l.tar.gz && tar -C /usr/local -xzvf /tmp/go${golangversion}.linux-armv6l.tar.gz
        elif uname -m | grep i686; then
            cd /tmp && wget -c https://dl.google.com/go/go${golangversion}.linux-386.tar.gz && tar -C /usr/local -xzvf /tmp/go${golangversion}.linux-386.tar.gz
        fi
    fi
If you try running the oref0-setup on a clean SD card (pi) or Edison flash, you will get the above crash
Dave Acklam
@dcacklam
I updated the 'golangversion' to 1.15.13, and ran oref0-setup again.

go version go1.15.13 linux/arm
Go already installed
GOROOT=/usr/local/go
export GOROOT
PATH=$PATH:/usr/local/go/bin:$GOROOT/bin:$GOPATH/bin
GOPATH=$HOME/go
export GOPATH
PATH=$PATH:/usr/local/go/bin:$GOROOT/bin:$GOPATH/bin
Making sure SPI is enabled...
github.com/ecc1/medtronic (download)
github.com/ecc1/cc111x (download)
github.com/ecc1/gpio (download)
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 //golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
golang.org/x/sys (download)
get "golang.org/x/sys/internal/unsafeheader": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys/internal/unsafeheader?go-get=1
get "golang.org/x/sys/internal/unsafeheader": verifying non-authoritative meta tag
github.com/ecc1/spi (download)
github.com/ecc1/nightscout (download)
github.com/ecc1/radio (download)
github.com/ecc1/papertrail (download)
github.com/ecc1/medtronic/cmd/bgproxy
github.com/ecc1/medtronic/cmd/cgmupdate
# github.com/ecc1/medtronic/cmd/cgmupdate
/root/go/src/github.com/ecc1/medtronic/cmd/cgmupdate/main.go:55:2: undefined: nightscout.SetNoUpload
/root/go/src/github.com/ecc1/medtronic/cmd/cgmupdate/main.go:56:2: undefined: nightscout.SetVerbose
/root/go/src/github.com/ecc1/medtronic/cmd/cgmupdate/main.go:136:15: undefined: nightscout.Gaps
/root/go/src/github.com/ecc1/medtronic/cmd/cgmupdate/main.go:152:10: undefined: nightscout.Upload
/root/go/src/github.com/ecc1/medtronic/cmd/cgmupdate/main.go:189:41: cannot use *jsonFile (type string) as type io.Reader in argument to nightscout.ReadEntries:
string does not implement io.Reader (missing Read method)
# github.com/ecc1/medtronic/cmd/bgproxy
/root/go/src/github.com/ecc1/medtronic/cmd/bgproxy/main.go:40:41: cannot use *jsonFile (type string) as type io.Reader in argument to nightscout.ReadEntries:
string does not implement io.Reader (missing Read method)
Couldn't go get medtronic
root@piaps:~/myopenaps# go version
go version go1.15.13 linux/arm
Is it possible that the setup script is pulling the wrong go source from github?
Dave Acklam
@dcacklam

When I do a 'git clone' and a 'go build -v' I get the same thing you do...

But when I run the setup script it crashes and burns

The setup script is doing a ' go get -u -v -tags "$radiotags" github.com/ecc1/medtronic/... '
wherein radiotags = cc111x in my case
Eric
@ecc1
not sure the setup script is doing the right thing. it should clone and then build, not do a "go get" if there's no local source yet
Eric
@ecc1
sorry, my mistake. setup is pulling the master branch of the medtronic repo, which had lagged behind dev. I've updated them both now
Dave Acklam
@dcacklam
@ecc1
That fixes it.
tzachi-dar
@tzachi-dar
Should rpi 4 works as a rig just like rpi 3?
tynbendad
@tynbendad
about the radio hack that attempts to guess your pump's serial number - has anyone tried to detect a hack in progress (e.g., from an explorer or explorer hat rig)?
is it feasible?
Eric
@ecc1
@tynbendad not sure what hack you mean, but it's trivial to snoop on pump comms in progress and extract the serial number, since it's not encrypted in any way. Impossible to detect, since it's receive-only
tynbendad
@tynbendad
Oh, ok that's worse than i thought. Thought they had to try every serial number, but maybe that's just for pumps that aren't using comms.
jaybaron1
@jaybaron1
Thanks for sharing.
Dave Acklam
@dcacklam
@tzachi-dar rpi4 works as a rig but the battery circuitry on the explorer hat is too weak to power it.
@tzachi-dar So only really good for a desktop rig.
Use a pi3A+ or pizero for portable
tzachi-dar
@tzachi-dar
Thanks @dcacklam is using pi3A+ with a battery a reasonable thing to do? Seems like it's power usage is relatively high.
Dave Acklam
@dcacklam
@tzachi-dar just use a 6000mah battery
Caleb Seekell
@jauntySerpent
My backup rig isn't working at the moment so I'm unable to test a completely fresh install, but there appears to be issues with the current master branch of oref0 (0.7.0) and token-based NS authentication. I'm finally getting around to updating my rig with token auth instead of api_secret, but I've been troubleshooting an issue for the past several weeks where the rig does not include the token in several GET requests, resulting in an permissions error and prevents the rig from downloading BG data.
Jul 21 07:00:07 ********* heroku/router at=info method=GET path="/api/v1/entries/sgv.json?count=288" host=*********.herokuapp.com request_id=a57e9b7b-cd93-4c10-8903-f73eb9f70d52 fwd="*********" dyno=web.1 connect=0ms service=5ms status=401 bytes=560 protocol=https
Jul 21 07:00:07 ********* app/web.1 Resolving secret/token to permissions failed
Jul 21 07:00:12 ********* heroku/router at=info method=GET path="/api/v1/entries/sgv.json?count=12" host=*********.herokuapp.com request_id=ee5eef71-627b-4f36-81fd-2eefeb116d9b fwd="*********" dyno=web.1 connect=0ms service=473ms status=401 bytes=560 protocol=https
Jul 21 07:00:12 ********* app/web.1 Resolving secret/token to permissions failed
The current version of dev does not have this problem, and I finally found this commit which seems to describe the issue perfectly openaps/oref0@89a90b8 . Can anyone else confirm whether they are seeing this issue?
Dana Lewis
@danamlewis

I am not sure if that’s the only thing broken in master but you’re not the only one who needed to switch to dev recently and found it resolved the/an issue.

If we can get some volunteers to test some fresh installs and report back (here or in the open PR of dev to master), we could do a release (dev to master) and get master back to a working state.

old-square-eyes
@old-square-eyes
How do I disable Autotune, but leave it to run each night on my rig?
I just want to manually observe recommendations
I keep dropping low and it keeps recommending more insulin. I can't figure out why.
I'm entering carbs.
Constantly getting negative IOB
image.png
old-square-eyes
@old-square-eyes
image.png
Do I just change "enable": " autotune ", to "enable": "",?
In prefs
Caleb Seekell
@jauntySerpent
@danamlewis I am happy to test as soon as I get my backup rig running.
old-square-eyes
@old-square-eyes
Or do I delete the whole line
refields
@refields
For a few days now there has been no activity on my nightscout
image.png
image.png
I didnt change anything in nightscout settings, Dexcom Share is on with connectivity, and Heroku plug size is
58.2 MiB of 500 MiB. Anyone know what else I can try or check?
Eric
@ecc1
@refields have you checked if your mongodb is full?
is your openaps successfully uploading to NS? what do the logs say?
refields
@refields
@ecc1 it looks like my mongodb is full
image.png
how do I clear it to zero?
refields
@refields
openaps is creating new logs in paper trail but not looping