I find the problem! It was the name of the device. In the Gardena App the Devices are sorted by the name in the beginning i’ve gave them names with premier numers. Without premier number in the device name now it works…
Hi, I have tried to get this to work but when I test my configuration my hassio sais:
Integration not found: gardena
I took all the files and copied them to [your home-assistant-path]/config/custom_components/gardena
I edited the configfile and put in
Hi, I just got the Gardena Smart Water Control set and with this custom component it’s already connected to HA.
In the documentation of the custom component I see that if you turn the valve on it will stay on for 30 minutes. Are there any plans to change this so that we can set our own time? That way we could create a schedule from within HA.
Hi, the custom component from wijnandtop doesn’t work completly. I can’t switch the Water Control (it not work anymore). The sensor data works and the data “connection status” from water control works too.
I need help, please. @wijnandtop: Do you repair your custom component? @all: Is there any other integration for gardena smart?
Just a quick heads-up for all Gardena Sileno users who might be listening here:
Gardena has released a considerable firmware update for the Sileno series.
The update is NOT distributed OTA (read: not through Wifi or the app). It must be installed over USB.
(Yes, the Sileno has a USB port hidden in its battery compartment!)
The update contains some really interesting new features like spot mowing, grass growth detection, the ability to mow on steeper slopes up to 35°, and corridor cut down to 60cm width.
Hi,
I think with latest upgrade of 0.108.3 some underlying libraries of yours , the one that is responsible for account of gardena began to fail. Maybe its time already to move to a latest API that husqvarna has released so you don’t need to use username password anymore but the API key provided.
2020-04-15 15:04:52 ERROR (MainThread) [homeassistant.setup] Error during setup of component gardena
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 175, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/gardena/init.py”, line 39, in setup
hass.data[GARDENA_LOGIN] = GardenaHub(hass, config[DOMAIN], GardenaSmartAccount)
File “/config/custom_components/gardena/init.py”, line 59, in init
self.my_gardena = gardena(domain_config[CONF_USERNAME], domain_config[CONF_PASSWORD])
File “/usr/local/lib/python3.7/site-packages/wt/pygardena/account.py”, line 14, in init
self.update_authtokens()
File “/usr/local/lib/python3.7/site-packages/wt/pygardena/account.py”, line 41, in update_authtokens
response_data = self.rest_api.post_sessions(self.email_address, self.password)
File “/usr/local/lib/python3.7/site-packages/wt/pygardena/rest_api.py”, line 29, in post_sessions
return response.json()
File “/usr/local/lib/python3.7/site-packages/requests/models.py”, line 898, in json
return complexjson.loads(self.text, **kwargs)
File “/usr/local/lib/python3.7/site-packages/simplejson/init.py”, line 525, in loads
return _default_decoder.decode(s)
File “/usr/local/lib/python3.7/site-packages/simplejson/decoder.py”, line 370, in decode
obj, end = self.raw_decode(s)
File “/usr/local/lib/python3.7/site-packages/simplejson/decoder.py”, line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
wijnandtop per now (HA 0.108.6) the watercontrol dosn’t work with your integration. But as workaround i use currently the integration in combination with the Homekit integration for HA of Gardena. So that i can use both the sensors (that are not published over Homekit like the lawn mower integration or the soil temperatur) and the water button thats corrently not work over this custom component. I hope that i can help others with this problem and i’m hopfully that in the futur this integration works again.
I do have the same problem with the water control since 3 days and am absolutely unsure about the cause. Sensors are working but not the switch. Problem came suddenly from one day to another running HA 0.108.2, upgrading it to 0.108.6 didn’t help. Maybe Gardena / Husqvarna did change something on the API side? Even worse, for some reason I’m not able to see the water control connected to my Homekit environment within HA I can control the water control via Apples home app, but am not able to get that home kit device to my HA. The way back HA entities to Homekit does work. Any hints?
Hi, i found the not working component from grm. Unfortunately nothing has changed here for the past 6 months. So I forked them and fixed the issues.
For my irrigation control and sensors it works fine…
No, I did not have to change the api lib from grm, just the integration in HomeAssistant.
The Api Token from 1689.cloud is only valid for 3600 seconds. You would have to implement an asynchronous task to refresh the token and probably also to recreate the websockt connection. That would make the whole thing more complicated and prone to errors.