Problem with the ZWO AM5 Wifi connection and the “astroberry” access point

I have astroberry OS Debian installed on an old laptop next to the equipment in a small observatory in my backyard.

If I leave the laptop connected to the “astroberry” hotspot, Ekos is unable to connect to the AM5 via Wi-Fi.

To get it to work, I have to connect the laptop to the AM5’s Wi-Fi. But this prevents me from connecting to the laptop via the “astroberry” Wi-Fi to control it via the web at https://astroberry.local from my home PC.

Any ideas on how to fix this?