baerengraben / ioBroker.swiss-weather-api

Adds Free SRG-SSR Weather API to ioBroker
MIT License
14 stars 13 forks source link

API will be deprecated in 3 Months => New API https://developer.srgssr.ch/apis/srf-weather #35

Closed baerengraben closed 3 years ago

baerengraben commented 3 years ago

SRG informs that the current API will run until the end of July 2021. Until then, the adapter must be rewritten to the new version: https://developer.srgssr.ch/apis/srf-weather

apatitejs commented 3 years ago

Very sad, don't understand why they would remove unlimited access to non-commercial weather API for private individuals.

baerengraben commented 3 years ago

Yes, indeed. Newly, non-commercial users will only be able to make 6 requests per day. So e.g. every 4h. I still have to think about how to best integrate the new API into the adapter. At the beginning you will just have to control it via the interval (Intevall = 240 min).

As far as I have seen, the new API provides more and finer granular data. That could be an advantage.

baerengraben commented 3 years ago

Good news. Now 50 queries per day will be possible with a freemium subscription. With this, the weather can be queried every half hour (which is also the default setting of the adapter).

baerengraben commented 3 years ago

Closed with Version 0.9.0

cdellasanta commented 3 years ago

👍 Many thanks for your work, seems to work, but of course I've to adapt many of the probe-points to the new paths.

Only one thing I don't understand @baerengraben: Why did you jumped from version 0.3.2 to 0.9.0?
Correct would have been to go for a mayor version, ergo 1.0.0 (because of course there is no backwards-compatibility with the previous one).