forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new ImperiHome IO binding (openhab#1197)
Signed-off-by: Pepijn de Geus <pepijn@dvelop.nl> (github: pdegeus)
- Loading branch information
Showing
61 changed files
with
3,890 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
addons/io/org.openhab.io.imperihome/ESH-INF/config/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
25
addons/io/org.openhab.io.imperihome/OSGI-INF/imperihome.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.