[SOLVED] Yahoo Weather Binding - OFFLINE - COMMUNICATION_ERROR The Yahoo Weather API is not available for the location

Hi,

For some strange reason my Yahoo Weather binding stopped working last week when I was on holiday. Within this time I was away obviously no changes were made to the system (still Openhab 2.3) just to be clear.

Under Paper UI can see following error in Status:

Status: OFFLINE - COMMUNICATION_ERROR The Yahoo Weather API is not available for the location 23454

Is anyone else experiencing issue with Yahoo Weather binding right now or is it just me ?
It did worked well for the last few months without any issues.

NB: Already restarted openhab service but that didn`t helped.

@andy31

See also here, not so easy to find:

[SOLVED] What is the status on the Weather binding?

Did yahoo end support for the yahooweather binding?

[SOLVED] Yahoo weather does not work anymore

Yahoo weather

Yahoo Weather has stopped working

Weather Binding requires oauth since 2019-01-03 - fix required

Announcing OpenWeatherMap binding for Eclipse SmartHome / openHAB

Thanks - which service provider is best choice for UK weather forecast (openhab 2.3)
I will be removing yahoo weather binding tomorrow as is no longer alive :wink:

@andy31

If you need a daily forecast and want to use a free apikey, then there is NO openhab2 binding left. Only weather1 binding (still possible to install on Openhab2) with provider ForecastIo (=now DarkSky) is providing a daily forecast.

https://darksky.net/dev

But, if you only need hourly forecast (with free apikey) and e.g. you want to graph a temperature chart or pressure, humidity charts and so on, there is a OH2 binding, too.

It is OpenWeatherMap .

Not quite right. meteoblue has daily forecasts.

@namraccr

Could you please explain, where on this site is the FREE package, Maybe I’ve MISSED it?

You apparently overlooked this.

2 Likes

OK, you’re right. Thanks! :slight_smile:

But the Meteoblue site could also insert “basic-day” and “Meteogram 5 days” into their pricing overview!

Thanks @Celaeno1

I use openhab version 2.3
I will probably try to obtain data from OpenWeatherMap. Just to confirm , should I be using Weather1 binding for this or OpenWeatherMap ?

Paper UI / Binding I can only see weather1 binding which I installed today but no sign of OpenWeatherMap binding.

Please clarify.

Not a real binding, but I’m using Meteograms. In my case the data is from dwd ( Deutscher Wetter Dienst).
When updating every 2 hours, the number of monthly updates is free.

Meteograms could be great addition, it would look good on habpanel but I currently don’t have one yet, just using 5 inch smart phone at the moment.
It looks that I need to request API token for that you need to share your card details :neutral_face:

Payment information is required even if you do not expect to use more than the free quota

I tried this url address in my sitemap and appears to be displaying data for Washington correctly.

Frame label=Meteogram {
    Image url="https://www.yr.no/place/United_States/District_of_Columbia/Washington_D.C_/meteogram.png" label="Meteogram" refresh=3600000
  }

Then tried modifying for example town in England but did not work at all, so probably cant do that this way.

You’d better look into the posted website. The output can be customised to your needs (serviceprovider, updaterate, data provided, presentation,…)

My actual web call looks like:

https://nodeserver.cloud3squared.com/getMeteogram/%7B%22token%22%3A%22MyAPIToken%22%2C%22chartWidth%22%3A%221200%22%2C%22chartHeight%22%3A%22500%22%2C%22place.......

Which gives me:

In other words: pretty shitty weather in here!

The OpenhabWeatherMap binding is part of OH 2.4.0 release or OH Snapshot 2.5.0.

But, you can use OWM or DarkSky with weather1.

Dont worry about weather at your end, it is very simillar in UK at the moment :cloud_with_rain:

Got weather binding installed so will give a go with OWM at the moment as we are still on 2.3.0 openhab here :wink:

Having some issue with this weather binding and OpenWeatherMap.
I searched on forum but can`t find definitive answer.

My weather.cfg

# The apikey for the different weather providers, at least one must be specified
# Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2
#apikey.ForecastIo=
apikey.OpenWeatherMap=deXXXXXXXXXXXXXXXXXXXXXXXX
#apikey.WorldWeatherOnline=
#apikey.Wunderground=
#apikey.Hamweather=
#apikey2.Hamweather=
#apikey.Meteoblue=

