Skip to main content

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 credentails. 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 implentation to access the API.

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

  • git clone https://github.com/Thomas55555/aioautomower.git
  • pip install -e ./
  • Enter your personal client_id and client_secret in the example.py
  • Run with python3 ./aioautomower/example.py

AutomowerCLI example

An AutomowerSession that provides you with the data in a CLI

automower --client_secret 12312312-12ec-486b-a7a7-9d9b06644a14 --api-key 12312312-0126-6222-2662-3e6c49f0012c

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

aioautomower-2024.1.5.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

aioautomower-2024.1.5-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aioautomower-2024.1.5.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for aioautomower-2024.1.5.tar.gz
Algorithm Hash digest
SHA256 989aa92d453f75739661f029c3c7966a276f28e9893a3073c88a7a748b628f6b
MD5 f4219a077c8ac421f800eddc3fa388ef
BLAKE2b-256 a347726e1e92165f2e6ca17e7be619688961189dd8eb26c53c735585019f0ac5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aioautomower-2024.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4ceb3a729a1f040f78ada31a151b2a1d4e4add78382f53ea253894a797abc36c
MD5 55127fe0ca2a7fde902ea0cd081b0f20
BLAKE2b-256 465717ec14c73905e822abd80351aeb570e4afef39548a74e9092bb559c1df4b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page