Did anyone manage to add Aqara FP2 to HA without HomeKit?

I can’t add the Aqara FP2 to my HA, from what I’ve now been able to gather, it’s due to:

  • running HA in Docker on Windows 11, which doesn’t allow the network-mode: host to be used which is required for the auto-discovery of devices
  • so it doesn’t matter that if I add the Aqara FP2 to my Homekit, remove it, it never pops up in HA as it should

Anyone found a workaround?

Thank you in advance!

There is no work around. You use them with Homekit or not at all.

Try port mapping tcp port 51827 (HomeKit) and udp port 5353 (mDNS which is used for discovery) so your docker container can discover stuff from its internal network and talk to the HomeKit devices. You should be able to do that by adding the following to your Docker compose file (you probably have the last line already since that’s for the Home Assistant web interface):

    ports:
      - '51827:51827'
      - '5353:5353/udp'
      - '8123:8123'

Even then, it might not work, as I don’t think you can do multicast over the Docker bridge. But it’s worth a try. If that doesn’t work, then you’re either going to have to move HA to a Docker host that can do host networking, get rid of Docker altogether, or pitch the FP2s.

1 Like

It was worth a try, but as you already assumed, it didn’t work.
Thank you anyhow, I really appreciate it!