x Share your thoughts on trends and content!

OpenHAB coming to Eclipse as Eclipse SmartHome

by Alex Blewitt on Oct 31, 2013 |

Yesterday at EclipseCon, Kai Kreuzer gave a presentation (slides) of OpenHAB, which is a server component for integrating in smart appliances and devices in a home setting and providing a general control mechanism which can be driven from mobile devices, web applications, or scripting systems.

Although OpenHAB was an open-source project initially licensed under the GPL, it has been re-licensed under EPL in preparation for its Move to Eclipse SmartHome. The project provides a Java-based server (which was shown running on a Raspberry Pi at EclipseCon) and which binds to over 40 different bindings, including ModBus, Asterisk, Philips hue, Samsung and many more.

SmartHome is aimed to provide a simple drop-in server where components can be connected and driven from a user interface, whilst allowing a general mechanism to control all components. Although many of these devices may have their own mobile applications, controlling each one of them requires opening a mobile application and they cannot be integrated together. Using SmartHome as the main hub, the devices can all be controlled with one mobile application or website, and scripts can be set up to drive individual components.

The runtime is based on Eclipse Equinox, and the components are represented as OSGi services, which makes it trivial to both extend and script support. they all communicate over an Event Bus, which means that anyone can plug in scripts or bundles that can listen to changes in the environment and modify its data. A persistent item state map builds up a view of the world which changes as the system evolves, which can be used to query the current state of the system instead of just dealing with event-based triggers.

Finally, the Eclipse SmartHome Designer is an Eclipse RCP based application which can provide drag-and-drop configuration of the smart home, along with rules to build the scripts to turn devices on and off.

There is a demo available, and the Eclipse SmartHome review is scheduled for the end of next week.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

General Feedback
Marketing and all content copyright © 2006-2016 C4Media Inc. hosted at Contegix, the best ISP we've ever worked with.
Privacy policy

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.