# \[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:** 4

<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:** [March 13, 2022, 8:49am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/61 "2022-03-13T08:49:41Z")

</div>

I’m unsure this app supports Sileno, but have you tried Gardenas app: [Gardena App för Homey | Homey](https://homey.app/sv-se/app/com.gardena/Gardena/) - I know it supports Sileno.

---

<div class="post-metadata">

**Author:** ![Yannick\_Eeckelaert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yannick_eeckelaert/32/35262_2.png) [@Yannick\_Eeckelaert](https://community.homey.app/u/Yannick_Eeckelaert)\
**Post date:** [March 13, 2022, 10:54am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/62 "2022-03-13T10:54:37Z")

</div>

Hi,

This app I already have. same problem almost no support en triggers. I was hoping because there was an api for Gardena in the husqvarna devlp platform. But when I try it dos not give a device. Could this app maybe get de sileno work whit Husqvarna app. Husqvarna en Gardena are connected.  
I know the Gardena app has an option to connect husqvarna devices.

Maybe whit some adjustments I could also add my sileno.

@BufferOverflow

Thx!

Met vriendelijke groet,

Yannick Eeckelaert

---

<div class="post-metadata">

**Author:** ![BartS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/barts/32/47743_2.png) [@BartS](https://community.homey.app/u/BartS)\
**Post date:** [March 13, 2022, 9:53pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/63 "2022-03-13T21:53:07Z")

</div>

Possibly this has been asked before and I missed it. But I was wondering whether a version of this app has been planned for Honey beta/cloud?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Sledsens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sledsens/32/47898_2.png) [@Sledsens](https://community.homey.app/u/Sledsens)\
**Post date:** [April 23, 2022, 2:37pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/64 "2022-04-23T14:37:45Z")

</div>

Hello Magnus

Is it possible to create a poll on demand action in a future release?

Kind regards  
Carl

---

<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:** [May 9, 2022, 9:08am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/65 "2022-05-09T09:08:48Z")

</div>

Hello, have you looked some more at this problem that two mowers cant poll at the same time and that  
the app still only sends command to last polled mower.

If you cant find the error, is it possible to add a “poll on demand” flowcard?

Edit: The reason the two mowers cant poll at the same time is probaly that the Husqvarna API limits the number of request to 1 each second. With two or more mowers it needs to be a delay between each poll if the polling intervall is the same.

I have looked at the code and cant find a reason to why it only sends commands to the last polled mower, since the polling work fine with a delay between each mower 😕

---

<div class="post-metadata">

**Author:** ![cra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cra/32/34580_2.png) [@cra](https://community.homey.app/u/cra)\
**Post date:** [May 11, 2022, 1:45pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/66 "2022-05-11T13:45:18Z")

</div>

There seems to be a problem with adding “When” cards of the type “Error code changed” in the iOS app. The screen goes black and I have to restart the app. Other cards seem to be working just fine.

Using the web-app I was able to create a flow using the “Error code changed” typr.

---

<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:** [May 17, 2022, 8:37pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/67 "2022-05-17T20:37:44Z")

</div>

Sorry for not bringing any updates in a long time but finally my mower is up and running again so i hope to bring some bugfixes and enhancements discussed above, including the multiple mower issue.

But on the positive side i just released an updated version **(v1.1.0) for testing** with two changes:

_- 33 (!) new error codes added that Husqvarna has added since i made v1.0.1. This has caused crashes the last few days for some users_

_- A new capability called ‘Next start’ that displays the next scheduled start._

 ![v1.1.0_screenshot](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e752c5190d762c955522b1063af99dad572719cb.jpeg)

---

<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:** [May 17, 2022, 9:00pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/68 "2022-05-17T21:00:33Z")

</div>

> [@BartS](#):
>
> Possibly this has been asked before and I missed it. But I was wondering whether a version of this app has been planned for Honey beta/cloud?

I have not read up on the beta/cloud requirements lately. If it is still only for ‘official’ apps from the manufacturer i guess this app would not work. But if this has changed i will look into it again.

---

<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:** [May 17, 2022, 9:03pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/69 "2022-05-17T21:03:16Z")

</div>

> [@Sledsens](#):
>
> Is it possible to create a poll on demand action in a future release?

Thanks for that idea and it should not be to difficult 🙂 Added to backlog!

---

<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 10, 2022, 3:08am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/70 "2022-06-10T03:08:36Z")

</div>

This looks like a great app, but i have the same issue as described by @eter242 'Cannot read property ‘homey’ of undefined’ when trying to add a mower from devices, after setting up the credentials and application key.

What i am looking at:  
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?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/a/6af01abc6944abd55b32a3abc17f0d3685d1b8c7.png)

I tried the a few url’s i found in some old homey documentation and code examples but they don’t seem to work: [http://localhost](http://localhost), [http://localhost/oauth2/callback](http://localhost/oauth2/callback) and [https://callback.athom.com/oauth2/callback/](https://callback.athom.com/oauth2/callback/)

For extra clarity: i can’t create an app within the husqvarna developer environment without filling out that Redirect URL field. But i’m not sure if it has anything to do with that actual 'Cannot read property ‘homey’ of undefined’ message i’m getting when trying to add a mower. I have 2 mowers configured in the husqvarna connect app, working well.

---

<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 10, 2022, 6:28am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/71 "2022-06-10T06:28:57Z")

</div>

> [@Hub0](#):
>
> This looks like a great app, but i have the same issue as described by @eter242 'Cannot read property ‘homey’ of undefined’ when trying to add a mower from devices, after setting up the credentials and application key.

One thing worth testing, if not already, is from the first post about using the pc/web to enter the username/password as some mobile devices seem to add a space in the textbox entering the email. That has happended to both me and others.

> [@BufferOverflow](#):
>
> Consider setting the ‘App settings’ using the PC browser in favor of a mobile device as copy/pasting can be a hassle sometimes. You can reach the ‘App settings’ page using this link : [https://developer.athom.com/tools/app-settings](https://developer.athom.com/tools/app-settings)

Having two mowers is likely not the cause of the problem you are experiencing but the current stable version has poor support for more than one. But i have a ready contribution to the code with multi-mower support which should reach the app store in the near future.

---

<div class="post-metadata">

**Author:** ![Morten\_Poulsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_poulsen/32/48460_2.png) [@Morten\_Poulsen](https://community.homey.app/u/Morten_Poulsen)\
**Post date:** [June 11, 2022, 6:26pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/72 "2022-06-11T18:26:44Z")

</div>

Hi Guys  
Regarding the polling limit. Has anyone considered, if it is possible to stop the polling sequence, depending on the time schedule. It could be awesome, if it was possible to pause the polling with a flow.  
This way, you will be able to save polls and have more polls available for “day time” and by that, you are able to get closer to “real-time” monitoring, while your mower is on duty. (1-2minutes polls, at least)  
I don’t know, if this is already possible? - if not, this could hereby be a kind request to developer? 😀

btw, it’s for a future project, I am thinking of 😃

Best Regards  
Morten

---

<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 11, 2022, 10:07pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/73 "2022-06-11T22:07:51Z")

</div>

Thanks for the suggestion. I tried uninstalling, reinstalling and setting it up through the developer interface, but the problem persists. Is it possible to get some more information on how exactly your husqvarna developer app settings are done? Just to double check and exclude that as a cause.

[https://developer.husqvarnagroup.cloud/applications](https://developer.husqvarnagroup.cloud/applications)  
If you go to the settings for your application, what do you see in the grey boxes beneath your application name?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/6/4657175d8ad365564cbe351b0bffd09d153a618d.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/f/2f6be37f3096a35af937021667630cc6615b7189.png)  
(my husqvarna application is named ‘homey’)

If i can get this to work, i’m stoked to read about your code contribution. Would be awesome to get good multimower support.

---

<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:** [June 12, 2022, 8:01am UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/74 "2022-06-12T08:01:57Z")

</div>

Hi!  
The only URL I have in Redirect URLs is this

 ![bild](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/1/7106af2903171ee3accfa18d4c753962ba89ae3b.png)

---

<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 12, 2022, 12:18pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/75 "2022-06-12T12:18:09Z")

</div>

Thank you for looking that up! I changed my app accordingly. Same result, but at least i’m sure that setting is correct 🙂

---

<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:** [June 17, 2022, 2:04pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/76 "2022-06-17T14:04:00Z")

</div>

Did you solve it?

---

<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 17, 2022, 3:06pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/77 "2022-06-17T15:06:44Z")

</div>

> [@Hub0](#):
>
> Thank you for looking that up! I changed my app accordingly. Same result, but at least i’m sure that setting is correct 🙂

Contact me with a direct message and maybe we could try to make a manual API call, outside of the Homey App, with your credentials and see if that works.

---

<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 19, 2022, 11:58pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/78 "2022-06-19T23:58:02Z")

</div>

@Krisstenswe Nope no fix

@BufferOverflow I tested the api from terminal using the curl command Husqvarna handily provides on the app portal. That works well, i get the bearer token in return with no errors. I’ll DM you in case you had different tests in mind 🙂

Maybe a homey application log might help? I’m curious as to what is causing that undefined error - what is it trying to read?

---

<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, 1:19pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/79 "2022-06-20T13:19:33Z")

</div>

@BufferOverflow

I’m also facing the same error with my 330x

Tried the trick with using PC instead of IPhone as well.

Using the API directly via husqvarna dev portal is working, so it seems that

a) the “link” between my device and devportal is working (see screenshoot)  
b) my apps seems to be configured correctly

So where is the the issue ?  
possible next steps

- Redirect URL: as mentionned above, redirect url is mandatory now when creating an apps. Which URL are you using (tried the [http://localhost:8080](http://localhost:8080) as posted above).

- how are the credential encoded in Homey Apps. Are special character like [#@\*%/¦] supported in the password ?

Thanks in advance for your help

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bd03fa1c711854e10e7bf1f02a8b22eaf36b0f79.png)

---

<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 20, 2022, 3:48pm UTC](https://community.homey.app/t/app-husqvarna-automower-connect/36524/80 "2022-06-20T15:48:20Z")

</div>

> [@Tutu81](#):
>
> - how are the credential encoded in Homey Apps. Are special character like [#@\*%/¦] supported in the password ?

This is a good question. I use a long random string with special characters…that might cause some issues? Update: changed password to a shorter string without special characters, but the problem persists.

I also noticed your JSON response contains the full model name with the registered-trademark symbol. I get this as well for my 430x mowers: “HUSQVARNA AUTOMOWER® 430X” This is different from the simple notation model names in Husqvarna’s api documentation, for example 450x simply gives “450x” as a model name.

Not sure if this has any relation with our issue, just adding info on specifics in both use cases.

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

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