SmartIR - Control your Climate, TV and Fan devices via IR/RF controllers

Same thing, ac hasn’t received commands for a couple of days now. The remote works great for everything else.

My Midea AC sends swing commands independently of any other setting, meaning it only sends swings commands, and it only has two:

-Swing (the blade moves just a little bit each time I press the button)
-Auto swing (the blade starts swinging, this command just alters the on/off, meaning its the same command)

I searched and I couldn´t find any info on how to implement the swing modes without having to add the command to every temp mode. I just want to add two new commands.

Any idea on how to do this?

You could just record the swing commands and use them with a service call, without using smart ir.

I’m trying to contribute IR commands for a currently unsupported Daikin model but my AC uses atypical settings for the “dry” function. Unlike most ACs dry function, which offer a temperature range like heat/cool, this AC dry mode uses [+2, +1, <blank>, -1, -2] where the temp is normally displayed.

Is there a proper way to capture this type of control and would this work with HA standard climate controls or do I need to pick a middle temperature value (like 25) and capture the IR codes ±2 from that?

For the pull request, is there a numbering scheme for new files? As this is a new Daikin capture, would 1114.json be the right file name?

For the record, the model is F22LTES-W. I’ve tried using existing Daikin files and found that heat/cool modes work but dry does not. The AC turns on but behaves differently than the factory IR remote with no change in humidity nor temperature.

hi all
got a quick question about IR codes,

do the codes need to be exactly the same as what’s in teh JSON files in order for the aircon to work exactly the same? or is close enough good enough?
i’m asking as my aircon model is not the exact model number as described…

i have the mitsubishi SRK71ZRA, the closest device i found was “SRK50ZSA-W” code 1686
my aircon responds to the code, but sometimes i wonder if ti’s acting exactly the same

if i do need to use my own set of codes, is there a quick way to “dump” the codes from the remote? or i have to just press everything haha

Thanks,
Sam

@shubu000 Code files for one model may work entirely, partially, or not at all for similar models, but it’s difficult to distinguish between working entirely or partially since there’s no status display on most AC units. The AC will just beep and do something while you watch your thermometer for changes.

At this time there’s no quick way to dump all codes. You’ll need to use the python tool and press through every mode, temp, and fan speed.

Good Evening,
I’ve a question about power sensor.
I used an aqara zigbee door sensor on the climate wing ! So i know when, for example, someone switch on the climate with the phisical remote (NOT with alexa or HA).

But my question is: it’s correct that if i switch on the climate with the phisical remote, i’m not able to change HVAC Mode or switch off the climate with HA because in the Lovalace Card, the drop down list with “off, dry, cool, heat” disapear ?

I can see an other time the drop down when i switch off the climate with phisical remote.
Thanks a lot for your answers !
M.

Its a known issue. Please try to add power_sensor_restore_state: true in your config,

Like This??

smartir:
climate:
  - platform: smartir
    name: Condizionatore Sala #ATC_ADF352 - Xiaomi
    device_code: 1060
    controller_data: remote.rm_pro_sala_remote
    temperature_sensor: sensor.temperatura_sala
    humidity_sensor: sensor.umidita_sala
    power_sensor: binary_sensor.accensione_ac_sala_contact
    power_sensor_restore_state: true

Thanks a lot
M.

1 Like

Thanks @kylehase for clearing that up

so far when i set the aircon to heating, i can feel the heat, i guess this will do for now

might have to get a temperature sensor and hook that up as feedback…

Hi, I just wanted to leave an example of a climate control using MQTT because I wan’t able to find anything. I have a Gree air conditioner, but it would be easy to modify for different brands. I live in the tropics and don’t have a unit with heat mode, you may add that too if needed.

This is for people that have an IR transmitter running Tasmota. If you are looking for a new IR transmitter, save yourself some work and purchase the Broadlink. I wish I knew that before.

In configuration.yaml you need something like:

