@blobule, you might be interested in this: Control a water heater and ground source heat pump based on cheap hours of spot priced electricity