openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.86k stars 3.56k forks source link

2.0.0 Alpha discussion thread #54

Closed kgoderis closed 9 years ago

kgoderis commented 9 years ago

I propose to put some early feedback on yesterday's release in this separate thread?

to start of with, Kai, next to the write-up/tables you made i the documentation folder, what are the essential features we are missing before it can be put into production? If nothing essential I will move over very shortly and take it from there.

kgoderis commented 9 years ago
kaikreuzer commented 9 years ago

I think the most important is the compatibility with existing installations - so unless we have at least 80% of openHAB 1.x extensions running smoothly, I would not consider a 2.0 production version. For problems that you come across, I would suggest to enter individual issues, so that they can be tracked separately.

maze42 commented 9 years ago

I'm not able to start OpenHAB. Downloaded the Alpha 1 dist. and moved the files and folders to a new folder "C:\OpenHab". When I try to run "start.bat" get this error message:

Launching the openHAB runtime...
Error: Could not find or load main class HTTPS_PORT=8443

If I run the "start_debug.bat" instead, openhab start but I can't connect to the webpage. Get error "404 - Not found".

kaikreuzer commented 9 years ago

Are you sure that you did not touch any of the start.* files? Do you have Java 7 installed? It all works good for me on Windows 8...

maze42 commented 9 years ago

I was just about to say, no, but I actually changed the http port settings to 8081 before first start. I downloaded the start.bat file again and now OH start as expected :-). Compare to OH 1.6 the start is very slow. On my i7 laptop, the start takes about 4 minutes. To start OH 1.6 it takes about 40 seconds.

kaikreuzer commented 9 years ago

4 minutes on an i7??? It takes 3 minutes on my Raspberry Pi... Something seems to be extremely odd there. Could you launch in debug mode and post the log that is produced during startup?

maze42 commented 9 years ago

My mistake, I calculated the time to the first scheduled rule. I guess that is not correct. The start time is around 1:40 minutes.

23:25:33.919 DEBUG o.o.c.i.internal.InitActivator[:84]- UUID file already exists at 'C:\OpenHAB\userdata\id\uuid' with content 'cda34214-871e-4402-ae72-658151a56a02' 23:25:33.947 DEBUG o.o.c.i.internal.InitActivator[:119]- Created file 'C:\OpenHAB\userdata\id\version' with content '2.0.0' 23:25:38.863 DEBUG o.e.s.m.i.r.i.ItemRuntimeActivator[:17]- Registered 'item' configuration parser 23:25:39.046 INFO o.q.impl.StdSchedulerFactory[:1184]- Using default implementation for ThreadExecutor 23:25:39.091 INFO o.q.core.SchedulerSignalerImpl[:61]- Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 23:25:39.092 INFO o.quartz.core.QuartzScheduler[:240]- Quartz Scheduler v.2.2.1 created. 23:25:39.096 INFO org.quartz.simpl.RAMJobStore[:155]- RAMJobStore initialized. 23:25:39.099 INFO o.quartz.core.QuartzScheduler[:305]- Scheduler meta-data: Quartz Scheduler (v2.2.1) '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.

23:25:39.101 INFO o.q.impl.StdSchedulerFactory[:1339]- Quartz scheduler 'openHAB-job-scheduler' initialized from specified file: './runtime/etc/quartz.properties' 23:25:39.102 INFO o.q.impl.StdSchedulerFactory[:1343]- Quartz scheduler version: 2.2.1 23:25:39.476 DEBUG o.e.s.m.p.r.i.PersistenceRuntimeActivator[:17]- Registered 'persistence' configuration parser 23:25:40.105 INFO l.j.a.n.i.t.l.g.LFXGatewayDiscoveryController[:164]- DISCOVERYMODE: NORMAL 23:25:40.108 INFO l.j.a.n.i.t.l.g.LFXGatewayDiscoveryController[:183]- Making Discovery Timer task. Period: 30000 23:25:40.439 DEBUG o.e.s.b.y.d.YahooWeatherDiscoveryService[:124]- Location from IP: 'Västerås, Sweden' coordinates: '59.617, 16.55' 23:25:42.226 DEBUG o.e.s.b.y.d.YahooWeatherDiscoveryService[:129]- Location from locationID: '12888464' is: 'Vasteras, Sweden' 23:25:42.878 DEBUG o.e.s.m.r.r.i.RuleRuntimeActivator[:35]- Registered 'rule' configuration parser 23:26:03.403 INFO l.j.a.n.i.t.l.g.LFXGatewayDiscoveryController[:164]- DISCOVERYMODE: ACTIVELYSEARCHING 23:26:03.404 INFO l.j.a.n.i.t.l.g.LFXGatewayDiscoveryController[:183]- Making Discovery Timer task. Period: 1000 23:26:03.418 INFO l.j.a.n.i.t.g.LFXSocketUDP$UDPReceiveTask[:178]- UDP SOCKET MONITOR IS ONLINE - ip: /10.10.1.255, port: 56750 23:26:03.418 INFO l.j.a.n.i.t.g.LFXSocketUDP$UDPReceiveTask[:178]- UDP SOCKET MONITOR IS ONLINE - ip: /10.10.1.255, port: 56700 23:26:03.419 INFO l.j.a.n.i.t.l.LFXLANTransportManager[:99]- Connection State did change called. 23:26:03.426 INFO l.j.a.n.i.t.l.LFXLANTransportManager[:99]- Connection State did change called. 23:26:04.143 DEBUG o.e.s.m.s.r.i.ScriptRuntimeActivator[:16]- Registered 'script' configuration parser 23:26:04.659 DEBUG o.e.s.m.s.r.i.SitemapRuntimeActivator[:17]- Registered 'sitemap' configuration parser 23:26:05.050 DEBUG o.e.s.m.t.r.i.ThingRuntimeActivator[:17]- Registered 'thing' configuration parser 23:26:06.197 WARN o.e.j.s.h.RequestLogHandler[:128]- !RequestLog 23:26:06.547 INFO o.o.u.p.i.servlet.PaperUIApp[:31]- Started Paper UI at /ui 23:26:06.617 DEBUG o.e.s.c.d.i.ConfigDispatcher[:236]- Processing config file 'services.cfg' 23:26:06.722 DEBUG o.e.s.c.d.i.ConfigDispatcher[:236]- Processing config file 'logging.cfg' 23:26:06.731 DEBUG o.e.s.c.d.i.ConfigDispatcher[:236]- Processing config file 'runtime.cfg' 23:26:07.122 DEBUG o.e.s.c.internal.CoreActivator[:30]- Core bundle has been started. 23:26:07.286 DEBUG o.e.s.c.a.i.AutoUpdateActivator[:29]- AutoUpdate binding has been started. 23:26:07.331 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/binding/binding.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.359 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.hue'. 23:26:07.361 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/binding/binding.xml' in module 'org.openhab.binding.sonos'... 23:26:07.368 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.openhab.binding.sonos'. 23:26:07.369 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/binding/binding.xml' in module 'org.eclipse.smarthome.binding.lifx'... 23:26:07.372 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.lifx'. 23:26:07.373 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/binding/binding.xml' in module 'org.eclipse.smarthome.binding.yahooweather'... 23:26:07.375 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.yahooweather'. 23:26:07.378 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/binding/binding.xml' in module 'org.eclipse.smarthome.binding.wemo'... 23:26:07.380 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.wemo'. 23:26:07.405 DEBUG o.e.s.c.s.i.SchedulerActivator[:34]- Scheduler has been started. 23:26:07.410 INFO o.quartz.core.QuartzScheduler[:575]- Scheduler openHAB-job-scheduler$_NON_CLUSTERED started. 23:26:07.449 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.eclipse.smarthome.model.thing.internal.GenericItemChannelLinkProvider' has been added. 23:26:07.458 DEBUG o.e.s.c.t.i.ThingManager[:312]- Thing handler factory 'YahooWeatherHandlerFactory' added 23:26:07.459 DEBUG o.e.s.c.t.i.ThingManager[:312]- Thing handler factory 'HueThingHandlerFactory' added 23:26:07.460 DEBUG o.e.s.c.t.i.ThingManager[:312]- Thing handler factory 'LifxHandlerFactory' added 23:26:07.520 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LLC013.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.546 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.hue'. 23:26:07.556 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LLC012.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.586 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/bridge.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.596 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LLC006.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.627 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LLC011.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.633 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LCT002.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.649 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LCT003.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.655 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LST001.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.661 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LWL001.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.667 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LLC010.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.672 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/ZLL_Light.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.683 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LLC001.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.690 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LWB004.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.704 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LLC007.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.729 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/LCT001.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.742 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/channels.xml' in module 'org.eclipse.smarthome.binding.hue'... 23:26:07.773 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/thing-types.xml' in module 'org.openhab.binding.sonos'... 23:26:07.835 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.openhab.binding.sonos'. 23:26:07.837 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/thing-types.xml' in module 'org.eclipse.smarthome.binding.lifx'... 23:26:07.841 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.lifx'. 23:26:07.842 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/thing-types.xml' in module 'org.eclipse.smarthome.binding.yahooweather'... 23:26:07.850 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.yahooweather'. 23:26:07.853 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:174]- Reading the XML document '/ESH-INF/thing/thing-types.xml' in module 'org.eclipse.smarthome.binding.wemo'... 23:26:07.861 DEBUG o.e.s.c.x.o.XmlDocumentBundleTracker[:107]- Create an empty XmlDocumentProvider for the module 'org.eclipse.smarthome.binding.wemo'. 23:26:07.873 DEBUG o.e.s.c.t.i.TransformationActivator[:36]- Transformation Service has been started. 23:26:07.920 DEBUG o.e.s.i.m.i.MDNSActivator[:26]- mDNS service has been started. 23:26:07.943 DEBUG o.e.s.i.m.i.MultimediaActivator[:31]- Multimedia I/O bundle has been started. 23:26:07.995 DEBUG o.e.s.i.r.i.RESTActivator[:31]- REST API has been started. 23:26:27.489 DEBUG o.e.s.i.m.i.MDNSServiceImpl[:76]- mDNS service has been started 23:26:27.501 DEBUG o.e.s.i.m.i.MDNSServiceImpl[:44]- Registering new service _openhab-server-ssl._tcp.local. at port 8443 23:26:27.501 DEBUG o.e.s.i.m.i.MDNSServiceImpl[:44]- Registering new service _openhab-server._tcp.local. at port 8081 23:26:27.578 DEBUG o.e.s.i.t.mqtt.MqttService[:118]- Starting MQTT Service... 23:26:28.211 DEBUG o.e.s.s.m.MapDbStorageService[:53]- Opened MapDB file at 'C:\OpenHAB\userdata\mapdb\storage.mapdb'. 23:26:28.321 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.eclipse.smarthome.core.items.ManagedItemProvider' has been added. 23:26:28.352 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.eclipse.smarthome.core.thing.link.ManagedItemChannelLinkProvider' has been added. 23:26:28.378 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.eclipse.smarthome.core.thing.ManagedThingProvider' has been added. 23:26:28.500 DEBUG o.e.s.u.i.chart.ChartServlet[:125]- Starting up chart servlet at /chart 23:26:28.536 DEBUG o.e.s.u.i.c.DefaultChartProvider[:101]- Starting up default chart provider. 23:26:28.603 DEBUG o.e.s.u.c.i.servlet.CmdServlet[:56]- Starting up CMD servlet at /CMD 23:26:28.729 DEBUG o.e.s.u.i.internal.IconServlet[:70]- Starting up icon servlet at /images 23:26:54.159 ERROR o.j.t.i.o.HttpServiceServletContainerAdapter[:68]- Failed to register UPnP servlet! org.osgi.service.http.NamespaceException: The alias '/upnpcallback' is already in use. at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:169) at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:66) at org.jupnp.transport.impl.osgi.HttpServiceServletContainerAdapter.registerServlet(HttpServiceServletContainerAdapter.java:63) at org.jupnp.transport.impl.AsyncServletStreamServerImpl.init(AsyncServletStreamServerImpl.java:71) at org.jupnp.transport.RouterImpl.startAddressBasedTransports(RouterImpl.java:426) at org.jupnp.transport.RouterImpl.enable(RouterImpl.java:129) at org.jupnp.UpnpServiceImpl.startup(UpnpServiceImpl.java:201) at org.jupnp.UpnpServiceImpl.activate(UpnpServiceImpl.java:218) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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:109) at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914) 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:862) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225) at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464) 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 org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70) 23:26:54.284 DEBUG o.e.s.i.t.u.UpnpIOServiceImpl[:142]- Starting UPnP IO service... 23:26:54.311 DEBUG o.e.s.c.t.i.ThingManager[:312]- Thing handler factory 'WemoHandlerFactory' added 23:26:54.387 DEBUG o.e.s.c.t.i.ThingManager[:312]- Thing handler factory 'SonosHandlerFactory' added 23:26:54.637 INFO o.o.u.d.i.DashboardService[:32]- Started dashboard at /start 23:26:56.676 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:57.677 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:57.902 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:58.125 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:58.410 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:58.645 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:59.109 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:59.526 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:26:59.826 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:27:00.158 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:27:00.504 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.eclipse.smarthome.model.item.internal.GenericItemProvider' has been added. 23:27:00.526 INFO o.quartz.core.QuartzScheduler[:2311]- JobFactory set to: org.eclipse.smarthome.model.rule.runtime.internal.engine.GuiceAwareJobFactory@a639769 23:27:00.528 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:84]- Started rule engine 23:27:00.543 INFO o.e.s.u.c.i.s.WebAppServlet[:78]- Started Classic UI at /classicui 23:27:00.557 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.eclipse.smarthome.model.thing.internal.GenericThingProvider' has been added. 23:27:00.586 INFO o.g.j.s.ApplicationHandler[:353]- Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32... 23:27:00.841 DEBUG o.e.s.u.i.proxy.ProxyServlet[:94]- Starting up proxy servlet at /proxy 23:27:00.859 INFO o.o.c.internal.CoreActivator[:55]- openHAB runtime has been started (v2.0.0, build 201411232232). 23:27:00.860 DEBUG o.o.c.internal.CoreActivator[:62]- Startup took 92168 ms 23:27:00.896 INFO o.e.s.m.c.i.ModelRepositoryImpl[:84]- Loading model 'demo.rules' 23:27:01.432 DEBUG o.e.s.m.r.r.i.e.RuleTriggerManager[:441]- Scheduled rule Set random room temperatures with cron expression 0 0/5 * * * ? 23:27:01.435 DEBUG o.e.s.m.r.r.i.e.RuleTriggerManager[:441]- Scheduled rule Update max and min temperatures with cron expression 0 0 0 * * ? 23:27:01.437 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Initialize light states' 23:27:02.895 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Initialize light states' 23:27:06.050 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Initialize light states': The name 'Lights' cannot be resolved to an item or type. 23:27:06.050 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Initialize light states': The name 'Lights' cannot be resolved to an item or type. 23:27:06.052 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Initialize heating states' 23:27:06.052 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Initialize heating states' 23:27:06.054 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Initialize heating states': The name 'Heating' cannot be resolved to an item or type. 23:27:06.054 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Initialize heating states': The name 'Heating' cannot be resolved to an item or type. 23:27:06.055 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Initialize contact states' 23:27:06.055 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Initialize contact states' 23:27:06.057 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Initialize contact states': The name 'Windows' cannot be resolved to an item or type. 23:27:06.057 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Initialize contact states': The name 'Windows' cannot be resolved to an item or type. 23:27:06.058 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Set random room temperatures' 23:27:06.059 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Set random room temperatures' 23:27:06.060 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Set random room temperatures': The name 'Temperature' cannot be resolved to an item or type. 23:27:06.062 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Set random room temperatures': The name 'Temperature' cannot be resolved to an item or type. 23:27:06.063 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Update max and min temperatures' 23:27:06.063 DEBUG o.e.s.m.r.r.i.e.RuleEngineImpl[:261]- Executing startup rule 'Update max and min temperatures' 23:27:06.065 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Update max and min temperatures': The name 'Weather_Temp_Max' cannot be resolved to an item or type. 23:27:06.069 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.openhab.core.internal.item.ThingItemUIProvider' has been added. 23:27:06.070 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:267]- Error during the execution of startup rule 'Update max and min temperatures': The name 'Weather_Temp_Max' cannot be resolved to an item or type. 23:27:06.076 DEBUG o.e.s.c.c.r.AbstractRegistry[:145]- Provider 'org.openhab.core.internal.item.ThingItemChannelLinkProvider' has been added. 23:27:06.121 INFO o.e.s.m.c.i.ModelRepositoryImpl[:84]- Loading model 'demo.sitemap' 23:27:06.240 INFO o.e.s.m.c.i.ModelRepositoryImpl[:84]- Loading model 'demo.script' 23:27:06.348 INFO o.e.s.m.c.i.ModelRepositoryImpl[:84]- Loading model 'logging.persist' 23:27:06.371 INFO o.e.s.m.c.i.ModelRepositoryImpl[:84]- Loading model 'rrd4j.persist' 23:27:06.388 INFO o.e.s.m.c.i.ModelRepositoryImpl[:84]- Loading model 'demo.things' 23:27:06.409 DEBUG o.e.s.m.t.i.GenericThingProvider[:86]- Read things from model 'demo.things' 23:27:06.411 DEBUG o.e.s.m.t.i.GenericThingProvider[:134]- Creating thing for type 'yahooweather:weather' with UID 'yahooweather:weather:berlin. 23:27:06.421 DEBUG o.e.s.m.t.i.GenericThingProvider[:134]- Creating thing for type 'yahooweather:weather' with UID 'yahooweather:weather:losangeles. 23:27:06.431 DEBUG o.e.s.c.t.i.ThingManager[:216]- Thing 'yahooweather:weather:berlin' is tracked by ThingManager. 23:27:06.432 DEBUG o.e.s.c.t.i.ThingManager[:288]- Creating handler for thing 'yahooweather:weather:berlin'. 23:27:06.435 DEBUG o.e.s.b.y.h.YahooWeatherHandler[:58]- Initializing YahooWeather handler. 23:27:06.451 DEBUG o.e.s.c.t.i.ThingManager[:62]- Thing handler for thing 'yahooweather:weather:berlin' added. 23:27:06.452 DEBUG o.e.s.c.t.i.ThingManager[:133]- Assigning handler for thing 'yahooweather:weather:berlin'. 23:27:06.455 DEBUG o.e.s.c.t.i.ThingManager[:216]- Thing 'yahooweather:weather:losangeles' is tracked by ThingManager. 23:27:06.458 DEBUG o.e.s.c.t.i.ThingManager[:288]- Creating handler for thing 'yahooweather:weather:losangeles'. 23:27:06.459 DEBUG o.e.s.b.y.h.YahooWeatherHandler[:58]- Initializing YahooWeather handler. 23:27:06.462 DEBUG o.e.s.c.t.i.ThingManager[:62]- Thing handler for thing 'yahooweather:weather:losangeles' added. 23:27:06.463 DEBUG o.e.s.c.t.i.ThingManager[:133]- Assigning handler for thing 'yahooweather:weather:losangeles'. 23:27:06.475 INFO o.e.s.m.c.i.ModelRepositoryImpl[:84]- Loading model 'demo.items' 23:27:06.532 DEBUG o.e.s.m.i.i.GenericItemProvider[:147]- Processing binding configs for items from model 'demo.items' 23:27:06.541 DEBUG o.e.s.m.i.i.GenericItemProvider[:126]- Read items from model 'demo.items' 23:30:00.099 DEBUG o.e.s.m.r.r.i.e.ExecuteRuleJob[:57]- Executing scheduled rule 'Set random room temperatures'

