Pat,
I dont have one, but I think I have developed calculation methodology to assist you in determining.
The database will give you the Kwh's for a one hour period. It will give you the watt seconds number as well and number of seconds used in the Kwh's calc (typically 3600). So there is no real "run time" compoenent that I can see.
The data is "missing" one variable that is required. However if you knew the expected Kwh's for a device that was running at full, or the entire hour, you could back out run time.
I used my Pool pump as a test factor. I know it uses 1.2Kwh per hour. I found a period that it ran less than one hour. My pump is on Aux5, so replace that variable with whatever channel you are using.
Aux5Last minus Aux5First
802729408-800303168
=2426240
So that is 2426240 watt seconds. Divided by 3600 / 1000 will give kilowat hours = .67395
I know that my device runs at 1.20 per hour, so by dividing .67395 by 1.2 will give how many hours in that period it ran. so 0.561625 hours or 33.6975 minutes.
If you did the same calculation over a 24 hour, or longer period, you could determine run time for that period.
Big ass u me though on the constant Kwh's of the device. I know my pump does not vary, but if it were my furnace, with a variable blower or something it would not be accurate (good guide probably but not 100%)
Andrew
Andrew, do you have kind of routine that extracts a database value and determines on and off duration?
I was thinking that, with my heat/cool on its own channel, it wouldn't be too hard to determine how long it was running. I know you dabble with the SQL aspect of this and I don't have a clue about SQL so I thought I would ask.