I would run some numbers first to see if the saving are worth the work.

Even if the water heater was running continuously you would only be able to save 12kWH.
Over here that would be around $1.20; and could be a lot less if the water heater cycled during operation as most storage water heaters do.