Skip to content

Commit

Permalink
Add heat/dry/cool isee operation mode to xdrv_44_miel_hvac.ino (arend…
Browse files Browse the repository at this point in the history
…st#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 arendst#10937

* remove duplicated wide vane mode
  • Loading branch information
grzegorz914 authored and josef109 committed Nov 7, 2024
1 parent 376eba4 commit 5b7c58e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tasmota/tasmota_xdrv_driver/xdrv_44_miel_hvac.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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[] = {
Expand Down

0 comments on commit 5b7c58e

Please sign in to comment.