If I run multiple dedicated servers I guess I have to run multiple client sessions for the weather to auto-update at given interval
I have never tried to use one key on several servers at the same time. 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
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 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
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.
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?
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?
Exactly, I get the same error here too. Maybe reprogramming the plugin as the api should give the data needed. By the way I found another data provider, it would be great to be able to add it in case one day one of them stops working. https://www.meteomatics.com/en/api/getting-started/