ElectraWifi icon indicating copy to clipboard operation
ElectraWifi copied to clipboard

Heating and dry modes don't work, cooling and fan does

Open guysoft opened this issue 2 years ago • 1 comments

Hey, So I have now ElectraWifi set up and working. However, when I send a heat.

Steps to reproduce:

  1. test that it works, send to devices/ac/state/json/set (or the path you set in the homie setup):
{"power": "on", "mode": "cool", "fan": "high", "temperature": 25, "ifeel": "off"}

See that you can change power on and off and switch the AC on and off. 2. Try to send now:

{"power": "on", "mode": "heat", "fan": "high", "temperature": 25, "ifeel": "off"}

Expected: AC should heat. Actual: Does not switch on.

Electra remote type: RC-3 (or RC3 sold as too)

guysoft avatar Mar 06 '22 16:03 guysoft

Looking at the code I am suspecting it might be a timing issue. The only difference between heat and dry, and the rest is they don't have a one at the end (auto also works).

work:

    MODE_COOL = 0b001,
    MODE_FAN = 0b101,
    MODE_AUTO = 0b011,

Doesn't work:

    MODE_HEAT = 0b010,
    MODE_DRY = 0b100,

https://github.com/giladger/ElectraWifi/blob/master/src/IRelectra.h#L22

guysoft avatar Mar 07 '22 09:03 guysoft