# \[APP\] Husqvarna Automower Connect

**URL:** <https://community.homey.app/t/app-husqvarna-automower-connect/36524>\
**Category:** Apps\
**Tags:** app\
**Created:** [October 25, 2020, 9:39pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524 "2020-10-25T21:39:34Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Tutu81](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tutu81/32/48001_2.png) [@Tutu81](https://community.homey.app/u/Tutu81)\
**Post date:** [June 20, 2022, 5:11pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/81 "2022-06-20T17:11:55Z")

</div>

What I don’t get is that it seems to work for « old user », where the redirect URL wasn’t required.

Did Husqvarna release a new version of its API?

I also tried to give some dumb credential and the errors message was the same. Are we sure that the APPS is able to use the authentication API correctly (for users) ?

---

<div class="post-metadata">

**Author:** ![Tutu81](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tutu81/32/48001_2.png) [@Tutu81](https://community.homey.app/u/Tutu81)\
**Post date:** [June 21, 2022, 11:50am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/82 "2022-06-21T11:50:53Z")

</div>

i changed the password to an pass without special char =\> still not working. seems that the truth is still out there

---

<div class="post-metadata">

**Author:** ![Mathijs\_1971](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mathijs_1971/32/34267_2.png) [@Mathijs\_1971](https://community.homey.app/u/Mathijs_1971)\
**Post date:** [June 21, 2022, 6:30pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/83 "2022-06-21T18:30:05Z")

</div>

Same here getting the homey undefined error message. I can’t add my mower.

---

<div class="post-metadata">

**Author:** ![BufferOverflow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bufferoverflow/32/12568_2.png) [@BufferOverflow](https://community.homey.app/u/BufferOverflow)\
**Post date:** [June 21, 2022, 8:31pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/84 "2022-06-21T20:31:09Z")

</div>

> [@Tutu81](#):
>
> Did Husqvarna release a new version of its API?

I am not 100% but i have a very strong suspicion as to what the problem is.

Husqvarna have changed the Auth API. When the application was written they used grant\_type ‘password’ but now they use grant\_type ‘client\_credentials’ and i suspect they only support the old method for accounts created before a certain date.

Will make some more tests and will let you know the result.

---

<div class="post-metadata">

**Author:** ![BufferOverflow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bufferoverflow/32/12568_2.png) [@BufferOverflow](https://community.homey.app/u/BufferOverflow)\
**Post date:** [June 21, 2022, 10:52pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/85 "2022-06-21T22:52:10Z")

</div>

New version 1.2.0 published to test [https://homey.app/a/com.husqvarna.automower/test/](https://homey.app/a/com.husqvarna.automower/test/)

This will hopefully fix the issue @Mathijs_1971 @Hub0 @Tutu81 and others have experienced. This was likely due to a change in Husqvarna Auth API where the better grant\_type client\_credentials now is used in favor of grant\_type password and is mandatory for new accounts.

There is a new setup parameter added called ‘app secret’. One must have either ‘username+password+appkey’ (old way kept for backwards compatibility) or the new preferred way ‘appkey+appsecret’. If all fields are filled out the new method will be used.

Compared to the ‘live’ version 1.0.1 the main changes are:

- Added 33 new error codes from Husqvarna
- Added ‘Next start’ capability that displays the scheduled next start.
- Added support for Husqvarna Auth API changes
- Added auth token caching (contribution from Theodor Storm)
- New improved multiple mower support (contribution from Theodor Storm)¨

It would be great if some of you having this issue could test the new version using the link above 🙂

---

<div class="post-metadata">

**Author:** ![Hub0](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@Hub0](https://community.homey.app/u/Hub0)\
**Post date:** [June 22, 2022, 12:46am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/86 "2022-06-22T00:46:49Z")

</div>

> [@BufferOverflow](#):
>
> This will hopefully fix the issue @Mathijs_1971 @Hub0 @Tutu81 and others have experienced.

Awesome! I can confirm this has fixed my authentication/device-adding issues. Multi mower support also works like a charm. Thanks! 🥳

Side note: this shows [http://localhost:8080](http://localhost:8080) is indeed the correct Redirect URL for setting up the app in the Husqvarna Developer portal, as [suggested](https://community.homey.app/t/app-husqvarna-automower-connect/36524/74) by @Krisstenswe. Husqvarna probably made the Redirect URL field mandatory for new accounts, along with changes in the Auth API. Might be good to add this info to installation guides for new users.

---

<div class="post-metadata">

**Author:** ![Steelbranch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steelbranch/32/47946_2.png) [@Steelbranch](https://community.homey.app/u/Steelbranch)\
**Post date:** [June 22, 2022, 5:55am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/87 "2022-06-22T05:55:50Z")

</div>

Great work!

I’ve had the same issues as described. This version solved it!!  
Thanks!

---

<div class="post-metadata">

**Author:** ![BufferOverflow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bufferoverflow/32/12568_2.png) [@BufferOverflow](https://community.homey.app/u/BufferOverflow)\
**Post date:** [June 22, 2022, 8:23am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/89 "2022-06-22T08:23:38Z")

</div>

> [@Hub0](#):
>
> The husqvarna dev portal demands a Redirect URL, the field is no longer optional otherwise you can’t save the new application. This is probably an oauth redirect url? Does anyone know what redirect this app is using or what i should fill that Redirect URL field with?

> [@Hub0](#):
>
> Side note: this shows [http://localhost:8080](http://localhost:8080) is indeed the correct Redirect URL for setting up the app in the Husqvarna Developer portal, as [suggested](https://community.homey.app/t/app-husqvarna-automower-connect/36524/74) by @Krisstenswe. Husqvarna probably made the Redirect URL field mandatory for new accounts, along with changes in the Auth API. Might be good to add this info to installation guides for new users.

The redirect-url is used in the auth flow ‘authorization code’ which is not used in this app. So you should be able to use any url in the Husqvarna portal. But you have a good point that the documentation should reflect this as it now is mandatory. I will add this 🙂

---

<div class="post-metadata">

**Author:** ![BufferOverflow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bufferoverflow/32/12568_2.png) [@BufferOverflow](https://community.homey.app/u/BufferOverflow)\
**Post date:** [June 22, 2022, 8:24am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/90 "2022-06-22T08:24:15Z")

</div>

> [@Steelbranch](#):
>
> I’ve had the same issues as described. This version solved it!!

Great to hear! Thanks for the feedback. 🙂

---

<div class="post-metadata">

**Author:** ![Tutu81](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tutu81/32/48001_2.png) [@Tutu81](https://community.homey.app/u/Tutu81)\
**Post date:** [June 22, 2022, 8:59am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/91 "2022-06-22T08:59:58Z")

</div>

Hi @BufferOverflow ,

Thanks for the update. Works now perfectly (just had to restart the app first).

---

<div class="post-metadata">

**Author:** ![magnjoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magnjoh/32/35777_2.png) [@magnjoh](https://community.homey.app/u/magnjoh)\
**Post date:** [June 22, 2022, 12:08pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/92 "2022-06-22T12:08:15Z")

</div>

Thanks for update. After the 1.2.0 version both i can command both my 315X with Homey, park, resume etc. The bug where the app only sent commands to last polled mower looks fixed. I will update the forum if I experience any more bugs.

---

<div class="post-metadata">

**Author:** ![JohnP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johnp/32/18032_2.png) [@JohnP](https://community.homey.app/u/JohnP)\
**Post date:** [July 2, 2022, 7:31am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/93 "2022-07-02T07:31:26Z")

</div>

Hi there, i’m happely using this app for my 315x.  
I’m wondering if there is a possibility to show how many time the mower is mowing daily?  
In the original husqvarna-app is only shown the total statistics.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [July 3, 2022, 1:00pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/94 "2022-07-03T13:00:15Z")

</div>

I don’t own a mower but maybe you can start a timer when the state of the mower changes to run or start, whatever it’s name is and stop the timer when the mower is parked. Maybe then put the timer on pause if he should run again that day.  
Chronograph app works fine for that kind of things.

---

<div class="post-metadata">

**Author:** ![Kim\_Ness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_ness/32/57690_2.png) [@Kim\_Ness](https://community.homey.app/u/Kim_Ness)\
**Post date:** [July 16, 2022, 4:47pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/95 "2022-07-16T16:47:49Z")

</div>

Hi  
Im just wondering if there is some new status on then problem where i dont get Error push notifications when “State is error” or “Error change”??

---

<div class="post-metadata">

**Author:** ![al1000](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/al1000/32/48219_2.png) [@al1000](https://community.homey.app/u/al1000)\
**Post date:** [July 18, 2022, 9:49pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/96 "2022-07-18T21:49:23Z")

</div>

Hi. Is it possible to add action-card for send to specific work area, and temperary override scheduled plan? Mower support this action in latest mobile app, after AIM was added with options for zone-setup. Thanks.

---

<div class="post-metadata">

**Author:** ![grenness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/grenness/32/1134_2.png) [@grenness](https://community.homey.app/u/grenness)\
**Post date:** [August 6, 2022, 4:24pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/97 "2022-08-06T16:24:23Z")

</div>

Re: polling limitations, would it be possible to add a period per day where polling is disabled?  
I would for instance not need any polling from 11pm to 7am, which I guess would make it possible to increase the status polling the rest of the day and still be within the 10.000/month limit.

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [August 7, 2022, 2:59pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/98 "2022-08-07T14:59:26Z")

</div>

> [@BufferOverflow](#):
>
> > [@Krisstenswe](#):
> >
> > I have set up a flow that sends me a push message when the errorcode changes, but I never receive a message.
> 
> Yes, i have found a bug related to this. I am testing out a fix.
> 
> > [@Krisstenswe](#):
> >
> > When I get this message it always shows the activity it was changed from – not the new activity
> 
> > [@Crowntwig](#):
> >
> > it’s the new state that’s interesting to me as well.
> 
> Agree, it is the new state that is interesting. I will investigate.

Hi Magnus!  
Any new version in the pipe to solve the problems with not sending errocode and showing the new state and activity?  
Thnx!

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [May 5, 2023, 10:59am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/99 "2023-05-05T10:59:28Z")

</div>

@BufferOverflow  
Hi Magnus!  
Any new version in the pipe to solve the problems with not sending errocode and showing the new state and activity? (Pls see above post)  
Thnx!

---

<div class="post-metadata">

**Author:** ![knyt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/knyt/32/72759_2.png) [@knyt](https://community.homey.app/u/knyt)\
**Post date:** [May 15, 2023, 6:34am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/100 "2023-05-15T06:34:38Z")

</div>

Didi you ever get an answer to this?

---

<div class="post-metadata">

**Author:** ![x-erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/x-erik/32/34489_2.png) [@x-erik](https://community.homey.app/u/x-erik)\
**Post date:** [June 24, 2023, 12:30pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/101 "2023-06-24T12:30:05Z")

</div>

Hi, is this app still active in development? I have new Homey Pro 2023, however the app won’t install.

[Previous page](https://community.homey.app/t/app-husqvarna-automower-connect/36524.md?page=4)

[Next page](https://community.homey.app/t/app-husqvarna-automower-connect/36524.md?page=6)
