Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106041

Questions about device trackers & ubiquiti

$
0
0

I’m using the ubiquiti integration, and in HA, there are multiple device_trackers listed for several of my mobile devices (tablets, phones, etc). I dug into them, and it appears that there is one device_tracker per MAC address. For example, if I connect to both the 2.4ghz and 5ghz networks with the same device - even for a brief period of time - I’ll end up with multiple device trackers for that device because of the different MACs for each of the radios.

Is this the normal behavior? Is there any way to override this and “glue” those two trackers into a single device_tracker? Yes, the mobile app is installed on most of the mobile devices, which uses GPS/zones to figure out where a device is. In this case, I’m looking to use the device trackers that come over from ubiquiti, specifically, to take other actions based on connectivity status of the phones, such that when one of the phones is actually away, I fire an automation.

I thought about using Group (Group - Home Assistant), but I already need to use that integration at the upper level of the logic. Can I nest Groups together? Something like ((my_phone_2.4 || my_phone_5) && wifes_phone)

Ultimately, the logic I’m looking for is roughly shown above for the HOME condition (because one of my device_trackers would always be away). For the away condition, I would need something like
((my_phone_2.4 && my_phone_5) || wifes_phone) to all show away for my AWAY condition to be met.

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>