Hi,
I have a Gardena lawn mower but not integrated into their system, simply communicating via bluetooth.
I can find him via the bluetoothctl and have teh MAC address.
Is there some integration available or do you have a hint to get some information from the device to check it’s status ?
Just bought the Sileno City Bluetooth version (as the smart version wasn’t available), and looking for a solution to integrate it into HA as well. Maybe there are more opportunities now that Bluetooth support is built-in to HA.
Hi! I’m about to pickup a bluetooth variant of a gardena mower and I would love to help out with adding the capabilities!
Since I’m a web developer by trade I have no experience decompiling android apps and extracting bluetooth characteristics. Could you point me in the right direction, perhaps a link to a guide or maybe you could write down a small how-to-guide for people wanting to add to your integration?
Start by seeing if you can connect to the device with the library. It should be possible on linux/osx systems at least to just pip install gardena-bluetooth, then do python -m gardena_bluetooth scan to see if it finds any devices.
If it finds one, you can do python -m gardena_bluetooth connect [UUID_OF_DEVICE] for it to try to grab all data from the device.
I have a Gardena Sileno Minimo 500 mower and thought I would give this a try.
I’ve installed your gardena_bluetooth library and found my mower via the scan command.
I’ve tried connecting to it using both the generic values and the Husqvarna uuid (which is the same as in your code). Unfortunately I get a BleakDeviceNotFoundError: Device with address 00001801-0000-1000-8000-00805f9b34fb was not found.
I’ve tried rebooting the device to get it into pairing mode (supposed to last for three minutes) but have not been successful so far. Any other tips you might have?
They have a wifi board that intercepts the commands coming to and from the screen on the mower and transmit those via MQTT. I have a mower using the board and it can be controlled via HA.
The wifi board also serves a webpage to control the mower directly and integrates with weather API’s so it will only mow when it hasn’t or won’t be raining.
Yeah, changed it
Thanks for the hint, tried it first but got a BleakDBusError: [org.bluez.Error.Failed] Software caused connection abort so I figured I would try the uuids instead.
Unfortunately no. There are physical buttons on the mower itself but everything is configured via the app. I’m going to try snooping Bluetooth data instead via the app.
Hmm. That was less characteristics than i expected. My guess is one need to authenticate/pair to it in some way to get all fields.
Its hard to tell what to look for. For the water computer, the UUID numbers are listed in the client/connection classes. Ive not found the same for the mower. It seems it is using some lib from husqvarnagroup for the communication, so we:d need to understand that yo figure out how to speak to the device.