agittins / bermuda

Bermuda Bluetooth/BLE Triangulation / Trilateration for HomeAssistant
MIT License
643 stars 18 forks source link

[Rate-limit] Global visible device count [and others] #377

Closed DavidAntonin closed 2 weeks ago

DavidAntonin commented 2 weeks ago

What is the meaning of Global visible device count for normal use? It fills my logs very quickly. global visible device count

agittins commented 2 weeks ago

Good point. That collection of sensors should probably be limited to 60 second updates.

The global device count is effectively the count of how many unique bluetooth MAC addresses the system has seen recently (where "recently" is not tightly defined, since we prune the list occasionally). It is useful as one of the general indicators of health / functioning of the bluetooth backend, since the HA bluetooth integration doesn't give much visibility into whether it's working at all.

You're right though, those updates are excessive, I'll tame them down in a coming release.

iotola commented 2 weeks ago

I excluded them from the logbook as they are very excessive, mine hits 700 in a few hours.