Skip to content

Commit

Permalink
refs #13 * Things can be assigned to new tcpbridge
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielW committed Jun 8, 2018
1 parent 1b2a344 commit 5392350
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions ESH-INF/thing/CentralCommand.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="centralCommand">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>A5-38 - Central command</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/ContactAndSwitch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="contactSwitch">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>D5-00 - Single input contact</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/EltakoFSB.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="eltakoFSB">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>Eltako rollershutter</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/GenericThing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="genericThing">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>00-00 - Generic thing</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/HumidityTemperatureSensor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="humidityTemperatureSensor">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>A5-04 - Temperature and humidity sensor</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/LightTemperatureOccupancySensor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="lightTemperatureOccupancySensor">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>A5-08 - Light, temperature and occupancy sensor</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/MeasurementSwitch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="measurementSwitch">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>D2-01 - Energy measurement switch</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/MechanicalHandle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<thing-type id="mechanicalHandle">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>F6-10 - Mechanical Handle</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/PushButton.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<thing-type id="pushButton">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>F6-01 - Simple push button</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/RockerSwitch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<thing-type id="rockerSwitch">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>F6-02 - Rocker Switch</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/RoomOperatingPanel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="roomOperatingPanel">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>A5-10 - Room operating panel</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/TemperatureSensor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<thing-type id="temperatureSensor">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>A5-02 - Temperature sensor</label>
Expand Down
1 change: 1 addition & 0 deletions ESH-INF/thing/VirtualRockerSwitch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<thing-type id="virtualRockerSwitch">
<supported-bridge-type-refs>
<bridge-type-ref id="bridge" />
<bridge-type-ref id="tcpbridge" />
</supported-bridge-type-refs>

<label>F6-02 - Virtual Rocker Switch</label>
Expand Down
Binary file modified precompiled/org.openhab.binding.openocean-2.4.0-SNAPSHOT.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public OpenOceanBaseThingHandler(Thing thing) {
@Override
public void initialize() {
logger.debug("Initializing open ocean base thing handler.");
this.gateway = null; // reset gateway
initializeThing((getBridge() == null) ? null : getBridge().getStatus());
}

Expand Down

0 comments on commit 5392350

Please sign in to comment.