climate:
  - platform: smartir
    name: Master AC
    unique_id: master_ac
    device_code: 9999
    controller_data: cmnd/master_ir/IRhvac
    temperature_sensor: sensor.master_thermostat_temp
    humidity_sensor: sensor.master_thermostat_humidity

“cmnd/master_ir/IRhvac” This should be replaced by your MQTT IR command topic name

  • temperature_sensor and humidity_sensor are optional, in my case I have the Govee H5075 in each room.

Then you need to create a file for your climate code in /config/custom_components/smartir/codes/climate/9999.json with something like this. You may edit it to your linking. (I had to cut part of it because of the max character limit restriction)

1 Like
{
  "manufacturer": "Gree",
  "supportedModels": [
    "Mine"
  ],
  "supportedController": "MQTT",
  "commandsEncoding": "Raw",
  "minTemperature": 61,
  "maxTemperature": 80,
  "precision": 1,
  "operationModes": [
    "cool",
	"dry",
	"fan_only"
  ],
  "fanModes": [
    "auto",
	"high",
	"mid",
	"low"
  ],
  "commands": {
    "off": "{\"Vendor\":\"Gree\",\"Model\":\"2\",\"Power\":\"Off\"}",
    "cool": {
	  "auto": {
	  	"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}"
      },
	  "high": {
	  	"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Max\",\"Light\":\"On\"}"
      },
	  "mid": {
	  	"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}"
      },
      "low": {
		"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Cool\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Min\",\"Light\":\"On\"}"
      }
    },
	"dry": {
      "auto": {
	  	"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Auto\",\"Light\":\"On\"}"
      },
	  "high": {
	  	"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Max\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Max\",\"Light\":\"On\"}"
      },
	  "mid": {
	  	"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Medium\",\"Light\":\"On\"}"
      },
      "low": {
		"61": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":61,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"62": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":62,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"63": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":63,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "64": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":64,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "65": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":65,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"66": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":66,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "67": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":67,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "68": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":68,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "69": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":69,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "70": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":70,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "71": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":71,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "72": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":72,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "73": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":73,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "74": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":74,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "75": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":75,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "76": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":76,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "77": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":77,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"78": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":78,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
		"79": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":79,\"FanSpeed\":\"Min\",\"Light\":\"On\"}",
        "80": "{\"Vendor\":\"GREE\",\"Model\":2,\"Mode\":\"Dry\",\"Power\":\"On\",\"Celsius\":\"Off\",\"Temp\":80,\"FanSpeed\":\"Min\",\"Light\":\"On\"}"
      }
    },
	"fan_only": {
	  "auto": {
...
         }
       }
    }
  }
}

Tried searching and didnt get too far.

I made a code file using a python tool I found on github. Compared it to another one I made that is working (different model) and it all looks good. But when I use it in HA only Off is shown in the operation mode. I can not actually turn the AC on. Any thoughts?

Hi guys,

In the past few weeks I noticed that the climate card for my AC is not showing the power state.

I have set a binary sensor using a TP-Link HS110 power plug and it is working fine meaning that when the AC draws power it is going to “On” and when it shuts down it goes to “Off”.

Before thisbstarted happening, I could see the gauge in the climate card turning into a fainted purple indicating that the power sensor was working and that the AC was identified as “On”.

Any ideas?

Im not sure but I would guess that the operation mode “auto” has to be written lower case instead of “Auto”.

1 Like

Thanks for the tip. I’ll give that a go next time I run into this. I ended up using MQTT, tasmota, a nodemcu, an IR Led, and IR receiver with the tasmota ir custom build using irhvac. This allowed me to use the remote and HA to control it.

Hi all,
I have got a Fujitsu AR-REF1E. The existing codes don’t seem to work for this remote. Any suggestions on how to proceed?

You could always ‘learn’ the codes into HA and create your own json file for the remote. There’s plenty of talk on how to do it in this thread.

I’m not seeing the data from this system anywhere in my InfluxDB system. I’m not sure how this all works. Is there a way to get it in there?