Set location based on IP of Device on network

I am the Technology Coordinator for a school and I’m using Home Assistant as a dashboard in my office at work. I would like to get presence detection working based on my phone’s IP address and for it to show which building I am in. I can watch for each IP Address, but it only shows as “Home”. What I would like is for it show Elementary/High School or Junior High.

I run Unifi with a site-to-site VPN between the two locations. I’m comfortable using YAML automation or Node-Red, but I haven’t been able to figure this out yet.

Use Places and OwnTracks.

I’d much prefer to do it via a network scan for two reasons. I’m trying to minimize the number of services running on the network . Secondly, I don’t want an app running in the background on my phone all the time that is trying to connect to service it isn’t able to connect to. (I won’t open MQTT in the firewall)