Sign inSign up

ronix/fritzflux

By ronix

•Updated almost 5 years ago

Scarpe Fritzbox data into InfluxDB (traffic, thermostats, …)

Image
0

962

ronix/fritzflux repository overview

⁠FritzFlux

Scarpe Fritzbox data into InfluxDB (traffic, thermostats, …)

This service uses https://github.com/bpicode/fritzctl⁠

⁠Compiling and Running

Compile and run with:

go build github.com/mkalus/fritzflux/cmd/fritzflux && ./fritzflux

⁠Environmental variables

The following variables can be set:

  • FRITZURL URL to find fritz box at (default: https://fritz.box:443)
  • FRITZUSER Fritzbox user (empty for default user)
  • FRITZPW Fritzbox password
  • INFLUXURL InfluxDB URL (default: http://localhost:8086)
  • INFLUXAUTH InfluxDB auth token or user:password for InfluxDB 1.8
  • INFLUXORG InfluxDB org name (can be empty)
  • INFLUXBUCKET InfluxDB bucket/database (default: fritz)

⁠Scraped data

Right now:

  • Thermostats data (every 15 minutes)
  • Traffic data (every minute)

TODO: phone calls, power, etc. - feel free to contribute

⁠Docker

There is a Docker container of goggler including a headless version of Chromium. Try it using:

docker run --rm -e "FRITZPW=mysecretpw" ronix/fritzflux

Tag summary

Content type

Image

Digest

Size

4 MB

Last updated

almost 5 years ago

docker pull ronix/fritzflux