Ubuntu 18.04 (lxd/lxc container)
I have experienced the same issue with the Weather Binding and OpenWeatherMap as a provider (API error messages in the log). After switching to ForecastIo / Dark Sky API, everything works fine, no error messages related to API. Dark Sky free API is much more generous than OpenWeatherMap’s one.
When I added location, e.g.
location my-home. in weather.cfg (/etc/openhab2/services) and later on changed it to
location.home my openhab.log has been flooded with errors, like "there is no location
my-home". For some reasons,
/var/lib/openhab2/config/org/openhab/weather.cfg contains all old, removed from the /etc/openhab2/services/weather.cfg, records. After cleaning it, my weather binding works as expected.
Just in case, if someone, like I was, is struggling with the html part, which is really nice when it works and added to the HABpanel as a frame widget:
example.html (in both locations):
/static/ to everything that starts with
/weather-data (href, src)
Do we really need all that weather provided info for the home automation projects?