Thomas55555 / husqvarna_automower

Custom component for Home Assistant to monitor and control your Husqvarna Automower
https://github.com/Thomas55555/husqvarna_automower
MIT License
105 stars 28 forks source link

Wizard does not work #534

Closed Rudinskas closed 11 months ago

Rudinskas commented 1 year ago

Could somebody help me with the installation?

From HACS I successfully install husqvarna_automower integration, but cannot add it to the device sector. The wizard does not start. Screenshot 2023-08-16 200719

Screenshot 2023-08-16 200427

I tried to go into the integration directly, but also where is not working too. Screenshot 2023-08-16 200938

Does somebody know what did happen to my system? Is possible to integrate it via yaml file?

Thanks!

I'm using:

prairiesnpr commented 1 year ago

We would need logs to provide any assistance.

stefane26 commented 1 year ago

Hi, I have the same problem installing the Husqvarna integration. Here is the error log :

Logger: homeassistant.components.websocket_api.http.connection Source: helpers/network.py:200 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 14:06:06 (1 occurrences) Last logged: 14:06:06

[140152143140928] Error handling message: Unknown error (unknown_error) Stéphane from 192.168.10.120 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/application_credentials/init.py", line 331, in handle_integration_list "integrations": { ^ File "/usr/src/homeassistant/homeassistant/components/application_credentials/init.py", line 332, in domain: await _async_integration_config(hass, domain) for domain in domains ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/application_credentials/init.py", line 315, in _async_integration_config placeholders = await platform.async_get_description_placeholders(hass) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/husqvarna_automower/application_credentials.py", line 23, in async_get_description_placeholders "redirect_uri": get_url(hass), ^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 200, in get_url raise NoURLAvailableError homeassistant.helpers.network.NoURLAvailableErrorg `` Thanks for your help. Stephane

prairiesnpr commented 1 year ago

I think this is a configuration issue, please check the value of Settings - System - Network - Home Assistant Url and make sure it's set.

stefane26 commented 1 year ago

Thanks prairienpr That's where the problem came from.