Automower Husqvarna

Hi everyone,

i would again need some hints out of the community.
Currently im am struggeling with the Automower binding.

I did the registration of the application + link of API and automower connect as described in the documentation. Added the Application Key + Email/PW in the binding to create the bridge but always facing:

grant type password to URL failed with error code unauthorized_client, description Unauthorized client: grant_type is invalid

If i try manually with curl as posted in some other topics i can successfully get the mower ID. Currently i have no clue what is wrong.

Maybe someone can give me a hint. Thank you!

Issue is known:

1 Like

Thank you for your quick response.

Adopted the login api change, please check automower jar, code changes - PR.

I try the new version of the bindings but I still have the same interface with Username and Password.
I already made a clear-cache and restart but still.

Here is the configuration windows I have :

Thanks in advance for your help.


Please first uninstall the “official” automower binding (from settings|binding) and then copy the provided jar above to addons folder.

Also, just in case, remove existing automower connect bridge and enter your app key&secret (you should see something as below):

At the end, please make sure to update bridge within your automowers (parent pbridge) so they use the newly added bridge.

That should do it. Please let me know how it goes.

1 Like

Looks like I had download an old JAR. Don’t know.
Anyway all is ok now.
Many thanks for your help.

Thank you, working fine after installing the provided jar.

Hi I am new to the binding

tried the updated Automower binding, by crnjan’s link in post4

  • but i am redirected to JFrog login? (which i doesn’t have)

Then I downloaded addons .kar for 3.4.0.M3, and installed automower binding
Thing setup seems fine. And the thing goes online.

But channels/items doesnt work. I get 2 errors:
2022-10-23 20:18:00.863 [ERROR] [ore.common.registry.AbstractRegistry] - Cannot inform the listener “org.openhab.core.thing.internal.ChannelLinkNotifier@15a7b145” about the “ADDED” event: ‘boolean org.openhab.core.auth.client.oauth2.AccessTokenResponse.isExpired(java.time.Instant, int)’

2022-10-25 14:49:52.276 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NoSuchMethodError: ‘boolean org.openhab.core.auth.client.oauth2.AccessTokenResponse.isExpired(java.time.Instant, int)’

(However, i can make a working curl (as desribed Husqvarna API) in to get token + info

Is this somehow related to this:


Yes, it is. To use the binding in version 3.4M2 or 3.4M3, you will also need core 3.4M3.

Updated to 3.4.M3, and everything works :slight_smile:

1 Like

It stopped working for me with 3.4.M4 and upgrading to 3.4.M5 doesn’t work either.
If I got it right authentication now requires a redirect URL. Is the new authentication flow actually implemented?

Same here.