It seems like the images I had downloaded from GITHUB were corrupted somehow and HabPanel would not display them, Chrome would however. On a wild hair I decided to download the assets again and they popped right up. Now I need to figure out why I’m not getting the weather icons…it’s probably due to not having the latest version of the binding…now just need to see where to grab it from as I don’t see it on cloudbees.
Download the openhab-addons-2.3.0-SNAPSHOT.kar file which is just a zip archive of the latest build’s bindings.
Navigate to the following path inside the zip file. \repository\org\eclipse\smarthome\binding\org.eclipse.smarthome.binding.weatherunderground
Inside you will find the latest version of the binding, which you can copy into your ADDONS folder. You must remove the old binding via PaperUI first, you also need to delete your current thing. Reboot, add the thing back in and you should be good to go.
If you download the latest openhab-2.3.0-SNAPSHOT.tar.gz starting from version #1212, the updated Weather Underground binding is included. Otherwise use @KidSquid steps to update the binding itself.
Note that using a recent compiled binding in an old distribution could of course lead to incompatibility. But it could work in case there were not too many changes in ESH core.
FINALLY I GOT IT WORKING, for those who is having some issues i have:
Weather icon is not showing, even though u got all the icon path correct, follow @KidSquid instruction by unzip the file using any program like “The unarchiver” for mac
Today shows in some different language you need to update the widget itself, and hardcode it
since I really like this widget, but had to update it quite a bit to fit to my local configuration, I have updated it to allow widget-level configuration of the items. Thought that might be interesting for others as well. When placing the widget, you can configure all items that are being displayed, the static directory, as well as the icon family (white or black). For installation, please follow the same logic as in @bastiaan_van_h’s post above, except that you do not need to configure the icons and ServerPath in the code (in the config parameters after placing the widget instead). The only thing that needs to be adapted/localized in the code are the names of the weekdays.
The tricky thing will be the icons… I found the easiest solution to edit the css file and rename the css definition to reflect the localized condition description. As an example, for German I would change “partlycloudy” to “teils_wolkig” (note, the widget code will replace space with underscore).
You can change the language of the Weather Underground response in the Thing, and HABpanel follows the Openhab system localization. This way everything in the widget is auto localized except for the iconKey, which needs to be English for correct alignment with the weather-underground-icon css. No need for translations or so.
Hello!
How i can change language of day names?
I had install system with EN locale, but then change on RU, but it not help (
locale in thing config work fine. Problem only with day names (not with “today”, this i have hardcoded easy) (
P.S. Test locale in openhab:
2018-02-21 19:56:30.008 [INFO ] [clipse.smarthome.model.script.locale] - ru_RU