absalom-muc / MHI-AC-Ctrl

Reads and writes data (e.g. power, mode, fan status etc.) from/to a Mitsubishi Heavy Industries (MHI) air conditioner (AC) via SPI controlled by MQTT
MIT License
277 stars 62 forks source link

Timer and Night Setback #49

Closed scottm1985 closed 3 years ago

scottm1985 commented 3 years ago

More a question than an issue:

  1. It looks as though having anything connected to a MHI CNS port will always disable the built-in timer functions. The timer light will not even turn on with the MHI-AC-Ctrl connected.
  2. It doesn't look as though it's possible to enable Night Setback mode through the MHI-AC-Ctrl. I can see that when I enable Night Setback through the remote then the unit has a Tsetpoint of 10 but if I try to pass 10 to set/Tsetpoint I get the Invalid Parameter for cmd_received. Has anybody figured out how to turn on Night Setback as that would mean I no longer need the timer function mentioned above?
absalom-muc commented 3 years ago

When entering Night Setback then Tsetpoint = 10°C and the operating data SET-TEMP=10°C. It is usual that Tsetpoint has the same value as SET-TEMP. On the SPI signals no specific "Night Setback" configuration is visible. You could try to adapt row 74 here from if ((atoi((char*)payload) >= 18) & (atoi((char*)payload) <= 30)) { to if ((atoi((char*)payload) >= 10) & (atoi((char*)payload) <= 30)) { Then you can select a temperature >=10°C, e.g. 10°C But a set value of 10°C doesn't change SET-TEMP, only Tsetpoint. Therefore I'm not sure if it works. You could try it. The room where my AC is installed becomes never <14°C therefore I can't test it.

scottm1985 commented 3 years ago

Thanks, I've made that change and it does allow me to select 10° but I'll have to wait and see if it gets down to that temperature and stops. I see what you mean about the operating data not changing to 10° though. Can you help me understand what the operating data is for? I've noticed that it's always similar but not quite the same. Are these some sort of internal variables that we can only read?

absalom-muc commented 3 years ago

Hi Scott,

I don't know the exact background of the operating data. I assume they will be mainly used for service / maintenance. And unfortunatelly I couldn't find a detailed description from the manufacter related to the usage and decoding. I never found out if some of the operating data might be writeable.

Additionally not all settings of the infrared remote control are supported by the SPI (e.g. Vanes left/right or 3D) or at least I don't know how to interpret. I compared it also with some other commercial SPI based remote controls. They all have limited settings.

absalom

scottm1985 commented 3 years ago

Hi

I tested this last night and with it set to 10° it behaves as if it is set to 18°. OpData/Tsetpoint went down to 17 but I guess that's because it was on eco mode. I'm going to try it again with eco mode off and see if that makes a difference. Otherwise, I'll see if I can get it to update the Opdata.

Thanks Scott

absalom-muc commented 3 years ago

Scott, if your question is answered or if you plan no follow-up, please close this issue. Thank you