Git Product home page Git Product logo

speedtest_asus's Introduction

Asus speedtest

This script is able to login to ASUS RT-AX86U Wireless Router and use firmware ookla speedtest from remote server using ssh connection. Script also includes the possibility to write data to Influx database e.g. for monitoring purposes. This version currently uses InfluxDB 2.0.4 version.

NOTE! This script is intended to be used as an example. Script comes without any warranty & support. You have to also enable SSH connection to your server.

Script has dependencies to quite a few Python3 packages which are described in requirements.txt.

Install python dependies:

    pip3 install -r requirements.txt

Configurations

To configurations of ASUS router unit and InfluxDB are done in settings.yml or you can overdrive all or some of configurations by giving overdrive values in settings-overdrive.yml file.

Example: You have following values in settings.yml

ROUTER: "router ip address" # Router IP address
USER: "your_username"       # Router username
PASSWORD: "your_password"   # Router password
LOG_LEVEL: "INFO"           # Logging level

and you will give settings-overdrive.yml

ROUTER: "xxx.yyy.zzz.a"
USER: "my_name"
PASSWORD: "passwd"
LOG_LEVEL: "DEBUG"

So asus_speedtest.py will use overdrived values values in script

Run script

python3 asus_speedtest.py

or

Run script and saves log files to given locations

SCRIPT_DIR=.
LOG_DIR=./log
./asus-speed-test.sh

speedtest_asus's People

Contributors

jannek76 avatar

Watchers

 avatar

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.