Can I use Cayenne for an IR(infrared) project

if you are looking to control it via raspberry then have a look at this Air conditioner on/off control (raspberry pi)