Added type and precision casting to values. Broke up t readings and kwh readings.