smartHomeHub / SmartIR

Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)
MIT License
2.02k stars 996 forks source link

Update 1702 codes #801

Closed tenkaibr closed 2 years ago

tenkaibr commented 2 years ago

Hello guys. and I ve a

Hi guys, Im from Brazil and I have an Electrolux QI/QE09F air conditioner but the problem is that I think this device sold here is different from the rest of the world.

For example, here we don't have the "heat" function but instead we have the "eco" function.

The 1702 codes works fine but the functions are wrong and many others are not included such as display on/off and oscillating.

My question is: can I include these functions or do I have to request an upgrade? I tried changing the "heat" function to "eco" (since the codes are the same) but it didn't work. Like this:

  "operationModes": [
    "cool",
    "fan_only",
    "dry" >>>> changed to "eco"
  ],

I am willing to copy all the codes but I need instructions on how to proceed.

Other doubt: is it possible to add new modes?

I think the display on/off function would be like a conditional, just like the oscillating. To clarify, if the display is off, use these codes. If the display is on, use these codes. Is this kind of thing possible?

Here is a picture of the features of my air remote control:

controle

There is another issue, the eco function and the fan only function only have 3 ventilation modes. While the others have 5 modes.

I tried to delete the codes but the integration does not load.

tenkaibr commented 2 years ago

I was thinking about something like this:

  "operationModes": [
  "cool",
  "eco",
  "fan_only"
  ],
  "fanModes": [
    "auto",
    "low",
    "mid",
    "high"
    "turbo"
  ],
  "swingModes": [
      "swing_on",
      "swing_off",
    ],
  "displayModes": [
      "display_on",
      "display_off",
    ],

And the commands would be something like this:

  "commands": {
    "off": .....
    "cool": {
        "display_on",
            "auto": {
                "swing_on": {.......},
                "swing_off": {.......},
             },
            "...": {
                "swing_on": {.......},
                "swing_off": {.......},
             },
         },
        "display_off",
            "auto": {
                "swing_on": {.......},
                "swing_off": {.......},
             },
            "...": {
                "swing_on": {.......},
                "swing_off": {.......},
             },
         },
     },

Is it possible to do something like this?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.