baerengraben / ioBroker.swiss-weather-api

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

Nighttime icons from SRG #28

Closed UncleSamSwiss closed 3 years ago

UncleSamSwiss commented 3 years ago

I know you are not the creator of the original SRG images, but it would be great to have the nighttime icons (negative value) with the moon instead of the sun, it looks a bit weird in my 24-hour display: image

Funny enough, in the code table SRG actually mentions "moon" for negative values. And also on their website the icons are correct: image

baerengraben commented 3 years ago

Hi @UncleSamSwiss when i wrote the adapter, i asked SRG for the moon icons. Unfortunately, they never answered that request. Only the day icons they have published at that time on my request. I will ask again. Maybe i will have more luck this time.

baerengraben commented 3 years ago

today i asked srg again. let's wait for their answer.

baerengraben commented 3 years ago

SRG has released a new API (https://developer.srgssr.ch/apis/srf-weather) this week. The current API (https://developer.srgssr.ch/apis/weather-api-commercial) will be removed in the next 3 months.

The good news is that with the new API, the icon set will also be updated. It will now include the night icons as well.

This issue will be resolved accordingly with the next release.

baerengraben commented 3 years ago

with Version 0.9.0 also night icons are provided.