GithubHelp home page GithubHelp logo

c-mueller / fritzbox-spectrum-logger Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.81 MB

A tool to periodically download the DSL spectrum of a Fritz!Box. Written in Go. WebUI based on Angular

License: GNU General Public License v3.0

Go 63.53% TypeScript 12.79% JavaScript 0.62% HTML 18.04% CSS 3.26% Shell 1.34% Dockerfile 0.42%

fritzbox-spectrum-logger's Introduction

Fritz!Box Spectrum Logger

Fritz!Box Spectrum Logger (short FSL) is a Utility to periodically download the DSL Spectrum of a Fritz!Box.

Setup

Using a Configuration File

Example Configuration

credentials:
  endpoint: 192.168.178.1               # The IP Address of the Fritz!Box
  username: ""                          # The username used to login (leave this blank if you don't use a username to login)
  password: mypassw0rd                  # The password used to login (leave blank if your Fritz!Box is not protected)
database_path: spectra.db               # The path to store the BoltDB Database at (Absolute or relative)
update_interval: 60                     # Th interval in seconds at wich the spectrum should be Downloaded
autolaunch: false                       # Set to true to automatically start logging once the application starts
bind_address: :8080                     # The address at wich the application should listen on
session_refresh_interval: 3600          # The time, in seconds, between session renewals
session_refresh_attempts: 5             # The count of login attempts that can fail before stopping the logging routine 
max_download_fails: 480                 # The count of failed downloads needed to stop logging 

Notes:

  • credentials/endpoint: DNS names might work, have not been tested though
  • credentials/username and credentials/password: Leave both empty if yout FB is not protected, only enter the password if you use Password only authentication.
  • bind_address: Golang notation for a binding address :8080 binds to port 8080, accepting from any interface. 127.0.0.1:8080 also binds to port 8080 but only accepts from Localhost.
  • session_refresh_attempts: The intention here is to allow a restart of the Fritz!Box, without causing the logger to stop. See Logging Routine for more info.

Using Environment Variables

Tested Devices

  • Fritz!Box 7390 (Firmware Version 6.83)
  • Fritz!Box 7590 (Firmware Version 7.01)

Other devices like the Fritz!Box 7490 should also work, but they have not been tested! If you can confirm the functionality of this application on another Fritz!Box, please modify this document and submit a Pull Request.

Building FSL

Logging Routine

License

FSL is licensed under the GPL v3.0 License.

fritzbox-spectrum-logger's People

Contributors

c-mueller avatar

Watchers

 avatar

fritzbox-spectrum-logger's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.