-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to call service vacuum/start. 502 : send command. #178
Comments
@Aham330 have you recently done a firmware upgrade? I have 502 bad gateway problems and mower not starting on START_SECONDS_TO_OVERRIDE since the last update |
Hi @danroeg thanks for you reply. unless the mower auto updated itself after having switched off the mower I dont think I updated. Nor do I think it did that cause I don’t have auto updates on. The mower app works fine and starting my vacuum robot works fine too. |
I'm having similar issues here. The mower works fine in the Gardena app, but home assistant can no longer start it. If I recall correctly there was an update for the mower a couple of weeks ago, which had to manually be installed in the app and required a reboot. |
yes sounds familiar. please also write to husqvarna dev team to fix the api |
Hello,
My mower felt off and is not connected for a few weeks now.
I'll try to find some time this week end to install it and reproduce
the issue.
Le jeu. 6 juil. 2023 à 23:01, danroeg ***@***.***> a écrit :
… yes sounds familiar. please also write to husqvarna dev team to fix the api
—
Reply to this email directly, view it on GitHub
<#178 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAARGI2BGAYG7BMILS22URTXO4RSTANCNFSM6AAAAAAZ4PY4HU>
.
You are receiving this because you are subscribed to this thread.Message
ID: <py-smart-gardena/hass-gardena-smart-system/issues/178/1624304322@
github.com>
|
Hi @grm Any luck with the reproduction? greets Aham |
Hello, any updates here? |
This is a problem for me as well. I get the error |
thanks j3mu5. meanwhile i’ve been experimenting with the serviceId parameter of the native gardena smart api, with or without :cbtg suffix as suggested elsewhere. nevertheless start_seconds_.. no longer works with the sileno |
OK. This stuff never ceases to amaze me. After just pressing play in Home Assistant today to get my Mower going and mowing, it, contrary to all expectations, left the garage and started. Funny thing being that I did not change anything on either side of the installation. So not on the side of the Mower and not on the side of HA. What I did do following the suggestion of @danroeg is write the following to Husqvarna: Should Husqvarna have been involved in fixing this issue I would like express my thanks and at same time ask to comment either here or reply to the email I sent. So as to establish a two communication with which we could possibly float idea's for the greater community and your costumers. Aham. |
@Aham330 thanks for the update - I’ve tested and indeed I can once again manually start the mower, which is a great relief. Thank you for chasing Husqvarna and good luck with the pets. |
I took the power off the Mower for a few minutes. After putting the power back on the integration fails to work.
I get a message Failed to call service vacuum/start. 502 : send command.
I have uninstalled the integration, restarted HA and then reinstalled (with the same API) but it still issue still remains.
Could you have a look.
`Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/gardena_smart_system/vacuum.py:177
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 2:59:17 PM (5 occurrences)
Last logged: 3:51:39 PM
[547666826256] 502 : Send Command
[546751873296] 502 : Send Command
[547017732688] 502 : Send Command
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1910, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1950, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 226, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 811, in entity_service_call
future.result() # pop exception if have
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1034, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 851, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/vacuum/init.py", line 423, in async_start
await self.hass.async_add_executor_job(self.start)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/gardena_smart_system/vacuum.py", line 177, in start
).result()
^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/usr/local/lib/python3.11/site-packages/gardena/devices/mower.py", line 36, in start_seconds_to_override
await self.location.smart_system.call_smart_system_service(
File "/usr/local/lib/python3.11/site-packages/gardena/smart_system.py", line 108, in call_smart_system_service
raise Exception(f"{r.status_code} : {response['errors'][0]['title']}")
Exception: 502 : Send Command
`
The text was updated successfully, but these errors were encountered: