ruuvitag-collector

command module
v0.0.0-...-42689a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 5 Imported by: 0

README

ruuvitag-collector

Listens for data coming from a RuuviTag sensor and pushes the data to an InfluxDB database.

Additional Libraries

go get github.com/go-ble/ble

go get github.com/mgutz/logxi/v1

go get github.com/influxdata/influxdb-client-go/v2

Disable of Bluetooth Scanning on the Raspberry Pi

sudo hciconfig hci0 down

sudo service bluetooth stop

The above commands are good for testing. If the Raspberry Pi is rebooted the start up script will restart Bluetooth Scanning

Build for the Rasberry Pi

env GOOS=linux GOARCH=arm GOARM=5 go build

Resources

Inspired by

This project was inspired by the work of

Notes

  • When I used the library from github.com/paypal/gatt, the code would throw an error about a slice bounds out of range. The error would normally occur within 15 minutes of starting the test.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL