SmartIR icon indicating copy to clipboard operation
SmartIR copied to clipboard

Different "On" code for each permutation - RC3 electra AC

Open yoavipm opened this issue 1 year ago • 1 comments

Hi, so after reading about this issue, looks like Electra RC3 AC has a different "On" command for each permutation of "mode" + "fan speed" + "target_temp". I understand that some addressed this issue by adding an "on" command, which will turn on the AC on whatever mode the code was entered in the config, and then send another command to the AC with the required "mode" + "fan speed" + "target temp".

this behavior is a bit tricky for the AC. for example let's say the "on" command refers to "heat" + "High" + "30". When we want to turn on the AC for cooling the room, it will first turn the AC on for "heat" , which will cause the AC to enter a "waiting"/"delay" mode since it is changing from cold to heat (assuming last operation was cool), and then it will change from heat mode to cool mode, making it pause again for a few seconds/minutes (it depends..), I believe this is damaging the AC unit.

what I would like to do is when changing mode, if the previous mode was off, to check if target temp is a dict , if so look for "on" command and send it. for example: "cool": { "auto": { "16": { "on": "<some_ir_code>", "regular":"<some_ir_code>" } } }

Would love to hear other thoughts regarding this patch.

yoavipm avatar Sep 27 '23 21:09 yoavipm

@yoavipm Hi, This is work for me) https://github.com/klimofey/SmartIR

klimofey avatar Jun 25 '24 13:06 klimofey