
Your smartphone can be used as a universal remote control for your home devices.
App on your smart phone communicates via Wi-Fi with the base station / hub / IR - InfraRed Transmitter, which then translates the command into IR for the devices.
Many products are available that allow you to use your smartphone as a remote. You can build your own using 'arduino'.
https://github.com/e-tinkers/esp32_ir_remote
Some Sample products -
Pronto is a small hub that's able to turn your iPhon...
More