]> git.basschouten.com Git - openhab-addons.git/commitdiff
[Konnected] Removed defaults for zone configuration parameter from the channels ...
authorHaavar Valeur <github.com@haavar.com>
Mon, 29 Aug 2022 20:57:12 +0000 (13:57 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Aug 2022 20:57:12 +0000 (22:57 +0200)
* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
bundles/org.openhab.binding.konnected/README.md
bundles/org.openhab.binding.konnected/src/main/resources/OH-INF/thing/thing-types.xml

index dff17d8317883eb31ced07f2c3566ceeefcd3641..80cd3bcb9d3e4a23157ed54c15d200d8ac7b9609 100644 (file)
@@ -92,19 +92,19 @@ Switch item=Siren label="Alarm Siren" icon="Siren" mappings=[ON="Open", OFF="Clo
 
 ```
 Thing konnected:wifi-module:generic "Konnected Module" [baseUrl="http://192.168.30.153:9586", macAddress="1586517"]{
-   Type switch      : switch-wifi      "Front Door"          [channel_zone=1]
-   Type actuator    : actuator-wifi    "Siren"               [channel_zone=1, momentary = 50, times = 2, pause = 50]
-   Type humidity    : humidity-wifi    "DHT - Humidity"      [channel_zone=1]
-   Type temperature : temperature-wifi "DHT Temperature"     [channel_zone=1, tempsensorType = true, pollinterval = 1]
-   Type temperature : temperature-wifi "DS18B20 Temperature" [channel_zone=1, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"]
+   Type switch      : switch-wifi      "Front Door"          [zone=1]
+   Type actuator    : actuator-wifi    "Siren"               [zone=2, momentary = 50, times = 2, pause = 50]
+   Type humidity    : humidity-wifi    "DHT - Humidity"      [zone=3]
+   Type temperature : temperature-wifi "DHT Temperature"     [zone=4, tempsensorType = true, pollinterval = 1]
+   Type temperature : temperature-wifi "DS18B20 Temperature" [zone=5, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"]
 }
 
 Thing konnected:pro-module:generic "Konnected Module" [baseUrl="http://192.168.30.154:9586", macAddress="1684597"]{
-   Type switch      : switch-pro      "Front Door"          [channel_zone=1]
-   Type actuator    : actuator-pro    "Siren"               [channel_zone=1, momentary = 50, times = 2, pause = 50]
-   Type humidity    : humidity-pro    "DHT - Humidity"      [channel_zone=1]
-   Type temperature : temperature-pro "DHT Temperature"     [channel_zone=1, tempsensorType = true, pollinterval = 1]
-   Type temperature : temperature-pro "DS18B20 Temperature" [channel_zone=1, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"]
+   Type switch      : switch-pro      "Front Door"          [zone=1]
+   Type actuator    : actuator-pro    "Siren"               [zone=2, momentary = 50, times = 2, pause = 50]
+   Type humidity    : humidity-pro    "DHT - Humidity"      [zone=3]
+   Type temperature : temperature-pro "DHT Temperature"     [zone=4, tempsensorType = true, pollinterval = 1]
+   Type temperature : temperature-pro "DS18B20 Temperature" [zone=5, tempsensorType = false, pollinterval = 1, ds18b20_address = "XX:XX:XX:XX:XX:XX:XX"]
 }
 ```
 
index bb53cc9f94379b9bd66806d68e472cd941bd1a18..38196d49c7e94148784e9f886bcb5de641043db1 100644 (file)
@@ -26,7 +26,6 @@
                        <parameter name="zone" type="text" required="true">
                                <label>Zone Number</label>
                                <description>The Zone Number of the channel.</description>
-                               <default>6</default>
                                <options>
                                        <option value="1">1</option>
                                        <option value="2">2</option>
                        <parameter name="zone" type="text" required="true">
                                <label>Zone Number</label>
                                <description>The Zone Number of the channel.</description>
-                               <default>7</default>
                                <options>
                                        <option value="1">1</option>
                                        <option value="2">2</option>
                        <parameter name="zone" type="text" required="true">
                                <label>Zone Number</label>
                                <description>The zone number of the channel.</description>
-                               <default>4</default>
                                <options>
                                        <option value="1">1</option>
                                        <option value="2">2</option>
                        <parameter name="zone" type="text" required="true">
                                <label>Zone Number</label>
                                <description>The zone number of the channel.</description>
-                               <default>2</default>
                                <options>
                                        <option value="1">1</option>
                                        <option value="2">2</option>