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
-
Clone the repository:
git clone https://github.com/bencevans/rutscout.git cd rutscout
-
Install the required dependencies:
uv sync -
Set the environment variables for your router's IP address and credentials:
export RUTSCOUT_ROUTER_IP= export RUTSCOUT_ROUTER_USERNAME= export RUTSCOUT_ROUTER_PASSWORD=
-
Run the tool:
uv run rutscout
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rutscout-1.0.0.tar.gz.
File metadata
- Download URL: rutscout-1.0.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad4640e490957ae6c5476554249affe9d098f605f02f802bb9bed4dfcf84835d
|
|
| MD5 |
3b613fb7ca5b81f09e826cb5bd26f4e2
|
|
| BLAKE2b-256 |
9f2244c55f4b511cc739a49cea5bf208cf1524a97b52dc90b3b2408e05c0e3f1
|
File details
Details for the file rutscout-1.0.0-py3-none-any.whl.
File metadata
- Download URL: rutscout-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e6fa74f79b5b17ede36a6a4936e6ea974d1daa35dfb6efff1fcffbf1e7416ea
|
|
| MD5 |
2077128b0a6a6a78901c70df202dfc90
|
|
| BLAKE2b-256 |
274df3b9d1c472f23aa48a925e88927de372efe6d348bd6941cc86e0ad9c898a
|