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
Add vertical and horizontal vane position controls #109
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed working with my MSZ-FH09NA
unit. Thank you!
Recommend disabling the swing mode trait of the climate component if these Horizontal and Vertical selects are used.
See Advanced Configuration:
supports:
swing_mode: []
README.md
Outdated
horizontal_vane_select: | ||
name: Horizontal Vane Position | ||
vertical_vane_select: | ||
name: Horizontal Vane Position |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
horizontal_vane_select:
name: ${name} Horizontal Vane
vertical_vane_select:
name: ${name} Vertical Vane
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also added MSZ-FH35V
as a verified working unit. Also tested fine with MSZ-LN35VG2W
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This likely went away when I set the base branch to develop. Can you work with @nathanjw on that rebase?
I've tested this PR on my units (MSZ-AP**VGK, currently tested on MSZ-AP25GK and MSZ-AP55VGK, but the board is the same) and they are working as expected. I've used the by SSMCD on 4th august (line 231 > Horizontal Vane Position > ${name} Vertical Vane) |
Can you rebase this onto devel instead of master? I've got some pending commits on the devel branch that I need to package as a release. They're mostly documentation changes. |
Starting from geoffdavis#103 by @seime, extract the vane implementation code and format according to existing style. Leave behind all the reformatting.
0150144
to
53c3d88
Compare
Rebased against devel, and caught up to the changes there. I also re-added the models that @seime mentioned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most units don't support Horizontal or Both swing modes by default. Please leave the default set to ['OFF', 'VERTICAL']
Tested nathanjw:unformat-select and it's working well on MSZ-LN25VG2 |
Can this be merged? I Want to get rid of the MELCLOUD integration, but I need this kind of control to be able to do that.. |
Not until the change I requested is made, and the conflicts are resolved. |
I've made a slight alteration at https://github.com/SGXander/esphome-mitsubishiheatpump/tree/split_fix which I'd be happy to PR either here or into nathanjws fork, let me know which. The underlying swicago library specifies "<>" which in nathanjws version is marked as "auto" but during testing I have discovered it is actually "split" (leaving the middle clear and sending air left and right). I've updated this in my fork under the split_fix branch but so far I haven't found the command code to activate auto on the horizontal_vane so have left it out of the options variable. |
Please take another look. I had adjusted the defaults as requested, but missed that merge conflict. I think that is resolved now. |
Whats the best way to test this PR on my Home Assistant install? I tried replacing the external component URL with your branch URL, but it didnt seem to have any effect. |
|
Awesome, thanks! Just tested it out, working for me as well. I wish Home assistant let you customize the HVAC card to allow you to put the swing in the card, oh well :). @SGXander I think you still need to mark the PR ready for review. |
Not my repo, it's ready to merge already though if you want it to report "split" instead of "auto" then use my fork for now as I don't think nathanjw has updated this one. |
Ah whoops, @nathanjw thoughts on adding in support for horizontal vane split position in this PR and marking it ready for review? |
put in nathanjw#1 for the split thing that way it should update this PR if approved |
@nathanjw Whats the status on this? If we dont hear back should we just raise a separate PR based on yours SGXander which includes the fix? |
I think I'd like to get this in as is and then a cosmetic renaming of that horizontal mode could be a much easier followon. |
I'm getting a whole slew of errors when I attempt to compile using this branch. It starts with:
These errors don't happen when using the base branch. I'm not much of a C++ guy so I'm not sure where to start looking for the problem? |
You have to add some options to help the compiler use C++17 See the sample below. You've to add the platformio_options with the build_unflag and build_flags
|
Vane selection cannot be integrated into the default home assistant climate card? Is it necessarily a separate card? With Melcloud, vane position is integrated into the default climate card. |
It is possible, with the "features" you can add to the climate card. And with the service-call-tile-feature add-on from Nerwyn (https://github.com/Nerwyn/service-call-tile-feature):
You can change the icons or options as you like. |
complete adding changes to climate.py from pull request geoffdavis#109
per pull request geoffdavis#109
per pull request geoffdavis#109
per pull request geoffdavis#109
Starting from #103 by @seime, extract the vane implementation code and format according to existing style. Leave behind all the reformatting.