(SOLVED)OpenHab2 Weather binding not work

Hello
here it is my specifications

  1. Installed weather binding from paper UI (not Yahoo) [version weather 1.9]

  2. weather.cfg

    #apikey.ForecastIo=
    apikey.OpenWeatherMap=0b9xxxx
    #apikey.WorldWeatherOnline=
    #apikey.Wunderground=
    #apikey.Hamweather=
    #apikey2.Hamweather=
    #apikey.Meteoblue=

    location configuration, you can specify multiple locations

    #location.myhome.name=ZedHome
    location.myhome.latitude=45.x
    location.myhome.longitude=12.x
    #location.myhome.woeid=not req
    location.myhome.provider=OpenWeatherMap
    location.myhome.language=en
    location.myhome.updateInterval=15

  3. double check with weather.config and yes, contain the same info of weather.cfg in another syntax

  4. ZedHome.items:

    Number Est_Temperatura “Temperatura [%.1f °C]” {weather=“locationId=myhome, type=temperature, property=current”}
    Number Est_Umidita “Umidità [%d %%]” {weather=“locationId=myhome, type=atmosphere, property=humidity”}
    Number Est_Pressione “Pressione [%.0f mbar]” {weather=“locationId=myhome, type=athmosphere, property=pressure”}

  5. ZedHome.sitemap
    Text item=Est_Temperatura
    Text item=Est_Umidita
    Text item=Est_Pressione

  6. no Worning from .logs but Temp and other info is not showned in the classicUI

I doublecheck many times the parameter but seems all ok.
Can someone help me to figure out why don’t work in my case?

If your log doesn’t show any entry you should increase the log level on the Karaf consol by: “log:set DEBUG org.openhab.binding.weather”

Looking at the your settings everything looks OK to me (if that’s worth anything)

1 Like

A couple of supid question @opus :
Can you explain me (also for further noobs user having same problem) the exact procedure to follow to for the Karaf consol command please ? ( untill wednsday I was in test with OH1, and I feel like a noob again with OH2).

Second stupid question:
1.X binding legacy have to be enabled or not in the UI paper ? Untill now i left it off because I wanna start a new project and abadon the OH 1 old project.

Thank for your time and for the help.

Read this to get ot the console.
I’m using this binding in OH2 have NOT enabled 1.X legacy bindings (to my understanding that is for 1.X bindings that already have a 2.X pendant)

1 Like

Ok, I figured out how to implement the DEBUG status of a bundle.

I try also to uninstall and re-install the binding as you see, bot all is silent…

What I have is these:

2017-01-26 16:12:23.950 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent UNRESOLVED - org.openhab.binding.weather
2017-01-26 16:12:23.997 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent UNINSTALLED - 0org.openhab.binding.weather
2017-01-26 16:12:24.235 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-binding-weather1'
2017-01-26 16:13:51.501 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent INSTALLED - org.openhab.binding.weather
2017-01-26 16:13:51.892 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent RESOLVED - org.openhab.binding.weather
2017-01-26 16:13:51.940 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTING - org.openhab.binding.weather
2017-01-26 16:13:52.047 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been started.
2017-01-26 16:13:52.401 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.weather.WeatherBindingProvider}={component.name=org.openhab.binding.weather.genericbindingprovider, component.id=162, service.id=294, service.bundleid=189, service.scope=bundle} - org.openhab.binding.weather
2017-01-26 16:13:52.534 [DEBUG] [.weather.internal.gfx.WeatherServlet] - Starting up weather servlet at /weather
2017-01-26 16:13:52.970 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.weather, osgi.web.version=1.9.0, osgi.web.contextpath=/, service.id=295, service.bundleid=189, service.scope=singleton} - org.openhab.binding.weather
2017-01-26 16:13:52.981 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTED - org.openhab.binding.weather
2017-01-26 16:17:20.690 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-01-26 16:17:31.573 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent UNREGISTERING - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.weather.WeatherBindingProvider}={component.name=org.openhab.binding.weather.genericbindingprovider, component.id=162, service.id=294, service.bundleid=189, service.scope=bundle} - org.openhab.binding.weather
2017-01-26 16:17:31.586 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent UNREGISTERING - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.weather, osgi.web.version=1.9.0, osgi.web.contextpath=/, service.id=295, service.bundleid=189, service.scope=singleton} - org.openhab.binding.weather
2017-01-26 16:17:31.592 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STOPPING - org.openhab.binding.weather
2017-01-26 16:17:31.593 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been stopped.
2017-01-26 16:17:31.598 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STOPPED - org.openhab.binding.weather
2017-01-26 16:17:33.917 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2017-01-26 16:17:33.953 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-01-26 16:17:33.978 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2017-01-26 16:19:11.460 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.items'
2017-01-26 16:19:20.598 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.rules'
2017-01-26 16:19:22.126 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.script'
2017-01-26 16:19:22.433 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'ZedHome.rules' is either empty or cannot be parsed correctly!
2017-01-26 16:19:23.960 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.sitemap'
2017-01-26 16:19:25.130 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.things'
2017-01-26 16:19:25.193 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'ZedHome.things' is either empty or cannot be parsed correctly!
2017-01-26 16:19:33.343 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2017-01-26 16:19:36.793 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-01-26 16:19:37.732 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-01-26 16:19:38.533 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-01-26 16:19:44.366 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.link.ThingLinkManager@1c44fab' takes more than 5000ms.
2017-01-26 16:19:44.368 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.link.ThingLinkManager@1c44fab' takes more than 5000ms.
2017-01-26 16:19:45.185 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTING - org.openhab.binding.weather
2017-01-26 16:19:45.199 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been started.
2017-01-26 16:19:45.200 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTED - org.openhab.binding.weather
2017-01-26 16:19:46.054 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.weather.WeatherBindingProvider}={component.name=org.openhab.binding.weather.genericbindingprovider, component.id=160, service.id=286, service.bundleid=189, service.scope=bundle} - org.openhab.binding.weather
2017-01-26 16:19:46.565 [DEBUG] [.weather.internal.gfx.WeatherServlet] - Starting up weather servlet at /weather
2017-01-26 16:19:46.611 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-sun at midnight for thing astro:sun:local
2017-01-26 16:19:46.682 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-positional with interval of 300 seconds for thing astro:sun:local
2017-01-26 16:19:46.917 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.weather, osgi.web.version=1.9.0, osgi.web.contextpath=/, service.id=287, service.bundleid=189, service.scope=singleton} - org.openhab.binding.weather

Any idea ?

This is correct. You only need that if you want to install a 1.9 binding when there is a 2.x version of that binding available as well.

2 Likes

The log you show tells that the weather binding is installed and removed again but at the end it tells that the weather binding is “ServiceEvent REGISTERED …” , what lines follow this one?

nothing. here it is the whole story of my openhab during a system restart

