Skip to main content

PyAsusWrt

PyAsusWrt is a small API wrapper written in python for communication with ASUSWRT-powered routers using the HTTP or HTTPS protocols.

It is based on Asynchronous HTTP Client AioHTTP.

It was mainly developed to be used with HomeAssistant AsusWRT integration as an alternative to the excellent library currently in use AIOAsusWrt. The purpose of this library is not to replace AIOAsusWrt (which uses the SSH and Telnet protocols) but to work alongside it to allow also the use the HTTP(s) protocols, so you can choose the best solution according to your model of router.

Of course, you can use this library for any other purpose, respecting the open source license to which this library is licensed.

Note

Pull Request to HA integration is under development and will be available when and if it will be approved by HA teams.

If you cannot wait for the completion of the PR, it is possible to replace the native HA integration with this custom integration that already contains support for this new library. This custom integration is based on the native one and is to be considered for test purpose only.

Installation

Installation of the latest release is available from PyPI:

pip install pyasuswrt

How open issue and run tests

There are many versions of asuswrt firmware, sometimes they just don't work in current implementation. If you have a problem with your specific router open an issue on this repository, but please add as much info as you can and at least:

  • Model and version of router
  • Version of Asuswrt

If possible before open issue run a test on your environment, using the code inside the module test.py (you must set right login credential inside the module before running it) and then provide the error log printed by the test.

To run the test:

python test.py

Be nice!

If you like the library, why don't you support me by buying me a coffee? It would certainly motivate me to further improve this work.

Buy me a coffee!

Metadata

Release files for pyasuswrt 0.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyasuswrt 0.1.21
File Size Uploaded
pyasuswrt-0.1.21.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyasuswrt 0.1.21
File Interpreter ABI Platform
pyasuswrt-0.1.21-py3-none-any.whl Python 3 none any Details

Total release size: 29.8 kB

Release files / pyasuswrt-0.1.21.tar.gz

Download URL pyasuswrt-0.1.21.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ffee28f789512eea42ce182ba6a89fa2f5a31a423daf4fdcf6bad48a813a196f
BLAKE2b-256 checksum
How to use checksums
ad0915df06dd173863b224a9b61861110db5caae26b4f9c78077d64b6cc593c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / pyasuswrt-0.1.21-py3-none-any.whl

Download URL pyasuswrt-0.1.21-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a1da5f878868c97150e01303c8a246e1fb1f5142589da54f111425d879f4058
BLAKE2b-256 checksum
How to use checksums
bbe8de26161a972a73644dd8a0271e4ea0de662739f976e7f34c5e69b78a7373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.1.21 This release

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page