Place to put your Basic demos and examples

Moderator: Mmiscool

User avatar
By tcpipchip
#58787 wich is the difference between ir.send() and ir.send.nec() and ir.send.sony() ?

I can read the the GREE AC infrared code using ir.recv.full() without problems! Shows the "code+nec+32" string...

But, when i send using ir.send() with parameters received from ir.recv.full(), no answer from AC.

Some tip ?

Must i enable to use too ir.send.lg(), ir.send.whynter(), etc to see if works ?

BTW, it works with DVD, TV, PROJECTOR, etc...but with that AC model no!

TCPIPCHIP
User avatar
By bugs
#58805 I think you will be unlucky.
:(
Google tells me that the Gree IR code is not standard NEC 32 bits length so although you may decode the first part as NEC, it is actually much longer.
Here is an example page:-
https://myesp8266.blogspot.co.uk/2016/05/keep-your-house-cool-with-esp8266.html
User avatar
By bugs
#58830 Does ESP BASIC have raw mode transmit? I cannot find a reference in the documentation.

Even using an Arduino there are problems with the long AC codes as the raw buffer is only 100 bytes. Increasing this in the library to 255 helps with some ACs.
More detail here:-
http://www.analysir.com/blog/2014/03/19/air-conditioners-problems-recording-long-infrared-remote-control-signals-arduino/