Long story short, I have 2 UniFi Controller setup at 2 different locations. My primary instance (at home) is currently configured with hass, and works great. I recently setup site-to-site VPN between these 2 sites so I want to track devices at this other location as well. I’m not so interested in tracking the same device going between these 2 locations, but there are devices at both locations that I want to track (i.e., I want to know when a certain device is on site2, but couldn’t care less about knowing when it’s at site1).
Is this possible? I know hass supports multiple device trackers, but I’ve seen no mention about using the SAME type, but a different server.
I am running 2 separate controller at 2 different physical locations, but I have access to both controllers from my hass installation.
I have not had the opportunity to take my phone (which is normally tracked at site1) to site2 to see how it behaves, but I’m guessing it’s not going to work. I use device alias’s in my unifi controllers, but I don’t have consistency between both controllers so I’m thinking my phone will show up as a separate entity in my known_devices list, unless it uses the MAC as the unique identifier. I should be able to test, and confirm, this weekend.
I had device_tracker working successfully but wanted to move the Unifi controller off my hass.io RPi3. So, I set up the Unifi controller on an always on pc in my network and adopted my two AP Pro’s. I have verified that I can ssh into both APs from hass.io, but when integrating into my config I get an error every time. My config looks like this: