#@HarvsG The new v6 enabled pihole

1 messages · Page 1 of 1 (latest)

glacial kettle
#
Logger: homeassistant.config_entries
Quelle: config_entries.py:749
Erstmals aufgetreten: 20:03:44 (4 Vorkommnisse)
Zuletzt protokolliert: 20:08:24

Error setting up entry Pi-Hole for pi_hole
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/pi_hole/__init__.py", line 103, in async_setup_entry
    version = await determine_api_version(hass, dict(entry.data))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/pi_hole/__init__.py", line 245, in determine_api_version
    raise HoleError("Could not determine Pi-hole API version")
hole.exceptions.HoleError: Could not determine Pi-hole API version
grizzled crystal
#

Can you open an issue on GitHub please?

#

And run it again with debugging enabled for pihole

#

Please also include what exact version of pihole web, ftl etc

#

Essentially this is the error you might get if using the wrong endpoint/IP address/hostname etc

zealous pine
#

quick test here, works fine

#

had to create an app password

glacial kettle
#

Are you on 6.14 as well?

#

For me the integration mentions it did not expect the API response. The API response says that the API endpoint is now at a different place. Maybe that message changed recently.

glacial kettle
zealous pine
#

It says latest version, sorry just left the house so not sure what the version is

glacial kettle
#

I just checked the integration code and it should check exactly for that API response that my pihole instance returns.

#

No worries - I'm not in a hurry, I've been waiting months for Pihole v6 support already 🙂

zealous pine
#

I am sure it is V6

glacial kettle
#

Didn't question that. But 6.1.4 is 2 weeks old.

zealous pine
#

Yeah I updated around two weekends ago

#

Do that every weekend

#

Habits...

zealous pine
#

so is it expected I needed to enter the API key again after a restart...

#

is that normal?

#

ehm another restart and it throws a repair again...

glacial kettle
#

I have 2 pihole instances. One works now the other doesn't. The one that does not runs on a non-standard port. Maybe that's an indicator.

zealous pine
#

how does the one that works behave when HA is restarted?