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.gitpip install -e ./- Enter your personal
client_idandclient_secretin theexample.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
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-2024.2.0.tar.gz.
File metadata
- Download URL: aioautomower-2024.2.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0707d8404f97842f047be53b720cb5a55ec5256100131f0ff3ff087053e54ae0
|
|
| MD5 |
17b3d0d1b008290bed314792149cfc6a
|
|
| BLAKE2b-256 |
5ca94501da0ca83e52553962caf1a976fdfdfb403c8069c3b77551a304b82f9d
|
File details
Details for the file aioautomower-2024.2.0-py3-none-any.whl.
File metadata
- Download URL: aioautomower-2024.2.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b8eb472f5e2cf3e1516b9e0d9901c46ed56d6b382d7cdba980d6f23768da17e
|
|
| MD5 |
1fcb4db52acae29dd8efead1fa65379f
|
|
| BLAKE2b-256 |
9cf9aab373d60dbc5924a133da4b1dafaf71daed0de5974634ba155ac2c1404c
|