2017-01-26 21:06:20.189 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-01-26 21:06:30.934 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent UNREGISTERING - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.weather.WeatherBindingProvider}={component.name=org.openhab.binding.weather.genericbindingprovider, component.id=160, service.id=290, service.bundleid=189, service.scope=bundle} - org.openhab.binding.weather
2017-01-26 21:06:30.962 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent UNREGISTERING - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.weather, osgi.web.version=1.9.0, osgi.web.contextpath=/, service.id=291, service.bundleid=189, service.scope=singleton} - org.openhab.binding.weather
2017-01-26 21:06:30.984 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STOPPING - org.openhab.binding.weather
2017-01-26 21:06:30.994 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been stopped.
2017-01-26 21:06:31.007 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STOPPED - org.openhab.binding.weather
2017-01-26 21:06:35.430 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2017-01-26 21:06:35.528 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-01-26 21:06:35.592 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2017-01-26 21:08:16.917 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.items'
2017-01-26 21:08:28.812 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.rules'
2017-01-26 21:08:31.824 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'ZedHome.rules' is either empty or cannot be parsed correctly!
2017-01-26 21:08:31.884 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.script'
2017-01-26 21:08:32.906 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.sitemap'
2017-01-26 21:08:34.214 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ZedHome.things'
2017-01-26 21:08:34.279 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'ZedHome.things' is either empty or cannot be parsed correctly!
2017-01-26 21:08:43.112 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2017-01-26 21:08:46.412 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-01-26 21:08:47.295 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-01-26 21:08:47.981 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-01-26 21:08:50.728 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTING - org.openhab.binding.weather
2017-01-26 21:08:50.788 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been started.
2017-01-26 21:08:50.808 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTED - org.openhab.binding.weather
2017-01-26 21:08:51.193 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.weather.WeatherBindingProvider}={component.name=org.openhab.binding.weather.genericbindingprovider, component.id=160, service.id=290, service.bundleid=189, service.scope=bundle} - org.openhab.binding.weather
2017-01-26 21:08:51.333 [DEBUG] [.weather.internal.gfx.WeatherServlet] - Starting up weather servlet at /weather
2017-01-26 21:08:51.660 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.weather, osgi.web.version=1.9.0, osgi.web.contextpath=/, service.id=291, service.bundleid=189, service.scope=singleton} - org.openhab.binding.weather
2017-01-26 21:08:54.533 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.link.ThingLinkManager@1775402' takes more than 5000ms.
2017-01-26 21:08:56.148 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-sun at midnight for thing astro:sun:local
2017-01-26 21:08:56.150 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-moon at midnight for thing astro:moon:local
2017-01-26 21:08:56.217 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-positional with interval of 300 seconds for thing astro:moon:local
2017-01-26 21:08:57.483 [INFO ] [.astro.internal.job.AbstractDailyJob] - Scheduled astro event-jobs for thing astro:moon:local
2017-01-26 21:08:57.794 [INFO ] [.astro.internal.job.AbstractDailyJob] - Scheduled astro event-jobs for thing astro:sun:local
2017-01-26 21:09:00.490 [WARN ] [thome.binding.ntp.handler.NtpHandler] - ntp:ntp:local couldn't establish network connection [host '0.pool.ntp.org'] -> returning current sytem time instead.
2017-01-26 21:09:01.083 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-moon at midnight for thing astro:moon:local
2017-01-26 21:09:01.096 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-positional with interval of 300 seconds for thing astro:moon:local
2017-01-26 21:09:01.367 [INFO ] [.astro.internal.job.AbstractDailyJob] - Scheduled astro event-jobs for thing astro:moon:local
2017-01-26 21:10:41.157 [ERROR] [apache.karaf.shell.support.ShellUtil] - Exception caught while executing command
java.io.EOFException: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Closure.setLocation(Closure.java:104)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:64)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:93)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:274)[55:org.apache.karaf.shell.core:4.0.8]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: org.apache.felix.gogo.runtime.EOFError: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Tokenizer.skipQuote(Tokenizer.java:401)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.word(Tokenizer.java:257)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.next(Tokenizer.java:202)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.command(Parser.java:109)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.pipeline(Parser.java:68)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.program(Parser.java:44)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:60)[55:org.apache.karaf.shell.core:4.0.8]
	... 3 more
2017-01-26 21:10:41.875 [ERROR] [apache.karaf.shell.support.ShellUtil] - Exception caught while executing command
java.io.EOFException: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Closure.setLocation(Closure.java:104)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:64)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:93)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:274)[55:org.apache.karaf.shell.core:4.0.8]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: org.apache.felix.gogo.runtime.EOFError: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Tokenizer.skipQuote(Tokenizer.java:401)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.word(Tokenizer.java:257)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.next(Tokenizer.java:202)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.command(Parser.java:109)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.pipeline(Parser.java:68)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.program(Parser.java:44)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:60)[55:org.apache.karaf.shell.core:4.0.8]
	... 3 more
2017-01-26 21:11:05.182 [ERROR] [apache.karaf.shell.support.ShellUtil] - Exception caught while executing command
java.io.EOFException: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Closure.setLocation(Closure.java:104)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:64)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:93)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:274)[55:org.apache.karaf.shell.core:4.0.8]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: org.apache.felix.gogo.runtime.EOFError: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Tokenizer.skipQuote(Tokenizer.java:401)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.word(Tokenizer.java:257)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.next(Tokenizer.java:202)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.command(Parser.java:109)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.pipeline(Parser.java:68)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.program(Parser.java:44)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:60)[55:org.apache.karaf.shell.core:4.0.8]
	... 3 more
