Page 1 of 1

SSgauges and Meteotemplate

Posted: Tue 05 Dec 2017 3:04 pm
by K8POS
Mark,
I hope you can shed some light here.
I am using Cumulus, with Meteotemplate.
I have the SSGauges block installed and running. How ever the displayed WIND Speed shown by the pointer, appears to be showing AVERAGE wind speed and not the Current wind speed.
I know your code has really been rewritten to run in Meteotemplate. I am just trying to find the file to edit (or at least look at) that passes the data to the gauge pointer.
My fear is that he is using an API call to get the info, and all that is available is the average.
If I can not figure this out, I may just delete the block, reinstall SSgauges to run the way you had originally intended. I can then run it within Meteotemplate in a Iframe or something.

Re: SSgauges and Meteotemplate

Posted: Tue 05 Dec 2017 3:36 pm
by mcrossley
I can't see where the values are coming from, but it looks like it is using the "average today" for the average value, and the current 10 minute average for the "latest". The gauges are displaying the same fields from the JSON as the standard gauge, but what I cannot see is what data is being put into those fields.

I don't see why the "integrated" version couldn't be adapted to still use the "old" realtimegauges.txt file though.

Re: SSgauges and Meteotemplate

Posted: Tue 05 Dec 2017 4:33 pm
by K8POS
Mark,
Thank you.
I'll keep plucking at it, if I cant figure it out will just install the original gauges like I use to have and figure a way to integrate them into Meteotemplate.

Bob