A Python library and Home Assistant integration to interact with Strong Router admin pages using async HTTP requests.
- Async Python client for Strong Router (login, device info, overview status, reboot, etc.)
- Home Assistant sensor and button platform for router status and reboot
- Integration and unit test examples
pip install -e .-
Copy the
stronger_routerdirectory to your Home Assistantcustom_componentsfolder. -
Add configuration to your
configuration.yaml:sensor: - platform: stronger_router base_url: "http://192.168.0.1" username: "your_username" password: "your_password" button: - platform: stronger_router base_url: "http://192.168.0.1" username: "your_username" password: "your_password"
-
Restart Home Assistant.
-
Clone the repository and install dependencies:
pip install -e . -
Create a
.envfile in the project root with your router credentials:BASE_URL=http://192.168.0.1 USERNAME=your_username PASSWORD=your_password
-
Integration tests:
pytest -s -m integration
-
All tests:
pytest
stronger-router/
├── stronger_router/
│ ├── __init__.py
│ ├── client.py
│ ├── sensor.py
│ └── button.py
├── tests/
│ ├── test_client.py
│ └── test_it_client.py
├── pyproject.toml
├── README.md
└── .env
| Model | Name | Link |
|---|---|---|
| 5GROUTERAX3000 | 5G MOBILE ROUTER 3000 | Product Page |
MIT
Maintainer: Alexandre Almeida
GitHub: amfalmeida/stronger-router