Unifi Get Ip address
You could try the Debug Terminal:
Click on the Switch
Go to Configuration
Debug Terminal
and running the following command
curl ipecho.net/plain; echo