NUKI LOCK DOESN'T WORK
Opened this issue · 4 comments
last version
Logger: homeassistant.config_entries
Source: helpers/network.py:206
First occurred: 1 aprile 2023, 21:19:56 (1 occurrences)
Last logged: 1 aprile 2023, 21:19:56
Error setting up entry Nuki for nuki_ng
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/nuki_ng/init.py", line 26, in async_setup_entry
coordinator = NukiCoordinator(hass, entry, data)
File "/config/custom_components/nuki_ng/nuki.py", line 345, in init
url = config.get("hass_url", get_url(hass))
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 167, in get_url
request_host = _get_request_host()
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 206, in _get_request_host
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError
I have the same problem
UPDATE: Solved!
Probably you're trying to connect through https instead of http (local), so you have to install NGIX and configure it properly.
I had the same problem just a while ago and noticed that I couldn't connect to HA locally, so I installed the component above and everything, then when I configured the nuki addon the field "home assistant internal url" was already filled and after it worked