Application: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
Go to file
David Newhall II adb999cc6d
Add files via upload
2018-04-22 13:44:13 -07:00
Godeps Use a known version 2016-09-30 00:13:32 -07:00
script Build heroku compatible app 2016-09-30 00:08:55 -07:00
.env.example Restructure the code. 2018-04-20 23:42:03 -07:00
.gitignore Build heroku compatible app 2016-09-30 00:08:55 -07:00
MIT-LICENSE Add README 2016-09-30 11:24:23 -07:00
Makefile Basic Makefile to start with. 2018-04-20 13:21:30 -07:00
Procfile Build heroku compatible app 2016-09-30 00:08:55 -07:00
README.md Add README 2016-09-30 11:24:23 -07:00
Screen Shot 2018-04-22 at 12.28.14 PM.png Add files via upload 2018-04-22 13:44:13 -07:00
app.json Use a known version 2016-09-30 00:13:32 -07:00
clients.go Shuffle things around a bit more. 2018-04-21 00:51:57 -07:00
config.go Shuffle things around a bit more. 2018-04-21 00:51:57 -07:00
main.go Shuffle things around a bit more. 2018-04-21 00:51:57 -07:00

README.md

Unifi

Collect your Unifi client data every 15 seconds and send it to an InfluxDB instance.

image

Deploying

The repository is ready for deployment on Heroku. Steps to deploy:

Clone the repository and using .env.example create your own .env file with your Unifi GUI and InfluxDB credentials.

Create your heroku application:

heroku create [name]

Set your environment variables before deploying:

heroku config:set $(cat .env | grep -v ^# | xargs)

Push to heroku:

git push heroku master

Copyright © 2016 Garrett Bjerkhoel. See MIT-LICENSE for details.