Doesn’t seem to work after I updated my snapshot build (#964 ). I’ve removed the bundle and re-added it a few times but the path (servername:8080/icon/climacon?iconset=climacons&format=svg&state=sunny) no just returns 404.
I looked at the github page and it looks like the binding needs to be updated to account for the change from i18nProvider to TranslationProvider.
1 Like
ysc
(Yannick Schaus)
June 27, 2017, 10:22pm
14
I see, thanks for reporting and investigating!
1 Like
LarsK
(LarsK)
June 30, 2017, 8:31am
15
Well. Now were openHAB2.1 is released, this seems to be an issue for everyone
Budo
(Tom)
July 5, 2017, 8:23pm
18
Same here … what to do now?
ysc
(Yannick Schaus)
July 6, 2017, 12:15pm
19
1 Like
Budo
(Tom)
July 6, 2017, 7:14pm
20
Works like a charm! Thanks a lot @ysc !!!
Sorry for the numpty question but is this in the nightly builds?
ysc
(Yannick Schaus)
July 11, 2017, 1:26pm
23
No, this isn’t part of the openHAB distribution.
Dim
(Angelos)
July 13, 2017, 9:38am
24
Now it works (by the way: they look beautiful on my HABPanel @ysc !, thanx) , but it spits another error
opened 09:36AM - 13 Jul 17 UTC
closed 04:41PM - 06 Aug 17 UTC
running OH 2.2.0 Snapshot #985 with 2.2.0.201707061209 org.openhab.ui.iconset.c… limacons
Upon OH2 startup, the following appears in the openhab.log:
```
2017-07-13 11:48:19.040 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent STARTING - org.openhab.ui.iconset.climacons
2017-07-13 11:48:19.049 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent STARTED - org.openhab.ui.iconset.climacons
2017-07-13 11:48:19.062 [ERROR] [org.openhab.ui.iconset.climacons ] - [org.openhab.ui.iconset.climacons(145)] unbind method [removeTranslationProvider] not found; Component will fail
2017-07-13 11:48:19.069 [ERROR] [org.openhab.ui.iconset.climacons ] - [org.openhab.ui.iconset.climacons(145)] unbind method [removeTranslationProvider] not found
2017-07-13 11:48:19.070 [DEBUG] [org.openhab.ui.iconset.climacons ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.ui.icon.IconProvider}={component.name=org.openhab.ui.iconset.climacons, component.id=145, service.id=270, service.bundleid=177, service.scope=bundle} - org.openhab.ui.iconset.climacons
```
Upon OH2 shutdown, the following appears in the openhab.log:
```
2017-07-13 12:33:52.996 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent STOPPING - org.openhab.ui.iconset.climacons
2017-07-13 12:33:52.997 [DEBUG] [org.openhab.ui.iconset.climacons ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.ui.icon.IconProvider}={component.name=org.openhab.ui.iconset.climacons, component.id=145, service.id=270, service.bundleid=177, service.scope=bundle} - org.openhab.ui.iconset.climacons
2017-07-13 12:33:52.997 [ERROR] [org.openhab.ui.iconset.climacons ] - [org.openhab.ui.iconset.climacons(145)] unbind method [removeTranslationProvider] not found
2017-07-13 12:33:52.998 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent STOPPED - org.openhab.ui.iconset.climacons
```
looks like a minor issue but I thought that it's good to report it :)
The Animated Climacons Iconset works fine even with these errors in the log.
1 Like
ysc
(Yannick Schaus)
August 6, 2017, 4:45pm
25
1 Like
Dim
(Angelos)
August 6, 2017, 6:10pm
26
ysc:
Just fixed the above.
Excellent ! Thanx Yannick!
2017-08-06 21:08:42.084 [INFO ] [org.apache.felix.fileinstall ] - Updating bundle org.openhab.ui.iconset.climacons / 2.2.0.201707061209
2017-08-06 21:08:42.107 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent UNRESOLVED - org.openhab.ui.iconset.climacons
2017-08-06 21:08:42.164 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent UPDATED - org.openhab.ui.iconset.climacons
2017-08-06 21:08:42.263 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent RESOLVED - org.openhab.ui.iconset.climacons
2017-08-06 21:08:42.268 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent STARTING - org.openhab.ui.iconset.climacons
2017-08-06 21:08:42.269 [DEBUG] [org.openhab.ui.iconset.climacons ] - BundleEvent STARTED - org.openhab.ui.iconset.climacons
2017-08-06 21:08:42.283 [DEBUG] [org.openhab.ui.iconset.climacons ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.ui.icon.IconProvider}={component.name=org.openhab.ui.iconset.climacons, component.id=66, service.id=517, service.bundleid=175, service.scope=bundle} - org.openhab.ui.iconset.climacons
(running org.openhab.ui.iconset.climacons 2.2.0.201708061635 on OH2.2 Snapshot Build #1003 )
david
(david)
April 20, 2018, 12:56pm
27
@ysc I submitted a pull request to fix the issue with the sun rotating around the clouds. Any chance you can look at it?
https://github.com/ghys/org.openhab.ui.iconset.climacons/pull/5
ysc
(Yannick Schaus)
May 14, 2018, 1:24pm
28
@david finally spent the time to configure the Travis build/releases for this repo -
new release @ https://github.com/ghys/org.openhab.ui.iconset.climacons/releases/latest
I trust you on the change (I don’t use these icons actually), would probably have been better to fix it upstream but looks like it’s been abandoned for years…
Thanks!
2 Likes
david
(david)
May 17, 2018, 2:06am
29
Installed the new icons today from your release and everything looks good. Granted, the forcast is sunny for the week
Thanks for updating these!!
Did you ever find a good solution to this? Would you share your .replace solution? I currently have this issue, it appears partly-cloud-day and partly-cloudy-night never work.
i havent got day and night working
vzorglub
(Vincent Regaud)
October 15, 2018, 1:18pm
32
I use this:
rule "Weather Conditions Changed"
when
Item WeatherConditions changed
then
var urlicon = triggeringItem.state.toString()
urlicon = urlicon.replace("-","") + "icon.svg"
urlicon = "http://192.168.0.12:8080/static/" + urlicon
WeatherIcon.postUpdate(urlicon)
end
The icons are as follow:
cleardayicon.svg
clearnighticon.svg
cloudyicon.svg
fogicon.svg
partlycloudydayicon.svg
partlycloudynighticon.svg
rainicon.svg
sleeticon.svg
snowicon.svg
sunnyicon.svg
UNDEFicon.svg
windicon.svg
The items:
String WeatherConditions "Current Conditions" (Weather) { weather="locationId=home, type=condition, property=commonId" }
String WeatherIcon "Current Conditions Icons" (Weather) // Set in weather.rules
I use the weather binding with darksky/ForecastIo as a provider
And in HABpanel:
A frame widdget with the following settings:
Thank you! After a bit more effort, I was able to find the list of Weather Underground conditions . I now map those conditions back to the appropriate Climacon name. Here they are:
Drizzle=rain
Rain=rain
Snow=snow
Snow\ Grains=snow
Ice\ Crystals=freezing-drizzle
Ice\ Pellets=sleet
Hail=sleet
Mist=fog
Fog=fog
Fog\ Patches=fog
Smoke=dust
Volcanic\ Ash=dust
Widespread\ Dust=dust
Sand=dust
Haze=fog
Spray=rain
Dust\ Whirls=dust
Sandstorm=dust
Low\ Drifting\ Snow=blowing-snow
Low\ Drifting\ Widespread\ Dust=dust
Low\ Drifting\ Sand=dust
Blowing\ Snow=blowing-snow
Blowing\ Widespread\ Dust=dust
Blowing\ Sand=dust
Rain\ Mist=rain
Rain\ Showers=few-showers
Snow\ Showers=snow-showers
Snow\ Blowing\ Snow\ Mist=snow-showers
Ice\ Pellet\ Showers=sleet
Hail\ Showers=rain-and-sleet
Small\ Hail\ Showers=rain-and-sleet
Thunderstorm=thunder
Thunderstorms\ and\ Rain=thunder
Thunderstorms\ and\ Snow=thunder
Thunderstorms\ and\ Ice\ Pellets=thunder
Thunderstorms\ with\ Hail=thunder
Thunderstorms\ with\ Small\ Hail=thunder
Freezing\ Drizzle=freezing-drizzle
Freezing\ Rain=freezing-rain
Freezing\ Fog=fog
Light\ Drizzle=rain
Light\ Rain=rain
Light\ Snow=snow
Light\ Snow\ Grains=snow
Light\ Ice\ Crystals=freezing-drizzle
Light\ Ice\ Pellets=sleet
Light\ Hail=sleet
Light\ Mist=fog
Light\ Fog=fog
Light\ Fog\ Patches=fog
Light\ Smoke=dust
Light\ Volcanic\ Ash=dust
Light\ Widespread\ Dust=dust
Light\ Sand=dust
Light\ Haze=fog
Light\ Spray=rain
Light\ Dust\ Whirls=dust
Light\ Sandstorm=dust
Light\ Low\ Drifting\ Snow=blowing-snow
Light\ Low\ Drifting\ Widespread\ Dust=dust
Light\ Low\ Drifting\ Sand=dust
Light\ Blowing\ Snow=blowing-snow
Light\ Blowing\ Widespread\ Dust=dust
Light\ Blowing\ Sand=dust
Light\ Rain\ Mist=rain
Light\ Rain\ Showers=few-showers
Light\ Snow\ Showers=snow-showers
Light\ Snow\ Blowing\ Snow\ Mist=snow-showers
Light\ Ice\ Pellet\ Showers=sleet
Light\ Hail\ Showers=rain-and-sleet
Light\ Small\ Hail\ Showers=rain-and-sleet
Light\ Thunderstorm=thunder
Light\ Thunderstorms\ and\ Rain=thunder
Light\ Thunderstorms\ and\ Snow=thunder
Light\ Thunderstorms\ and\ Ice\ Pellets=thunder
Light\ Thunderstorms\ with\ Hail=thunder
Light\ Thunderstorms\ with\ Small\ Hail=thunder
Light\ Freezing\ Drizzle=freezing-drizzle
Light\ Freezing\ Rain=freezing-rain
Light\ Freezing\ Fog=fog
Heavy\ Drizzle=rain
Heavy\ Rain=rain
Heavy\ Snow=snow
Heavy\ Snow\ Grains=snow
Heavy\ Ice\ Crystals=freezing-drizzle
Heavy\ Ice\ Pellets=sleet
Heavy\ Hail=sleet
Heavy\ Mist=fog
Heavy\ Fog=fog
Heavy\ Fog\ Patches=fog
Heavy\ Smoke=dust
Heavy\ Volcanic\ Ash=dust
Heavy\ Widespread\ Dust=dust
Heavy\ Sand=dust
Heavy\ Haze=fog
Heavy\ Spray=rain
Heavy\ Dust\ Whirls=dust
Heavy\ Sandstorm=dust
Heavy\ Low\ Drifting\ Snow=blowing-snow
Heavy\ Low\ Drifting\ Widespread\ Dust=dust
Heavy\ Low\ Drifting\ Sand=dust
Heavy\ Blowing\ Snow=blowing-snow
Heavy\ Blowing\ Widespread\ Dust=dust
Heavy\ Blowing\ Sand=dust
Heavy\ Rain\ Mist=rain
Heavy\ Rain\ Showers=few-showers
Heavy\ Snow\ Showers=snow-showers
Heavy\ Snow\ Blowing\ Snow\ Mist=snow-showers
Heavy\ Ice\ Pellet\ Showers=sleet
Heavy\ Hail\ Showers=rain-and-sleet
Heavy\ Small\ Hail\ Showers=rain-and-sleet
Heavy\ Thunderstorm=thunder
Heavy\ Thunderstorms\ and\ Rain=thunder
Heavy\ Thunderstorms\ and\ Snow=thunder
Heavy\ Thunderstorms\ and\ Ice\ Pellets=thunder
Heavy\ Thunderstorms\ with\ Hail=thunder
Heavy\ Thunderstorms\ with\ Small\ Hail=thunder
Heavy\ Freezing\ Drizzle=freezing-drizzle
Heavy\ Freezing\ Rain=freezing-rain
Heavy\ Freezing\ Fog=fog
Patches\ of\ Fog=fog
Shallow\ Fog=fog
Partial\ Fog=fog
Overcast=cloudy
Clear=clear-night
Partly\ Cloudy=partly-cloudy-day
Mostly\ Cloudy=mostly-cloudy-day
Scattered\ Clouds=partly-cloudy-day
Small\ Hail=sleet
Squalls=storm
Funnel\ Cloud=storm
Unknown\ Precipitation=rain
Unknown=unknown
Then I have a rule that does this:
rule "Update conditions for HABPanel icon selection"
when
Item LocalWeather_Current_Conditions_Formatted received update
then
postUpdate(LocalWeather_Current_Conditions, transform("MAP", "weather_conditions.map", LocalWeather_Current_Conditions_Formatted.state.toString()))
end
Problem solved, however I would love advice on how to create a solution that would take the day or night into account for those appropriate conditions.