Strange behaviour of IR transmitter.
I’m still new to the HA scene, but have already spend a good number of things learning, trying, playing, frustrating, rebuilding etc. (giving the abbreviated version) My next step was to put Tasmota on my Eachen IR system to control an AC unit. I used the remote to see the message on the console of the IR, copied the message, created a stand-alone automation to send it to the AC from within HA.
But when I send the “ON” command, the AC turns “OFF”. I thought I made a mistake, but I couldn’t figure out what was wrong. I eliminated all the inbetween steps until in increased the console logging on the Tasmota and found this:
22:15:08 MQT: Received Topic "cmnd/IR_LR/IRHVAC", Data Size 338, Data "{"Protocol":"SHARP_AC","Bits":104,"Data":"0x0xAA5ACF10CB113200088000F051","Repeat":0,"IRHVAC":{"Vendor":"SHARP_AC","Model":-1,"Power":"On","Mode":"Cool","Celsius":"On","Temp":26,"FanSpeed":"Medium","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}"
22:15:08 SRC: MQTT
22:15:08 CMD: Group 0, Index 1, Command "IRHVAC", Data "{"Protocol":"SHARP_AC","Bits":104,"Data":"0x0xAA5ACF10CB113200088000F051","Repeat":0,"IRHVAC":{"Vendor":"SHARP_AC","Model":-1,"Power":"On","Mode":"Cool","Celsius":"On","Temp":26,"FanSpeed":"Medium","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}"
22:15:08 MQT: stat/IR_LR/RESULT = {"IRHVAC":{"Vendor":"SHARP_AC","Model":1,"Power":"Off","Mode":"Off","Celsius":"On","Temp":21,"FanSpeed":"Medium","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}
22:15:08 MQT: tele/IR_LR/RESULT = {"IrReceived":{"Protocol":"SHARP_AC","Bits":104,"Data":"0x0xAA5ACF1000213000088005E071","Repeat":0,"IRHVAC":{"Vendor":"SHARP_AC","Model":-1,"Power":"Off","Mode":"Off","Celsius":"On","Temp":15,"FanSpeed":"Medium","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}}
Mind the “Power”:“On” in the transmission and the “Power”:“Off” in the result and telemetry.
So if I’m correct, it sends the “ON” command, but in the result, there is the “OFF” command (as well as some of the other fields that I didn’t set). I’m probably doing something wrong and searched before writing this message, but I didn’t get find anyone that seems to have this (beginners?) problem.
Your help will be creatly appreciated!