2017-01-26 21:11:05.337 [ERROR] [apache.karaf.shell.support.ShellUtil] - Exception caught while executing command
java.io.EOFException: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Closure.setLocation(Closure.java:104)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:64)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:93)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:274)[55:org.apache.karaf.shell.core:4.0.8]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: org.apache.felix.gogo.runtime.EOFError: unexpected EOT looking for matching quote: '
	at org.apache.felix.gogo.runtime.Tokenizer.skipQuote(Tokenizer.java:401)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.word(Tokenizer.java:257)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Tokenizer.next(Tokenizer.java:202)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.command(Parser.java:109)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.pipeline(Parser.java:68)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Parser.program(Parser.java:44)[55:org.apache.karaf.shell.core:4.0.8]
	at org.apache.felix.gogo.runtime.Closure.<init>(Closure.java:60)[55:org.apache.karaf.shell.core:4.0.8]
	... 3 more

I don’t recognise nothing strange about weather or mqtt (other topic opened by me in parallel of these one in witch I have problems)

And Here is what i read in karaf (the extract related to weather binding)

21:08:50.728 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTING -org.openhab.binding.weather
21:08:50.788 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been started.
21:08:50.808 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTED - org.openhab.binding.weather
21:08:51.193 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.weather.WeatherBindingProvider}{component.name=org.openhab.binding.weather.gen ericbindingprovider, component.id=160, service.id=290,service.bundleid=189, service.scope=bundle} - org.openhab.binding.weather
21:08:51.333 [DEBUG] [.weather.internal.gfx.WeatherServlet] - Starting up weathe  r servlet at /weather
21:08:51.350 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'astro:sun:local'changed from UNINITIALIZED to INITIALIZING21:08:51.393 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'astro:moon:local'changed from UNINITIALIZED to INITIALIZING
21:08:51.660 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.weather, osgi.web.version=1.9.0,osgi.web.contextpath=/, service.id=291, service.bundleid=189, service.scope=singleton} - org.openhab.binding.weather

Nothing about weather follows

Another hint for you guys should be these:

openhab> bundle:list
START LEVEL 100 , List Threshold: 50
 ID | State    | Lvl | Version               | Name
-----------------------------------------------------------------------------------------------------
  9 | Active   |  80 | 2.3.0.201506221200    | JAX-RS Gson Provider
 10 | Active   |  80 | 5.3.1.201602281253    | OSGi JAX-RS Connector
 11 | Active   |  80 | 2.3.1                 | Gson
 12 | Active   |  80 | 18.0.0                | Guava: Google Core Libraries for Java
 13 | Active   |  80 | 3.0.0.v201312141243   | Google Guice (No AOP)
 14 | Active   |  80 | 1.5.8                 | swagger-annotations
 15 | Active   |  80 | 3.19.0.GA             | Javassist
 17 | Active   |  80 | 3.5.1                 | JmDNS
 20 | Active   |  80 | 1.1.0.Final           | Bean Validation API
 22 | Active   |  80 | 2.0.1                 | javax.ws.rs-api
 24 | Active   |  80 | 3.2.0.v201101311130   | ANTLR Runtime
 27 | Active   |  80 | 1.6.0                 | Commons Codec
 28 | Active   |  80 | 3.2.1                 | Commons Collections
 29 | Active   |  80 | 1.1                   | Commons Exec
 30 | Active   |  80 | 2.2.0                 | Commons IO
 31 | Active   |  80 | 2.6                   | Commons Lang
 36 | Active   |  80 | 4.2.3                 | Apache HttpClient OSGi bundle
 37 | Active   |  80 | 4.2.3                 | Apache HttpCore OSGi bundle
 58 | Active   |  80 | 4.0.8                 | Apache Karaf :: Wrapper :: Core
 59 | Active   |  80 | 3.1.0.7               | Apache ServiceMix :: Bundles :: commons-httpclient
 64 | Active   |  80 | 2.11.0.v20150805-0538 | EMF Common
 65 | Active   |  80 | 2.11.1.v20150805-0538 | EMF Ecore
 66 | Active   |  80 | 2.11.1.v20150805-0538 | EMF XML/XMI Persistence
 67 | Active   |  80 | 3.7.0.v20150402-1709  | Common Eclipse Runtime
 68 | Active   |  80 | 3.6.0.v20150318-1503  | Extension Registry Support
 94 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Config Core
 95 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Configuration Discovery
 96 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Config Dispatcher
 97 | Active   |  75 | 0.9.0.b4              | Eclipse SmartHome Config XML
 98 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core
 99 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core Audio
