# MySQL CONFIG VARIABLES

$host = "127.0.0.1";
$database = "sump";
$tablename = "sump";
$sumptable = "sump";
$pumptable = "pump";

$user = "USERNAME";
$pw = "PASSWORD";

$SERIALPORT="/dev/sump";
$SERIALBAUD=38400;

#Delta needed for SQL update
$delta{"cistern"}=1.3;
$delta{"sump"}=0.25;
$delta{"1wire"}=0.5;		# half a degree

$maxage{"sump"}=60*15;		# Every 15 minutes minimum
$maxage{"cistern"}=3600*6;	# Every 6 hours minimum
$maxage{"1wire"}=60*15;		# Every 15 minutes


$MAXDURATION=600;

#Sleep duration between updates/checks, 1 second minimum
$SLEEPDUR=1;

# Temperature loggin interval
$TEMPERATUREINTERVAL=60*30; # Every 30 minutes




