F1p / Home-Assistant-Mitsubishi-Ecodan-CN105-to-MQTT

Originally based on the CN105 decode by m000c400, this fork provides CN105 control from basic microcontrollers like the ESP8266 or ESP32
7 stars 1 forks source link

Normal vs. Eco Hot Water Flag #3

Closed F1p closed 4 months ago

F1p commented 4 months ago

Hot Water running flag appears to be different when in Eco or Normal mode, Currently, running when Byte 5 = 7

Suggested Fix:

`void ECODANDECODER::Process0x05(uint8_t Buffer, EcodanStatus Status) { uint8_t HotWaterBoost, DHWActive; uint8_t DHWHeatSourcePhase;

//TempDropActive = Buffer[5]; // 0 in Timer or Inhibit, was 7 in on Temp Drop mode (Play)

if (Buffer[5] != 0) { DHWActive = 1; } else { DHWActive = 0; }

//HeatSource = Buffer[6]; // 0 = H/P, 1 = IH, 2 = BH, 3 = IH + BH, 4 = Boiler but doesn't seem to change DHWHeatSourcePhase = Buffer[7]; // Heat Source Phase for DHW (0 = Normal, 1 = HP, 2 = Immersion or Booster) //Unknown = Buffer[9]; // Always 6?

//Status->HeatSource = HeatSource; Status->DHWHeatSourcePhase = DHWHeatSourcePhase; Status->DHWActive = DHWActive; }`

Requesting users of "Normal" to submit Telnet Output of message 4: image