Tasmota MQTT IRHVAC Controller

Sorry for my late reaction here. The new version fix the issue. I apologize to everyone having trouble while waiting for the fix. And I want to thank @nao-pon for his help in the opened github issue.

3 Likes

Hi,

I have been having no success setting up my Fujitsu using Tasmota - I have discounted the HASS aspect as the cause of my issues, as I cannot turn on my Fujitsu using Tasmota directly.

My remote is an ARREW1E, I can turn on my AC using the IRremoteESP8266 library directly, but Tasmota’s implementation of it doesn’t work. I raised this issue, hopefully that gets some traction as I want to keep using Tasmota if at all possible.

If you have any tips on how I might modify the Tasmota code to use the IRremoteESP8266 library more faithfully, that would be much appreciated :slight_smile: - I am about to lose a weekend going into the weeds with the Tasmota code, so anything that gets me looking in the right place would be valuable!

that freaking avatar man… You’re going to break some monitors

2 Likes

Hi, I’m just starting to get all the components for this project.
Do i need the PIR motion sensor as well?

Hi,

I have the same issue with a Fujitsu ARREW1E turns off but that’s all.
Please post an update if manage to solve it

The PIR is not mandatory, especially for controlling the AC … I added it in my device, as the box is bigger enough to fit it in, and it is helpful for me. :slight_smile:

1 Like

Hi, i still have the issue the in the power always send and make turn off the ac just with temp change…
any idea how shold i fix it ? my ac is electra with AIRWELL protocol

first of all… thnx heaps for doing this… spent hours last nt reflashing a problematic mirabella genio ir device and if this part wasnt so easy because of your effort it would have been a dissapointing day haha

i do have a little problem… my aircon is an old lennox window mount unit with an led display.
when i use this setup the display does not light up
i have narrowed it down to the “light” variable sent over mqtt
it is always off.
when i manually send the command with light set to on it works as desired but i cant change your platform to send the light parameter no matter what i try

i have added default_light_mode: "On" and even tried default_light_mode: "on"
but off is still transmitted… i even tried editing the constants python file so it defaults to on but no joy
is there a proper way to achieve this that i have completely missed?

edit: in the meantime im avoiding the issue by editing climate.py to send a constant value for this :slight_smile:

Hi all, I got ir receiver part working, but I’m so sure with irsend
Currently using breadboard with eps8266 for ir transmitter
I’ve included the script, add scripts into button card
But I don’t see anything when I try to send some ir commands in the tasmota logs
Any ideas? I’m not quite sure which log output I should post here

is it normal that my ac uses gree for everything and then kelvinator for the timer?

normal use of the thermostat in home assistant produces this

08:33:19.175 CMD: Grp 0, Cmnd 'IRHVAC', Idx 1, Len 324, Data '{"StateMode": "SendStore", "Vendor": "GREE", "Model": "1", "Power": "on", "Mode": "cool", "Celsius": "on", "Temp": 26, "FanSpeed": "min", "SwingV": "auto", "SwingH": "off", "Quiet": "off", "Turbo": "off", "Econo": "off", "Light": "on", "Filter": "off", "Clean": "off", "Beep": "off", "Sleep": 0, "Clock": 1053, "Weekday": 2}'

im getting

08:20:54.705 MQT: tele/tasmota_8C3A30/RESULT = {"IrReceived":{"Protocol":"KELVINATOR","Bits":128,"Data":"0x199A6050002000F0199A606000E001B1","Repeat":0,"IRHVAC":{"Vendor":"KELVINATOR","Model":-1,"Mode":"Cool","Power":"On","Celsius":"On","Temp":26,"FanSpeed":"Auto","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"On","Filter":"On","Clean":"Off","Beep":"Off","Sleep":-1}}}

when i turn the timer on with the real remote controller
when i try sending a payload to cmnd/tasmota_8C3A30/irhvac with the following data

{"Protocol":"KELVINATOR","Bits":128,"Data":"0x199A6050002000F0199A606000E001B1","Repeat":0,"IRHVAC":{"Vendor":"KELVINATOR","Model":1,"Mode":"Cool","Power":"On","Celsius":"On","Temp":26,"FanSpeed":"Auto","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"On","Filter":"On","Clean":"Off","Beep":"Off","Sleep":-1}}

turns the unit off, so i thought it might just want the data
so i tried

{"Protocol":"KELVINATOR","Bits":128,"Data":"0x199A6050002000F0199A606000E001B1","Repeat":0}

but everything i send to the unit just turns it off

Happy user here and thanks for all your work. I lashed up a controller using an esp8266 and it is working on one air conditioner. I made a pcb and cant get home assistant to recognise a second controller for an identical air conditioner in a different part of the house. Is there any issue with having two controllers?

######################
#                                       #
#   Bedroom Aircon          #
#                                      #
#####################

  - platform: tasmota_irhvac
    vendor: "panasonic_ac"
    hvac_model: "6" 
    name: "Bedroom AC"
    command_topic: "cmnd/bedroom_aircon/irhvac"
    state_topic: "tele/bedroom_aircon/RESULT"
    temperature_sensor: sensor.ble_temperature_a4c1383b4547
    unique_id: 'bedroom_panasonic_ac'
  # protocol: "PANASONIC_AC"
    away_temp: 24 #optional - default 24 int value
    supported_modes:
      - "cool"
      - "heat"
      - "dry"
      - "fan_only"
      - "auto"
      - "off"
    supported_fan_speeds:
      - "min"
      - "low"
      - "medium"
      - "high"
      - "max"
      - "auto"
    supported_swing_list:
      - "off"
      - "vertical" #up to down
      - "horizontal" # Left to right
      - "both"
  

#####################
#                                      #
#  Office Aircon               #
#                                     #
#####################

  - platform: tasmota_irhvac
    vendor: "panasonic_ac"
    hvac_model: "6" 
    name: "Office AC"
    command_topic: "cmnd/office_aircon/irhvac"
    state_topic: "tele/office_aircon/RESULT"
    temperature_sensor: sensor.ble_temperature_a4c1383b4547
    unique_id: 'bedroom_panasonic_ac'
  # protocol: "PANASONIC_AC"
    away_temp: 24 #optional - default 24 int value
    supported_modes:
      - "cool"
      - "heat"
      - "dry"
      - "fan_only"
      - "auto"
      - "off"
    supported_fan_speeds:
      - "min"
      - "low"
      - "medium"
      - "high"
      - "max"
      - "auto"
    supported_swing_list:
      - "off"
      - "vertical" #up to down
      - "horizontal" # Left to right
      - "both"

@kiwipaul Should not be a problem …

So the initial post contains a schematic for the IR receiver and emitter, but how do I connect & configure the PIR & temp sensors?

i have the same issue not sending the MQTT but receiving is working well

@sebakerckhof
BME280 tehmp/humidity/air pressure:
VCC → 3.3V
GND → GND
SCL → D7
SDA → D5
AM312 PIR:
VCC → 3.3V (or 5V)
GND → GND
VOUT → D2


In order to make it work I’m using Tasmota 8.1 ircustom bin

I’m trying to add multiple transmitters to mine to control ACs in different rooms but as soon as I copy and add the config for the second AC the entity for the first one disappears

Hello, after several months working, now my 3 tasmoted devices are inside HA as entity unavailable.
Can you help me to recover its ??

I updated your newest update
HA: 2022.3.5
Tasmota 10, upgraded to 11 no changes
Wemos D1 Mini

This is one example climate

* platform: tasmota_irhvac
name: "Room papis Gree"
command_topic: "cmnd/tasmota/wemos/ir/papis/IRHVAC"
state_topic: "tele/tasmota/wemos/ir/papis/RESULT"
temperature_sensor: sensor.lumi_lumi_weather_temperature_papis
vendor: "GREE"
min_temp: 16 #optional - default 16 int value
max_temp: 32 #optional - default 32 int value
target_temp: 21 #optional - default 26 int value
initial_operation_mode: "off" # optional - default "off" string value (one of the "supported_modes")
away_temp: 24 #optional - default 24 int value
precision: 1 #optional - default 1 int or float value. Can be set to 1, 0.5 or 0.1
supported_modes:
  * "heat"
  * "cool"
  * "dry"
  * "fan_only"
  * "auto"
  * "off"
supported_fan_speeds:
  * "medium"
  * "high"
  * "min"
  * "max"
supported_swing_list:
  * "off"
  * "vertical" #up to down
default_quiet_mode: "Off" #optional - default "Off" string value
default_turbo_mode: "Off" #optional - default "Off" string value
default_econo_mode: "Off" #optional - default "Off" string value
hvac_model: 1 #optional - default "1" string value
celsius_mode: "On" #optional - default "On" string value
default_light_mode: "Off" #optional - default "Off" string value
default_filter_mode: "Off" #optional - default "Off" string value
default_clean_mode: "Off" #optional - default "Off" string value
default_beep_mode: "Off" #optional - default "Off" string value
default_sleep_mode: -1 #optional - default "-1" string value 

I’m facing the same problem.
My climate.bedroom_ac entity suddenly disappeared after an upgrade.
I’m using an IR Blaster with tasmota 9.5.1 firmware.

Hello, I solved the problem reducing the complexity of the topic. deleting all “/”

1 Like

@poraschaudhary Same problem as who? After what upgrade? Explain everything (even small details) and include information like versions, configs and logs from Home Assitant and Tasmota.