Skip to content

Commit

Permalink
[koubachi] make installable from Paper UI
Browse files Browse the repository at this point in the history
Signed-off-by: John Cocula <[email protected]>
  • Loading branch information
watou committed Mar 20, 2016
1 parent 448c32c commit 1954023
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
12 changes: 6 additions & 6 deletions distribution/openhabhome/configurations/openhab_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1019,25 +1019,25 @@ hue:secret=openHABRuntime
################################ Koubachi Binding #####################################
#
# refresh interval in milliseconds (optional, defaults to 900000ms, 15m)
#koubachi:refresh
#koubachi:refresh=

# The URL of the Device list (optional, defaults to
# 'https://api.koubachi.com/v2/user/smart_devices?user_credentials=%1$s&app_key=%2$s')
#koubachi:deviceurl
#koubachi:deviceurl=

# The URL of the Plant list (optional, defaults to
# 'https://api.koubachi.com/v2/plants?user_credentials=%1$s&app_key=%2$s')
#koubachi:planturl
#koubachi:planturl=

# The URL for care actions (optional, defaults to
# 'https://api.koubachi.com/v2/plants/%3$s/tasks?user_credentials=%1$s&app_key=%2$s')
#koubachi:tasksurl
#koubachi:tasksurl=

# The single access token configured at http://labs.kpubachi.com
#koubachi:credentials
#koubachi:credentials=

# The personal appKey configured at http://labs.koubachi.com
#koubachi:appkey
#koubachi:appkey=

################################ Sonos Binding ########################################
#
Expand Down
1 change: 1 addition & 0 deletions features/openhab-addons-external/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<artifact><file>src/main/resources/conf/jdbc.cfg</file><type>cfg</type><classifier>jdbc</classifier></artifact>
<artifact><file>src/main/resources/conf/jpa.cfg</file><type>cfg</type><classifier>jpa</classifier></artifact>
<artifact><file>src/main/resources/conf/knx.cfg</file><type>cfg</type><classifier>knx</classifier></artifact>
<artifact><file>src/main/resources/conf/koubachi.cfg</file><type>cfg</type><classifier>koubachi</classifier></artifact>
<artifact><file>src/main/resources/conf/logging.cfg</file><type>cfg</type><classifier>logging</classifier></artifact>
<artifact><file>src/main/resources/conf/mail.cfg</file><type>cfg</type><classifier>mail</classifier></artifact>
<artifact><file>src/main/resources/conf/mapdb.cfg</file><type>cfg</type><classifier>mapdb</classifier></artifact>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# refresh interval in milliseconds (optional, defaults to 900000ms, 15m)
#refresh=

# The URL of the Device list (optional, defaults to
# 'https://api.koubachi.com/v2/user/smart_devices?user_credentials=%1$s&app_key=%2$s')
#deviceurl=

# The URL of the Plant list (optional, defaults to
# 'https://api.koubachi.com/v2/plants?user_credentials=%1$s&app_key=%2$s')
#planturl=

# The URL for care actions (optional, defaults to
# 'https://api.koubachi.com/v2/plants/%3$s/tasks?user_credentials=%1$s&app_key=%2$s')
#tasksurl=

# The single access token configured at http://labs.kpubachi.com
#credentials=

# The personal appKey configured at http://labs.koubachi.com
#appkey=
7 changes: 7 additions & 0 deletions features/openhab-addons/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,13 @@
<configfile finalname="${openhab.conf}/services/knx.cfg" override="false">mvn:${project.groupId}/openhab-addons-external/${project.version}/cfg/knx</configfile>
</feature>

<feature name="openhab-binding-koubachi" description="Koubachi Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-runtime-compat1x</feature>
<bundle start-level="80">mvn:org.openhab.binding/org.openhab.binding.koubachi/${project.version}</bundle>
<configfile finalname="${openhab.conf}/services/koubachi.cfg" override="false">mvn:${project.groupId}/openhab-addons-external/${project.version}/cfg/koubachi</configfile>
</feature>

<feature name="openhab-binding-lcn" description="LCN Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-runtime-compat1x</feature>
Expand Down

0 comments on commit 1954023

Please sign in to comment.