MPython module to talk to Husqvarna Automower.
Project description
Aioautomower
Asynchronous library to communicate with the Automower Connect API
To use this library, you need to register on the Husqvarna Developers Portal.
And connect your account to the Authentication API and the Automower Connect API.
Quickstart
In order to use the library, you'll need to do some work yourself to get authentication credentials. This depends a lot on the context (e.g. redirecting to use OAuth via web) but should be easy to incorporate using Husqvarna's authentication examples. See Husqvarna's Authentication API for details.
You will implement AbstractAuth to provide an access token. Your implementation
will handle any necessary refreshes. You can invoke the service with your auth implementation
to access the API.
You need at least:
- Python 3.11+
- Poetry
For a first start you can run the example.py, by doing the following steps
git clone https://github.com/Thomas55555/aioautomower.gitcd aioautomowerpoetry install- Enter your personal
client_idandclient_secretin the_secrets.yamland rename it tosecrets.yaml - Run with
poetry run ./example.py
Contributing
This is an active open-source project. We are always open to people who want to use the code or contribute to it. This Python project is fully managed using the Poetry dependency manager.
As this repository uses the prek framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:
poetry run prek run --all-files
To run just the Python tests:
poetry run pytest
To update snapshots:
poetry run pytest --snapshot-update
Buying Equipment
Many mowers are available from your local garden dealer or major online retailers. Another like, the compact ideal for small and flat lawns, is available on Amazon. The links provided below are affiliate links, so if you prefer shopping on Amazon and decide to purchase something there, you’ll also be supporting me at no additional cost to you. Alternatively, if you'd like to support the project directly, consider contributing through GitHub sponsors. Here are some affiliate links to support my work:
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 aioautomower-2.7.3.tar.gz.
File metadata
- Download URL: aioautomower-2.7.3.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17801da9b181e6176379f8f43dc5cd1a3c981a69b6cac5569cda3aabf8f4e401
|
|
| MD5 |
360c4abea2779d4f37b51f5f258a5df1
|
|
| BLAKE2b-256 |
23bd12c1676bc069d02a236d9e404b1615f1d94be48c3f596bc7bcfad42da879
|
Provenance
The following attestation bundles were made for aioautomower-2.7.3.tar.gz:
Publisher:
release.yml on Thomas55555/aioautomower
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioautomower-2.7.3.tar.gz -
Subject digest:
17801da9b181e6176379f8f43dc5cd1a3c981a69b6cac5569cda3aabf8f4e401 - Sigstore transparency entry: 928956854
- Sigstore integration time:
-
Permalink:
Thomas55555/aioautomower@508aafa73a170220b72305ec82a3b4ca580a5237 -
Branch / Tag:
refs/tags/v2.7.3 - Owner: https://github.com/Thomas55555
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@508aafa73a170220b72305ec82a3b4ca580a5237 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aioautomower-2.7.3-py3-none-any.whl.
File metadata
- Download URL: aioautomower-2.7.3-py3-none-any.whl
- Upload date:
- Size: 36.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
070acc3a64a0f1a620b0b981e105c6fb75564ff3c0c2da3f4ecf1f9f3b936da8
|
|
| MD5 |
c094dff366282f648d4e22491e8db9bc
|
|
| BLAKE2b-256 |
a46a26d3c82a07c0f0b789cb295bad926c0dd1fc4db1b1822c1c97ed49f1e35f
|
Provenance
The following attestation bundles were made for aioautomower-2.7.3-py3-none-any.whl:
Publisher:
release.yml on Thomas55555/aioautomower
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioautomower-2.7.3-py3-none-any.whl -
Subject digest:
070acc3a64a0f1a620b0b981e105c6fb75564ff3c0c2da3f4ecf1f9f3b936da8 - Sigstore transparency entry: 928956888
- Sigstore integration time:
-
Permalink:
Thomas55555/aioautomower@508aafa73a170220b72305ec82a3b4ca580a5237 -
Branch / Tag:
refs/tags/v2.7.3 - Owner: https://github.com/Thomas55555
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@508aafa73a170220b72305ec82a3b4ca580a5237 -
Trigger Event:
release
-
Statement type: