Skip to content

Add Option to Rate-Limit (Throttle) Battery+ Updates #3042

Closed

Description

@PlayFaster

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

I have several devices which update very rapidly (every few seconds) which is much faster than I require. These devices (mainly Temp Humidity meters) include rapidly updating battery sensors, which in turn leads to a rapidly updating Battery+ sensor. I would prefer to reduce the high frequency of updates, as for me, its unnecessary, consumes a (small) amount of resources and adds to the Home Assistant database size.

Describe the solution you'd like

I would like to see an option in HA Battery Notes to allow the updates for the Battery Notes Battery+ sensor to be rate-limited (throttled), i.e. only update every 1 minutes, 5 minutes, 20 minutes, 1 hour etc.

Describe alternatives you've considered

For rapidly (faster than is useful) sensors, if I do not want to retain history, I can exclude the sensor from the Recorder, which reduces the database overhead.

In instances where I want to retain history (which is usually the case for battery level), I can exclude the source sensor from Recorder, and create a Filter Sensor, with a throttled update rate, which will keep its history.

For HA Battery Notes this option does not really work, if I create a rate-limited/throttled version of a battery sensor, this is not a device sensor, so will not be picked up as the source for the Battery+ sensor.

Additional context

Minor functionality in the grand scheme of things, I know, but I do think it would be very useful.

Activity

  1. andrew-codechimp commented on Feb 6, 2025

    @andrew-codechimp
    Owner

    It's surprising that the device sends battery so frequently, most only report occasionally, maybe it's worth taking up with the integration owner for the device?

    Sort of related to this idea

    I'm not sure I want to introduce this complexity to save a few recorder entries, I'll move this to the ideas discussion and if I get inspiration on how to do it easily, and that wouldn't confuse the majority of users I'll see what I can.

  2. Repository owner locked and limited conversation to collaborators on Feb 6, 2025
  3. converted this issue into a discussion #3045 on Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions