Author Topic: FOSHKplugin - brief introduction  (Read 25475 times)

0 Members and 1 Guest are viewing this topic.

Offline thunder.ky

  • Weathering all the things!
  • Member
  • *
  • Posts: 44
  • GW2000B, WS90, WeeWX, FOSHKplugin
    • thunder.ky
Re: FOSHKplugin - brief introduction
« Reply #350 on: March 11, 2023, 02:46:35 PM »
Wow, Oli, you're really making FOSHKplugin more and more advanced.  [tup]

I'll take a look at the new TAGFILE functionality over the next week!
Ecowitt GW2000B v2.2.2
Ecowitt WS90 v1.2.0
WeeWX v4.9.1
FOSHKplugin v0.10
https://wx.thunder.ky
  |  
  |  
  |  
  |  
  |  

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 651
Re: FOSHKplugin - brief introduction
« Reply #351 on: March 13, 2023, 08:46:30 AM »
Oliver I was wondering if there was a setting in the plugin like there is in both Weather Display and CMX (and perhaps others) to limit wind gust values. My WS80 today sent a max gust value of 85.9mph which I think is unlikely yes it is windy here but I've never had a gust in excess of 65mph since I started recording in 2005. Obviously WD and CMX both will ignore this value as I've now set the limit to 65mph. Is this something you would consider adding in the plugin as it would then not send this bad data to my Android display  or anywhere else for that matter.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline olicat

  • Forecaster
  • *****
  • Posts: 1181
  • GWxx00, HPx5x1C, WN1900C, WN1980C & FOSHKplugin
    • FOSHKplugin
Re: FOSHKplugin - brief introduction
« Reply #352 on: March 13, 2023, 11:18:13 AM »
Hi Stuart!

Interesting approach. I wasn't aware that CMX and WD handled it that way.

No, so far there is no comparable possibility with FOSHKplugin - it stubbornly sends the values it has received from the weather station.
I also have a certain stomachache about reacting to the reported values in this way - after all, it is not impossible that there really are gusts of wind with this speed. Even without announcing them in advance.

But I am thinking about an optional cut-off function. However, this can only be value-related and does not consider the historical development (FOSHKplugin is event- and not database-based and has hardly any knowledge about the past - although: for wind speed, direction and gusts there is a 10-minute history).
If necessary, one could define the value from which onwards transmission does not take place:

cut_off = windgustmph=65

This would mean that the windgustmph key would not be processed further if the value is greater than or equal to the specified value (here: 65).
Would this be an acceptable approach?
Or should the history and/or the wind be taken into account? But in which way? After all, gusts can indeed occur suddenly and without notice.

Can anyone think of other sensor values that should also be protected in this way? Or does this only apply to wind gusts?

Oliver

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 651
Re: FOSHKplugin - brief introduction
« Reply #353 on: March 13, 2023, 11:43:11 AM »
Oliver the issue today was 85.9 mph was so far above any other wind speed recorded today that it must have been an aberration. I have never seen anything near that recorded locally. As I said my highest ever gust recorded since 2005 was around 65mph. I'd suggest perhaps either capping it or I believe what CMX does is to ignore it and just not send it, I thinnk I'd prefer the latter so no value gets recorded for that interval. I believe this is a WS80 issue and possibly WS90.

Certainly wind gust is the only one I have had an issue.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline Rover1822

  • Forecaster
  • *****
  • Posts: 1567
    • Mini Wind and Solar Data project
Re: FOSHKplugin - brief introduction
« Reply #354 on: March 13, 2023, 11:47:42 AM »
No chance someone aimed a leaf blower at it? :) . I am kidding
Ambient:
  WS-2000
  PM 2.5(2)
  WH31B(2)
  WH40E
  WH31P
EcoWitt:
  GW1100
  GW1000(4)
  WH31(2)
  WH57
  WH51(12),
  WH40
  WH5360B
  WN34S
  WittBoy WS90 + GW2000
  WS90 (other one) + GW1100
