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

overcomplicated formula for temperature conversion #6

Open
kriede opened this issue Aug 21, 2024 · 0 comments
Open

overcomplicated formula for temperature conversion #6

kriede opened this issue Aug 21, 2024 · 0 comments

Comments

@kriede
Copy link

kriede commented Aug 21, 2024

You are using a counterintuitive formular:

degree = ((response.registers[0] - 96) / 2) + 18

what can be rewritten as

degree = -30 + response.registers[0] / 2

or

degree = (response.registers[0] -60) / 2

Maybe not a big deal but clarifies what is really happening here: possible values...

  • start at -30°C
  • go up in steps of 0.5°C
  • go up to 97.5°C (using 7-bits)

what fits all use-cases af such a heat pump.

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