-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 #2 from openhab/master
Merge with master
- Loading branch information
Showing
21 changed files
with
172 additions
and
169 deletions.
There are no files selected for viewing
61 changes: 32 additions & 29 deletions
61
addons/binding/org.openhab.binding.max/ESH-INF/thing/bridge.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 |
---|---|---|
@@ -1,53 +1,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<thing:thing-descriptions bindingId="max" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:thing="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0" | ||
xsi:schemaLocation="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0 org.eclipse.smarthome.thing-description.xsd"> | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:thing="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0" | ||
xsi:schemaLocation="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0 org.eclipse.smarthome.thing-description.xsd"> | ||
|
||
<bridge-type id="bridge"> | ||
<bridge-type id="bridge"> | ||
<label>MAX! Cube LAN gateway</label> | ||
<description>This bridge represents the MAX!Cube LAN gateway.</description> | ||
<description>This bridge represents the MAX!Cube LAN gateway. | ||
</description> | ||
|
||
<config-description> | ||
<parameter name="ipAddress" type="text"> | ||
<context>network_address</context> | ||
<parameter name="ipAddress" type="text" required="true"> | ||
<context>network-address</context> | ||
<label>MAX! Cube LAN gateway IP</label> | ||
<description>The IP address of the MAX! Cube LAN gateway</description> | ||
<required>true</required> | ||
<description>The IP address of the MAX! Cube LAN gateway | ||
</description> | ||
</parameter> | ||
<parameter name="port" type="integer"> | ||
<context>port</context> | ||
<parameter name="port" type="integer" required="false" min="1" | ||
max="65335"> | ||
<context>network-address</context> | ||
<label>MAX! Cube LAN gateway port</label> | ||
<description>Port of the LAN gateway</description> | ||
<default>62910</default> | ||
<required>false</required> | ||
</parameter> | ||
<parameter name="refreshInterval" type="integer"> | ||
<parameter name="refreshInterval" type="integer" required="false"> | ||
<label>Refresh Interval</label> | ||
<description>The refresh interval in ms which is used to poll given MAX! Cube.</description> | ||
<description>The refresh interval in ms which is used to poll given | ||
MAX! Cube. | ||
</description> | ||
<default>30000</default> | ||
<required>false</required> | ||
</parameter> | ||
<parameter name="serialNumber" type="text"> | ||
<label>Serial Number</label> | ||
<description>The Serial Number identifies one specific device.</description> | ||
<required>true</required> | ||
</parameter> | ||
<parameter name="exclusive" type="boolean"> | ||
<parameter name="serialNumber" type="text" required="true"> | ||
<label>Serial Number</label> | ||
<description>The Serial Number identifies one specific device. | ||
</description> | ||
</parameter> | ||
<parameter name="exclusive" type="boolean" required="false"> | ||
<label>Exclusive Mode</label> | ||
<description>If set to true, the binding will leave the connection to the Cube open.</description> | ||
<description>If set to true, the binding will leave the connection | ||
to the Cube open. | ||
</description> | ||
<default>false</default> | ||
<required>false</required> | ||
</parameter> | ||
<parameter name="maxRequestsPerConnection" type="integer"> | ||
<parameter name="maxRequestsPerConnection" type="integer" | ||
required="false"> | ||
<label>Max Requests per Connection</label> | ||
<description>In exclusive mode, how many requests are allowed until connection is closed and reopened.</description> | ||
<description>In exclusive mode, how many requests are allowed until | ||
connection is closed and reopened. | ||
</description> | ||
<default>1000</default> | ||
<required>false</required> | ||
</parameter> | ||
|
||
</config-description> | ||
</bridge-type> | ||
|
||
|
||
</bridge-type> | ||
</thing:thing-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
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 |
---|---|---|
|
@@ -222,4 +222,4 @@ private void sendDiscoveryMessage(String discoverString) { | |
|
||
} | ||
|
||
} | ||
} |
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 |
---|---|---|
|
@@ -109,4 +109,4 @@ protected ThingHandler createHandler(Thing thing) { | |
} | ||
} | ||
|
||
} | ||
} |
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
Oops, something went wrong.