Hi everyone.
I’m looking for an integration for Huskvarna Automower Connect.
Huskvarna has an open API for it (Husqvarna Group Cloud - Developer Portal), but the integrations I found don’t seem to use it and are not maintained.
This is not for managing the mower with bluetooth. This is for accessing Huskvarna cloud that communicates with the mower (it has a cellular connection to Internet).
I have not idea on the way to create an integration by myself (I actually haven’t looked at it for now). I’m not a developer, but I code some little projects here and there, but maybe some HA dev guru would be pleased to play on a new little integration project
If anyone knows about a working integration for this, I’d be very happy to try it. And if no such integration exists, then I would be happy to help on creating one (at least by testing it for debug with my mower).
Hi Thomas.
Indeed, I just added this integration. It seems good, and it’s using the official API (and it is maintained !).
Thanks for pointing me out.
By the way, also very happy with my 430x !!
I tried to just copy as Thomas’s Github page had the picture with HA instance IP /auth/external/callback but that didnt work. Nor just the IP without any extras
Im getting this kind of error after having the secret/api in yaml, adding the integration in HA and then proceeding to Husqvarna site via the integration link : Invalid client: redirect_uri does not match client value
Hi Sunam.
At the time I configured it, I think the redirect URI was optional : thomas55555’s documentation tells us to fill only the application’s name field and leave the other fields empty, and there is a screenshot showing that Redirect URI is optional. I think Husqvarna changed something recently.
You can probably contact Thomas55555 on Github. Let us know
I have similar issues. Neither of the two setups works. I get the same as sunam using API key. I added https://MYDOMAIN.duckdns.org/auth/external/callback. But not sure if I have to create a link or how that works.
Trying the second option gives me this error message: “Make sure that the Authentication API and the Automower-Connect API is connected with your API-Key: https://developer.husqvarnagroup.cloud/ and Username/Password/API-Key are right.”. Which I’m 100% sure is correct
Updating for my part as well: solved by adding https://my.home-assistant.io/redirect/oauth as the redirect url. The instructions on the Github page are indeed spot on but the url being a link put my mind into thinking that the url should be generated through the MyHomeassistant service.
I have these 3 in there but it only started working after adding the one you have. Though cant be sure if there was something else blocking as well and I did not remove the unnecessary ones.
When I go to add the integration, press the OPEN WEBSITE, I get the error “Invalid client: redirect_uri does not match client value”.
I thought I must have made an error in the redirect URL, but its set to
https://my.home-assistant.io/redirect/oauth
so that looks correct.
I went to that page direct in a browser and it takes me to the Home Assistant “Create a Link” page. do I need to set something up there?
In the instructions in step 1 it mentions going to SETTINGS > NETWORK and in the internet field setting the external URL. However, on 2024.3 this must have moved to SETTINGS > SYSTEM > NETWORK and there is an option for INTERNET but this is under Home Assistant URL. The internet option is greyed out as it says it managed by Home Assistant Cloud.
I called Husqvarna technical support and they are all abit lost but then again I didn’t really expect them to understand this.
Does anyone know what’s going on and how I resolve?