If you need BOTH IR and RF Control you could try the Broadlink RM Pro, (http://www.broadlink.com.cn/en/home-en.html).It uses the “e-control app” on google play (https://play.google.com/store apps/details?id=com.broadlink.rmt&hl=en)
and can be programmed with an IFTTT(If This Then That)type interface.It can learn RF(333 & 433MHz) and IR Codes and there are other Broadlink products like the S1(Security System) and A1(Air Quality,Temp,Humidity etc) that C1(IP Camera), WiFi switches and Plugs which work with it. Might be worth a Look?. Lots of info on it online(Just Google or YouTube “Broadlink”.