Page 1 of 1

SSGauges Wind speed

Posted: Mon Dec 04, 2017 5:19 pm
by BobW55
Is the wind speed shown on the SSgauges actual speed, or calculated average?
Does the gauges display what is reported in the "REALTIME.TXT" or from the meteotemplateLive.txt?

I am seeing on every update my wind direction changing around. VERY windy today, but the wind speed only changes about once per minute. I see changes in the REALTIME.TXT every 10 to 20 seconds for wind speed, but looks like the gauge is using the wind speed average?

Re: SSGauges Wind speed

Posted: Mon Dec 04, 2017 5:53 pm
by Jachym
Hi,
it uses meteotemplateLive, all blocks use the API file, realtime is not being used

Re: SSGauges Wind speed

Posted: Mon Dec 04, 2017 6:46 pm
by BobW55
Ok I understand.

Is that reading an average, or the actual wind speed?

From realtime.txt
List of fields in the file

Field #
1 19/08/09 Date as 2 figure day/2 figure month/2 figure year
2 16:03:45 time(always hh:mm:ss as per computer system)
3 8.4 outside temperature
4 84 relative humidity
5 5.8 dewpoint
6 24.2 wind speed (average)
7 33.0 latest wind speed reading


Is line 6 or line 7 being used to make the meteotemplateLive.txt?

Re: SSGauges Wind speed

Posted: Mon Dec 04, 2017 10:21 pm
by Jachym
HI,
wind speed and gust is in general a problem with Cumulus, because of the way the updates and CRON work. The other software (WD, Meteobridge, WeeWx and WeatherCat) support the API directly and so the values are always accurate and up-to-date. Unfortunately with Cumulus it is not so and the template does not use the realtime directly. Realtime is used only for db updates and then data is taken from there if API is not suppoerted directly.

Re: SSGauges Wind speed

Posted: Mon Dec 04, 2017 11:24 pm
by BobW55
The question is:
Is the displayed wind speed, from the AVERAGE wind speed, or actual wind speed?
I looks like it is using the average, and I need it to use the actual.

Re: SSGauges Wind speed

Posted: Mon Dec 04, 2017 11:57 pm
by Jachym
If I remember correctly it should be current, but in case of Cumulus it is not really current due to the way how the updates work for Cumulus

Re: SSGauges Wind speed

Posted: Tue Dec 05, 2017 12:27 am
by BobW55
Jachym,

Are you extracting the AVERAGE wind Speed, or the ACTUAL wind speed?
I have my updates running every 12 seconds. You can see the wind direction updating all the time.
Wind speed is static. I think this is because you are using the AVERAGE wind speed and not ACTUAL.

Re: SSGauges Wind speed

Posted: Tue Dec 05, 2017 12:51 am
by Jachym
I cant remember why exactly I set it like this, but I was looking into it, the problem with this particular plugin/block is that Im not the author of the original SteelSeries script, I modified it a lot, but I cant tell exactly what the gauges are doing. I only remember that I was testing this with people and this is what we concluded was the best setting

"wlatest":"<?php echo number_format($current['G'],1,".","")?>",
"wspeed":"<?php echo number_format($today['avgW'],1,".","")?>",
"wgust":"<?php echo number_format($current['W'],1,".","")?>",
"wgustTM":"<?php echo number_format($today['maxG'],1,".","")?>",

Re: SSGauges Wind speed

Posted: Tue Dec 05, 2017 5:58 am
by BobW55
OK,
The problem I am having is that the WIND SPEED Gauge is displaying the Average Wind Speed, NOT the CURRENT wind speed.
My page refreshes the gauges every 12-15 seconds (Depending on server speed) The wind direction can clearly be seen updating.
Snip2.PNG
Snip2.PNG (59.44 KiB) Viewed 11048 times
Snip3.PNG
Snip3.PNG (59.78 KiB) Viewed 11048 times
Wind speed remains constant, even though it dropped 1.5 MPH in this time period.

Re: SSGauges Wind speed

Posted: Tue Dec 05, 2017 10:16 am
by Jachym
You would have to play around with those parameters I posted, i really cant tell which one is the one you want,

Re: SSGauges Wind speed

Posted: Tue Dec 05, 2017 3:36 pm
by BobW55
Jachym,
Thank you,
I am still playing with it. Just trying to figure out where the data is coming from that moves the wind speed pointer. I found the parameters you gave me, but they do not appear to affect the gauge movement. I'll keep playing with it and let you know.