I need to write a climate control algorithm. My issue with the air conditioner is if I set it to 74 degree then turn it on/off, it stay 74 but if I cut power to it, then it reset with the air compressor turned off and the thermostat set to 66 but no air compressor.
So, I have to go through the IR and the remote so I can get some control over the compressor and temp
I was able to dump the codes from a receiver.
protocol=NEC1 device=12 subdevice=34 obc=56 hex0=227
on
uint16_t rawData[211] = {8900,4450, 550,1650, 550,1700, 500,600, 500,550, 550,550, 550,550, 550,1700, 550,1650, 550,1700, 550,1650, 550,1700, 500,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,1650, 550,1700, 550,1650, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 500,600, 500,600, 500,1700, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 500,600, 500,600, 500,550, 550,550, 550,550, 550,1700, 550,550, 550,550, 500,600, 500,1700, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 500,600, 500,600, 500,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,1650, 550,550, 550,550, 550,550, 550,550, 550,550, 550,1650, 550,550, 550,1700, 550,550, 500,1700, 550,1650, 550,550, 550,1700, 550,550, 550,550, 550,550, 550,550, 500,600, 500,1700, 550,550, 550,550, 550,1650, 550,1700, 550,1650, 550,550, 550,1700, 500}; // Protocol=NEC Data=0xC3E00700
uint16_t data = 0xC3E00700;
uint16_t rawData[211] = {8900,4450, 550,1700, 550,1650, 550,550, 550,550, 550,550, 550,550, 550,1650, 550,1700, 550,1650, 550,1700, 500,1700, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 500,600, 500,550, 550,600, 500,1700, 550,1650, 550,1700, 550,550, 500,600, 500,600, 500,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,1650, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,1650, 550,550, 550,550, 550,550, 550,1650, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 500,600, 500,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,550, 550,1650, 550,550, 550,1700, 550,550, 550,1650, 550,1650, 550,550, 550,1700, 550,550, 550,550, 550,550, 550,550, 550,550, 500,1700, 550,550, 550,550, 550,1650, 550,1700, 550,550, 550,550, 550,1650, 550}; // Protocol=NEC Data=0xC3E00700
uint16_t data = 0xC3E00700;
and I can turn the machine on without any issues after cloning a code or two.
My issue is this. The algorithm I am trying to write would be so much better if I could send a temperature like 73 degree and not up/down. I have to account for a brownout.
There are many hints on this very exotic (looks 3rd party to the manufacturer of the ac) remote control that it has more codes available than I whats on the face of the remote.
How do I use that dump to track down the rest of the codes? The remote gives no hints.