Does your energy provider offer any devices that will do this automatically? I have a Thermostat that talks to my power meter, when the rate changes I tell it how much less I want to run the AC. Best of all the thermostat was FREE (including installation) for signing up for the variable price plan.
OGE: SmartHours
Carrier ComfortChoice