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

Correct parsing of RMU data fields #145

Merged
merged 3 commits into from
Jan 3, 2024
Merged

Conversation

elupus
Copy link
Collaborator

@elupus elupus commented Jan 2, 2024

  • Setting RMU target temperature needs 16 bit signed values
  • Setpoint for offsets with RMU does not have any scaling applied
  • Correct jump of outdoor temperature when received from RMU since pump seem to apply the scaling in reverse

elupus added 3 commits January 2, 2024 22:36
Turns out these have no scaling
It seems the pump applies offset in reverse when values become negative. It is very much unclear why this occurs, but live data has been seen that jumps from 0.0 to -1.1 which is the double offset.
Copy link

codecov bot commented Jan 2, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (3eb7b88) 57.46% compared to head (c109a85) 57.72%.

Files Patch % Lines
nibe/connection/nibegw.py 76.47% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
+ Coverage   57.46%   57.72%   +0.26%     
==========================================
  Files          14       14              
  Lines        1213     1230      +17     
==========================================
+ Hits          697      710      +13     
- Misses        516      520       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yozik04 yozik04 merged commit 7d23e1d into yozik04:master Jan 3, 2024
8 checks passed
@yozik04
Copy link
Owner

yozik04 commented Jan 3, 2024

Do you want to cover encode as well with a test?

@elupus elupus deleted the rmu/parseout branch January 3, 2024 10:10
@elupus
Copy link
Collaborator Author

elupus commented Jan 3, 2024

Yes probably. Will look at it. I think some back to back roundtrip testing of decode/encode would be enough there.

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.

2 participants