home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.74k stars 29.99k forks source link

Link Freebox router: Failed to register, please try again #86348

Closed lboue closed 1 year ago

lboue commented 1 year ago

The problem

I am facing an issue with _Freebox_ integration. Setup is not working with my 'Freebox Delta (V7)': I am getting this error: Failed to register, please try again image

What version of Home Assistant Core has the issue?

2023.1.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Freebox

Link to integration documentation on our website

https://www.home-assistant.io/integrations/freebox#initial-setup

Diagnostics information

https://mafreebox.freebox.fr/api_version

{
    "box_model_name": "Freebox v7 (r1)",
    "api_base_url": "/api/",
    "https_port": 18960,
    "device_name": "Freebox Server",
    "https_available": true,
    "box_model": "fbxgw7-r1/full",
    "api_domain": "ed09wamt.fbxos.fr",
    "uid": "8f84325e260cceb2ac29148c6407bf4f",
    "api_version": "10.0",
    "device_type": "FreeboxServer7,1"
}

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @hacf-fr, @quentame, mind taking a look at this issue as it has been labeled with an integration (freebox) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `freebox` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign freebox` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


freebox documentation freebox source (message by IssueLinks)

Guigui37 commented 1 year ago

I have the same problem with my delta, but it is configured in bridge mode. Is yours too ?

lboue commented 1 year ago

Mine is configured in default router mode

MoiDuddits commented 1 year ago

Hello, I have the same problem with a freebox V6 (Revolution), Mine is configured in default router mode with DHCP (192.168.XXX.XXX)

lboue commented 1 year ago

Mine is configured in default router mode

I was able to solve my problem with the following method indicated in the documentation because I had changed the model of Freebox: go into your Home Assistant configuration .storage folder and delete the “freebox” folder, then add the integration again.

MoiDuddits commented 1 year ago

Thanks for the solution, it's good for me, it was very slow to add the integration and i had an error (the same) but it was ok with a restart of HA.