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.
Metadata
Release files for rutscout 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rutscout-1.0.1.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rutscout-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / rutscout-1.0.1.tar.gz
| Download URL | rutscout-1.0.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3e116951adffd3a412e399fc180876eefb3f8ba356e547b42133af7f64f3e17
|
|
BLAKE2b-256 checksum How to use checksums |
4537167933c9b816106b3b5580fb9b11cf9f1ac03ec1c248ac3c3debff799bc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / rutscout-1.0.1-py3-none-any.whl
| Download URL | rutscout-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d7da6c0a95f9e6d19152c20971937425552187ad5700486ca1f6942d49068e8
|
|
BLAKE2b-256 checksum How to use checksums |
3d84edd749bf1eb71eded641d773314ab8e50e76df6e91c8c747bc64c2f6c16d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|