Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

[openweathermap] Enhancement req - condition icon id #6732

Closed
Rossko57 opened this issue Dec 26, 2018 · 0 comments
Closed

[openweathermap] Enhancement req - condition icon id #6732

Rossko57 opened this issue Dec 26, 2018 · 0 comments

Comments

@Rossko57
Copy link

OpenWeatherMap API provides weather condition codes for current & forecasts.
Textual condition e.g "Light showers"
numeric condition ID e.g. "521"
icon ID e.g "12n"
The icon ID is from a less numerous graphic symbol set than the full condition, but additionally includes day/night coding. It is not straightforward to directly calculate an icon ID from the general condition ID.

The OWM binding uses this icon ID to calculate a URL and retrieve OWM images. But the URL or icon ID are not currently exposed to openHAB users.

Enhancement request - expose the icon ID as a string data channel in a similar manner to condition ID.
This would allow users to implement their own icon schemes.

@Rossko57 Rossko57 changed the title [openwaeathermap] Enhancement req - condition icon id [openweathermap] Enhancement req - condition icon id Dec 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants