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

Rate limit MQTT messages #8

Closed
blakeblackshear opened this issue Mar 8, 2019 · 3 comments
Closed

Rate limit MQTT messages #8

blakeblackshear opened this issue Mar 8, 2019 · 3 comments

Comments

@blakeblackshear
Copy link
Owner

Right now, I am sending MQTT messages too quickly. Rate limit to 1 per second or something.

@blakeblackshear
Copy link
Owner Author

I am going to publish the highest score seen in the last few seconds. There may be a burst of messages initially when the score raises quickly to avoid a delay in detection.

@blakeblackshear
Copy link
Owner Author

I am going to convert to a binary sensor and just report ON vs OFF based on a given threshold. I can't think of a simple way to rate limit without possibly missing some scores.

@blakeblackshear
Copy link
Owner Author

Incorporated into 0.1.0

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