Gardena smart system + Home assistant?

Hello,

I’m using this integration https://github.com/py-smart-gardena/hass-gardena-smart-system with my Sileno City Smart mower, and it works great, only problem is when I start the mower manually from home assitant with the vacuum.start service it only mows for an hour (60 mins). I know I can change the time in the integration’s config, but no matter what I write in 120 min, 180mins or more, it only works for 60 mins. I dont have gardena irrigation, so the other settings I cannot check. Anybody have the same problem, or it is just in my case? :slight_smile: My mower should work 3hours/day, but in this case I cannot schedule from HA :frowning:

I observed that my mower goes back to its base when battery reach 40%. Maybe that’s also your case no ?

No.

It works for about a hour and goes back to the charger, it is normal.

If I set a 3 hour manual mowing time in the gardena app (or just use the schedule) it mows as should: About 1 hour mowing, then 60-65 minutes charge and the the rest of time back to work. In the gardena app I can see the task end time. Manually or scheduled mowing shows 3 hours, and the device works I wrote …

But, when I start the device from home assistant (in the configuration/integration mowing time set to 180 mins, 120mins, or whatever) I can see only 1 hour work endtime in the gardena application, and the device only does the first mowing period, 60 mins of work, then return to base. Then does the charging only because worktime is over.
So in my case the mowing time in the integration didnt take affect somehow.

Attention:
If the integration py-smart-gardena/hass-gardena-smart-system stops working for you with HA 2021.6 you have to install the latest beta release.
HACS → Integrations → Gardena Smart System → Install new → Activate “Show beta versions” → select “2.2.3b2” (or newer) → Install

1 Like

Update:
Meanwhile the stable version 2.2.3 has been released. So no need anymore to use a beta version.

I cannot make this integration work again :frowning:

I installed the update (with reboot), still got error under the config/integrations page.
Then I deleted the integration, rebooted and after that I cannot add it again. When I set my email, password and API and submit it after a while (without any message) clears the fileds and wait to fill them out again … and again …
Still no luck with 0.2.3b2, 0.2.3. Tried to uninstall the complete package from HACS, reinstall again … no luck.

My login credentials must be correct, because I can log on to the Husqvarna applications page and can look for my API …

HA Core: 2021.6.2
Supervisor: 2021.05.4

In the end of those things the gardena integration from the list in add new intergation is gone, while in the HACS i have an installed 0.2.3 version.

After rolled back my 2021.05.4 core snapshot, still have an Failed to set up Check the logs message in the integrations page, but I can select it from the list :slight_smile:

I haven’t changed anything, the integration was fine until yesterday.

Renewing the API in Husqvarna cloud solved the problem

Today I get “Limit exceeded” errors from the Gardena API. Anybody else experiencing this? I am not aware of any changes in my setup that would increase the number of requests.

From HA log:

Logger: gardena.smart_system
Source: /usr/local/lib/python3.8/site-packages/gardena/smart_system.py:170
First occurred: 18:59:18 (1 occurrences)
Last logged: 18:59:18

429 : Limit Exceeded

Got it! I really exceeded the API limits through an unwanted automation loop.

FYI the current API limits are:

  • one call every fifteen minutes
  • 3000 requests per month

See https://developer.husqvarnagroup.cloud/apis/GARDENA+smart+system+API#rate-limits
If you exceeded the limits you can delete your API application key and create a new one in the Husqvarna developer portal. Use the new key to create a new Gardena integration in HA.

1 Like

Thanks for that information !

I have one problem since upgrade to 2021.7 HA Version, my sensor are not updated.

I can see this error on logs

2021-08-06 11:06:17 ERROR (Thread-3) [websocket] error from callback <bound method Client.on_open of <gardena.smart_system.Client object at 0x7fe70eb3cd90>>: on_open() takes 1 positional argument but 2 were given

2021-08-06 11:06:17 ERROR (Thread-3) [websocket] error from callback <bound method Client.on_message of <gardena.smart_system.Client object at 0x7fe70eb3cd90>>: on_message() takes 2 positional arguments but 3 were given

2021-08-06 11:06:17 ERROR (Thread-3) [websocket] error from callback <bound method Client.on_message of <gardena.smart_system.Client object at 0x7fe70eb3cd90>>: on_message() takes 2 positional arguments but 3 were given

2021-08-06 11:06:17 ERROR (Thread-3) [websocket] error from callback <bound method Client.on_message of <gardena.smart_system.Client object at 0x7fe70eb3cd90>>: on_message() takes 2 positional arguments but 3 were given

2021-08-06 11:06:17 ERROR (Thread-3) [websocket] error from callback <bound method Client.on_message of <gardena.smart_system.Client object at 0x7fe70eb3cd90>>: on_message() takes 2 positional arguments but 3 were given

My button script is working fine in the card only all the sensor are not updated until the next reboot of HA

hi, i add the Mower i the HA with the Plugin from vacuum-card:

more Infos here:

Same here … :frowning:

Did you install with HACS? You have to enable beta software and reinstall the current beta version of the component. This version has the bug fixed.

Hi,

I am trying to install the component but cant find it. I have installed the component in hacs. Enabled beta and installed that one too. Restarted HA. But when i go to config-> integrations → add… there is no Gardena component to configure.

What am I missing?

Solved, when I updated to the latest Home Assistant Core today it popped up.

I made a fresh install of my HA and installed this Gardena app. the only thing is that it wont update itself…

my previous installation i updated itself so i could se battery percentage as it changed. The only way i can get this to update is by restarting HA…

What am i doing wrong??

1 Like

Thanks for the integration.

My problem: no matter what time I enter in the configuration, the water control always opens for 30 minutes

Hi there,
I’m new here and just starting out.
Can I integrate the Gardena Smart Sensor directly into HA or do I need the smart Irrigation Control for this?

Hi Wolfgang,

you need to have the gateway from Gardena to use the sensor.

Br, Oliver

Thanks for the reply Olivier