Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

very chatty distance sensor with complete yaml, even with filter? Or just in the log? #23

Open
netweaver1970 opened this issue Sep 11, 2023 · 0 comments

Comments

@netweaver1970
Copy link

Hi, thanks for all your efforts on getting these sensors easily usable in HA.

I have a small thing I'm wondering about ... I see that using the complete yaml example, I do get enormous amounts (every 0.2s) of identical distance readings in the log.
Are these also transmitted to HA as valid readings or is it just a visual (eg. in logging to screen only) issue?

image

I do have the following setting in the YAML, as per your great examples. Is this the heartbeat I`m seeing in the log?
If indeed all these messages go to HA, is there not a way to only sent significant (eg. 2 decimals) changes?

  accuracy_decimals: 2
   filters:    # Use Fliter To Debounce
   - sliding_window_moving_average:
       window_size: 8
       send_every: 2
   - heartbeat: 0.2s

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant