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

HX711 temp compensation[FR] #5019

Open
crazybanane opened this issue Mar 31, 2024 · 2 comments
Open

HX711 temp compensation[FR] #5019

crazybanane opened this issue Mar 31, 2024 · 2 comments

Comments

@crazybanane
Copy link

Hello are you able to add a Temp compensation for HX711 Plugin?

Problem is that with changes in room temperature my scale shows different values. It would be nice to have a solution for it like Compensation with DS18b20`s or the DHT modules.

@tonhuisman
Copy link
Contributor

tonhuisman commented Mar 31, 2024

You can connect a temperature sensor to your ESP, and use that in the Formula field like %value%+(([ds#temp]-20)*0.001) (or whatever offset and factor you need)

NB: The temperature sensor can even be on a remote ESP, when using the P2P Controller... 😃

@TD-er
Copy link
Member

TD-er commented Mar 31, 2024

NB: The temperature sensor can even be on a remote ESP, when using the P2P Controller... 😃

If there is the need for temperature compensation, then this should be as close to the HX711 and/or the strain sensors as possible.

By the way, when using temperature compensation, you should use a sliding window average over the temperature measurement to make sure the temperature-compensation will not be counter productive.

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

3 participants