100 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome AutoUpdate Binding
101 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core Binding XML
102 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core ID
103 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core Persistence
104 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Scheduler Service
105 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core Thing
106 | Active   |  75 | 0.9.0.b4              | Eclipse SmartHome Core Thing XML
107 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Transformation Service
108 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core Voice
109 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Console
110 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Console for OSGi runtime Karaf
111 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome JavaSound I/O, Fragments: 169
112 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Monitor
113 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Net I/O Bundle
114 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome REST Interface Bundle
115 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Core REST API
116 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome REST mDNS Announcer
117 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Sitemap REST API
118 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome SSE REST API
119 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Voice REST API
120 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Bonjour/MDS Service Discovery Bundle
121 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Web Audio Support
122 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Model Core
123 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Item Model
124 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Item Model Runtime
125 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Persistence Model
126 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Persistence Runtime
127 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Rule Model
128 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Rule Runtime
129 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Script
130 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Script Runtime
131 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Sitemap Model
132 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Sitemap Runtime
133 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Thing Model
134 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Thing Model Runtime
135 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Json Storage Service
136 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome UI
137 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome UI Icons
138 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Classic IconSet
139 | Active   |  80 | 2.9.2                 | Xtend Runtime Library
140 | Active   |  80 | 2.9.2                 | Xtend Macro Interfaces
141 | Active   |  80 | 2.9.2                 | Xtext
142 | Active   |  80 | 2.9.2                 | Xtext Common Types
143 | Active   |  80 | 2.9.2                 | JSR-45 Smap installer
144 | Active   |  80 | 2.9.2                 | Xtext Utility
145 | Active   |  80 | 2.9.2.v20160428-1452  | Xbase Model
146 | Active   |  80 | 2.9.2                 | Xbase Runtime Library
162 | Active   |  80 | 2.2.0                 | JUPnP Library
163 | Active   |  80 | 1.9.6                 | MIME streaming extension
164 | Active   |  80 | 5.0.2                 | Require-Bundle Fix :: org.objectw
166 | Active   |  90 | 2.0.0                 | openHAB Core
167 | Active   |  80 | 2.0.0                 | openHAB Karaf Integration
169 | Resolved |  80 | 2.0.0                 | openHAB Sound Support, Hosts: 111
170 | Active   |  80 | 2.0.0                 | openHAB Dashboard UI
175 | Active   |  80 | 3.2.0                 | Commons Net
176 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Basic UI, Fragm
177 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome Paper UI, Fragm
178 | Resolved |  80 | 2.0.0                 | openHAB Basic UI Fragment, Hosts:
179 | Active   |  80 | 2.0.0                 | HABPanel User Interface
180 | Resolved |  80 | 2.0.0                 | openHAB Paper UI Theme Fragment,
181 | Active   |  80 | 2.0.0                 | Network Binding
182 | Active   |  80 | 0.9.0.b4              | ntp Binding
183 | Active   |  80 | 2.0.0                 | Astro Binding
184 | Active   |  80 | 0.9.0.b4              | Eclipse SmartHome LIFX Binding
186 | Resolved |  80 | 2.0.0                 | openHAB 1.x Compatibility Layer
187 | Resolved |  80 | 1.9.0                 | openHAB MQTT Binding
188 | Starting |  80 | 1.9.0                 | openHAB MQTT Transport Bundle
189 | Active   |  80 | 1.9.0                 | openHAB Weather Binding
190 | Active   |  80 | 1.9.0                 | openHAB Mqtt Action

Uncertain if the binding would poll all needed values at start, did you wait the 15 minutes for the next update?

BTW, I have the same weather bundle on my system!

I can’t see the values! Even if I wait 1 hour the all fields are empty!

:sweat:

version 1.8.3 was working correctly with same parameters

Ok, and I think in your case it is working correcly! :tired_face:
I need to have a new API key or can I use the one used for OPENHAB 1 ???

From files and logs seems all correct but Weather binding won’t work correcly. I think it is a issue

When registering an account with openweathermap, you did not assign this account(or API-key) with a specific software. IMHO there never was a need to get a second key!

And YES, my binding is working correctly with openweathermap! There has to be a difference between our Setups, let us look deeper.

Indeed was what I also understand but I ask to be 100% sure.

@Opus
you are very very gentle with me because you reply every time. Thank you so much!!!

Have you something to suggest or some test to try, arrived at these point of the story ?

Frankly, I’m out of ideas for the Moment.
I guess your posted .items and sitemaps didn’t change.
What is the output you see on the sitemap ? (Screenshot)

If you have raised the log-level by " log:set DEBUG org.openhab.binding.weather". Please confirm that you never get a line with “Recieved incoming weather request” in the log.

I confirm it!! I post the Whole story of a Openhab re-start and as you can see, no sign of life from weather after registration.

Here it is the classic UI screenshot. AstroBinding 2.0 Work correctly (I link wrong values related to the label, but these is another story…)

Do you need other screen to better understand ?

Do you think will be a good idea to try 2.0 snapshots for these two bindings in witch I recognise problems ??

I do know if there is a 2.0 Version of weather available at the moment. since the 1.9. is working for me and others, I don’t think it is a general problem.

I have no clue, I’m sorry.

One Topic from your (startup-??)logs, the weather binding gets instaled removed and reinstalled. I don’t understand why this happens. Do you have the weather binding in the addons.cfg? If not, do you need to reinstall it manually after a restart?

The logic of these reply was:
I unistall and re-install the weather binding from paper UI to see what happend. After re-start openhab to be sure of correct files loading.

I need to do something also in the addon.cfg ???

here it is my files:

addons.config

action="mqtt"
binding="network,ntp,astro,lifx,mqtt1,weather1"
felix.fileinstall.filename="file:/var/lib/openhab2/etc/org.openhab.addons.cfg"
package="standard"
remote="true"
service.pid="org.openhab.addons"
ui="basic,paper,habpanel"

seems ok to me.

addons.cfg

# The installation package of this openHAB instance
# Note: This is only regarded at the VERY FIRST START of openHAB
# Note: If you want to specify your add-ons yourself through entries below, set the package to "minimal"
# as otherwise your definition might be in conflict with what the installation package defines.
#
# Optional. If not set, the dashboard (https://<yourserver>:8080/) will ask you to choose a package.
#
# Valid options:
#   - minimal  : Installation only with dashboard, but no UIs or other add-ons. Use this for custom setups.
#   - simple   : Setup for using openHAB purely through UIs - you need to expect MANY constraints in functionality!
#   - standard : Default setup for normal users, best for textual setup
#   - expert   : Setup for expert users, especially for people migrating from openHAB 1.x
#   - demo     : A demo setup which includes UIs, a few bindings, config files etc.
#
# See http://docs.openhab.org/configuration/packages.html for a detailed explanation of these packages.
#
#package = minimal

# Access Remote Add-on Repository
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons.
# This not only makes latest snapshots of add-ons available, it is also required for the installation of
# any legacy 1.x add-on. (default is true)
#
#remote = true

# Include legacy 1.x bindings. If set to true, it also allows the installation of 1.x bindings for which there is 
# already a 2.x version available (requires remote repo access, see above). (default is false)
#
#legacy = true

# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
#binding = 

# A comma-separated list of UIs to install (e.g. "basic,paper")
#ui = 

# A comma-separated list of persistence services to install (e.g. "rrd4j,jpa")
#persistence = 

# A comma-separated list of actions to install (e.g. "mail,pushover")
#action = 

# A comma-separated list of transformation services to install (e.g. "map,jsonpath")
#transformation = 

# A comma-separated list of voice services to install (e.g. "marytts,freetts")
#voice = 

# A comma-separated list of miscellaneous services to install (e.g. "myopenhab")
#misc = 

I don’t touch it already…maybe we arrive at one important point… What I have to do here? I found no instructions about on the tutorial docs

No!
It could raise “problems” if you used both in different directions (i.e. have a binding in the file, remove it via PaperUI and after restart it is back on).

I’m fishing in the dark and can conclude only: I am out of ideas on your problem!