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

Add a custom time period over which to calculate the temperature derivative. #211

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Migelo
Copy link

@Migelo Migelo commented Feb 26, 2024

This PR adds a parameter period_for_derivative_calculation that uses the last 1h (by default) to calculate the derivative value. I developed this for myself as my thermostat is sending readings every 2s which made the default derivative quite meaningless due to noise in the temp measurement. I tried playing around with sampling_period but I did not find it to my satisfaction.

Please have a look and let me know if you think we should add this. I can add a toggle to make this behavior optional, but I will only do that and add the documentation if you think we should go ahead with this.

I've been using this with my water floor heating for the past 2 winters and it worked nicely.

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

Successfully merging this pull request may close these issues.

1 participant