Application: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
Go to file
DN2 8b1f682cf4 Split out config data. 2018-04-21 00:02:34 -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
app.json Use a known version 2016-09-30 00:13:32 -07:00
config.go Split out config data. 2018-04-21 00:02:34 -07:00
main.go Split out config data. 2018-04-21 00:02:34 -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.