forked from rinal13/openhab-openwebnet
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1, added WHO=2 Automation, HMAC auth
- Loading branch information
Showing
20 changed files
with
1,127 additions
and
157 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,14 @@ | ||
# Config status messages | ||
#config-status.error.missing-ip-address-configuration=No IP address for the hue bridge has been provided. | ||
|
||
# Thing status descriptions | ||
offline.conf-error-no-ip-address = Cannot connect to BTicino bridge. No IP/host has been provided in configuration. | ||
offline.wrong-configuration = Invalid configuration. Check Thing configuration parameters. | ||
#offline.conf-error-no-username = Cannot connect to hue bridge. User name for authentication not available in configuration. | ||
#offline.conf-error-invalid-username = Authentication failed. Remove user name from configuration to generate a new one. | ||
#offline.conf-error-press-pairing-button = Not authenticated. Press pairing button on the hue bridge or set a valid user name in configuration. | ||
#offline.conf-error-creation-username = Failed to create new user on hue bridge. | ||
#offline.bridge-connection-lost = Hue bridge connection lost. | ||
#offline.conf-error-no-light-id = Light ID not available in configuration. | ||
#offline.light-not-reachable = Hue bridge reports light as not reachable. | ||
#offline.light-removed = Hue bridge reports light as removed. |
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,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<thing:thing-descriptions bindingId="openwebnet" | ||
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 http://eclipse.org/smarthome/schemas/thing-description-1.0.0.xsd"> | ||
|
||
<!-- Thing for Automation (BTicino xxx/xxx/...) --> | ||
<thing-type id="automation"> | ||
<supported-bridge-type-refs> | ||
<bridge-type-ref id="dongle" /> | ||
</supported-bridge-type-refs> | ||
|
||
<label>OpenWebNet ZigBee Automation</label> | ||
<description>A OpenWebNet ZigBee automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc.</description> | ||
|
||
<channels> | ||
<channel id="shutter" typeId="shutter" /> | ||
</channels> | ||
|
||
<properties> | ||
<property name="vendor">BTicino/Legrand</property> | ||
<property name="model">BTI-xxxx/yyyy/etc.</property> | ||
<property name="ownDeviceType">512</property> | ||
</properties> | ||
|
||
<config-description> | ||
<parameter name="shutterRun" type="text"> | ||
<label>Shutter Run</label> | ||
<description>Time (in ms) to go from max position (e.g. CLOSED) to the other position (e.g. OPEN). Example: 12000 (=12sec). | ||
Use AUTO (default) to calibrate the shutter automatically (UP->DOWN->Position%) the first time a Position command (%) is sent.</description> | ||
<required>true</required> | ||
<default>AUTO</default> | ||
</parameter> | ||
<parameter name="where" type="text"> | ||
<label>OpenWebNet Device Address</label> | ||
<description>It identifies one ZigBee device. Use decimal format address without the UNIT part and network: ZigBee WHERE=414122201#9 -> OpenWebNet Device Address = 4141222</description> | ||
<required>true</required> | ||
</parameter> | ||
</config-description> | ||
|
||
</thing-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<thing:thing-descriptions bindingId="openwebnet" | ||
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 http://eclipse.org/smarthome/schemas/thing-description-1.0.0.xsd"> | ||
|
||
<!-- Thing for BUS Automation (BTicino xxx/xxx/...) --> | ||
<thing-type id="bus_automation"> | ||
<supported-bridge-type-refs> | ||
<bridge-type-ref id="bus_gateway" /> | ||
</supported-bridge-type-refs> | ||
<label>OpenWebNet BUS Automation</label> | ||
<description>A OpenWebNet BUS/SCS automation device to control roller shutters, blinds, etc. BTicino models: xxx/yyyy/etc.</description> | ||
<channels> | ||
<channel id="shutter" typeId="shutter" /> | ||
</channels> | ||
<properties> | ||
<property name="vendor">BTicino/Legrand</property> | ||
<property name="model">BTI-xxxx/yyyy/etc.</property> | ||
<property name="ownDeviceType">514</property> | ||
</properties> | ||
<config-description> | ||
<parameter name="shutterRun" type="text"> | ||
<label>Shutter Run</label> | ||
<description>Time (in ms) to go from max position (e.g. CLOSED) to the other position (e.g. OPEN). Example: 12000 (=12sec). | ||
Use AUTO (default) to calibrate the shutter automatically (UP->DOWN->Position%) the first time a Position command (%) is sent.</description> | ||
<required>true</required> | ||
<default>AUTO</default> | ||
</parameter> | ||
|
||
<parameter name="where" type="text"> | ||
<label>OpenWebNet Device Address</label> | ||
<description>Example: A/PL address: A=1 PL=1 --> WHERE=11. On local bus: WHERE=11#4#01</description> | ||
<required>true</required> | ||
</parameter> | ||
</config-description> | ||
</thing-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
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
Oops, something went wrong.