Add heat/dry/cool isee operation mode to xdrv_44_miel_hvac.ino (#22216)

* Add heat/dry/cool isee operation mode to xdrv_44_miel_hvac.ino

This add heat, dry, and cool isle operation mode to support new AC devices. Closes also #10937

* remove duplicated wide vane mode
This commit is contained in:
Grzegorz 2024-09-30 11:21:12 +02:00 committed by GitHub
parent 69c19d95ae
commit 6fa38e4b83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -137,6 +137,9 @@ struct miel_hvac_msg_request {
#define MIEL_HVAC_REQUEST_TIMERS 0x05
#define MIEL_HVAC_REQUEST_STATUS 0x06
#define MIEL_HVAC_REQUEST_STAGE 0x09
#define MIEL_HVAC_UPDATE_MODE_HEAT_ISEE 0x09
#define MIEL_HVAC_UPDATE_MODE_DRY_ISEE 0x0a
#define MIEL_HVAC_UPDATE_MODE_COOL_ISEE 0x0b
uint8_t zero[15];
};
@ -187,8 +190,6 @@ struct miel_hvac_msg_update {
#define MIEL_HVAC_UPDATE_WIDEVANE_MASK 0x0f
#define MIEL_HVAC_UPDATE_WIDEVANE_LL 0x01
#define MIEL_HVAC_UPDATE_WIDEVANE_L 0x02
#define MIEL_HVAC_UPDATE_WIDEVANE_LL 0x01
#define MIEL_HVAC_UPDATE_WIDEVANE_L 0x02
#define MIEL_HVAC_UPDATE_WIDEVANE_C 0x03
#define MIEL_HVAC_UPDATE_WIDEVANE_R 0x04
#define MIEL_HVAC_UPDATE_WIDEVANE_RR 0x05
@ -284,6 +285,9 @@ static const struct miel_hvac_map miel_hvac_mode_map[] = {
{ MIEL_HVAC_UPDATE_MODE_COOL, "cool" },
{ MIEL_HVAC_UPDATE_MODE_FAN, "fan_only" },
{ MIEL_HVAC_UPDATE_MODE_AUTO, "auto" },
{ MIEL_HVAC_UPDATE_MODE_HEAT_ISEE, "heat_isee" },
{ MIEL_HVAC_UPDATE_MODE_DRY_ISEE, "dry_isee" },
{ MIEL_HVAC_UPDATE_MODE_COOL_ISEE, "cool_isee" },
};
static const struct miel_hvac_map miel_hvac_fan_map[] = {