Add Actual Fan Speed to ESPhome Sensor Output#197
Open
jasongill wants to merge 2 commits intoGrKoR:masterfrom
Open
Add Actual Fan Speed to ESPhome Sensor Output#197jasongill wants to merge 2 commits intoGrKoR:masterfrom
jasongill wants to merge 2 commits intoGrKoR:masterfrom
Conversation
Owner
|
Hi @jasongill, Right now, I'm working on a new architecture for the component. The goal is to clean up the existing code and make it easier to maintain. I'm not sure yet when I'll be finished, as I have limited bandwidth for this task. Are you using your fork for your devices? If so, I’ll put your changes on hold until I finish mine. |
Author
|
No problem at all, let me know if I can help with the refactor - and yes, I am using a fork for my devices (anyone else is welcome to use it if they want to be able to chart actual fan speeds) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a simple modification that reports the actual fan speed of the indoor unit to ESPhome/Home Assistant. I found that the code in aux_ac.h already was reading the real fan speed of the unit, but that was not exposed as a sensor to ESPhome.
This is most useful if you have your minisplit set in "auto" fan speed mode, to be able to determine if the fan is actually running and at what speed.
To allow the value to be plotted on a graph, I have scaled the available values (OFF, MUTE, LOW, MID, HIGH, and TURBO) to percentages, but you can customize those percentages in the ESPhome YAML. Additionally, if MUTE or TURBO are not enabled, those are not included in the scaling.