iobroker-community-adapters / ioBroker.unifi

ioBroker.unifi is an ioBroker adapter for your UniFi network devices.
MIT License
74 stars 24 forks source link

Warning for alarm sync - Excessive number of states created #734

Open ScumbagSteve opened 7 months ago

ScumbagSteve commented 7 months ago

I was wondering why my datapoints are no longer updated, even though the adapter is green. While looking around I noticed an insane amount of sub-Folders in "alarm". I have then deleted this folder and stopped sync for alarms. With this I have reduced the "objects" count in my installation from 40k to 20k.

It was most likely the restart of the unifi adapter which caused the objects to be updated again - but I think there should be a warning about the insane amount of objects that will possibly be created when ticking the "alarms" section. Not sure if the amount of objects could have led to the false state of the adapter (shown green but no longer running).

I can imagine smaller machines could run into issues with high count of objects.

mcm1957 commented 6 months ago

see https://github.com/ioBroker/ioBroker.javascript/issues/1467#issuecomment-1894403368