A car diagnostic tool written in go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.example
.gitignore
LICENSE
README.md
gogi_test.go
influxdb.go
main.go
model.go
obd.go
service.go

README.md

GOGI

A car diagnostic tool written in go

go + obd + grafana + influx

GoDoc License MIT

Demo

Video Showcase

Usage

Building

# normal build
go build

# building on rpi or arm device
GOOS=linux GOARCH=arm go build

Configuration

!!! Lookup and copy enviroment file .env.example to .env

Key Value Default Description
APP_DEBUG bool false Use debug logger
USE_FAKE bool false Use fake OBD readings - good for testing
SERIAL_DEVICE string /dev/ttyUSB0 Path to OBD serial device
DB_DRIVER string influx Driver to use for storing OBD readings
DB_HOST string http://localhost Host of the database
DB_PORT int 8086 Port for the database
DB_USERNAME string Username for database
DB_PASSWORD string Password for database
DB_DATABASE string mb Schema to use for database

Running

./gogi

Roadmap

  • Add tests
  • Add MySQL driver
  • Test on more cars

License

MIT