core icon indicating copy to clipboard operation
core copied to clipboard

can't add devolo Giga Bridge - wrong password, but it's correct direct on device

Open TylonHH opened this issue 1 year ago • 4 comments

The problem

I have two devolo Giga Bridges. In the past I saw them configured in HA. But since an update (core) the device says "wrong password". But when I open the device via IP I can login with that password. I also tried to delete the integration, reboot HA, add the integration again.

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

core-2024.10.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

devolo_home_network

Link to integration documentation on our website

https://www.home-assistant.io/integrations/devolo_home_network

Diagnostics information

home-assistant_devolo_home_network_2024-10-10T13-03-53.144Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

right after adding integration I get this error even before I enter the password. Is the password somewhere stored?

TylonHH avatar Oct 10 '24 13:10 TylonHH

Hey there @2fake, @shutgun, mind taking a look at this issue as it has been labeled with an integration (devolo_home_network) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of devolo_home_network can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign devolo_home_network Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


devolo_home_network documentation devolo_home_network source (message by IssueLinks)

home-assistant[bot] avatar Oct 10 '24 13:10 home-assistant[bot]

Sometimes I get Der Konfigurationsfluss konnte nicht geladen werden: {"message":"Invalid flow specified"}

TylonHH avatar Oct 10 '24 13:10 TylonHH

Hi @TylonHH , could you please tell me, which FW version your devices have? As I don't have Giga Bridges at hand, I might need to contact my friends at devolo to find a solution.

Shutgun avatar Oct 10 '24 13:10 Shutgun

Sure

7.12.9.142 (2023-05-02)

TylonHH avatar Oct 10 '24 16:10 TylonHH

Hi @TylonHH , we digged a little into this issue and have more questions.

First, it seems that the inavlid flow error happens when a automatic discovery happens while you configure the integration manually. Can you confirm, that you tried to configure it manually by entering the IP?

Does your setup contain more than one network interface? We saw issues in that case, that we still need to understand deeper.

But the good news is, that Gigabridge basically works with Home Assistant under certain conditions. So now we need to understand the remaining issues, that sould be independend from the Gigabridge but effect all devolo Home Network devices.

Shutgun avatar Oct 17 '24 06:10 Shutgun

I have the same issue. Deleting the device and adding it manually via IP does not change anything. First, success is reported. Then it complains regarding wrong password as before. HA runs on a RaspberryPi with one LAN and one WLAN interface. The WLAN interface is not enabled/connected.

kwidany avatar Oct 17 '24 06:10 kwidany

But that might be correct due to how the devices work. If there is a device password, HA cannot know until it queries endpoints that are protected. So the integration is set up and then a reauth flow is triggered as soon as e.g. the switch platform is loaded. If you follow that and give it the correct password, the integration will work.

Or are we not talking about the initial adding process?

Shutgun avatar Oct 17 '24 07:10 Shutgun

ok let's get some step back. You're right that technically this integration works with HA, because it did in the past (since?).

A devolo Giga Bridge makes only sense with two devices. image

So I deleted all (two) devices to document my steps.

  • Integration "devolo Home Network" is added
  • integration automaticaly finds two devices image
  • I click on config and confirm that image
  • success image
  • immediatlay there shows up an error und discovered image and here image this is within the integration, note: until now I never typed a password, and the error says its wrong (confused) image so I click on congig new and enter the correct passwort, wich works direct on the device when opening it via IP image Success? image Nope
2024-10-24 12:02:04.593 WARNING (MainThread) [homeassistant.config_entries] Config entry 'devolo-491' for devolo_home_network integration could not authenticate: The used password is wrong.
2024-10-24 12:03:26.932 WARNING (MainThread) [homeassistant.config_entries] Config entry 'devolo-491' for devolo_home_network integration could not authenticate: The used password is wrong.

Same with adding by IP-adress

So I enabled Debug Logging Pop Up with Der Konfigurationsfluss konnte nicht geladen werden: {"message":"Invalid flow specified"} No Chance to enter the passwort after some deleting and readding with debugging I managed to get this

