This is an unofficial reverse engineered Husqvarna Automower Connect BLE library. This allows connecting and controlling an Automower without any accounts, cloud or network connection.
This library is written with the intent of integrating into Home Assistant, but it can be used independently as well.
Details on how this was developed are available at: https://www.alistair23.me/2024/01/06/reverse-engineering-automower-ble
This was developed and tested against a Automower 305, but it should work on all Automowers. If you are able to test on different models please do and report any results back.
You can run the request unit tests with
python3 ./request.py
You can run the response unit tests with
python3 ./response.py
You can test querying data and sending commands with the following
python3 ./mower.py --address D8:B6:73:40:07:37
You can uncomment parts of async def main(mower)
to send commands