nagarashish commented 9 years ago

Really like the PaperUI interface, specially the auto discovery part. Is it possible to get source code for this UI for the learning purposes? Like to use the PaperUI for learning concepts of OpenHAB2 specially the auto discovery.

kaikreuzer commented 9 years ago

Yes, you can find the source code in Dennis’ fork at https://github.com/dnobel/openhab2/tree/paper-ui/bundles/ui/org.openhab.ui.paperui Please note that Dennis wants to restructure the whole codebase and thus we decided to not yet contribute it to the official repository.

Best regards, Kai

Am 29 Nov 2014 um 10:51 schrieb nagarashish notifications@github.com:

Really like the PaperUI interface, specially the auto discovery part. Is it possible to get source code for this UI for the learning purposes? Like to use the PaperUI for learning concepts of OpenHAB2 specially the auto discovery.

— Reply to this email directly or view it on GitHub.

nagarashish commented 9 years ago

thanks for sharing the link.

nagarashish commented 9 years ago

I am trying to setup IDE to learn and debug alpha release.

  1. Succesfully setup IDE with Alpha version source code - much better then openhab1.x
  2. From the Dennis's fork, I copied paperui project and from eclipse smart home project I copied, binding projects for hue, lifx, wemo and yahoo weather. When I run configuration, I get following error during validation:

openhab2idesetuperror1

Using OSGI diag command, following errors are reported

org.eclipse.emf.codegen [35] Unresolved requirement: Require-Bundle: org.eclipse.core.runtime; bundle-version="[3.5.0,4.0.0)"

org.eclipse.emf.codegen.ecore [36] Unresolved requirement: Require-Bundle: org.eclipse.core.runtime; bundle-version="[3.5.0,4.0.0)"

org.eclipse.jetty.annotations [56] Unresolved requirement: Require-Capability: osgi.serviceloader; resolution:="optional"; cardinality:="multiple"; filter:="(osgi.serviceloader=javax.servlet.ServletContainerInitializer)" Unresolved requirement: Require-Capability: osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)"

org.eclipse.xtext.ecore [123] Unresolved requirement: Require-Bundle: org.eclipse.core.runtime; bundle-version="3.5.0"

org.eclipse.xtext.generator [124] Unresolved requirement: Require-Bundle: org.eclipse.xtend; bundle-version="1.1.0"; visibility:="reexport"

How do I resolve these issues?

My object is to setup alpha UI IDE which includes paper ui, all the binding code and learn and debug the openhab2 environment so that I can write custom binding.

kaikreuzer commented 9 years ago

Steps 1+2 sound already perfect! Then I wonder, which launch config your are using? The "openHAB_Runtime" launch config that is in the official repository does not include emf.codegen or xtext.generator at all. Please do not use "Add Required Plugins", but rather add the bindings manually to the launch config (and don't forget to set them to autostart=true).

nagarashish commented 9 years ago

using openhab2 default config file. It does have emf.codegen or xtext.generator included and set to true. I compared the plugins with eclipse smarthome and I observed that eclipse smarthome configuration has eclipse.core.runtime, eclipse.xtend and eclipse.xtext.xbase plugins selected but these are not listed in openhab2 configuration.

kaikreuzer commented 9 years ago

It does have emf.codegen or xtext.generator included and set to true.

Can you show me where? I do not see it being listed in https://github.com/openhab/openhab2/blob/master/targetplatform/openHAB_Runtime.launch#L25

nagarashish commented 9 years ago

I did the setup from scratch - paperUI, hue, lifx, wemo and yahoo weather binding are all setup in IDE. I am suspecting that before adding above projects, I had used "Add Required Plugins". So started from scratch and everything is setup and working properly.

Thanks

kaikreuzer commented 9 years ago

Perfect! I suggest to close this thread now - for any other topics, new issue should be created.