2024-10-24 12:10:00.421 DEBUG (MainThread) [devolo_plc_api.device.Device] Browsing for ['_dvl-deviceapi._tcp.local.', '_dvl-plcnetapi._tcp.local.']
2024-10-24 12:10:00.422 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-plcnetapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:00.422 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-deviceapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:00.434 DEBUG (MainThread) [devolo_plc_api.device.Device] Browsing for ['_dvl-deviceapi._tcp.local.', '_dvl-plcnetapi._tcp.local.']
2024-10-24 12:10:00.434 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-plcnetapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:00.435 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-deviceapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:00.446 DEBUG (MainThread) [devolo_plc_api.plcnet_api.plcnetapi.PlcNetApi] Getting network overview.
2024-10-24 12:10:00.446 DEBUG (MainThread) [devolo_plc_api.plcnet_api.plcnetapi.PlcNetApi] Getting from http://192.168.178.31:14791/3jBlmXGpCQdTCXKI/plcnetapi/v0/GetNetworkOverview
2024-10-24 12:10:03.751 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching connected_plc_devices data in 3.305 seconds (success: True)
2024-10-24 12:10:03.751 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting LED settings.
2024-10-24 12:10:03.751 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting from http://192.168.178.31:14791/g2igNrbjcuVFwIpS/deviceapi/v0/LedSettingsGet
2024-10-24 12:10:03.767 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching switch_leds data in 0.016 seconds (success: True)
2024-10-24 12:10:03.767 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Get uptime.
2024-10-24 12:10:03.767 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting from http://192.168.178.31:14791/g2igNrbjcuVFwIpS/deviceapi/v0/UptimeGet
2024-10-24 12:10:03.818 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching last_restart data in 0.051 seconds (success: False)
2024-10-24 12:10:03.818 WARNING (MainThread) [homeassistant.config_entries] Config entry 'devolo-491' for devolo_home_network integration could not authenticate: The used password is wrong.
2024-10-24 12:10:11.252 DEBUG (MainThread) [devolo_plc_api.device.Device] Browsing for ['_dvl-deviceapi._tcp.local.', '_dvl-plcnetapi._tcp.local.']
2024-10-24 12:10:11.253 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-plcnetapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:11.254 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-deviceapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:11.264 DEBUG (MainThread) [devolo_plc_api.plcnet_api.plcnetapi.PlcNetApi] Getting network overview.
2024-10-24 12:10:11.264 DEBUG (MainThread) [devolo_plc_api.plcnet_api.plcnetapi.PlcNetApi] Getting from http://192.168.178.31:14791/3jBlmXGpCQdTCXKI/plcnetapi/v0/GetNetworkOverview
2024-10-24 12:10:14.551 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching connected_plc_devices data in 3.287 seconds (success: True)
2024-10-24 12:10:14.551 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting LED settings.
2024-10-24 12:10:14.551 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting from http://192.168.178.31:14791/g2igNrbjcuVFwIpS/deviceapi/v0/LedSettingsGet
2024-10-24 12:10:14.566 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching switch_leds data in 0.015 seconds (success: True)
2024-10-24 12:10:14.566 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Get uptime.
2024-10-24 12:10:14.566 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting from http://192.168.178.31:14791/g2igNrbjcuVFwIpS/deviceapi/v0/UptimeGet
2024-10-24 12:10:14.613 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching last_restart data in 0.047 seconds (success: False)
2024-10-24 12:10:14.613 WARNING (MainThread) [homeassistant.config_entries] Config entry 'devolo-491' for devolo_home_network integration could not authenticate: The used password is wrong.
2024-10-24 12:10:31.223 DEBUG (MainThread) [devolo_plc_api.device.Device] Browsing for ['_dvl-deviceapi._tcp.local.', '_dvl-plcnetapi._tcp.local.']
2024-10-24 12:10:31.228 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-plcnetapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:31.229 DEBUG (MainThread) [devolo_plc_api.device.Device] Updating service info of _dvl-deviceapi._tcp.local. for devolo-491.local.
2024-10-24 12:10:31.234 DEBUG (MainThread) [devolo_plc_api.plcnet_api.plcnetapi.PlcNetApi] Getting network overview.
2024-10-24 12:10:31.234 DEBUG (MainThread) [devolo_plc_api.plcnet_api.plcnetapi.PlcNetApi] Getting from http://192.168.178.31:14791/3jBlmXGpCQdTCXKI/plcnetapi/v0/GetNetworkOverview
2024-10-24 12:10:34.451 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching connected_plc_devices data in 3.218 seconds (success: True)
2024-10-24 12:10:34.451 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting LED settings.
2024-10-24 12:10:34.451 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting from http://192.168.178.31:14791/g2igNrbjcuVFwIpS/deviceapi/v0/LedSettingsGet
2024-10-24 12:10:34.466 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching switch_leds data in 0.015 seconds (success: True)
2024-10-24 12:10:34.466 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Get uptime.
2024-10-24 12:10:34.466 DEBUG (MainThread) [devolo_plc_api.device_api.deviceapi.DeviceApi] Getting from http://192.168.178.31:14791/g2igNrbjcuVFwIpS/deviceapi/v0/UptimeGet
2024-10-24 12:10:34.513 DEBUG (MainThread) [homeassistant.components.devolo_home_network] Finished fetching last_restart data in 0.047 seconds (success: False)
2024-10-24 12:10:34.513 WARNING (MainThread) [homeassistant.config_entries] Config entry 'devolo-491' for devolo_home_network integration could not authenticate: The used password is wrong.

TylonHH avatar Oct 24 '24 10:10 TylonHH

Is devolo-491 the local or the remote device like in: Is it GigaBridge (2) or GigaBridge (1) in your picture? And if it is the remote device: does the local device behave the same?

Shutgun avatar Oct 24 '24 13:10 Shutgun

Hi @TylonHH , I had also issues with integrating the GigaBridge into Home Assistant. Using the WebUI of the device to enter the password again (old password and new password can be the same), fixed it for me. Seems to trigger some internal processes.

bong1991 avatar Oct 30 '24 08:10 bong1991

I just had the same issue, and can confirm that what @bong1991 wrote worked also for me! :)

reinob avatar Nov 12 '24 15:11 reinob

Nice, so let me add that to the documentation, so that everybody is aware of that workaround until devolo might fix it.

Shutgun avatar Nov 13 '24 11:11 Shutgun

Confirmed

"Reset" the password within the devolo device via WebUI (to the same password) works.

Thanks to everybody and @bong1991

TylonHH avatar Nov 13 '24 16:11 TylonHH