Heating degree days

Hi Brian,

I didn’t know if you ever had time to look into the heating degree day problem. With cooler weather here in the northeast US I’ve been able to refine the problem. It seems that the tag hddyear only mirrors the current month with out totaling. It would also be nice to set the year start month to reflect our heating season, as with the snow season. Cooling degree days work fine.

I’m running b293 on Vista.

$hddday = ‘9.8’; // Heating Degree for day
$hddmonth = ‘9.8’; // Heating Degree for month to date
$hddyear = ‘9.8’; // Heating Degree for year to date
$cddday = ‘0.0’; // Cooling Degree for day
$cddmonth = ‘0.0’; // Cooling Degree for month to date
$cddyear = ‘589.1’; // Cooling Degree for year to date

Thanks, Roger

try a new .zip update, ready now

Thanks Brian…downloading now

Hi Brian,

Heating degree days are now totaling correctly.

Is it possible to change heating degree day year to a season?

Many thanks,
Roger

I guess so…e,g a new tag for that?

Hi Brian,

That’s a great idea using a new tag and will work well for me and I would guess most others in the northern hemisphere.

July 1 → June 30 is our standard here in the NE USA.

No hurry as I’ve reworked my dashboard php and that will last until the end of the year.

Thanks, again!!
Roger

I have added hddseason and cddseason custom tags now to the latest .zip update

Thanks, Brian
I’ll download tonight
Roger

Hi Brian,
I finally got to download and install latest update with hddseason tag but values returned are grossly in error.

$hddseason = ‘2325.0’; //Heating degree days year to date (1st july to 30 june)(slow)
$cddseason = ‘251.5’; // Cooling degree days year to date (1st july to 30 june)(slow)

Values should be about 340.0 and 470.0 respectively.

If you could have a look when you have a chance I’d appreciate it!
Thanks
Roger

use a new .zip update, ready now

Hi Brian,
They’re still not working right.

hddseason is now picking up last years season total ie: 1/7/2014 - 30/6/2015
cddseason I’m not sure what this is but it’s about 100 degrees low.
Actually as I look further it seems this value is for last season’s year as well.

$hddseason = ‘6779.2’; //Heating degree days year to date (1st july to 30 june)(slow)
$cddseason = ‘375.6’; // Cooling degree days year to date (1st july to 30 june)(slow)

Thanks!!
Roger

try yet another .zip update
the problem was it was using this months data when it should not have been

Hi Brian,
Still no luck. Tags are still returning the same values as before, total for season ending June 30, 2015. They should be returning the total (to date) for the season ending June 30, 2016.
Thanks for all the time you’ve spent on this!!
Roger

try another .zip update…

Thanks, Brian…that seems to have done the trick!!

just takes me a while to get my head around seasons in code