# location configuration, you can specify multiple locations
location.WR.name=City
location.WR.latitude=44.625  
location.WR.longitude=13.890
#location.WR.woeid= not req     
location.WR.provider=OpenWeatherMap
location.WR.language=en
location.WR.updateInterval=10
#location.WR.units=

#location.<locationId2>.name=
#location.<locationId2>.latitude=   (not required for Yahoo provider)
#location.<locationId2>.longitude=  (not required for Yahoo provider)
#location.<locationId2>.woeid=      (required for Yahoo provider)
#location.<locationId2>.provider=
#location.<locationId2>.language=
#location.<locationId2>.updateInterval=
#location.<locationId2>.units=

Sitemap

Frame label="Weather" {
                Text item=Temperature2
				Text item=Humidity2
				Text item=Pressure2
				Text item=owmCurrentCondition

Items

/* Weather binding item */
Number Temperature2     "Temperature [%.2f °C]" {weather="locationId=WR, type=temperature, property=current"}
Number Humidity2        "Humidity [%d %%]"      {weather="locationId=WR, type=atmosphere, property=humidity"}
Number Pressure2        "Pressure [%.2f mb]"    {weather="locationId=WR, type=atmosphere, property=pressure"}
String owmCurrentCondition "Current condition [%s]" <sun_clouds> { channel="openweathermap:weather:api:local:current#condition" }

Log file

2019-01-13 19:28:36.109 [WARN ] [eather.internal.common.WeatherConfig] - Incomplete location config for locationId '<locationId1>'. Check openhab.cfg.
2019-01-13 19:28:36.115 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler, id=450, bundle=233/mvn:org.openhab.binding/org.openhab.binding.weather/1.12.0]: Updating property weather of configuration org.openhab.weather caused a problem: Incomplete location config for locationId '<locationId1>'. Check openhab.cfg.
org.osgi.service.cm.ConfigurationException: weather : Incomplete location config for locationId '<locationId1>'. Check openhab.cfg.
	at org.openhab.binding.weather.internal.common.WeatherConfig.parse(WeatherConfig.java:99) [233:org.openhab.binding.weather:1.12.0]
	at org.openhab.binding.weather.internal.bus.WeatherBinding.updated(WeatherBinding.java:82) [233:org.openhab.binding.weather:1.12.0]
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1792) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) [8:org.apache.felix.configadmin:1.8.16]
	at java.lang.Thread.run(Thread.java:748) [?:?]

It looks like is complaining about locationid but I have tried several different location with no difference.

Incomplete location config for locationId '<locationId1>'. Check openhab.cfg.

Any ideas ? I already tried reinstalling weather binding.

Try small letters (not capital) e.g wr or home for locationId.

Full example:

location.wr.name=

and so on…

Changed locationid1 to wr but still doesn`t seems to work. I also tried home aswell. Tried changing latitude and longitude but no luck.
With interval set to 10 it should be pretty quick feedback.

# The apikey for the different weather providers, at least one must be specified
# Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2
#apikey.ForecastIo=
apikey.OpenWeatherMap=deXXXXXXXXXXXXXXXXXXXXXXX
#apikey.WorldWeatherOnline=
#apikey.Wunderground=
#apikey.Hamweather=
#apikey2.Hamweather=
#apikey.Meteoblue=

# location configuration, you can specify multiple locations
location.wr.name=City
location.wr.latitude=47.8011  
location.wr.longitude=13.0448
#location.wr.woeid=     
location.wr.provider=OpenWeatherMap
location.wr.language=en
location.wr.updateInterval=10
#location.wr.units=

#location.<locationId2>.name=
#location.<locationId2>.latitude=   (not required for Yahoo provider)
#location.<locationId2>.longitude=  (not required for Yahoo provider)
#location.<locationId2>.woeid=      (required for Yahoo provider)
#location.<locationId2>.provider=
#location.<locationId2>.language=
#location.<locationId2>.updateInterval=
#location.<locationId2>.units=

Weather%20issue

@andy31

Please also check:

  /var/lib/openhab2/config/org/openhab/weather.config

There should be the identic entries.

Slightly confused where to find

/var/lib/openhab2/config/org/openhab/weather.config

I use openhab vs 2.3.0 on openhabian / RPI3.

RPI3%20files

I normally tweak files inside openHAB-conf.

For logs I need to visit openHAB-share.

Sorry if this is dumb question…