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
73.3k stars 30.61k forks source link

Platform fritzbox does not generate unique IDs. #111211

Closed Bikervossibaer closed 8 months ago

Bikervossibaer commented 8 months ago

The problem

This is a permanent error message that occurs with all fritzbox devices (climate, button, binary_sensor, light, sensor, switch, etc.). However, all fritzbox devices set up work perfectly. The automations and scenes also work without any recognizable errors.

What version of Home Assistant Core has the issue?

2024.2.2

What was the last working version of Home Assistant Core?

unknown

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Platform fritzbox

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.button
Source: helpers/entity_platform.py:636
Integration: Taste (documentation, issues)
First occurred: 18. Februar 2024 um 12:03:02 (21 occurrences)
Last logged: 18. Februar 2024 um 12:03:02

Platform fritzbox does not generate unique IDs. ID tmp801240-3F341586F already exists - ignoring button.vorlage_licht_bad_hell_1
Platform fritzbox does not generate unique IDs. ID tmp801240-3F3414482 already exists - ignoring button.vorlage_licht_kueche_hell_1
Platform fritzbox does not generate unique IDs. ID tmp0F03B9-3F4888BFE already exists - ignoring button.vorlage_licht_nachtlicht_2
Platform fritzbox does not generate unique IDs. ID tmp801240-3F3454FE7 already exists - ignoring button.vorlage_heizung_werktag_2
Platform fritzbox does not generate unique IDs. ID tmp801240-3F3453EC9 already exists - ignoring button.vorlage_heizung_zuhause_1

Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:636
Integration: Schalter (documentation, issues)
First occurred: 18. Februar 2024 um 12:03:02 (14 occurrences)
Last logged: 18. Februar 2024 um 12:03:02

Platform fritzbox does not generate unique IDs. ID Z5C0272FFFE8DE7EE0B already exists - ignoring switch.silvercrest_tz3000_1
Platform fritzbox does not generate unique IDs. ID 11657 0489271 already exists - ignoring switch.fritzdect_210_1
Platform fritzbox does not generate unique IDs. ID Z0C4314FFFE51A43E0B already exists - ignoring switch.silvercrest_tz3000_3
Platform fritzbox does not generate unique IDs. ID 11657 0490530 already exists - ignoring switch.fritzdect_210_2
Platform fritzbox does not generate unique IDs. ID 11630 0155356 already exists - ignoring switch.fritzdect_200_8

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:636
Integration: Sensor (documentation, issues)
First occurred: 18. Februar 2024 um 12:03:02 (95 occurrences)
Last logged: 18. Februar 2024 um 12:03:02

Platform fritzbox does not generate unique IDs. ID 11630 0155356_electric_current already exists - ignoring sensor.fritzdect_200_8_stromstarke
Platform fritzbox does not generate unique IDs. ID 11630 0155356_total_energy already exists - ignoring sensor.fritzdect_200_8_energie
Platform fritzbox does not generate unique IDs. ID 09995 0883528_temperature already exists - ignoring sensor.fritzdect_440_4_temperatur
Platform fritzbox does not generate unique IDs. ID 09995 0883528_humidity already exists - ignoring sensor.fritzdect_440_4_luftfeuchtigkeit
Platform fritzbox does not generate unique IDs. ID 09995 0883528_battery already exists - ignoring sensor.fritzdect_440_4_batterie

Logger: homeassistant.components.light
Source: helpers/entity_platform.py:636
Integration: Licht (documentation, issues)
First occurred: 18. Februar 2024 um 12:03:02 (7 occurrences)
Last logged: 18. Februar 2024 um 12:03:02

Platform fritzbox does not generate unique IDs. ID 13077 0032811-1 already exists - ignoring light.led_lampe_1
Platform fritzbox does not generate unique IDs. ID 13077 0029977-1 already exists - ignoring light.led_lampe_2
Platform fritzbox does not generate unique IDs. ID 13077 0132661-1 already exists - ignoring light.led_lampe_4
Platform fritzbox does not generate unique IDs. ID 13077 0058651-1 already exists - ignoring light.led_lampe_3
Platform fritzbox does not generate unique IDs. ID 13077 0135131-1 already exists - ignoring light.led_lampe_6

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:636
Integration: Klima (documentation, issues)
First occurred: 18. Februar 2024 um 12:03:02 (2 occurrences)
Last logged: 18. Februar 2024 um 12:03:02

Platform fritzbox does not generate unique IDs. ID 09995 0343921 already exists - ignoring climate.fritzdect_301_6
Platform fritzbox does not generate unique IDs. ID 09995 0343529 already exists - ignoring climate.fritzdect_301_5

Logger: homeassistant.components.binary_sensor
Source: helpers/entity_platform.py:636
Integration: Binärsensor (documentation, issues)
First occurred: 18. Februar 2024 um 12:03:02 (27 occurrences)
Last logged: 18. Februar 2024 um 12:03:02

Platform fritzbox does not generate unique IDs. ID 11934 1028215-1_alarm already exists - ignoring binary_sensor.tuer_fensterkontakt_1_alarm
Platform fritzbox does not generate unique IDs. ID 11657 0490530_lock already exists - ignoring binary_sensor.fritzdect_210_2_tastensperre_am_gerat
Platform fritzbox does not generate unique IDs. ID 11657 0490530_device_lock already exists - ignoring binary_sensor.fritzdect_210_2_tastensperre_uber_ui
Platform fritzbox does not generate unique IDs. ID 11630 0155356_lock already exists - ignoring binary_sensor.fritzdect_200_8_tastensperre_am_gerat
Platform fritzbox does not generate unique IDs. ID 11630 0155356_device_lock already exists - ignoring binary_sensor.fritzdect_200_8_tastensperre_uber_ui

Additional information

No response

home-assistant[bot] commented 8 months ago

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

Code owner commands Code owners of `fritzbox` 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 fritzbox` 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)


fritzbox documentation fritzbox source (message by IssueLinks)

flabbamann commented 8 months ago

Hi @Bikervossibaer, Is the integration configured twice? Maybe you have it configured via fritz.box and via IP Address? Did you replace the box and not remove the old one from integrations?

Bikervossibaer commented 8 months ago

Hello and thanks for the answer.

I'm still new to HA, so I'll just go for it.

I was automatically offered several integrations from AVM (fritzbox) when I set up HA.

I configured the Fritzbox 7590AX myself once. All devices are listed here (WLAN devices; LAN devices, etc.)

I also configured the FritzSmartHome integration once. The Smarthome devices are listed here (Buttons, Light, Switches, etc.)

I did not configure the individual repeaters and the Zigbee gateway, but ignored them.

Unfortunately, I don't know how to recognize whether I have configured the Fritzbox twice (IP/fritz.box).

But I will send screenshots with it.

Best regards Heiko HA_fritzbox_1 HA_fritzbox_2

flabbamann commented 8 months ago

If you click on the configured Fritz Smarthome integration, is there more than one Hub listed? If not please download the diagnostics via three-dot-menu and post it here.

Bikervossibaer commented 8 months ago

Thank you very much for your support.

It was the hubs under Fritz!Smarthome. HA offered me the gateway linked to the Fritzbox as a separate integration.

Since I thought it was a normal device (such as a WLAN device), I accepted and set up the automatic HA configuration.

As a result, two hubs actually appeared. The gateway lists the Smarthome devices from AVM twice in addition to the devices already listed on the Fritzbox.

I have removed the gateway hub and so far no more error messages.