Ankündigung

Einklappen
Keine Ankündigung bisher.

milight Problem

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

    milight Problem

    Hallo ich versuche schon seit 3 stunden das Milight v3 rgbw mit Openhab zu steuern.
    mit der Android version klappt alles aber mit Openhab nicht
    Ich zeig euch mal mein code vielleicht könnt ihr mir helfen

    openhab.cfg
    Code:
    ################################### Milight Binding ###################################
    #
    # Host of the first Milight bridge to control 
    milight:bridge1.host=192.168.1.11
    # Port of the bridge to control (optional, defaults to 50000)
    milight:bridge1.port=8899
    #
    # Host of the second Milight bridge to control 
    #milight:<MilightId2>.host=
    # Port of the bridge to control (optional, defaults to 50000)
    #milight:<MilightId2>.port=
    milight.items
    Code:
    Group System (All)
    Switch ALL_RGBW            (System)       {milight="bridge1;6"}
    habe schon alle Channel versucht an zu steuern aber nichts tut sich

    danke schon mal im voraus

    LG Luis

    #2
    Hallo Luis,
    Bitte starte openhab im debug modus und poste dein log, dann sehen wir weiter.

    Nur zur Sicherheit, das Binding befindet sich im addons verzeichnis ?

    Gruß
    Hans-Jörg

    Kommentar


      #3
      also danke schon mal
      ich habe tatsächlich vergessen das binding in den addon Ordner zu kopieren

      habe es noch mal probiert und jetz kommt die meldung wenn ich das licht an oder aus machen will
      Code:
      21:12:43.488 ERROR o.o.b.m.i.MilightBinding[:528] - messageBytes must not be null
      21:12:43.489 ERROR o.o.b.m.i.MilightBinding[:521] - Failed to send Message to '192.168.1.11':
      21:12:43.494 INFO  runtime.busevents[:22] - ALL_RGBW received command ON
      aber die ip adresse stimmt ich bin mir nur nicht so sicher welchen port aber bei der binding wiki seite seht bei milight v3 sollte man den port 8899 benutzen was ich auch getan habe

      und hier der log

      Code:
      21:06:03.808 DEBUG o.o.c.s.i.SchedulerActivator[:36]- Scheduler has been started.
      21:06:03.829 INFO  o.q.impl.StdSchedulerFactory[:1175]- Using default implementation for ThreadExecutor
      21:06:03.839 INFO  o.q.core.SchedulerSignalerImpl[:61]- Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
      21:06:03.839 INFO  o.quartz.core.QuartzScheduler[:243]- Quartz Scheduler v.2.1.7 created.
      21:06:03.840 INFO  org.quartz.simpl.RAMJobStore[:154]- RAMJobStore initialized.
      21:06:03.840 INFO  o.quartz.core.QuartzScheduler[:268]- Scheduler meta-data: Quartz Scheduler (v2.1.7) 'openHAB-job-scheduler' with instanceId 'NON_CLUSTERED'
        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
        NOT STARTED.
        Currently in standby mode.
        Number of jobs executed: 0
        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 2 threads.
        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
      
      21:06:03.841 INFO  o.q.impl.StdSchedulerFactory[:1324]- Quartz scheduler 'openHAB-job-scheduler' initialized from specified file: './etc/quartz.properties'
      21:06:03.841 INFO  o.q.impl.StdSchedulerFactory[:1328]- Quartz scheduler version: 2.1.7
      21:06:03.841 INFO  o.quartz.core.QuartzScheduler[:534]- Scheduler openHAB-job-scheduler_$_NON_CLUSTERED started.
      21:06:03.842 DEBUG o.o.c.core.ConfigDispatcher[:146]- Processing openHAB default configuration file 'C:\openhab\configurations\openhab_default.cfg'.
      21:06:04.062 DEBUG o.o.c.core.ConfigDispatcher[:168]- Processing openHAB main configuration file 'C:\openhab\configurations\openhab.cfg'.
      21:06:04.319 DEBUG o.o.c.internal.CoreActivator[:93]- UUID file already exists at 'C:\openhab\webapps\static\uuid' with content '946ce0d4-4d1a-4812-9028-c8b79033d019'
      21:06:04.321 DEBUG o.o.c.internal.CoreActivator[:115]- Created file 'C:\openhab\webapps\static\version' with content '1.5.1'
      21:06:04.322 INFO  o.o.c.internal.CoreActivator[:61]- openHAB runtime has been started (v1.5.1).
      21:06:04.358 DEBUG o.o.c.a.i.AutoUpdateActivator[:31]- AutoUpdate binding has been started.
      21:06:04.761 DEBUG o.o.m.p.i.PersistenceModelActivator[:23]- Registered 'persistence' configuration parser
      21:06:04.767 DEBUG o.o.c.t.i.TransformationActivator[:38]- Transformation Service has been started.
      21:06:04.790 DEBUG o.o.i.g.internal.GCalActivator[:34]- Google Calendar IO has been started.
      21:06:04.802 DEBUG o.o.i.m.i.MultimediaActivator[:34]- Multimedia I/O bundle has been started.
      21:06:04.811 DEBUG o.o.i.s.i.DiscoveryServiceActivator[:27]- Discovery service has been started.
      21:06:04.817 DEBUG o.o.i.t.mqtt.MqttService[:121]- Starting MQTT Service...
      21:06:04.890 DEBUG o.o.m.i.i.ItemModelActivator[:24]- Registered 'item' configuration parser
      21:06:04.921 DEBUG o.o.c.i.items.ItemRegistryImpl[:137]- Item provider 'GenericItemProvider' has been added.
      21:06:05.185 DEBUG o.o.m.s.i.SitemapModelActivator[:23]- Registered 'sitemap' configuration parser
      21:06:05.240 DEBUG o.o.i.r.internal.RESTActivator[:33]- REST API has been started.
      21:06:05.286 INFO  o.o.i.s.i.DiscoveryServiceImpl[:72]- mDNS service has been started
      21:06:05.310 INFO  o.a.cpr.AtmosphereFramework[:2175]- Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
      21:06:05.311 INFO  o.a.c.DefaultAnnotationProcessor[:131]- AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
      21:06:05.320 ERROR o.a.cpr.AtmosphereFramework[:2215]- 
      java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.BundleURLConnection cannot be cast to java.net.JarURLConnection
      	at org.atmosphere.util.annotation.AnnotationDetector.detect(AnnotationDetector.java:325)
      	at org.atmosphere.cpr.DefaultAnnotationProcessor.scanForAnnotation(DefaultAnnotationProcessor.java:148)
      	at org.atmosphere.cpr.DefaultAnnotationProcessor.configure(DefaultAnnotationProcessor.java:134)
      	at org.atmosphere.cpr.AtmosphereFramework.autoConfigureService(AtmosphereFramework.java:2177)
      	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:655)
      	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:568)
      	at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:91)
      	at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80)
      	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:49)
      	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:179)
      	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:66)
      	at org.openhab.io.rest.RESTApplication.activate(RESTApplication.java:140)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
      	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
      	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
      	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
      	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
      	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
      	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
      	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
      	at org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)
      	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:260)
      	at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
      	at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
      	at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
      	at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
      	at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
      	at java.lang.Thread.run(Unknown Source)
      21:06:05.322 INFO  o.a.cpr.AtmosphereFramework[:1506]- Auto detecting atmosphere handlers /WEB-INF/classes/
      21:06:05.323 WARN  o.a.cpr.AtmosphereFramework[:1154]- Missing META-INF/atmosphere.xml but found the Jersey runtime. Starting Jersey
      21:06:05.352 INFO  o.a.cpr.AtmosphereFramework[:434]- Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path: /*
      21:06:05.352 INFO  o.a.cpr.AtmosphereFramework[:1561]- Auto detecting WebSocketHandler in /WEB-INF/classes/
      21:06:05.352 INFO  o.a.cpr.AtmosphereFramework[:1259]- Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
      21:06:05.363 INFO  o.a.h.ReflectorServletProcessor[:140]- Installing Servlet com.sun.jersey.spi.container.servlet.ServletContainer
      21:06:05.401 INFO  c.s.j.s.i.a.WebApplicationImpl[:790]- Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'
      21:06:05.402 INFO  c.s.j.s.i.a.WebApplicationImpl[:801]- Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
        class org.atmosphere.jersey.AtmosphereResourceConfigurator
      21:06:05.428 INFO  c.s.j.s.i.a.DeferredResourceConfig[:101]- Instantiated the Application class org.openhab.io.rest.RESTApplication
      21:06:05.725 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Default Response's Headers Interceptor with priority AFTER_DEFAULT 
      21:06:05.725 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Android Interceptor Support with priority AFTER_DEFAULT 
      21:06:05.726 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor SSE Interceptor Support with priority AFTER_DEFAULT 
      21:06:05.726 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor JSONP Interceptor Support with priority AFTER_DEFAULT 
      21:06:05.727 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Atmosphere JavaScript Protocol with priority AFTER_DEFAULT 
      21:06:05.727 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Browser disconnection detection with priority AFTER_DEFAULT 
      21:06:05.727 INFO  o.a.cpr.AtmosphereFramework[:826]- Installing Default AtmosphereInterceptor
      21:06:05.728 WARN  o.a.cpr.AtmosphereFramework[:703]- No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
      21:06:05.728 INFO  o.a.cpr.AtmosphereFramework[:711]- Broadcaster Polling Wait Time 100
      21:06:05.729 INFO  o.a.cpr.AtmosphereFramework[:712]- Shared ExecutorService supported: true
      21:06:05.729 INFO  o.a.cpr.AtmosphereFramework[:713]- HttpSession supported: false
      21:06:05.729 INFO  o.a.cpr.AtmosphereFramework[:714]- Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
      21:06:05.729 INFO  o.a.cpr.AtmosphereFramework[:715]- Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
      21:06:05.729 INFO  o.a.cpr.AtmosphereFramework[:716]- Using Broadcaster: org.atmosphere.jersey.JerseyBroadcaster
      21:06:05.729 INFO  o.a.cpr.AtmosphereFramework[:717]- Atmosphere is using async support: org.atmosphere.container.JettyAsyncSupportWithWebSocket running under container: jetty/8.1.3.v20120522 with WebSocket enabled.
      21:06:05.730 INFO  o.a.cpr.AtmosphereFramework[:719]- Atmosphere Framework 2.0.9 started.
      21:06:05.730 INFO  o.a.cpr.AtmosphereFramework[:721]- 
      
      	For Atmosphere Framework Commercial Support, visit 
      	http://www.async-io.org/ or send an email to support@async-io.org
      
      21:06:05.730 INFO  o.o.io.rest.RESTApplication[:143]- Started REST API at /rest
      21:06:05.732 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server._tcp.local. at port 8080
      21:06:05.982 INFO  o.a.cpr.AtmosphereFramework[:774]- Latest version of Atmosphere's JavaScript Client 2.0.9
      21:06:05.983 INFO  o.a.cpr.AtmosphereFramework[:781]- 
      
      	Atmosphere Framework Updates
      	Minor available (bugs fixes): 2.0.10
      	Major available (new features): 2.1.8
      21:06:12.955 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server-ssl._tcp.local. at port 8443
      21:06:14.695 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.sitemap'
      21:06:14.756 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'db4o.persist'
      21:06:14.764 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'exec.persist'
      21:06:14.767 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'logging.persist'
      21:06:14.768 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'rrd4j.persist'
      21:06:14.830 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.items'
      21:06:14.837 DEBUG o.o.m.i.i.GenericItemProvider[:154]- Processing binding configs for items from model 'demo.items'
      21:06:14.838 DEBUG o.o.m.i.i.GenericItemProvider[:133]- Read items from model 'demo.items'
      21:06:15.578 INFO  o.o.u.w.i.s.WebAppServlet[:79]- Started Classic UI at /openhab.app
      21:06:15.702 DEBUG o.o.m.r.i.RuleModelActivator[:42]- Registered 'rules' configuration parser
      21:06:15.707 DEBUG o.o.m.r.i.engine.RuleEngine[:78]- Started rule engine
      21:06:19.321 DEBUG o.o.b.k.internal.KNXActivator[:52]- KNX binding has been started.
      21:06:19.338 DEBUG o.o.b.w.internal.WolActivator[:51]- WoL binding has been started.
      21:06:19.342 DEBUG o.o.b.h.internal.HttpActivator[:55]- HTTP binding has been started.
      21:06:19.347 DEBUG o.o.b.m.i.MilightActivator[:54]- Milight binding has been started.
      21:06:19.362 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'ALL_RGBW (Type=SwitchItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
      21:06:37.529 INFO  o.o.io.rest.RESTApplication[:159]- Stopped REST API
      21:06:37.531 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:57]- Unregistering service _openhab-server._tcp.local. at port 8080
      21:06:39.534 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:57]- Unregistering service _openhab-server-ssl._tcp.local. at port 8443
      21:06:41.543 INFO  o.o.u.w.i.s.WebAppServlet[:90]- Stopped Classic UI
      LG Luis

      Kommentar


        #4
        Okay, schon einmal einen schritt weiter.

        Dein log zeigt leider nur einen unvollständigen Auszug von dem was passiert, wenn Du ein item ansteuerst, daher folgende bitte.
        1. Starte openhab im debug mode, switch dein item erst on dann off und attache dann das komplette logfile.
        2. Ergänze dein item um den commandtype brightness, anschließend das selbe wie unter 1.

        Ich schau mir dann die beiden logs an und versuche den Fehler zu finden.

        Gruß
        Hans-Jörg

        Kommentar


          #5
          Ich hatte auch Probleme, bei mir lag es daran dass ich die falschen Nummern genommen habe. Dies hier funzt bei mir:
          Code:
          Dimmer Licht_WoZi_dimmer <light> {milight="milight1;7;brightness;27"}
          Color Licht_WoZi_farbe <light> {milight="milight1;7;rgb"}
          Switch Licht_WoZi_weiss <light> {milight="milight1;7;whiteMode"}

          Kommentar


            #6
            paphko habe dein code ausprobiert aber leider immer noch das selbe problem hab noch mall alle channels ausprobiert immer die gleiche Fehlermeldung

            und hier nochmal der vollständige log für den switch:
            Code:
            17:22:19.283 DEBUG o.o.c.s.i.SchedulerActivator[:36]- Scheduler has been started.
            17:22:19.303 INFO  o.q.impl.StdSchedulerFactory[:1175]- Using default implementation for ThreadExecutor
            17:22:19.314 INFO  o.q.core.SchedulerSignalerImpl[:61]- Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
            17:22:19.314 INFO  o.quartz.core.QuartzScheduler[:243]- Quartz Scheduler v.2.1.7 created.
            17:22:19.315 INFO  org.quartz.simpl.RAMJobStore[:154]- RAMJobStore initialized.
            17:22:19.315 INFO  o.quartz.core.QuartzScheduler[:268]- Scheduler meta-data: Quartz Scheduler (v2.1.7) 'openHAB-job-scheduler' with instanceId 'NON_CLUSTERED'
              Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
              NOT STARTED.
              Currently in standby mode.
              Number of jobs executed: 0
              Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 2 threads.
              Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
            
            17:22:19.316 INFO  o.q.impl.StdSchedulerFactory[:1324]- Quartz scheduler 'openHAB-job-scheduler' initialized from specified file: './etc/quartz.properties'
            17:22:19.316 INFO  o.q.impl.StdSchedulerFactory[:1328]- Quartz scheduler version: 2.1.7
            17:22:19.316 INFO  o.quartz.core.QuartzScheduler[:534]- Scheduler openHAB-job-scheduler_$_NON_CLUSTERED started.
            17:22:19.317 DEBUG o.o.c.core.ConfigDispatcher[:146]- Processing openHAB default configuration file 'C:\openhab\configurations\openhab_default.cfg'.
            17:22:19.606 DEBUG o.o.c.core.ConfigDispatcher[:168]- Processing openHAB main configuration file 'C:\openhab\configurations\openhab.cfg'.
            17:22:19.941 DEBUG o.o.c.internal.CoreActivator[:93]- UUID file already exists at 'C:\openhab\webapps\static\uuid' with content '946ce0d4-4d1a-4812-9028-c8b79033d019'
            17:22:19.943 DEBUG o.o.c.internal.CoreActivator[:115]- Created file 'C:\openhab\webapps\static\version' with content '1.5.1'
            17:22:19.944 INFO  o.o.c.internal.CoreActivator[:61]- openHAB runtime has been started (v1.5.1).
            17:22:19.979 DEBUG o.o.c.a.i.AutoUpdateActivator[:31]- AutoUpdate binding has been started.
            17:22:20.385 DEBUG o.o.m.p.i.PersistenceModelActivator[:23]- Registered 'persistence' configuration parser
            17:22:20.391 DEBUG o.o.c.t.i.TransformationActivator[:38]- Transformation Service has been started.
            17:22:20.414 DEBUG o.o.i.g.internal.GCalActivator[:34]- Google Calendar IO has been started.
            17:22:20.426 DEBUG o.o.i.m.i.MultimediaActivator[:34]- Multimedia I/O bundle has been started.
            17:22:20.435 DEBUG o.o.i.s.i.DiscoveryServiceActivator[:27]- Discovery service has been started.
            17:22:20.442 DEBUG o.o.i.t.mqtt.MqttService[:121]- Starting MQTT Service...
            17:22:20.515 DEBUG o.o.m.i.i.ItemModelActivator[:24]- Registered 'item' configuration parser
            17:22:20.548 DEBUG o.o.c.i.items.ItemRegistryImpl[:137]- Item provider 'GenericItemProvider' has been added.
            17:22:20.816 DEBUG o.o.m.s.i.SitemapModelActivator[:23]- Registered 'sitemap' configuration parser
            17:22:20.871 DEBUG o.o.i.r.internal.RESTActivator[:33]- REST API has been started.
            17:22:20.916 INFO  o.o.i.s.i.DiscoveryServiceImpl[:72]- mDNS service has been started
            17:22:20.941 INFO  o.a.cpr.AtmosphereFramework[:2175]- Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
            17:22:20.942 INFO  o.a.c.DefaultAnnotationProcessor[:131]- AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
            17:22:20.950 ERROR o.a.cpr.AtmosphereFramework[:2215]- 
            java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.BundleURLConnection cannot be cast to java.net.JarURLConnection
            	at org.atmosphere.util.annotation.AnnotationDetector.detect(AnnotationDetector.java:325)
            	at org.atmosphere.cpr.DefaultAnnotationProcessor.scanForAnnotation(DefaultAnnotationProcessor.java:148)
            	at org.atmosphere.cpr.DefaultAnnotationProcessor.configure(DefaultAnnotationProcessor.java:134)
            	at org.atmosphere.cpr.AtmosphereFramework.autoConfigureService(AtmosphereFramework.java:2177)
            	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:655)
            	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:568)
            	at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:91)
            	at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80)
            	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:49)
            	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:179)
            	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:66)
            	at org.openhab.io.rest.RESTApplication.activate(RESTApplication.java:140)
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
            	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
            	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
            	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
            	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
            	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
            	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
            	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
            	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
            	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:260)
            	at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
            	at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
            	at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
            	at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
            	at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
            	at java.lang.Thread.run(Unknown Source)
            17:22:20.952 INFO  o.a.cpr.AtmosphereFramework[:1506]- Auto detecting atmosphere handlers /WEB-INF/classes/
            17:22:20.959 WARN  o.a.cpr.AtmosphereFramework[:1154]- Missing META-INF/atmosphere.xml but found the Jersey runtime. Starting Jersey
            17:22:20.983 INFO  o.a.cpr.AtmosphereFramework[:434]- Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path: /*
            17:22:20.984 INFO  o.a.cpr.AtmosphereFramework[:1561]- Auto detecting WebSocketHandler in /WEB-INF/classes/
            17:22:20.984 INFO  o.a.cpr.AtmosphereFramework[:1259]- Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
            17:22:20.995 INFO  o.a.h.ReflectorServletProcessor[:140]- Installing Servlet com.sun.jersey.spi.container.servlet.ServletContainer
            17:22:21.034 INFO  c.s.j.s.i.a.WebApplicationImpl[:790]- Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'
            17:22:21.035 INFO  c.s.j.s.i.a.WebApplicationImpl[:801]- Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
              class org.atmosphere.jersey.AtmosphereResourceConfigurator
            17:22:21.061 INFO  c.s.j.s.i.a.DeferredResourceConfig[:101]- Instantiated the Application class org.openhab.io.rest.RESTApplication
            17:22:21.377 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Default Response's Headers Interceptor with priority AFTER_DEFAULT 
            17:22:21.378 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Android Interceptor Support with priority AFTER_DEFAULT 
            17:22:21.378 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor SSE Interceptor Support with priority AFTER_DEFAULT 
            17:22:21.379 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor JSONP Interceptor Support with priority AFTER_DEFAULT 
            17:22:21.379 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Atmosphere JavaScript Protocol with priority AFTER_DEFAULT 
            17:22:21.380 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Browser disconnection detection with priority AFTER_DEFAULT 
            17:22:21.380 INFO  o.a.cpr.AtmosphereFramework[:826]- Installing Default AtmosphereInterceptor
            17:22:21.381 WARN  o.a.cpr.AtmosphereFramework[:703]- No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
            17:22:21.381 INFO  o.a.cpr.AtmosphereFramework[:711]- Broadcaster Polling Wait Time 100
            17:22:21.381 INFO  o.a.cpr.AtmosphereFramework[:712]- Shared ExecutorService supported: true
            17:22:21.381 INFO  o.a.cpr.AtmosphereFramework[:713]- HttpSession supported: false
            17:22:21.381 INFO  o.a.cpr.AtmosphereFramework[:714]- Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
            17:22:21.382 INFO  o.a.cpr.AtmosphereFramework[:715]- Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
            17:22:21.382 INFO  o.a.cpr.AtmosphereFramework[:716]- Using Broadcaster: org.atmosphere.jersey.JerseyBroadcaster
            17:22:21.382 INFO  o.a.cpr.AtmosphereFramework[:717]- Atmosphere is using async support: org.atmosphere.container.JettyAsyncSupportWithWebSocket running under container: jetty/8.1.3.v20120522 with WebSocket enabled.
            17:22:21.383 INFO  o.a.cpr.AtmosphereFramework[:719]- Atmosphere Framework 2.0.9 started.
            17:22:21.383 INFO  o.a.cpr.AtmosphereFramework[:721]- 
            
            	For Atmosphere Framework Commercial Support, visit 
            	http://www.async-io.org/ or send an email to support@async-io.org
            
            17:22:21.383 INFO  o.o.io.rest.RESTApplication[:143]- Started REST API at /rest
            17:22:21.384 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server._tcp.local. at port 8080
            17:22:21.639 INFO  o.a.cpr.AtmosphereFramework[:774]- Latest version of Atmosphere's JavaScript Client 2.0.9
            17:22:21.640 INFO  o.a.cpr.AtmosphereFramework[:781]- 
            
            	Atmosphere Framework Updates
            	Minor available (bugs fixes): 2.0.10
            	Major available (new features): 2.1.8
            17:22:28.651 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server-ssl._tcp.local. at port 8443
            17:22:30.333 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.sitemap'
            17:22:30.396 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'db4o.persist'
            17:22:30.404 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'exec.persist'
            17:22:30.465 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'logging.persist'
            17:22:30.467 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'rrd4j.persist'
            17:22:30.475 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.items'
            17:22:30.481 DEBUG o.o.m.i.i.GenericItemProvider[:154]- Processing binding configs for items from model 'demo.items'
            17:22:30.482 DEBUG o.o.m.i.i.GenericItemProvider[:133]- Read items from model 'demo.items'
            17:22:31.428 INFO  o.o.u.w.i.s.WebAppServlet[:79]- Started Classic UI at /openhab.app
            17:22:31.552 DEBUG o.o.m.r.i.RuleModelActivator[:42]- Registered 'rules' configuration parser
            17:22:31.557 DEBUG o.o.m.r.i.engine.RuleEngine[:78]- Started rule engine
            17:22:34.694 DEBUG o.o.b.h.internal.HttpActivator[:55]- HTTP binding has been started.
            17:22:34.703 DEBUG o.o.b.m.i.MilightActivator[:54]- Milight binding has been started.
            17:22:34.706 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'ALL_RGBW (Type=SwitchItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
            17:22:34.707 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'Dimm_RGBW (Type=DimmerItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
            17:22:34.715 DEBUG o.o.b.k.internal.KNXActivator[:52]- KNX binding has been started.
            17:22:49.605 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:22:49.605 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
            17:22:49.705 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:22:49.705 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
            17:22:55.660 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:22:55.660 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11':
            und hier für den dimmer:
            Code:
            17:27:08.490 DEBUG o.o.c.s.i.SchedulerActivator[:36]- Scheduler has been started.
            17:27:08.510 INFO  o.q.impl.StdSchedulerFactory[:1175]- Using default implementation for ThreadExecutor
            17:27:08.521 INFO  o.q.core.SchedulerSignalerImpl[:61]- Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
            17:27:08.521 INFO  o.quartz.core.QuartzScheduler[:243]- Quartz Scheduler v.2.1.7 created.
            17:27:08.522 INFO  org.quartz.simpl.RAMJobStore[:154]- RAMJobStore initialized.
            17:27:08.523 INFO  o.quartz.core.QuartzScheduler[:268]- Scheduler meta-data: Quartz Scheduler (v2.1.7) 'openHAB-job-scheduler' with instanceId 'NON_CLUSTERED'
              Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
              NOT STARTED.
              Currently in standby mode.
              Number of jobs executed: 0
              Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 2 threads.
              Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
            
            17:27:08.523 INFO  o.q.impl.StdSchedulerFactory[:1324]- Quartz scheduler 'openHAB-job-scheduler' initialized from specified file: './etc/quartz.properties'
            17:27:08.524 INFO  o.q.impl.StdSchedulerFactory[:1328]- Quartz scheduler version: 2.1.7
            17:27:08.524 INFO  o.quartz.core.QuartzScheduler[:534]- Scheduler openHAB-job-scheduler_$_NON_CLUSTERED started.
            17:27:08.525 DEBUG o.o.c.core.ConfigDispatcher[:146]- Processing openHAB default configuration file 'C:\openhab\configurations\openhab_default.cfg'.
            17:27:08.867 DEBUG o.o.c.core.ConfigDispatcher[:168]- Processing openHAB main configuration file 'C:\openhab\configurations\openhab.cfg'.
            17:27:09.224 DEBUG o.o.c.internal.CoreActivator[:93]- UUID file already exists at 'C:\openhab\webapps\static\uuid' with content '946ce0d4-4d1a-4812-9028-c8b79033d019'
            17:27:09.226 DEBUG o.o.c.internal.CoreActivator[:115]- Created file 'C:\openhab\webapps\static\version' with content '1.5.1'
            17:27:09.227 INFO  o.o.c.internal.CoreActivator[:61]- openHAB runtime has been started (v1.5.1).
            17:27:09.271 DEBUG o.o.c.a.i.AutoUpdateActivator[:31]- AutoUpdate binding has been started.
            17:27:09.722 DEBUG o.o.m.p.i.PersistenceModelActivator[:23]- Registered 'persistence' configuration parser
            17:27:09.729 DEBUG o.o.c.t.i.TransformationActivator[:38]- Transformation Service has been started.
            17:27:09.752 DEBUG o.o.i.g.internal.GCalActivator[:34]- Google Calendar IO has been started.
            17:27:09.764 DEBUG o.o.i.m.i.MultimediaActivator[:34]- Multimedia I/O bundle has been started.
            17:27:09.773 DEBUG o.o.i.s.i.DiscoveryServiceActivator[:27]- Discovery service has been started.
            17:27:09.779 DEBUG o.o.i.t.mqtt.MqttService[:121]- Starting MQTT Service...
            17:27:09.854 DEBUG o.o.m.i.i.ItemModelActivator[:24]- Registered 'item' configuration parser
            17:27:09.886 DEBUG o.o.c.i.items.ItemRegistryImpl[:137]- Item provider 'GenericItemProvider' has been added.
            17:27:10.154 DEBUG o.o.m.s.i.SitemapModelActivator[:23]- Registered 'sitemap' configuration parser
            17:27:10.210 DEBUG o.o.i.r.internal.RESTActivator[:33]- REST API has been started.
            17:27:10.255 INFO  o.o.i.s.i.DiscoveryServiceImpl[:72]- mDNS service has been started
            17:27:10.279 INFO  o.a.cpr.AtmosphereFramework[:2175]- Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
            17:27:10.280 INFO  o.a.c.DefaultAnnotationProcessor[:131]- AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
            17:27:10.288 ERROR o.a.cpr.AtmosphereFramework[:2215]- 
            java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.BundleURLConnection cannot be cast to java.net.JarURLConnection
            	at org.atmosphere.util.annotation.AnnotationDetector.detect(AnnotationDetector.java:325)
            	at org.atmosphere.cpr.DefaultAnnotationProcessor.scanForAnnotation(DefaultAnnotationProcessor.java:148)
            	at org.atmosphere.cpr.DefaultAnnotationProcessor.configure(DefaultAnnotationProcessor.java:134)
            	at org.atmosphere.cpr.AtmosphereFramework.autoConfigureService(AtmosphereFramework.java:2177)
            	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:655)
            	at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:568)
            	at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:91)
            	at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80)
            	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:49)
            	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:179)
            	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:66)
            	at org.openhab.io.rest.RESTApplication.activate(RESTApplication.java:140)
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
            	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
            	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
            	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
            	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
            	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
            	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
            	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
            	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
            	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
            	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)
            	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:260)
            	at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
            	at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
            	at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
            	at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
            	at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
            	at java.lang.Thread.run(Unknown Source)
            17:27:10.290 INFO  o.a.cpr.AtmosphereFramework[:1506]- Auto detecting atmosphere handlers /WEB-INF/classes/
            17:27:10.292 WARN  o.a.cpr.AtmosphereFramework[:1154]- Missing META-INF/atmosphere.xml but found the Jersey runtime. Starting Jersey
            17:27:10.321 INFO  o.a.cpr.AtmosphereFramework[:434]- Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path: /*
            17:27:10.322 INFO  o.a.cpr.AtmosphereFramework[:1561]- Auto detecting WebSocketHandler in /WEB-INF/classes/
            17:27:10.322 INFO  o.a.cpr.AtmosphereFramework[:1259]- Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
            17:27:10.333 INFO  o.a.h.ReflectorServletProcessor[:140]- Installing Servlet com.sun.jersey.spi.container.servlet.ServletContainer
            17:27:10.372 INFO  c.s.j.s.i.a.WebApplicationImpl[:790]- Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'
            17:27:10.373 INFO  c.s.j.s.i.a.WebApplicationImpl[:801]- Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
              class org.atmosphere.jersey.AtmosphereResourceConfigurator
            17:27:10.398 INFO  c.s.j.s.i.a.DeferredResourceConfig[:101]- Instantiated the Application class org.openhab.io.rest.RESTApplication
            17:27:10.697 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Default Response's Headers Interceptor with priority AFTER_DEFAULT 
            17:27:10.698 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Android Interceptor Support with priority AFTER_DEFAULT 
            17:27:10.698 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor SSE Interceptor Support with priority AFTER_DEFAULT 
            17:27:10.699 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor JSONP Interceptor Support with priority AFTER_DEFAULT 
            17:27:10.699 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Atmosphere JavaScript Protocol with priority AFTER_DEFAULT 
            17:27:10.699 INFO  o.a.cpr.AtmosphereFramework[:2014]- Installed AtmosphereInterceptor Browser disconnection detection with priority AFTER_DEFAULT 
            17:27:10.700 INFO  o.a.cpr.AtmosphereFramework[:826]- Installing Default AtmosphereInterceptor
            17:27:10.701 WARN  o.a.cpr.AtmosphereFramework[:703]- No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
            17:27:10.701 INFO  o.a.cpr.AtmosphereFramework[:711]- Broadcaster Polling Wait Time 100
            17:27:10.701 INFO  o.a.cpr.AtmosphereFramework[:712]- Shared ExecutorService supported: true
            17:27:10.701 INFO  o.a.cpr.AtmosphereFramework[:713]- HttpSession supported: false
            17:27:10.701 INFO  o.a.cpr.AtmosphereFramework[:714]- Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
            17:27:10.701 INFO  o.a.cpr.AtmosphereFramework[:715]- Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
            17:27:10.702 INFO  o.a.cpr.AtmosphereFramework[:716]- Using Broadcaster: org.atmosphere.jersey.JerseyBroadcaster
            17:27:10.702 INFO  o.a.cpr.AtmosphereFramework[:717]- Atmosphere is using async support: org.atmosphere.container.JettyAsyncSupportWithWebSocket running under container: jetty/8.1.3.v20120522 with WebSocket enabled.
            17:27:10.702 INFO  o.a.cpr.AtmosphereFramework[:719]- Atmosphere Framework 2.0.9 started.
            17:27:10.703 INFO  o.a.cpr.AtmosphereFramework[:721]- 
            
            	For Atmosphere Framework Commercial Support, visit 
            	http://www.async-io.org/ or send an email to support@async-io.org
            
            17:27:10.703 INFO  o.o.io.rest.RESTApplication[:143]- Started REST API at /rest
            17:27:10.704 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server._tcp.local. at port 8080
            17:27:10.949 INFO  o.a.cpr.AtmosphereFramework[:774]- Latest version of Atmosphere's JavaScript Client 2.0.9
            17:27:10.950 INFO  o.a.cpr.AtmosphereFramework[:781]- 
            
            	Atmosphere Framework Updates
            	Minor available (bugs fixes): 2.0.10
            	Major available (new features): 2.1.8
            17:27:17.876 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server-ssl._tcp.local. at port 8443
            17:27:19.670 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.sitemap'
            17:27:19.733 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'db4o.persist'
            17:27:19.741 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'exec.persist'
            17:27:19.743 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'logging.persist'
            17:27:19.745 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'rrd4j.persist'
            17:27:19.752 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.items'
            17:27:19.814 DEBUG o.o.m.i.i.GenericItemProvider[:154]- Processing binding configs for items from model 'demo.items'
            17:27:19.815 DEBUG o.o.m.i.i.GenericItemProvider[:133]- Read items from model 'demo.items'
            17:27:20.462 INFO  o.o.u.w.i.s.WebAppServlet[:79]- Started Classic UI at /openhab.app
            17:27:20.589 DEBUG o.o.m.r.i.RuleModelActivator[:42]- Registered 'rules' configuration parser
            17:27:20.593 DEBUG o.o.m.r.i.engine.RuleEngine[:78]- Started rule engine
            17:27:24.005 DEBUG o.o.b.k.internal.KNXActivator[:52]- KNX binding has been started.
            17:27:24.022 DEBUG o.o.b.m.i.MilightActivator[:54]- Milight binding has been started.
            17:27:24.025 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'ALL_RGBW (Type=SwitchItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
            17:27:24.026 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'Dimm_RGBW (Type=DimmerItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
            17:27:24.028 DEBUG o.o.b.h.internal.HttpActivator[:55]- HTTP binding has been started.
            17:27:44.119 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:27:44.120 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
            17:27:44.220 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:27:44.221 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
            17:27:46.098 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:27:46.098 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
            17:27:46.199 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:27:46.200 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
            17:27:47.247 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:27:47.249 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
            17:27:47.784 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
            17:27:47.785 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11':
            LG Luis

            Kommentar


              #7
              Ich habe gerade eben versucht den Fehler zu reproduzieren, leider Fehlanzeige.

              Sowohl mit Release 1.5.0 als auch 1.5.1 taucht der Fehler bei mir nicht auf :

              Auszug milight.items
              Switch All_RGBW "Switch All RGBW" (System) { milight="bridge2;6" }

              Auszug miligh.sitemap
              sitemap milight label="Milight V3 Test"
              {
              Frame {
              Switch item=All_RGBW
              }
              }

              Auszug openhab.cfg
              # Host of the second Mi-Light Bridge to control
              milight:bridge2.host=192.168.0.116
              #
              # Port of the Bridge to control (optional, defaults to 50000)
              milight:bridge2.port=8899

              Auszug logback_debug.xml
              <logger name="org.openhab.binding.milight" level="DEBUG"/>

              Auszug openhab.log
              23:40:11.980 DEBUG o.o.b.m.i.MilightActivator[:34]- Milight binding has been started.
              23:40:11.987 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'All_RGBW (Type=SwitchItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
              23:40:34.505 DEBUG o.o.b.m.i.MilightBinding[:673]- milight: messageBytes to transform: '42:00:55'
              23:40:34.507 DEBUG o.o.b.m.i.MilightBinding[:664]- Sent packet '42:00:55' to bridge 'bridge2' (192.168.0.116:8899)
              23:40:34.608 DEBUG o.o.b.m.i.MilightBinding[:673]- milight: messageBytes to transform: '42:00:55'
              23:40:34.610 DEBUG o.o.b.m.i.MilightBinding[:664]- Sent packet '42:00:55' to bridge 'bridge2' (192.168.0.116:8899)
              23:40:34.711 DEBUG o.o.b.m.i.MilightBinding[:501]- Bulb '6' set to '31' dimming Steps
              23:40:34.712 DEBUG o.o.b.m.i.MilightBinding[:673]- milight: messageBytes to transform: '4E:1f:55'
              23:40:34.713 DEBUG o.o.b.m.i.MilightBinding[:664]- Sent packet '4E:1f:55' to bridge 'bridge2' (192.168.0.116:8899)

              Getestet unter Xubuntu 14.04 LTS in einer VM unter Windows 7
              Einziger Unterschied zu meinem items file : Der Switch hat ein label.

              In deinen Logfiles sehe ich keine debug Einträge vom milight binding, kann es sein, dass Du den Eintrag im logback.xml (wie oben angegeben) nicht gemacht hast ? Sorry, hatte ich im letzten post nicht explizit erwähnt.
              Wenn ja, dann ergänze das bitte noch einmal und führ die von mir beschriebenen Wege durch und poste die logs.

              Viele Grüße
              Hans-Jörg

              Kommentar


                #8
                ok danke für die Bemühungen
                hier ist nochmal der Debug log:
                Code:
                17:56:05.574 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server-ssl._tcp.local. at port 8443
                17:56:07.291 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.sitemap'
                17:56:07.351 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'db4o.persist'
                17:56:07.359 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'exec.persist'
                17:56:07.361 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'logging.persist'
                17:56:07.363 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'rrd4j.persist'
                17:56:07.370 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.items'
                17:56:07.376 DEBUG o.o.m.i.i.GenericItemProvider[:154]- Processing binding configs for items from model 'demo.items'
                17:56:07.377 DEBUG o.o.m.i.i.GenericItemProvider[:133]- Read items from model 'demo.items'
                17:56:08.314 INFO  o.o.u.w.i.s.WebAppServlet[:79]- Started Classic UI at /openhab.app
                17:56:08.412 DEBUG o.o.m.r.i.RuleModelActivator[:42]- Registered 'rules' configuration parser
                17:56:08.417 DEBUG o.o.m.r.i.engine.RuleEngine[:78]- Started rule engine
                17:56:11.595 DEBUG o.o.b.k.internal.KNXActivator[:52]- KNX binding has been started.
                17:56:11.612 DEBUG o.o.b.h.internal.HttpActivator[:55]- HTTP binding has been started.
                17:56:11.618 DEBUG o.o.b.m.i.MilightActivator[:54]- Milight binding has been started.
                17:56:11.621 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'All_RGBW (Type=SwitchItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
                17:57:27.167 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                17:57:27.167 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                17:57:27.267 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                17:57:27.268 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                17:57:33.496 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                17:57:33.497 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11':
                meine frage ist kann es sein das das etwas mit dem KNX binding zu tun hat
                weil da wusste ich nicht so recht was ich in die openhab.cfg rein schreiben soll also hab ich alles auf default gelassen.
                wenn ja kannst du mir bitte sagen welche ip adressen und welche ports ich da rein schreiben soll und ob router oder tunnel

                LG Luis

                Kommentar


                  #9
                  Sorry, mit knx kenne ich mich nicht aus.
                  Zum weiteren testen nimm außer dem configadmin binding und dem milight binding alles andere aus dem addons verzeichnis heraus.

                  Kannst Du bitte auch kurz dein Setup beschreiben ?

                  Server / OS / Java version.

                  Gruß
                  Hans-Jörg

                  Kommentar


                    #10
                    Also mein auf meinem Windows 7 64bit pc läuft openhab und ich habe Java Version 8 update 20.

                    das milight wifi modul habe ich in meinen Router eingeloggt und die rgbw Lampe auf das wifi modul konfiguriert.

                    was ich mir noch vorstellen könnte ist das ich den flaschen port verwende hast du vielleicht eine Idee wie man raus findet welcher Port für das ansteuern verwendet wird.

                    LG Luis

                    Kommentar


                      #11
                      Hallo Luis,
                      die Fehlermeldung wird direkt im binding erzeugt, hat nichts mit der milight bridge zu tun.
                      Setze bitte noch den commandtype brightness in Dein item, das sollte zumindest einige weitere Einträge im log erzeugen, die uns vielleicht weiterhelfen.

                      Welche openhab Version läuft bei Dir, und mit welcher Version des bindings.

                      Ich habe gerade noch einmal einen Quick check gemacht.
                      Auch auf meinem native Win7 x64 mit Java7 funktionieren die oben beschriebenen Einstellungen, obwohl ich noch ein V2 bridge benutze.

                      Gruß
                      Hans-Jörg

                      Kommentar


                        #12
                        Also ich habe die openhab version 1.5.1
                        und das configadmin binding und milight binding haben version 1.3.1

                        ich hab jetzt heraus gefunden ,dass meine bridge nicht version 3 ist sondern schon version 4 und diese version eine andre api hat. muss man vielleicht irgendwie anpassen aber ich kenn mich da nicht so gut aus.
                        LimitlessLED Technical Developer Opensource API | LimitlessLED

                        hier nochmal der code mit commandtype brightness erzeugt leider genau den gleichen fehler
                        Code:
                        	Atmosphere Framework Updates
                        	Minor available (bugs fixes): 2.0.10
                        	Major available (new features): 2.1.8
                        11:01:41.980 DEBUG o.o.i.s.i.DiscoveryServiceImpl[:43]- Registering new service _openhab-server-ssl._tcp.local. at port 8443
                        11:01:43.801 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.sitemap'
                        11:01:43.861 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'db4o.persist'
                        11:01:43.926 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'exec.persist'
                        11:01:43.929 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'logging.persist'
                        11:01:43.931 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'rrd4j.persist'
                        11:01:43.938 INFO  o.o.m.c.i.ModelRepositoryImpl[:79]- Loading model 'demo.items'
                        11:01:43.945 DEBUG o.o.m.i.i.GenericItemProvider[:154]- Processing binding configs for items from model 'demo.items'
                        11:01:43.946 DEBUG o.o.m.i.i.GenericItemProvider[:133]- Read items from model 'demo.items'
                        11:01:44.549 INFO  o.o.u.w.i.s.WebAppServlet[:79]- Started Classic UI at /openhab.app
                        11:01:44.691 DEBUG o.o.m.r.i.RuleModelActivator[:42]- Registered 'rules' configuration parser
                        11:01:44.696 DEBUG o.o.m.r.i.engine.RuleEngine[:78]- Started rule engine
                        11:01:48.484 DEBUG o.o.b.m.i.MilightActivator[:54]- Milight binding has been started.
                        11:01:48.490 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'All_RGBW (Type=SwitchItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
                        11:01:48.491 DEBUG o.o.m.i.i.GenericItemProvider[:334]- Start processing binding configuration of Item 'Dimm_RGBW (Type=DimmerItem, State=Uninitialized)' with 'MilightGenericBindingProvider' reader.
                        11:01:48.494 DEBUG o.o.b.c.i.ConfigAdminActivator[:51]- ConfigAdmin binding has been started.
                        11:02:03.486 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:03.487 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                        11:02:03.588 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:03.589 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                        11:02:09.161 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:09.162 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                        11:02:12.203 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:12.204 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                        11:02:12.305 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:12.306 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                        11:02:12.823 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:12.824 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                        11:02:12.925 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:12.926 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11': 
                        11:02:14.137 ERROR o.o.b.m.i.MilightBinding[:528]- messageBytes must not be null
                        11:02:14.138 ERROR o.o.b.m.i.MilightBinding[:521]- Failed to send Message to '192.168.1.11':
                        LG Luis

                        Kommentar


                          #13
                          Hi Luis,
                          Dann haben wir doch den Fehler.
                          API V3 wird erst ab openHAB 1.4 unterstützt, steht auch im Wiki.
                          Bitte verwende stets die bindings, die auch im Release geliefert werden.
                          Nach einem Update des Milight bindings auf 1.5.1 sollte alles laufen.

                          Gruß
                          Hans-Jörg

                          Kommentar


                            #14
                            Vielen vielen dank es klappt endlich DD
                            ich weis nicht wo ich die veraltete binding version her hab

                            LG Luis

                            Kommentar


                              #15
                              Hallo,

                              wollte den Thread nochmal hochpushen, da ich genau die selbe Fehlermeldung habe.
                              Aber auch die Config sieht identisch aus, sollte also ansich passen.
                              Ich habe aber OH in 1.6.1 am laufen.
                              Hat sich etwas an den Bindings verändert ?

                              Danke vorab

                              Gruß
                              Thorsten

                              EDIT : Was soll ich sagen, ein Neustart des Servers hat geholfen. Komisch das ein stoppen und starten von Openhab hierfür nicht ausgereicht hat. Nun gehts aber

                              Kommentar

                              Lädt...
                              X