Here is a gadget that lets you control your water heater from your smartphone. The Aquanta Digital Water Heater Timer lets you monitor hot water availability. It also provides you with maintenance alerts. You can view weekly and monthly data on your phone.
This heater timer is compatible with electric storage style water heaters and natural water heaters. It supports IFTTT.