Ankündigung

Einklappen
Keine Ankündigung bisher.

Version 1.8.3 auf Ubuntu, Demo generiert Fehler

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Version 1.8.3 auf Ubuntu, Demo generiert Fehler

    Hallo zusammen

    um openHab kennenzulernen, habe ich eine Ubuntu VM aufgesetzt und die aktuelle Version 1.8.3 von openHab runtergeladen. Bevor ich eigene Dinge konfiguriere, möchte ich das Demo zum Laufen zu kriegen. Ich habe alle Dateien im Demo ZIP an den entsprechenden Ort kopiert. Beim Start werden aber leider einige Fehlermeldungen angezeigt, die mit der Temperatur (von Yahoo) zu tun zu haben. Das Classic-UI kann ich aber im Browser anzeigen lassen.

    Sollte das Demo nicht einfach so funktionieren? Woran könnte das liegen?


    2016-09-06 20:24:06.839 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.8.3).
    2016-09-06 20:24:07.472 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
    2016-09-06 20:24:07.530 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
    2016-09-06 20:24:08.677 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
    2016-09-06 20:24:17.321 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.sitemap'
    2016-09-06 20:24:17.495 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
    2016-09-06 20:24:17.533 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'db4o.persist'
    2016-09-06 20:24:17.542 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
    2016-09-06 20:24:17.551 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'exec.persist'
    2016-09-06 20:24:17.606 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.script'
    2016-09-06 20:24:17.685 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.items'
    2016-09-06 20:24:17.772 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /classicui/openhab.app
    2016-09-06 20:24:22.009 [INFO ] [.service.AbstractActiveService] - NTP Refresh Service has been started
    2016-09-06 20:24:22.105 [INFO ] [.service.AbstractActiveService] - HTTP Refresh Service has been started
    2016-09-06 20:24:22.124 [INFO ] [.p.rrd4j.internal.RRD4jService] - Removing invalid defintion component = null heartbeat = 0 min/max = 0.0/0.0 step = 0 0 archives(s) = [] 0 items(s) = []
    2016-09-06 20:24:22.486 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:24:22.486 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:24:22.878 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:24:22.879 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:24:27.778 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.rules'
    2016-09-06 20:24:28.328 [ERROR] [m.r.internal.engine.RuleEngine] - Error during the execution of startup rule 'Initialize light states': Could not invoke method: org.openhab.model.script.actions.BusEvent.postUpda te(org.openhab.core.items.Item,java.lang.Number) on instance: null
    2016-09-06 20:24:28.430 [ERROR] [m.r.internal.engine.RuleEngine] - Error during the execution of startup rule 'Initialize heating states': Could not invoke method: org.openhab.model.script.actions.BusEvent.postUpda te(org.openhab.core.items.Item,java.lang.Number) on instance: null
    2016-09-06 20:24:28.520 [ERROR] [m.r.internal.engine.RuleEngine] - Error during the execution of startup rule 'Initialize contact states': Could not invoke method: org.openhab.model.script.actions.BusEvent.postUpda te(org.openhab.core.items.Item,java.lang.Number) on instance: null
    2016-09-06 20:24:28.763 [ERROR] [m.r.internal.engine.RuleEngine] - Error during the execution of startup rule 'Update max and min temperatures': cannot invoke method public abstract org.openhab.core.types.State org.openhab.core.persistence.HistoricItem.getState () on null
    2016-09-06 20:25:23.264 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:25:23.265 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:25:23.572 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:25:23.572 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:26:23.923 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:26:23.924 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:26:24.221 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:26:24.221 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:27:24.588 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:27:24.588 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:27:25.072 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:27:25.073 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:28:25.860 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:28:25.861 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized
    2016-09-06 20:28:26.275 [WARN ] [.httpclient.HttpMethodDirector] - Unable to respond to any of these challenges: {oauth=OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"}
    2016-09-06 20:28:26.275 [WARN ] [g.openhab.io.net.http.HttpUtil] - Method failed: HTTP/1.1 401 Unauthorized

    #2
    Yahoo hat die API geändert und verlangt nun immer einen oauth key. Nimm evtl einfach einen anderen Provider. Im Forum zu dem Plugin stand ein temporärer Fix auf eine andere Devel URL die noch so funktionierte. Evtl finde ich das noch wieder.

    Kommentar


      #3
      Danke, alles klar. Dann musst du keinen Aufwand mehr treiben das zu suchen, es ging mir nur darum ob ich ev. was falsch mache. Die eigentliche Funktion dieser Yahoo-Temperatur ist mir nicht wichtig.

      Kommentar


        #4
        Zitat von Caesium Beitrag anzeigen
        Yahoo hat die API geändert und verlangt nun immer einen oauth key. Nimm evtl einfach einen anderen Provider. Im Forum zu dem Plugin stand ein temporärer Fix auf eine andere Devel URL die noch so funktionierte. Evtl finde ich das noch wieder.
        Ok vergiss das, daß war ein Thema in 1.8.1 und wurde gefixed. Hast du deine "where on earth ID" rausgesucht wie in der Anleitung steht?

        Kommentar


          #5
          Ja, ich habe sogar versucht alles copy-paste aus dem Wiki zu übernehmen. Also die Item-Definition und die Einträge für die openhab.cfg von hier: https://github.com/openhab/openhab/wiki/Weather-Binding). Leider bleiben aber die oauth Fehlermeldungen erhalten.

          Kommentar


            #6
            Ich hab jetzt erfolgreich mein Netatmo angebunden und habe somit was zum Ausprobieren, das Yahoo brauche ich nicht mehr. Irgendwie aber schade dass die Demo nicht "out of the box" funktioniert, das ist natürlich nicht ein erfreulicher Start für potentielle Nutzer.

            Kommentar

            Lädt...
            X