Skip to main content

Automatically evaluate Teltonika router SIMs, run speedtests per SIM, and select the fastest SIM as primary.

Project description

Rutscout

Rutscout is a tool for testing and automatically switching between SIMs on a Teltonika RUTX50 router. It may work for other models as well, but it has only been tested on the RUTX50.

Rutscout cycles through the SIMs in the router, runs a speed test on each one, and switches to the fastest SIM. It uses the Ponika library to interact with the router's API.

Usage

Set your router's IP address and credentials as environment variables:

export RUTSCOUT_ROUTER_IP=192.168.1.1
export RUTSCOUT_ROUTER_USERNAME=admin
export RUTSCOUT_ROUTER_PASSWORD=password

Then, run the tool:

uvx rutscout

Development

  1. Clone the repository:

    git clone https://github.com/bencevans/rutscout.git
    cd rutscout
    
  2. Install the required dependencies:

    uv sync
    
  3. Set the environment variables for your router's IP address and credentials:

    export RUTSCOUT_ROUTER_IP=
    export RUTSCOUT_ROUTER_USERNAME=
    export RUTSCOUT_ROUTER_PASSWORD=
    
  4. Run the tool:

    uv run rutscout
    

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rutscout-1.0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rutscout-1.0.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file rutscout-1.0.1.tar.gz.

File metadata

  • Download URL: rutscout-1.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rutscout-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a3e116951adffd3a412e399fc180876eefb3f8ba356e547b42133af7f64f3e17
MD5 f287a93b4cf97e7640da7eeb9068bda1
BLAKE2b-256 4537167933c9b816106b3b5580fb9b11cf9f1ac03ec1c248ac3c3debff799bc2

See more details on using hashes here.

File details

Details for the file rutscout-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: rutscout-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rutscout-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d7da6c0a95f9e6d19152c20971937425552187ad5700486ca1f6942d49068e8
MD5 c4c59f934db9d5739690927a783fbec9
BLAKE2b-256 3d84edd749bf1eb71eded641d773314ab8e50e76df6e91c8c747bc64c2f6c16d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page