-
Notifications
You must be signed in to change notification settings - Fork 9
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
Haier Flexis AS25S2SF1FA-BH - Fan Speed Homekit #15
Comments
When //commented in code HomeKit began to adjust speed correctly (max / mid / low / auto ) |
Hi! Sorry I've been out for so long. What do you mean by commenting Fan On, Fan Off, Fan Middle? Can you comment on the code so I can understand? Thanks! |
Here is my modified a bit HaierFlexis.h file I use for my havacs. `/**
**/ #ifndef HAIER_ESP_HAIER_H #include "esphome.h" using namespace esphome; // Updated read offset #define MODE_OFFSET 14 #define HORIZONTAL_SWING_OFFSET 19 #define VERTICAL_SWING_OFFSET 13 #define TEMPERATURE_OFFSET 22 #define STATUS_DATA_OFFSET 17 // Purify/Quiet mode/OnOff/... #define SET_POINT_OFFSET 12 // Another byte
// Updated read offset #define FRESH 31 // Updated read offset #define COMMAND_OFFSET 9 #define CRC_OFFSET(message) (2 + message[2]) // Control commands #define POLY 0xa001 // temperatures supported by AC system //if internal temperature is outside of those boundaries, message will be discarded class Haier : public Climate, public PollingComponent { private:
public:
protected:
public:
}
}; #endif //HAIER_ESP_HAIER_H` But for now, on every ESPhome devices "updates" a receive this yellow error lines in console while bulding firmware:
|
I have 3 Haier Flexis AS25S2SF1FA-BH
and used your Haierv2.h file to ESPhome
Can change the auto / speed settings from the HASS
but when doing the same change in Homekit - it fails somewhy?
I can swich on/of Auto fan
But when changing the speed (0-25-50-75-100) - i can see in ESPhome log - it send's LOW / MIDDLE / MEDIUM / HIGH
Bat state doesn't change.
When doing the same from HA - it sends the same with success of changing speed.
When from HK:
From HA:
The text was updated successfully, but these errors were encountered: