IR remote control A/C Domoticz - Wemos

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
wojtek_gtx
Normal user
Posts: 4
Joined: 01 Oct 2019, 23:38
Location: Poland
Contact:

IR remote control A/C Domoticz - Wemos

#1 Post by wojtek_gtx » 01 Oct 2019, 23:48

Hello
I made a remote control based on Wemos + Ir Led (PCB0100) + Ir Receiver.
I uploaded a soft Tasmot into it and read the TV remote control code from the console:
{ "IrReceived": {"Protocol": "NEC", "Bit": 32, "Date", "0x0202B24D"}}
after issuing the command:
IRsend {"Protocol": "NEC", "Bits": "32", "Data": "0x0202B24D"}
everything works TV reacts to the command.

Except that in the whole project I wanted the remote control from Air Conditioning and this is where the problems begin.
Command read in Tasmota:
{"IrReceived": {"Protocol": "UNKNOWN", "Bits": "50", "Data": "0x00000AA1F5779"}}

Unable to send command:
IRsend {"Protocol": "UNKNOWN", "Bits": "50", "Data": "0x00000AA1F5779"}

Going further, a colleague from the Polish forum instructed me to connect it all with Domoticz, the easiest way was to upload ESPEasy Mega, and link it all, and still nothing ESPEasy also does not support Protocol ":" UNKNOWN "...
I issue the command from Domoticz:
http://192.168.1.170/control?cmd=IRSEND ... A1F5779,50

Please help
Last edited by wojtek_gtx on 02 Oct 2019, 11:59, edited 1 time in total.

ToniA
Normal user
Posts: 59
Joined: 26 Aug 2016, 20:37

Re: IR remote control A/C Domoticz - Wemos

#2 Post by ToniA » 02 Oct 2019, 07:43

A/C codes are much longer and more complex than the TV ones. You just get a part of the dump, not the whole signal.

Take a look at ESPEasy plugins P035 and P088, both have support for certain A/C models: Those plugins are included in the IR_Extended image.

wojtek_gtx
Normal user
Posts: 4
Joined: 01 Oct 2019, 23:38
Location: Poland
Contact:

Re: IR remote control A/C Domoticz - Wemos

#3 Post by wojtek_gtx » 02 Oct 2019, 12:09

I have Hisense air-conditioning and in the P035 coding it is not in the description, but it is in P088 but it is there as a heat pump, how to run such a plugin to test it ?? Thank you for your interest ;-)

ToniA
Normal user
Posts: 59
Joined: 26 Aug 2016, 20:37

Re: IR remote control A/C Domoticz - Wemos

#4 Post by ToniA » 02 Oct 2019, 12:48

  • Upload the IR_extended image into your device
  • Define the HeatpumpIR device (it needs a GPIO)
  • Connect the LED (in series with some small resistor) between GPIO and GND. For visual testing you can use a visible light LED, for A/C control you need an IR LED
  • Go to the Tools page on your ESP Easy device (via browser), type something like 'heatpumpir,hisense_aud,1,1,0,22,0,0' into the 'Command' field and 'Submit'
  • The LED should blink briefly and the 'Command output' should tell you that the command was sent
More info here: https://github.com/letscontrolit/ESPEas ... pumpIR.ino

wojtek_gtx
Normal user
Posts: 4
Joined: 01 Oct 2019, 23:38
Location: Poland
Contact:

Re: IR remote control A/C Domoticz - Wemos

#5 Post by wojtek_gtx » 02 Oct 2019, 16:15

You helped me a lot, thank you very much.
My air condition transmits in WHIRLPOOL_AC code.
As I set in heat pump mode and chose the Hisens protocol, nothing happened.
I switched to the IR transmitter, connected the IR receiver and sent the command from the remote control in the log showed first the RAW2 code but one time WHIRLPOOL_AC jumped out.
Soft with IR_Extended mode was the key to success.
best regards

wojtek_gtx
Normal user
Posts: 4
Joined: 01 Oct 2019, 23:38
Location: Poland
Contact:

Re: IR remote control A/C Domoticz - Wemos

#6 Post by wojtek_gtx » 02 Oct 2019, 20:18

Commands depending on the possibilities:
IRSEND, WHIRLPOOL_AC, 830604620000922D0000000000D900010000080009,168
or
IRSENDAC, { 'protocol': 'WHIRLPOOL_AC', 'model': 2, 'power', 'he', 'mode' 'cool', 'Temp': 22, 'swingv' 'off', 'swingh' : 'off', 'light', 'on'}

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests