Hoi, question.
I’m running the UniFi Integration for a while now, therefore the normal configuration,yaml setting and had a lot of 10 seconds warnings within my Home Assistant for lots of devices/plugins/addons, so not only unifi.
Yesterday I’ve cleaned my config, so a lot is being excluded in recorder:, the bluetooth device tracker is disabled, etc, etc to minimize the 10 second shizzle, what worked for most of my problems!
But, I still struggle with the UniFi Integration, it seems I cannot get it to work reliable for my (only 2!) devices to see if they’re at home or not.
Regularly I get there log entries in HA:
Unable to reach controller tcc.bla.bla
2:25 components/unifi/controller.py (ERROR)
Update of device_tracker.apple_iphone_xr_jose is taking over 10 seconds
2:25 main.py (WARNING)
Update of device_tracker.apple_iphone_xr_richard is taking over 10 seconds
2:25 main.py (WARNING)
And the problem with that is HA sets those 2 devices from home to not available/niet beschikbaar for 1 minute and after that back to home again.
I cannot automate things with that behaviour anymore. In the settings the the time to set them as away is 180 seconds.
But that seems to work because HA never sets those devices as not_home, everytime I get the "unable to reach controller " it sets them to unavailable.
Is this al HA thing, of can that be fixed within your code?
Thanks man.
ps. using the iPhone Mobile App since the last version as well for presence detection, that is reliable, but not useful for everything because it reports me as home for example when I visit my neighbour and disconnect my own wifi