Saratoga Feels Like Temperature

I just noticed on my Saratoga website that the Feels Like temperature is a little wonky.

This afternoon, the outdoor temperature was 81.5F and the Feels Like temperature showed 97F on my Saratoga site. My Leuven site 86F. As did my Davis console.

Where do I need to look in the code?

Thanks


With Weather-Display, the ajaxWDwx.js script uses humidex for the feels-like temperature

		// FeelsLike
		temp = clientraw[4]; // note.. temp in C
        if (temp <= 16.0 ) {
		  feelslike = clientraw[44]; //use WindChill
		} else if (temp >=27.0) {
		  feelslike = clientraw[45]; //use Humidex
		} else {
		  feelslike = temp;   // use temperature
		}
		var feelslike  = Math.round(convertTemp(feelslike));
        set_ajax_obs("ajaxfeelslike",feelslike + uomTemp);

Likewise, in ajax-dashboard.php the $feelslike from testtags.php is used

                  <?php langtrans('Feels like'); ?>: <span class="ajax" id="ajaxfeelslike">
				    <?php echo $feelslike . $uomTemp; ?> 
					</span>
				  


                  <?php } // $feelslike ?>

and the value is updated by the ajaxWDwx.js script when the AJAX starts running.

I’ve never understood Humidex.

For my weather camera image text, I had to use a formula to calculate Feels Like, which is close to the Davis Console Feels Like.

There’s an Apparent temperature [130] that I’ve changed it to. I’ll follow it for a while to see what it shows.

I’m not sure why WD doesn’t pass a Feels Like temperature in clientraw.

Thanks for the code location.

Mort

Ken,

Some time ago I tried to edit the dashboard using $feelslikedp.
It did show feelslike temp with a decimal point but it did not autorefresh.
How would that code look in ajaxWDwx.js

TIA

Since clientraw.txt does not include a value for ‘feelslike’ (only for offsets [45]=Humidex and [112]=Heat Index) there is not data for an AJAX update to ‘feelslike’ from PHP.

Unfortunately AFAIK there is no universally agreed definition of “Feels Like”.

Clientraw also has [130]=Apparent Temp.

That’s what I’m using now instead of Humidex. I’ll see how it works out. I’ve no idea on how it’s calculated.