Connection with mesh wifi drops around house

I managed to get Home Assistant running on a RaspberryPi despite not being much of a techie - complete with mini-media-player & podcast player connected to Sonos. So proud of myself - it is brilliant!

But…

My home wifi network is a BT Smart Hub with an expander disc. Every time I go upstairs my iPhone connection to Home Assistant is lost. iPhone connects to everything else fine, including the Sonos controller. Sometime after restarting my iPhone it re-connects to HA but usually not.

Can anyone point me to something to fiddle with that might solve this issue? (hopefully without upsetting everything else!)

I managed to resolve all the myriad other issues getting my HA system going, but this has me stumped (bit like the England cricket team just now…)

OK - I think I solved my own problem.

After a bit of playing around, I change my HA config to make my home network trusted. I assume that takes away an authentication step when my iPhone switches from one part of wifi mesh to another. Anyway seems to have made it work.

(Now I just need a way to help the England cricket team to solve their problems…)

Where did you make this changes?

I added this to my configuration.yaml file:

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.0.0/24
        - fd00::/8

I’m embarrassed to say that I don’t understand the /24 or fd00::/8… Just copied from somewhere on this site and it works. Fingers crossed I haven’t opened up my home network to anything I didn’t want.