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

fix Fan speed current to show the fan mode instead of wrong % #165

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

tizianodeg
Copy link
Contributor

This PR fixes the fan speed current coils to show the fan mode instead of %
see #164

@tizianodeg
Copy link
Contributor Author

Not sure how to test with other nibe models.
I can only test this on F730. Others may return the correct % value...

Copy link

codecov bot commented Jun 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.96%. Comparing base (e6e8b15) to head (cde55dd).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #165   +/-   ##
=======================================
  Coverage   57.96%   57.96%           
=======================================
  Files          14       14           
  Lines        1261     1261           
=======================================
  Hits          731      731           
  Misses        530      530           

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

"unit": null,
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this match how things like uplink name them? Looks a bit weird with the parameter being called fan "speed", but the values being called fan "modes"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, no nibe uplink shows the % correctly
image

The configuration on my nibe is Mode 2 == 30%
image

Homeassistant shows 2%
image

I have a F730 not updated yet to the newest firmware with the new uplink feature. % where shown correctly with the old nibe uplink integration

I don't know if this behaves the same on other series.. just checked where the coil is defined and changed all of them...

After understanding that this is not the real % but the configured active one i would rather use AirFlow
But that has no unit and so displayed as state ;)
#163

@yozik04
Copy link
Owner

yozik04 commented Jul 23, 2024

I somehow missed this PR.

@yozik04 yozik04 merged commit e4d0e41 into yozik04:master Jul 23, 2024
8 checks passed
@yozik04
Copy link
Owner

yozik04 commented Jul 23, 2024

Thank you!

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.

3 participants