From 526769457474ae25ca657486457cbf05b727970b Mon Sep 17 00:00:00 2001 From: idserda Date: Mon, 14 Jan 2019 19:11:16 +0100 Subject: [PATCH 1/4] Add pilight feature Signed-off-by: Jeroen Idserda --- features/openhab-addons-external/pom.xml | 1 + .../src/main/resources/conf/pilight.cfg | 17 +++++++++++++++++ .../openhab-addons/src/main/feature/feature.xml | 7 +++++++ 3 files changed, 25 insertions(+) create mode 100644 features/openhab-addons-external/src/main/resources/conf/pilight.cfg diff --git a/features/openhab-addons-external/pom.xml b/features/openhab-addons-external/pom.xml index fd844583874..bc5f24ae3ea 100644 --- a/features/openhab-addons-external/pom.xml +++ b/features/openhab-addons-external/pom.xml @@ -108,6 +108,7 @@ src/main/resources/conf/panasonictv.cfgcfgpanasonictv src/main/resources/conf/pebble.cfgcfgpebble src/main/resources/conf/piface.cfgcfgpiface + src/main/resources/conf/pilight.cfgcfgpiface src/main/resources/conf/plex.cfgcfgplex src/main/resources/conf/plugwise.cfgcfgplugwise src/main/resources/conf/powermax.cfgcfgpowermax diff --git a/features/openhab-addons-external/src/main/resources/conf/pilight.cfg b/features/openhab-addons-external/src/main/resources/conf/pilight.cfg new file mode 100644 index 00000000000..190fb13e796 --- /dev/null +++ b/features/openhab-addons-external/src/main/resources/conf/pilight.cfg @@ -0,0 +1,17 @@ +# Multiple pilight instances are supported. Both the .host and .port values are required for each instance. +# +# IP address of the pilight daemon +# .host= +# +# Port of the pilight daemon. You must explicitly configure the port in pilight or otherwise a random port will be used and the binding will not be able to connect. +# .port= +# +# Optional delay (in millisecond) between consecutive commands. Recommended value without band pass filter: 1000. Recommended value with band pass filter: somewhere between 200-500 +# .delay= +# +# Example: +# +# kaku.host=192.168.1.15 +# kaku.port=5000 +# kaku.delay=1250 +# \ No newline at end of file diff --git a/features/openhab-addons/src/main/feature/feature.xml b/features/openhab-addons/src/main/feature/feature.xml index 8716d3b6a09..89df93a9396 100644 --- a/features/openhab-addons/src/main/feature/feature.xml +++ b/features/openhab-addons/src/main/feature/feature.xml @@ -498,6 +498,13 @@ mvn:${project.groupId}/openhab-addons-external/${project.version}/cfg/piface + + openhab-runtime-base + openhab-runtime-compat1x + mvn:org.openhab.binding/org.openhab.binding.pilight/${project.version} + mvn:${project.groupId}/openhab-addons-external/${project.version}/cfg/pilight + + openhab-runtime-base openhab-runtime-compat1x From 497f06707b73289225959f88bf254361f3267f43 Mon Sep 17 00:00:00 2001 From: idserda Date: Mon, 14 Jan 2019 19:14:14 +0100 Subject: [PATCH 2/4] newline Signed-off-by: Jeroen Idserda --- .../openhab-addons-external/src/main/resources/conf/pilight.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/openhab-addons-external/src/main/resources/conf/pilight.cfg b/features/openhab-addons-external/src/main/resources/conf/pilight.cfg index 190fb13e796..16f381ff57d 100644 --- a/features/openhab-addons-external/src/main/resources/conf/pilight.cfg +++ b/features/openhab-addons-external/src/main/resources/conf/pilight.cfg @@ -14,4 +14,4 @@ # kaku.host=192.168.1.15 # kaku.port=5000 # kaku.delay=1250 -# \ No newline at end of file +# From 0c2a7bac5681827a8c4e2c38610284c2eb66ad64 Mon Sep 17 00:00:00 2001 From: Jeroen Idserda Date: Wed, 16 Jan 2019 08:20:44 +0100 Subject: [PATCH 3/4] Change classifier classifier --- features/openhab-addons-external/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/openhab-addons-external/pom.xml b/features/openhab-addons-external/pom.xml index bc5f24ae3ea..722beefb5cd 100644 --- a/features/openhab-addons-external/pom.xml +++ b/features/openhab-addons-external/pom.xml @@ -108,7 +108,7 @@ src/main/resources/conf/panasonictv.cfgcfgpanasonictv src/main/resources/conf/pebble.cfgcfgpebble src/main/resources/conf/piface.cfgcfgpiface - src/main/resources/conf/pilight.cfgcfgpiface + src/main/resources/conf/pilight.cfgcfgpilight src/main/resources/conf/plex.cfgcfgplex src/main/resources/conf/plugwise.cfgcfgplugwise src/main/resources/conf/powermax.cfgcfgpowermax From bb2b1e6e42c3438d46b0af457e078695a4aa447d Mon Sep 17 00:00:00 2001 From: Jeroen Idserda Date: Wed, 16 Jan 2019 08:22:05 +0100 Subject: [PATCH 4/4] typo --- .../openhab-addons-external/src/main/resources/conf/pilight.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/openhab-addons-external/src/main/resources/conf/pilight.cfg b/features/openhab-addons-external/src/main/resources/conf/pilight.cfg index 16f381ff57d..2c62c6ae302 100644 --- a/features/openhab-addons-external/src/main/resources/conf/pilight.cfg +++ b/features/openhab-addons-external/src/main/resources/conf/pilight.cfg @@ -6,7 +6,7 @@ # Port of the pilight daemon. You must explicitly configure the port in pilight or otherwise a random port will be used and the binding will not be able to connect. # .port= # -# Optional delay (in millisecond) between consecutive commands. Recommended value without band pass filter: 1000. Recommended value with band pass filter: somewhere between 200-500 +# Optional delay (in milliseconds) between consecutive commands. Recommended value without band pass filter: 1000. Recommended value with band pass filter: somewhere between 200-500 # .delay= # # Example: