I have been using the automower custom integration made by walthowd for over a year now without any difficulties, but since a reboot due to an upgrade to the latest HA version, it will no longer connect.
Am I the only one facing this issue?
For your convenience, it is this integration that I’m talking about: GitHub - walthowd/ha-automower: Automower Custom Component for Home Assistant. @walt – any thoughts?
Here’s the log, right after the restart of HA:
This error originated from a custom integration.
Logger: homeassistant.setup
Source: custom_components/automower/__init__.py:217
Integration: automower (documentation)
First occurred: 19:21:49 (1 occurrences)
Last logged: 19:21:49
Error during setup of component automower
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/automower/__init__.py", line 217, in setup
robots = api.list_robots()
File "/usr/local/lib/python3.9/site-packages/pyhusmow/husmow.py", line 162, in list_robots
response.raise_for_status()
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://amc-api.dss.husqvarnagroup.net/v1/mowers
Do you get a status from the entity, like blocked, mowing or charging or is it only the default states of a vacuum cleaner?
{{ states('vacuum.automower') }}
returns only docked /cleaning /idle /paused /returning /error
or more detailed from the API?
(I can’t test it yet)
Is it possible to force mow/charge without setting a duration? Or should I set 999999999 and then just stop when appropriate? I will probably set the schedule of the mower itself to “never” so that HA is always in charge.
Config flow working, including setup for MQTT & REST API
I have written a Python library, called it aiorobonect (aiorobonect · PyPI) which I am using in the integration, to make it more standard (who know perhaps it will become a standard HA integration)
MQTT autodiscovery is working
MQTT entities are added. Currently supported: device_tracker (for GPS enabled devices), vacuum, buttons (for the actions) and sensors
Hi, i have setup the api acces in the husqvarna developers environment, next step is integrate the husvarna integration in HA. but when i load the integration i dont have an device or entities. what is going wrong?