What is broken? Mine is working fine.
Nope, still works for me too. Won’t try reinstalling though ![]()
Hello, you have a traffic rule with an empty description which is used as entity name, work around is to populate it.
Could you please elaborate what you mean by that? Thank you.
Hi There, I know this topic has been covered before somewhere else, but I checked back thru this thread and cant see any specific details. I have deleted and re-added the unifi integration to clear all the tracked devices, but it still tracking new devices. This is my current setting. Can anyone help me as to why new devices added to the network are still getting added to HA?
And does “track network devices ubiquiti devices only” mean only ubiquiti branded devices?
I tested this by creating a new Debian LCX on my promox server, and it was immediately added to HA.
While cleanin database noticed UCG Ultra writes Temperature, CPU and RAM states every 1 second. I also have Flex switches and AC ap’s it is not happening there, only with UCG Ultra.
Can anyone with USG Ultra confirm it is writing state every second?
Hello, every 10 seconds here with an UCG ultra.
Thanks for checking
Made new user in Unifi, deleted and re added integration and still it changes state every one second
Anyone know how to make a local user if the sites are running in an organization?
Ok I think I see the same thing now that I have upgraded the UCG to the latest version (4.2.12).
You have 2 new possible configurations in the UCG configuration “Interface Refresh Rate” which seem to affect the Home assistant integration:
- “Always use real time updates” : this triggers updates every second in Home Assistant, high refresh rate in Unifi interfaces, and high CPU usage on the UCG Ultra (around 30% CPU)
- “Disable real time update”: no update at all in Home Assistant, lower refresh rate (about 10 or 15 second) in Unifi interfaces, and CPU of UCG goes down to 5%
Not sure about the “Automatically adapt” setting.
That’s a bit problematic for me, as I’d rather have the low refresh rate in Home Assistant too. Using the “real time updates” keeps the UCG busy all the time (if you don’ use HA this mode is triggered only when an Unifi web interface is open).
I think the Unifi integration is seen by the UCG as an active client with an interface which needs to be refreshed every second, all day long every day.
Possibly linked to the use of a web socket to get notifications (instead of just polling the API every 15 seconds).
@Robban I know there was a discussion a few months back about removing the web socket notifications, and relying on polling only. Maybe a solution would be to go this way, or maybe add an option to disable the web socket notifications ?
Adding a toggle to do polling instead of websocket is something I want to do, but I have been very busy outside of this project the last 6-9 months. I also have other things on to do, both functionality and bugs so I wouldn’t want to promise anything.
I tried adding to recorder
commit_interval: 10
but no effect, still every second, how it looks in database for 30 days:
3 entities taking 20% of database
Sure, I have a working prototype, I’ll see if I can clean up a bit and test to submit it.
Yes, I don’t understand how someone at Ubiquiti thought it would be a good idea to have"real time" updates, especially as it puts such a strain on the UCG…
mistake delete
I had to exclude those entities from the recorder because they took up ~ 20 % of my db … annoying that the resolution of the data is so high
I’m also running into this. I setup an organization and added another site so I could manage both and now I’m struggling to get a user set back up for HA to login with.
I havent looked into organisation at all. Currently its not supported at least. What does it mean and what are the the difference?
There’s a little intro to it here. From what I can tell, once you switch over to it all “local only” users are removed and identity management is handled first by a simple cloud defined list and you can setup “Identity Hub” to sync another IAM and restore some local user functionality. I may just need to revert back to the standard “Site Manager” model as Organizations really doesn’t add much functionality that I actually need.
It might be worth looking at the API connections as an alternative to setting up a “user” for the integration as these seem to still be fully supported under the org model.

