Skip to main content

Aioautomower

codecov Python Versions License

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+
  • uv

For a first start you can run the example.py, by doing the following steps

  • git clone https://github.com/Thomas55555/aioautomower.git
  • cd aioautomower
  • uv sync
  • Enter your personal client_id and client_secret in the _secrets.yaml and rename it to secrets.yaml
  • Run with uv 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 uv.

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:

uv run prek run --all-files

To run just the Python tests:

uv run pytest

To update snapshots:

uv 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:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioautomower-2.8.0.tar.gz (185.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioautomower-2.8.0-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file aioautomower-2.8.0.tar.gz.

File metadata

  • Download URL: aioautomower-2.8.0.tar.gz
  • Upload date:
  • Size: 185.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aioautomower-2.8.0.tar.gz
Algorithm Hash digest
SHA256 0c57280a6ce64ab9d604ec106d9e3104eaf053f935b9f4b098c3098f1b98e971
MD5 27a12fa018d87bb86f8bd03bb7286b85
BLAKE2b-256 ccfe3b14d0518a1400c45f43ee57e071e94ede4b685471eff8074e359cc7a008

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioautomower-2.8.0.tar.gz:

Publisher: release.yml on Thomas55555/aioautomower

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aioautomower-2.8.0-py3-none-any.whl.

File metadata

  • Download URL: aioautomower-2.8.0-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aioautomower-2.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 988ef041c2d4a5109ab7f5493f3dca0621797be58e68ae9a066fd55f46320d9a
MD5 ffcb5fba0dea50a45e68c4c58e012599
BLAKE2b-256 e22f5bbc889fdd8a980ebfc32eb489c5bd6a636eda76bfc157d9a7ecc6a57534

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioautomower-2.8.0-py3-none-any.whl:

Publisher: release.yml on Thomas55555/aioautomower

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2024.4.1b0

2 files

2.8.1

2 files

This release

2.8.0 This release

2 files

2.7.6

2 files

2.7.5

2 files

2.7.4

2 files

2.7.3

2 files

2.7.2

2 files

2.7.1

2 files

2.7.0

2 files

2.6.0

2 files

2.5.0

2 files

2.4.0

2 files

2.3.1

2 files

2.2.2

2 files

2.2.1

2 files

2.2.0

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

0.0.0.post1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page