This repository has been archived by the owner on May 17, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1334 from RSStephens/DSCAlarm
Initial commit of DSC Alarm Binding
- Loading branch information
Showing
37 changed files
with
5,455 additions
and
0 deletions.
There are no files selected for viewing
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
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,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry exported="true" kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src/main/java"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="lib" path="/org.openhab.core.scheduler/lib/quartz-all-2.1.7.jar"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
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,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.openhab.binding.dscalarm</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ds.core.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
5 changes: 5 additions & 0 deletions
5
bundles/binding/org.openhab.binding.dscalarm/.settings/org.eclipse.pde.core.prefs
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,5 @@ | ||
#Thu Apr 28 21:40:46 CEST 2011 | ||
eclipse.preferences.version=1 | ||
pluginProject.equinox=false | ||
pluginProject.extensions=false | ||
resolve.requirebundle=false |
38 changes: 38 additions & 0 deletions
38
bundles/binding/org.openhab.binding.dscalarm/META-INF/MANIFEST.MF
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,38 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-Name: openHAB DSC Alarm Binding | ||
Bundle-SymbolicName: org.openhab.binding.dscalarm | ||
Bundle-Version: 1.6.0.qualifier | ||
Bundle-Activator: org.openhab.binding.dscalarm.internal.DSCAlarmActivator | ||
Bundle-Vendor: openHAB.org | ||
Bundle-RequiredExecutionEnvironment: J2SE-1.5 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-License: http://www.eclipse.org/legal/epl-v10.html | ||
Bundle-Description: This is the DSC Alarm binding of the open Home Automation Bus (openHAB) | ||
Import-Package: gnu.io, | ||
org.apache.commons.io;version="2.0.1", | ||
org.apache.commons.lang, | ||
org.eclipse.emf.common.util, | ||
org.eclipse.emf.ecore, | ||
org.openhab.core.binding, | ||
org.openhab.core.events, | ||
org.openhab.core.items, | ||
org.openhab.core.library.items, | ||
org.openhab.core.library.types, | ||
org.openhab.core.transform, | ||
org.openhab.core.types, | ||
org.openhab.model.core, | ||
org.openhab.model.item.binding, | ||
org.osgi.framework, | ||
org.osgi.service.cm, | ||
org.quartz, | ||
org.quartz.impl, | ||
org.quartz.impl.matchers, | ||
org.quartz.utils, | ||
org.slf4j | ||
Service-Component: OSGI-INF/activebinding.xml, OSGI-INF/genericbindingprovider.xml | ||
Bundle-ClassPath: . | ||
Export-Package: org.openhab.binding.dscalarm | ||
|
||
|
||
|
||
|
26 changes: 26 additions & 0 deletions
26
bundles/binding/org.openhab.binding.dscalarm/OSGI-INF/activebinding.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,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2010-2014, openHAB.org and others. | ||
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" name="org.openhab.binding.dscalarm.activebinding"> | ||
<implementation class="org.openhab.binding.dscalarm.internal.DSCAlarmActiveBinding" /> | ||
|
||
<service> | ||
<provide interface="org.osgi.service.event.EventHandler" /> | ||
<provide interface="org.osgi.service.cm.ManagedService" /> | ||
</service> | ||
|
||
<property name="event.topics" type="String" value="openhab/command/*" /> | ||
<property name="service.pid" type="String" value="org.openhab.dscalarm" /> | ||
|
||
<reference bind="setEventPublisher" cardinality="1..1" interface="org.openhab.core.events.EventPublisher" name="EventPublisher" policy="dynamic" unbind="unsetEventPublisher" /> | ||
<reference bind="addBindingProvider" cardinality="1..n" interface="org.openhab.binding.dscalarm.DSCAlarmBindingProvider" name="DSCAlarmBindingProvider" policy="dynamic" unbind="removeBindingProvider" /> | ||
|
||
</scr:component> |
19 changes: 19 additions & 0 deletions
19
bundles/binding/org.openhab.binding.dscalarm/OSGI-INF/genericbindingprovider.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,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2010-2014, openHAB.org and others. | ||
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" name="org.openhab.binding.dscalarm.genericbindingprovider"> | ||
<implementation class="org.openhab.binding.dscalarm.internal.DSCAlarmGenericBindingProvider"/> | ||
|
||
<service> | ||
<provide interface="org.openhab.model.item.binding.BindingConfigReader"/> | ||
<provide interface="org.openhab.binding.dscalarm.DSCAlarmBindingProvider"/> | ||
</service> | ||
</scr:component> |
Oops, something went wrong.