Toggle On support for all Electra AC when selecting a mode #1138
yoavipm
started this conversation in
Show and tell
Replies: 1 comment
-
Hi can you please share the modified code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've added a new "mode" for toggling on/off the AC - this feature is for ACs which don't turn on only by changing the mode.
The idea is as follow:
the remote sends a different command when pressing the power button, sending the entire current state of the remote to the AC, so in order for the AC to turn on while moving from "off" to an operation mode (cool, heat, etc..) we need to send a special "on/off" (toggle) code with the entire state (for example: turning on the AC on heat + 25c + low fan will have a different code than heat + 24c + low).
Therefore I've added a new "toggle" key in the json codes, and mapped all the permutations for modes (cool/heat/dry/fan_only) + fan speed + temperature.
It basically has the same structure as the original heat/cool/etc.. but it is all located under a "toggle" key.
If anyone is interesting with something like this, ping me so that I can send you the climate.py modified code.
My controller is Moes UFO-R11 , which I also added as a controller and it is now has pending PR.
Hopefully I can help all you Electra / other ACs which has same code for both on and off with the entire remote state.
Beta Was this translation helpful? Give feedback.
All reactions