When your Octopus Agile energy price is below x pence per kWh for at least y thirty-minute periods then run your Hive hot water.
Set your own price threshold and also how many 30-minute contiguous periods you need for the water to fully heat up.
Popular services on IFTTT