[REL] WeatherPlugin

Discussion in 'Other' started by Stefan_L_01, Dec 14, 2017.

  1. Spyro

    Spyro Registered

    Joined:
    Jun 18, 2017
    Messages:
    21
    Likes Received:
    10
    Thanks for the detailled explanation !
    Just for clarification, we had a 30% probability of rain which gave (sometimes) a 20% of rain on rF2. Following your explanation, everything seems to work as expected. :)
     
  2. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    128
    Likes Received:
    75
    upload_2021-9-21_23-26-55.png

    :( but i have still free calls.... :-/
     
  3. Myrvold

    Myrvold Registered

    Joined:
    Jan 9, 2012
    Messages:
    162
    Likes Received:
    199
    1.5 months late. "forecast API calls were added in case clouds roll in/out is used, quering every 10 minutes which counts for additional 144 calls a day."
    Is from the ReadMe for the RealWeather App.
    480+144 = 624. Is that a possible thing? Though, I also use the 500 plan, and use the clouds in/out and have no issues with limits (usually. It sometimes happens seemingly at random!)
     
    lagg likes this.
  4. EViLSLuT

    EViLSLuT Registered

    Joined:
    Apr 26, 2020
    Messages:
    7
    Likes Received:
    3
    Would be nice to be able to use nearest airport weather data. Those are freely, public and unlimited access. Do track files contain a GPS location?
     
  5. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,756
    Likes Received:
    786
    Yes
     
  6. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    595
    Likes Received:
    383
    But they are not always correct. Thats why you can override them. For serious events I recommend to check whether track coordinates are ok.
     
  7. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    595
    Likes Received:
    383
    I uploaded V1.15 and changed openweathermap api to use their "onecall" api, which is more powerful and more exact.
    Unfortunatly I have not found yet a owm rain radar which is "now" realtime to compare 1:1
    You can also set the polltime for your api >= 3min
     
    yashiman, lagg and Corti like this.
  8. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    595
    Likes Received:
    383
    What a coincidence. The offical owm maps changed from 30-40min delay to realtime down to at least 10-20min. Still a lot but much better for practcal usage.
    https://openweathermap.org/weathermap
     
    lagg and Corti like this.
  9. darkojovanoski1986

    darkojovanoski1986 Registered

    Joined:
    Jan 4, 2022
    Messages:
    39
    Likes Received:
    13
    Hey guys. I succesfully set all that is needed for plugin to work, I see in the app that weather and track is read from my api (openweathermap), plugin is enabled in rf2 also. But what weather type I have to choose before start of the event, default or scripted??? Also how do I know that plugin actually works?
    Thanks for the great plugin :)
     
  10. Stockers

    Stockers Registered

    Joined:
    Nov 15, 2016
    Messages:
    107
    Likes Received:
    40
    If I remember rightly it doesn't matter what you put it on it overrides it.

    You'll know it's working by looking at the forecast & comparing it with the game at the track.
     
    darkojovanoski1986 likes this.
  11. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,756
    Likes Received:
    786
    scripted
     
    darkojovanoski1986 likes this.
  12. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,057
    Likes Received:
    1,794
    Weather Type = scripted
    Start the server and then the "RF2WeatherClient" when the circuit data appears at the top right the plugin should be running
    WEATHER.png
     
    darkojovanoski1986 likes this.
  13. darkojovanoski1986

    darkojovanoski1986 Registered

    Joined:
    Jan 4, 2022
    Messages:
    39
    Likes Received:
    13
    Thanks for fast responses. Yeah I noticed at Lime Rock that Crew chief said that track temp is zero but in game it was sunny and at around 30 degrees. Thanks for fast responses guys. Really appreciate :)
     
  14. BetteDK

    BetteDK Registered

    Joined:
    Jan 7, 2022
    Messages:
    1
    Likes Received:
    0
    Hey All

    I have read this thread and can't figure out, how to make a weather API key on the New site they have maked:)

    Can anyone maybe help? Or are there other API key sites, i can use on the plugin.

    - Kristian
     
  15. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,057
    Likes Received:
    1,794
    Darsky :( We are no longer accepting new signups.
    Openweather https://openweathermap.org/api
    Climacell https://www.tomorrow.io/weather-api/
     
  16. Myrvold

    Myrvold Registered

    Joined:
    Jan 9, 2012
    Messages:
    162
    Likes Received:
    199
    Personally I have used Climacell (tomorrow.io) since I started with this plugin, I think it works really well :)
     
    Corti likes this.
  17. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,756
    Likes Received:
    786
    I have been using Open Weathermap for a while.... but I am concerned something isn't triggering rain. I can see it looking at the realtime weather and rain is sometimes a 0.xx value but this still doesn't trigger rain to happen on the track.

    Anyone else encountered this?
     
  18. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    2,903
    Likes Received:
    1,854
    @Woodee we use Openweathermap in our servers without problems with the rain
    Stupid question.
    Have you checked that the program isn't locking the rain with the Rain limit or Rain mod? I don't know what the Rain exp is.
     
  19. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,756
    Likes Received:
    786
    [​IMG]
    This is how it's set right now.
     
  20. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    2,903
    Likes Received:
    1,854
    I've no more ideas, sorry
     

Share This Page