Future product: Infrared transmitter to control dumb devices

This would be great if you could manufacturer one that is powered/controlled from the USB port of your cameras.

It would enable internal house items such as TVs, Receivers, AirCons/Heaters to be controlled via IFTTTT.

Here’s a use case I’ve been wanting to achieve:
mobile detects I’ve left work for the day.
mobile detects my vector/bearing of heading home.
If temperature is above/below set threshold and time is after set threshold → activate infrared transmitter to switch on aircon/heater.