aiohusqvarna
Async Python client for the Husqvarna Automower Connect API v1.
Built for and maintained alongside the
gardena_smart_system_ng
Home Assistant integration, which uses it together with its sibling library
aiogardenasmart (GARDENA smart system API v2).
It shares the GARDENA OAuth2 authentication layer, so a single Husqvarna developer
application can drive both Automower and GARDENA devices.
Not to be confused with
aioautomower. That is a separate, unrelated project by Thomas55555, used by Home Assistant's built-inhusqvarna_automowerintegration. The two libraries have different APIs and are not drop-in replacements for each other. This package was renamed from an internalaioautomowermodule precisely to remove that collision.
Installation
pip install aiohusqvarna
Usage
import aiohttp
from aiogardenasmart.auth import GardenaAuth
from aiohusqvarna import AutomowerClient
async with aiohttp.ClientSession() as session:
auth = GardenaAuth(client_id, client_secret, session)
client = AutomowerClient(auth, session)
mowers = await client.async_get_mowers()
for mower in mowers:
print(mower.name, mower.state)
A WebSocket client for real-time status updates is available via
aiohusqvarna.websocket.
Features
- Automower Connect REST API v1 (mower list, status, commands)
- Real-time updates over the Automower Connect WebSocket
- Typed models (
py.typed, mypy strict) - Shared OAuth2 auth with
aiogardenasmart
License
Apache-2.0
Metadata
Release files for aiohusqvarna 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiohusqvarna-0.1.0.tar.gz | 12.1 kB | Without provenance | Details for aiohusqvarna-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiohusqvarna-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for aiohusqvarna-0.1.0-py3-none-any.whl |
Total release size: 23.6 kB
Release files / aiohusqvarna-0.1.0.tar.gz
| Download URL | aiohusqvarna-0.1.0.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddb9084c8f3d5ebab86ac3bdc56b0303b3ac1123a79aae68bcbffdfef390cdf2
|
|
BLAKE2b-256 checksum How to use checksums |
4e5b6828dc94d3f75040f6abf67d2067f12f2862543b3f7581a24eab4b5d5fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / aiohusqvarna-0.1.0-py3-none-any.whl
| Download URL | aiohusqvarna-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a138619be5d1f2d7fbe0f7774e7cb17a3744ef4db63193cc7ed795cbee61d30
|
|
BLAKE2b-256 checksum How to use checksums |
60f63ce957a715860f7593b94e8a1a84570659cb2532d6a94e05f3686d39162b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for aiohusqvarna 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.