-
Notifications
You must be signed in to change notification settings - Fork 5
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
Incorrect sensor value when using offsets #13
Comments
Hello, thanks so much for taking the time to reach out to us. I understand the logic in your change and agree it is more true. However back when we released the MSR-1 we talked to the community extensively about the offset because there was a lot of confusion using the negative values. Since the offset is almost always to compensate for the heat in the case. So we've had the same offset calculation in all of our sensors and documentation since then. That is the reason we already do the subtraction in our formula to make the offset number a positive value. |
Understood. I figured there had to be a reason I just couldn't find anything on the wiki. From a first time user experience it wasn't what I expected when adjusting the offset (and yes I was adjusting for the ESP heat 😅). Took me a few tires and checking the config to understand why I was seeing these results. Does it make sense to add a note to this part of the docs calling out that the offset is inverted for user convenience? |
This perplexed me as well, and I really wish the offset was the more correct variant: minus means minus, plus means plus. |
@RLProteus Yes we'll update the wiki @Bunton33 can we get it on the list for wiki corrections? @null-affinity I understand your point. It was just a decision we made based on feedback initially since the offset would always be a negative. Having it be a negative confused a lot more people so we decided to make it a positive on all of our devices. |
Configuring offsets for Air Temp and Humidity sensors results in an output that is incorrect. Setting the inverse of the desired offset results in the expected adjustment to the sensor value.
ie. If the current temperature reading is 70 and I want to add an offset of -5, with the current formula the result would be 70 - -5 = 75. New formula would result in 70 + -5 = 65
I believe I have addressed the issue in PR #12 but let me know if I'm missing something.
Thanks!
The text was updated successfully, but these errors were encountered: