freeathome icon indicating copy to clipboard operation
freeathome copied to clipboard

Integration will be discovered over and over again despite successful integration

Open stefanbauer opened this issue 1 year ago • 9 comments

Hey there,

This is not a real issue but something I'd like to understand. I have a perfect running free@home integration, but regularly, I get new free@home integration suggestions. Sometimes, there are three or four, every single time, with a different IPv6(?) address. I attached a screenshot.

CleanShot 2024-01-17 at 09 08 45@2x

Does anyone know where it comes from? Can I just ignore it? Should I set it up every single time? Everything is still working as expected, by the way.

Thanks in advance! Great job here guys!

stefanbauer avatar Jan 17 '24 08:01 stefanbauer

I have the same issue. Already reconfigured the integration over the discovered entity, but that didn‘t changed the issue. So I just ignored but yes, I it is a little annoying.

SimonKbg avatar Jan 17 '24 17:01 SimonKbg

Hello, when developing this integration i choose to use the ip address as a unique identification for home assistant. Looking back, i should have chosen the mac adress or something else. You should give the free@home sysap a fixed ip address, then you won't get any new integrations found.

jheling avatar Jan 19 '24 18:01 jheling

Thanks for getting back. I already have a fixed IP, so that is not the issue. Any other ideas? :-)

stefanbauer avatar Jan 19 '24 20:01 stefanbauer

As you can see from your screenshot, it is always the ipv6 address. HA finds the V4 IP once and you configure the device. But then HA always finds the V6 as a second device again and again. One idea would be that I can configure in the plugin whether I want V6 and/or V4. @stefanbauer A "dirty" workaround wold be to disable V6 in your HA configuration.

florianutz avatar Jan 20 '24 10:01 florianutz

Thanks Florian! I know that this is the IPv6 address, but what I'm wondering is, that this address changes for every single discovery of the integration and I don't know where this IPv6 address is coming from? I would have expected it's the free@home AP, but it isn't. It has a different one ;) Anyway... I just disabled IPv6 on HA cause I don't need it anyway. That seems to "solve" the problem :)

Let me know if you need any help or further assisting to improve that. Thanks!

stefanbauer avatar Jan 20 '24 11:01 stefanbauer

I had the same problem. My Fritzbox and desktop work with IPv6, but I couldn't find a way to configure/enable/disable IPv6 in the Free@home System AccesPoint. Because all of my Home Assistand devices are using IPv4 I have also disabled V6 in HA

florianutz avatar Jan 20 '24 13:01 florianutz

So here is my conclusion until now. I disabled IPv6 entirely in my whole network, but it's still discovering new integrations. As I said, every single time with a different IPv6 address. I've no clue where this address is coming from. Another screenshot with a different address :D

CleanShot 2024-01-21 at 09 03 57@2x

stefanbauer avatar Jan 21 '24 08:01 stefanbauer

It uses the zeroconf integration to discover free@home. The documentation says the following: Zeroconf chooses which interfaces to broadcast on based on the Network integration.

IPv6 will automatically be enabled if one of the selected interfaces has an IPv6 address that is enabled via the Network integration.

jheling avatar Jan 24 '24 18:01 jheling

I'm also getting this and as @stefanbauer reported it's just some random ipv6 address. And it happens every time i do a reboot of home assistant. If I look at the ignored integrations I've got a nice collection of this Busch Jaeger integrations. I'd be more than happy to help track this down.

kingsleyadam avatar Mar 21 '24 12:03 kingsleyadam