This package provides a library for reading data from Tilt sensors.
Tilt sensors are devices for brewers that read specific gravity and temperature during fermentation.
go get github.com/alexhowarth/go-tilt
s := tilt.NewScanner()
s.Scan(20 * time.Second)
for _, t := range s.Tilts() {
t.Print()
}
This project currently uses a specific fork of go-ble that is compatible with both Linux and macOS.
To create a binary for use on a Raspberry Pi, simply build it for ARM and copy the binary (no other dependencies are required).
env GOOS=linux GOARCH=arm go build examples/scanner/scanner.go