Personal Sites: Weather Cam

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 651
Re: FOSHKplugin - brief introduction
« Reply #355 on: March 13, 2023, 11:48:46 AM »
No chance someone aimed a leaf blower at it? :) . I am kidding

 8-)  #-o  :roll:  =D>

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline olicat

  • Forecaster
  • *****
  • Posts: 1181
  • GWxx00, HPx5x1C, WN1900C, WN1980C & FOSHKplugin
    • FOSHKplugin
Re: FOSHKplugin - brief introduction
« Reply #356 on: March 13, 2023, 01:36:14 PM »
Hi!

Quote
if there was a setting in the plugin like there is in both Weather Display and CMX (and perhaps others) to limit wind gust values
With FOSHKplugin v0.10 there will be such an option:

Export\LIMIT_WINDGUST = value            # ignore windgustmph if >= value (key will be renamed to _windgustmph) and use last "good" maxdailygust

I'll test this now ...

add:
testing done - works as expected

Oliver

Offline olicat

  • Forecaster
  • *****
  • Posts: 1181
  • GWxx00, HPx5x1C, WN1900C, WN1980C & FOSHKplugin
    • FOSHKplugin
Re: FOSHKplugin - brief introduction
« Reply #357 on: March 13, 2023, 03:31:00 PM »
Stuart,

Quote
85.9 mph was so far above any other wind speed recorded today
doesn't maxdailygust then also show the wrong value?
And just to be sure:
We are talking about windgustmph and not windspeedmph?

Oliver

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 651
Re: FOSHKplugin - brief introduction
« Reply #358 on: March 13, 2023, 06:05:11 PM »
Yes it does.....

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 651
Re: FOSHKplugin - brief introduction
« Reply #359 on: March 14, 2023, 04:40:52 AM »
Thinking about this some more I'm not sure if either CMX or WD actually ignore that max reading and just use the wind gust supplied value and use the max received from that. The max gust sent by the gateway is also in my case that 85.9mph which I believe to be invalid. So to be sure I think if either wind gust of max gust are in excess of the limit value both should be ignored. I noticed that CMX has a default value for max gust in settings of 999 so effectively allows anything, WD does something similar. I have no idea what other software does.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline olicat

  • Forecaster
  • *****
  • Posts: 1181
  • GWxx00, HPx5x1C, WN1900C, WN1980C & FOSHKplugin
    • FOSHKplugin
Re: FOSHKplugin - brief introduction
« Reply #360 on: March 14, 2023, 07:34:25 AM »
Hi!

Quote
I think if either wind gust of max gust are in excess of the limit value both should be ignored.
With the wind gust value, a wrong value can indeed be ignored - it comes again with the next interval - hopefully correct again.

However, maxdailygust is sent again and again by the console until 24:00 - so it does not make sense to completely dispense with this value for the rest of the day. Because this would mean that a real maximum wind gust would no longer be recorded and forwarded.

So in future FOSHKplugin will cache the last valid maxdailygust and output it as maxdailygust instead of the value >= IGNORE_WINDGUST.

Actually, I would expect this behaviour already in the firmware of the console ...

Oliver

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 651
Re: FOSHKplugin - brief introduction
« Reply #361 on: March 14, 2023, 07:46:21 AM »
Hi!

Quote
I think if either wind gust of max gust are in excess of the limit value both should be ignored.
With the wind gust value, a wrong value can indeed be ignored - it comes again with the next interval - hopefully correct again.

However, maxdailygust is sent again and again by the console until 24:00 - so it does not make sense to completely dispense with this value for the rest of the day. Because this would mean that a real maximum wind gust would no longer be recorded and forwarded.

So in future FOSHKplugin will cache the last valid maxdailygust and output it as maxdailygust instead of the value >= IGNORE_WINDGUST.

Actually, I would expect this behaviour already in the firmware of the console ...

Oliver

I think your suggestion is a good one. I'm not sure there is anything in f/w to alter the max gust value, certainly I have found no options to allow capping of wind speeds max or otherwise on either GW1000 or GW1100 and I suspect it is unlikely to happen on anything other than a WS80 or WS90.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

 

anything