-
Notifications
You must be signed in to change notification settings - Fork 26
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
Improve compatibility and silent mode #11
base: main
Are you sure you want to change the base?
Conversation
Some units don't respond to RH and Ra queries used to fetch inside and outside temperatures, along with some other queries. This commit fixes the compatibility by trying to read the inside and outside temperatures with both the F9 or RH/Ra queries. Since we don't know which of these can fail, they are moved to a separate loop that won't affect the ready state, but it still fills all the gaps that can occur due to not responding to some query.
Tested and working on my FTXC-B. Didn't got the main branch working due to unknown queries: RH, RI, Ra, RL. I've tested also some "experimental" queries and "F2", "F3", "F4", "M" seem to work in addition to "F1", "F5", "Rd".
|
@joshbenner what about this pull request? Can it be merged? The change request seems to be fixed. |
Availability of the silent mode is a must have for me. |
First commit improves compatibility (discussed in issue #7) with units that don't respond to RH, RI, Ra and RL queries. This should be a minimally intrusive way to do it, by moving them to a "failable" queries list. This way, we now always expect response from F9 (all of them should according to what I found online), and for units that don't return their external temperature there, we'll get it from Ra query anyway.
Second commit adds silent fan mode. Nothing special, just another value in enum. Tested and working.