kvj / hass_nuki_ng

Better support for Nuki devices in the Home Assistant
MIT License
179 stars 35 forks source link

Configuration problem #134

Open luigicasa opened 1 year ago

luigicasa commented 1 year ago

immagine

immagine

immagine

immagine

Logger: custom_components.nuki_ng.config_flow Source: helpers/network.py:201 Integration: Nuki Lock (documentation, issues) First occurred: 17:59:32 (1 occurrences) Last logged: 17:59:32 Error getting HASS url:

Traceback (most recent call last): File "/config/custom_components/nuki_ng/config_flow.py", line 61, in _get_hass_url return get_url(hass) File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 201, in get_url raise NoURLAvailableError homeassistant.helpers.network.NoURLAvailableError

Logger: homeassistant.config_entries Source: helpers/network.py:201 First occurred: 17:59:55 (1 occurrences) Last logged: 17:59:55 Error setting up entry Porta di casa for nuki_ng

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/nuki_ng/init.py", line 25, in async_setup_entry coordinator = NukiCoordinator(hass, entry, data) File "/config/custom_components/nuki_ng/nuki.py", line 344, in init url = config.get("hass_url", get_url(hass)) File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 201, in get_url raise NoURLAvailableError homeassistant.helpers.network.NoURLAvailableError

alexdelprete commented 1 year ago

Luigi, can you show the HA config.yaml please?

Also, please edit the post, enclosing all code/logs/etc. in comment tags (see the <> symbol in the top bar of the editor when writing/editing.

alexdelprete commented 1 year ago

This is the configuration you tried to input, right? You have HA accessible in HTTPS only? Do you have the Nuki Bridge too?

image

rmnbw73 commented 1 year ago

I have the same problem after a home assistant update, the integration no longer works. I don't have the bridge but the Nuki pro 3, I don't have hassio in http

scaraps commented 3 months ago

Same error! Any solution?

orenshp commented 1 month ago

Same here. Nuki 4 pro, no bridge needed, trying to use the Web API. I'm putting only the Web Api token field and get the "NoURLAvailableError" in the logs.