#Vodafone_Station integration config flow Unexpected exception

1 messages · Page 1 of 1 (latest)

hot igloo
#

**Problem: **
Attempting to add the Vodafone Station integration into my Home Assistant instance. However, during onboarding flow I get an "Unexpected error" response when adding Host, Username & Password details. The model number for the Vodafone Power Hub Wi-Fi 6 router is DGM4137VDF.

Support:
@open crypt

GitHub Issue:
https://github.com/home-assistant/core/issues/154728

Logs:

2025-10-18 01:17:24.799 DEBUG (MainThread) [aiovodafone] Logging into 192.168.0.1
2025-10-18 01:17:24.799 DEBUG (MainThread) [aiovodafone] Requested login url: <http://192.168.0.1//login.html>
2025-10-18 01:17:24.799 DEBUG (MainThread) [aiovodafone] GET page /login.html from host 192.168.0.1
2025-10-18 01:17:24.877 WARNING (MainThread) [aiovodafone] GET page /login.html from host 192.168.0.1 failed: 404
2025-10-18 01:17:24.877 ERROR (MainThread) [homeassistant.components.vodafone_station] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/vodafone_station/config_flow.py", line 87, in async_step_user
    info = await validate_input(self.hass, user_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/vodafone_station/config_flow.py", line 52, in validate_input
    await api.login()
  File "/usr/local/lib/python3.13/site-packages/aiovodafone/api.py", line 808, in login
    html_page = await self._find_login_url()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiovodafone/api.py", line 692, in _find_login_url
    reply = await self._request_page_result(HTTPMethod.GET, page)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiovodafone/api.py", line 177, in _request_page_result
    raise GenericResponseError
aiovodafone.exceptions.GenericResponseError

Thanks for your support! 🙂

.

open crypt
#

Hi

#

do you have access to a system with python ? Could be linux or windows

#

I wanto you to run the latest library test manually and see the result

hot igloo
#

Hi @open crypt 😄 - yes. I currently have Python 3.14 installed locally on Windows.

#

I can also run remotely on the HA OS host if needed.

#

Please provide guidance on where and what to run. Ta!

hot igloo
#

Hi @open crypt - I have run the library_test.py script in python using same credentials, from a Windows system on the same network.
The output is attached. Let me know what you think. Cheers!

open crypt
#

Hi @hot igloo sorry a bit busy today 😉

#

Which version of library are you running ?

#

Please check with “pip show aiovodafone”

hot igloo
# open crypt Please check with “pip show aiovodafone”
C:\Users\jntow\Downloads\HAtest>python -m pip show aiovodafone
Name: aiovodafone
Version: 2.1.0
Summary: Python library to control Vodafone Station
Home-page: https://github.com/chemelli74/aiovodafone
Author: Simone Chemelli
Author-email: simone.chemelli@gmail.com
License-Expression: Apache-2.0
Location: C:\Users\jntow\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages
Requires: aiohttp, beautifulsoup4, colorlog, cryptography, orjson
Required-by:
open crypt
#

So seem this is an unknown API; sorry we didn’t have a device with it to code the missing bits

open crypt
#

Thanks to your issue, I improved library_test to show the nice error message and not trace badly

hot igloo
#

Thanks @open crypt ! Glad this will help others.
So is this API currently not supported in the integration?
Is there anything I can do to support the inclusion of this device?

open crypt
#

We need to reverse engineering it's API if there is no public doc