Skip to content

Commit

Permalink
Add new ImperiHome IO binding
Browse files Browse the repository at this point in the history
Signed-off-by: Pepijn de Geus <pepijn@dvelop.nl> (github: pdegeus)
  • Loading branch information
pdegeus committed Oct 25, 2016
1 parent bb645ca commit 4100125
Show file tree
Hide file tree
Showing 60 changed files with 3,826 additions and 0 deletions.
10 changes: 10 additions & 0 deletions addons/io/org.openhab.io.imperihome/ESH-INF/config/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<config-description:config-descriptions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:config-description="http://eclipse.org/smarthome/schemas/config-description/v1.0.0"
xsi:schemaLocation="http://eclipse.org/smarthome/schemas/config-description/v1.0.0
http://eclipse.org/smarthome/schemas/config-description-1.0.0.xsd">
<config-description uri="io:imperihome">

</config-description>
</config-description:config-descriptions>
34 changes: 34 additions & 0 deletions addons/io/org.openhab.io.imperihome/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ImperiHome Integration Service
Bundle-SymbolicName: org.openhab.io.imperihome;singleton:=true
Bundle-Vendor: openHAB
Bundle-Version: 2.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ClassPath: .
Import-Package: com.google.common.base,
com.google.gson,
javax.servlet,
javax.servlet.http,
org.apache.commons.io,
org.apache.commons.lang,
org.eclipse.smarthome.config.core,
org.eclipse.smarthome.core.common.registry,
org.eclipse.smarthome.core.events,
org.eclipse.smarthome.core.id,
org.eclipse.smarthome.core.items,
org.eclipse.smarthome.core.items.events,
org.eclipse.smarthome.core.library.types,
org.eclipse.smarthome.core.persistence,
org.eclipse.smarthome.core.thing,
org.eclipse.smarthome.core.thing.binding,
org.eclipse.smarthome.core.thing.binding.builder,
org.eclipse.smarthome.core.thing.type,
org.eclipse.smarthome.core.types,
org.eclipse.smarthome.io.rest,
org.osgi.framework,
org.osgi.service.component,
org.osgi.service.event,
org.osgi.service.http,
org.slf4j
Service-Component: OSGI-INF/*.xml
25 changes: 25 additions & 0 deletions addons/io/org.openhab.io.imperihome/OSGI-INF/imperihome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014-2016 by the respective copyright holders.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
-->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" deactivate="deactivate" configuration-policy="optional" immediate="true" name="org.openhab.imperihome">
<implementation class="org.openhab.io.imperihome.internal.ImperiHomeApiServlet"/>
<reference bind="setHttpService" cardinality="1..1" interface="org.osgi.service.http.HttpService" name="HttpService" policy="static" unbind="unsetHttpService"/>
<reference bind="setItemRegistry" cardinality="1..1" interface="org.eclipse.smarthome.core.items.ItemRegistry" name="ItemRegistry" policy="dynamic" unbind="unsetItemRegistry"/>
<reference bind="setEventPublisher" cardinality="1..1" interface="org.eclipse.smarthome.core.events.EventPublisher" name="EventPublisher" policy="static" unbind="unsetEventPublisher"/>
<reference bind="setPersistenceServiceRegistry" cardinality="1..1" interface="org.eclipse.smarthome.core.persistence.PersistenceServiceRegistry" name="PersistenceServiceRegistry" policy="static" unbind="unsetPersistenceServiceRegistry"/>
<property name="service.pid" type="String" value="org.openhab.imperihome"/>
<property name="service.config.description.uri" type="String" value="io:imperihome"/>
<property name="service.config.label" type="String" value="ImperiHome Integration"/>
<property name="service.config.category" type="String" value="io"/>
<service>
<provide interface="javax.servlet.http.HttpServlet"/>
</service>
</scr:component>
Loading

0 comments on commit 4100125

Please sign in to comment.