@fmrenan you can try forcing the language to Portuguese in Paper UI > Configuration > System > Regional Settings - be sure to save afterwards, a Save button appears when you change something.
Recent versions of HABPanel honor this setting in priority when it’s set to set the locale (and in your case if you have a version from January 25th or later, it will even be translated); otherwise it will follow the browser’s settings (for instance the first language in the list at chrome://settings/languages in Chrome).
Thank you for the reply.
My Paper UI regional settings is configured to my local and language, as the Weather Underground thing is set to Portuguese too. I rebooted my OH so many times and cleared the browser cache, it’s doesn’t worked to me.
But I find a solution right here: https://community.openhab.org/t/template-example-weather-binding/15869/40?u=fmrenan
If someone have this trouble, input this code to the beginning of your widget:
My openHab version is 2.2, running on Windows. My habPanel does not change the language as in your image. How can I see the “Setting Locale” in the developer tools?
I’m lost on how to get the IconSet icons to appear. I have this widget working fully and the ServerPath images load just not the IconSet images. They are in my dist folder under icons>white>svg
Are you sure you have the correct version of the binding? Please look at the first post and see the minimum required build number. The icon key only became available recently.
So I’m trying to set this up the “old” way I think, using the things file instead of doing it through the paperUI.
The below is taken from the openHAB documentation, but I’m kinda struggling with the Thing weatherunderground:weather:CDG which I can see is also set under Location - my guess is that it refers to Charles De Gaulle. Now, currently I’m not living there and I want to change it to lets say Aarhus in Denmark. Whats should I then use? I can’t find a “shortname” for that at the weatherunderground webpage
Thing weatherunderground:weather:CDG "Météo Paris CDG" [ apikey="XXXXXXXXXXXX", location="CDG", language="FR", refresh=15 ] {
Channels:
Type temperature : current#temperature [ SourceUnit="C" ]
Type windSpeed : current#windSpeed [ SourceUnit="kmh" ]
Type windGust : current#windGust [ SourceUnit="kmh" ]
Type pressure : current#pressure [ SourceUnit="hPa" ]
Type dewPoint : current#dewPoint [ SourceUnit="C" ]
Type heatIndex : current#heatIndex [ SourceUnit="C" ]
Type windChill : current#windChill [ SourceUnit="C" ]
Type feelingTemperature : current#feelingTemperature [ SourceUnit="C" ]
Type visibility : current#visibility [ SourceUnit="km" ]
Type rainDay : current#precipitationDay [ SourceUnit="mm" ]
Type rainHour : current#precipitationHour [ SourceUnit="mm" ]
Type minTemperature : forecastToday#minTemperature [ SourceUnit="C" ]
Type maxTemperature : forecastToday#maxTemperature [ SourceUnit="C" ]
Type rainDay : forecastToday#precipitationDay [ SourceUnit="mm" ]
Type snow : forecastToday#snow [ SourceUnit="cm" ]
Type maxWindSpeed : forecastToday#maxWindSpeed [ SourceUnit="kmh" ]
Type averageWindSpeed : forecastToday#averageWindSpeed [ SourceUnit="kmh" ]
}
Also, is the above enough for my things file in order to achieve the same setup if I was going the paperUI way?
Can someone please direct me in the right direction here?
I’m having problems adding my city to this. Currently I’m using the default one from the documentation CDG.
For a start I’m only using the binding, and the things + items file. Then i create a few Text items in my sitemap to see the values.The only thing is, after I change some of the values in my things file, it starts to throw some errors (sorry I forgot to write them down, but as far as I remember is was Handler something) and the thing no longer appears in my paperui.
So I uninstalled the binding and removed the things file and items file.
Reinstalled it and I’m back to CDG as my location. How do I insert my location so it will work?