ok, I just updated my program to enable the heater since its starting to get cold.
When you change the program in config.h, make sure to change the EEPROMSIG value to something else, it can be any value as long as it is different from the current value in your mega.
To change the program, you need to first define the "String" description of the devices in the exact order you are plugging to each outlet in #define OUTLET1 ... OUTLETn, the enter the same outlet names in #define OUTLETDEFS without the quotes.
Next the actual program goes into
#define OUTLETSDEFAULT
one line for each outlet.
There are 3 types of program,
outlets that are always on
outlets that are controlled by sensors
outlets that run on timed schedule
you specify 3 time values in seconds per outlet, initial off time, on time, off time
for always on, enter 0, SECS_PER_DAY,0
this means the outlet is on 86400 seconds.
for outlets controlled by sensor (like temp, ph or ATO), enter 0,0,0
for outlets on timed schedule, figure a cycle time for the schedule, that divides equally into 24 hours, say repeat a sequence every half hour. Then in that half hour, enter the number of seconds for initial off time, on time, then off time. The total number of seconds must equal half hour. That's it.
enter the active days (0xff for every day), and the mode (usually _auto)
active day value is bit mapped.
sun - bit 0, mon - bit 1, tue - bit 2, etc.