Page 1 of 1
Add Wind Gust
Posted: Tue 02 Feb 2016 12:10 pm
by droiddk
Hello
Thank you for a very nice software!
Is it possible to add a gauge showing the wind-gust? Guess it is possible but cannot find out how
I use Virtual Weather Station.
If I make a donation for Cumulus will this also go to the author of SteelSeries Gauges? Want to support this nice software.
Kind Regards
Re: Add Wind Gust
Posted: Tue 02 Feb 2016 12:15 pm
by steve
droiddk wrote:If I make a donation for Cumulus will this also go to the author of SteelSeries Gauges? Want to support this nice software.
No - use Mark's link in the first post in this thread -
https://cumulus.hosiene.co.uk/viewtopic.php?f=21&t=7186
Re: Add Wind Gust
Posted: Tue 02 Feb 2016 12:18 pm
by droiddk
Thanks, done that.
Regards
Re: Add Wind Gust
Posted: Tue 02 Feb 2016 12:43 pm
by mcrossley
droiddk wrote:
Is it possible to add a gauge showing the wind-gust? Guess it is possible but cannot find out how
I use Virtual Weather Station.
That depends on your level of experience in coding JavaScript. It is doable, but not simple. The wind speed gauge does have a gust speed indicator anyway.
A simpler option would be to change the existing wind speed gauge to show the gust speed.
droiddk wrote:
Thanks, done that.
Thank you.
Re: Add Wind Gust
Posted: Tue 02 Feb 2016 12:54 pm
by droiddk
mcrossley wrote:
That depends on your level of experience in coding JavaScript. It is doable, but not simple. The wind speed gauge does have a gust speed indicator anyway.
A simpler option would be to change the existing wind speed gauge to show the gust speed.
.
No experience at all. I can do some HTML, CSS & PHP but not Javascript.
If I can copy the existing wind speed gauge to show gust that would be great. So I have one gauge for wind speed and one gauge for gust.
Kind Regards
Re: Add Wind Gust
Posted: Thu 04 Feb 2016 8:40 pm
by droiddk
How to change the existing wind speed gauge to show the gust speed ?
Regards
Re: Add Wind Gust
Posted: Thu 04 Feb 2016 10:59 pm
by mcrossley
Sorry, I am really busy at work at the moment. I'm also away this weekend until next Wednesday, so it will be the back-end of next week before I can look at this.
Re: Add Wind Gust
Posted: Thu 10 Mar 2016 5:24 pm
by droiddk
Hi
Any news about this?
Regards
Re: Add Wind Gust
Posted: Thu 10 Mar 2016 5:35 pm
by mcrossley
If you just want the pointer to show the gust speed on the existing gauge, then edit gauges.js at line 1725...
Code: Select all
change...
cache.value = extractDecimal(data.wlatest);
to...
cache.value = extractDecimal(data.wgust);
That should do it.
Re: Add Wind Gust
Posted: Thu 10 Mar 2016 6:41 pm
by droiddk
Thank you. Working fine.
I would really appreciate if both options could be possible at the same time, sometime in the future
Regards