[REL] WeatherPlugin

To take into account the temperature of the track, you must have the "Real Road Temperatures" in "Generated"
WeatherPlugin1.jpg

If i have Generated or Real Road File, still i have 44 or 40 degrees :(
 
If I run multiple dedicated servers I guess I have to run multiple client sessions for the weather to auto-update at given interval o_O
 
I have never tried to use one key on several servers at the same time.:oops:
But I think you should assign a different UI for each server. Also I think this api (Tomorro.io) is a one time use. The Openweather api allows you to create multiple keys, the calls are calculated with the sum of all the keys you generate. The problem is that OpenWeather doesn't currently work with the plugin. :(
 
IIRC It's possible to use the same key for different servers but then you exceed the limit of daily calls of the key
 
IIRC It's possible to use the same key for different servers but then you exceed the limit of daily calls of the key
thx mate ;) That is what I was trying to explain. Before the 3 providers worked: Darsky (now it's from Apple and the api doesn't work), Openweather (changed the api and gives authorization error) and Tomorrow.io is currently the only one that works. I think the best thing to do is to have several keys
 
I have set poll interval to 10 minutes. Not sure what the daily limit is.
I have just created a new account
Limits
Requests per second 3 - Requests per hour 25 - Requests per day 500

Olds accounts
Limits
Requests per second 3 - Requests per hour 50 - Requests per day 1000
 
I have 6 servers running so had to adjust poll interval not to exceed the 500 daily limit. Was struggling with the math but landed on 18 min poll interval per client. If you want please confirm my math :p
 
I have 6 servers running so had to adjust poll interval not to exceed the 500 daily limit. Was struggling with the math but landed on 18 min poll interval per client. If you want please confirm my math :p
To do a call every 18 min with 6 servers means:
  • 480 calls per day (less than 500 is OK)
  • 20 calls per hour (less than 25 is OK)
You will have to manage that you don't do more than 3 calls at the same second.This can happen because you have 6 servers.

As @Corti has said it's better to have several keys.
You can create a key by email.
 
Mind if I ask how you got it to work with LMU? Thanks
Sorry for the really late reply. Nothing in particular, really. Idk if things have changed, but the only two things I had to do were editing the custompluginvariables.json file to enable the plugin and manually add the coordinates in the GUI

"rf2WeatherPlugin.dll":{
" Enabled":1,
"LOG":0,
"UID":0
}

This is what I added to the json file in LMU. Nothing more than that, it works offline as well (as it does on rF2)
 
I get "webquery failed (401)" with OpenWeatherMap

With Climacell it mentions "Unknown" in the fetched weather. Does this mean it's not translating to the game?

6CUHDDa.png
 
Everything seems to be correct, the data obtained is applied to the circuit. Temperature= 12º Wind 6 and rain 0%.
 
Can anyone confirm if the OpenweatherMap API has stopped working with the weatherplugin? Even subscribing to One Call 3.0 doesn't seem to work, always returning the 401 error. The only one that seems to still work is the Tomorrow.io API through the ClimaCell V4 option. Can anyone confirm if this is so?
 
Can anyone confirm if the OpenweatherMap API has stopped working with the weatherplugin? Even subscribing to One Call 3.0 doesn't seem to work, always returning the 401 error. The only one that seems to still work is the Tomorrow.io API through the ClimaCell V4 option. Can anyone confirm if this is so?
i tried all and only ClimaCell V4 works
 
Hi, I'm using this plugin, and it works perfect, but the track temp doesn't change as it should. Even with 0 degrees and rain, the track temps is 38-40.
Then add cloud cover, with same air temp, and you'll see track temp gradually falling ;)

There's no specific track temp override in the weather plugin.

Hi, I'm having the same problem on my server. The track temp doesn't change as it should. With rain, 0 degree, track temp is still 38ª. How can I add cloud cover with the same air temp? Thanks!!!
 
Last edited:
Back
Top