[openwebnet] rename thermoregulation's (WHO=4) things (#10865)

* - bus_thermostat renamed to bus_thermo_zone
- bus_temp_sensor renamed to bus_themo_sensor
- linked OWN4j 0.5.3-SNAPSHOT (camelCase for enums)

Signed-off-by: Conte Andrea <andrea@conte.com>

* updated ReadMe according to things renaming

Signed-off-by: Conte Andrea <andrea@conte.com>

* Updated readme and thermo thing labels. Renamed thing descriptors to BusThermoZone and BusThermoSensor

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* using own4j release 0.5.3

Signed-off-by: Conte Andrea <andrea@conte.com>

* removed json tags in README. Added KG4691 to tested thermostats

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

Co-authored-by: Massimo Valla <mvcode00@gmail.com>
This commit is contained in:
Conte Andrea
2021-06-23 20:08:51 +02:00
committed by GitHub
parent 08706f1314
commit 089a78ff6f
11 changed files with 145 additions and 100 deletions

View File

@@ -4,13 +4,14 @@
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<!-- Thing for BUS Temperature Sensor -->
<thing-type id="bus_temp_sensor">
<!-- Thing for BUS Thermo Sensor -->
<thing-type id="bus_thermo_sensor">
<supported-bridge-type-refs>
<bridge-type-ref id="bus_gateway"/>
</supported-bridge-type-refs>
<label>Temperature Sensor</label>
<description>A OpenWebNet BUS/SCS temperature sensor. BTicino models: L/N/NT4577 etc.</description>
<label>Thermo Sensor</label>
<description>A OpenWebNet BUS/SCS thermo sensor (probe) for measuring temperature in a zone. BTicino models:
L/N/NT4577 etc.</description>
<channels>
<channel id="temperature" typeId="temperature"/>
@@ -27,7 +28,7 @@
<config-description>
<parameter name="where" type="text" required="true">
<label>OpenWebNet Device Address</label>
<description>Example: Zone 2 --> where=2. For external sensors: sensor 5 --> where=500</description>
<description>Example: sensor 3 of zone 2 --> where=302. Sensor 5 of external zone 00 --> where=500</description>
</parameter>
</config-description>

View File

@@ -4,21 +4,21 @@
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<!-- Thing for BUS Thermostat (BTicino xxx/xxx/...) -->
<thing-type id="bus_thermostat">
<!-- Thing for BUS Thermo Zone -->
<thing-type id="bus_thermo_zone">
<supported-bridge-type-refs>
<bridge-type-ref id="bus_gateway"/>
</supported-bridge-type-refs>
<label>Thermostat (stand-alone)</label>
<description>A OpenWebNet BUS/SCS zone stand-alone thermostat. BTicino models: LN4691.</description>
<label>Thermo Zone</label>
<description>A OpenWebNet BUS/SCS configured thermo zone (managed via Central Unit or stand alone).</description>
<channels>
<!-- read only -->
<channel id="temperature" typeId="temperature"/>
<channel id="conditioningValve" typeId="conditioningValve"/>
<channel id="heatingValve" typeId="heatingValve"/>
<channel id="actuator" typeId="actuator"/>
<channel id="conditioningValves" typeId="conditioningValves"/>
<channel id="heatingValves" typeId="heatingValves"/>
<channel id="actuators" typeId="actuators"/>
<!-- read/write -->
<channel id="setpointTemperature" typeId="setpointTemperature"/>
<channel id="function" typeId="function"/>
@@ -28,8 +28,8 @@
<properties>
<property name="vendor">BTicino/Legrand</property>
<property name="model">BTI-LN4691</property>
<property name="ownDeviceType">410/420/430</property>
<property name="model">Zone thermostat BTI-LN4691 (stand-alone), 3550 (99 zones Central Unit)</property>
<property name="ownDeviceType">410/420</property>
</properties>
<representation-property>ownId</representation-property>
@@ -37,7 +37,13 @@
<config-description>
<parameter name="where" type="text" required="true">
<label>OpenWebNet Device Address</label>
<description>Example: Zone 2 --> where=2.</description>
<description>Example: zone 2 --> where=2.</description>
</parameter>
<parameter name="standAlone" type="boolean">
<label>Stand-alone</label>
<description>Distinguishes between a zone managed by a Central Unit (false) or stand-alone (true, default)</description>
<default>true</default>
</parameter>
</config-description>

View File

@@ -100,10 +100,10 @@
</state>
</channel-type>
<channel-type id="conditioningValve" advanced="true">
<channel-type id="conditioningValves" advanced="true">
<item-type>String</item-type>
<label>Conditioning Valve</label>
<description>Conditioning Valve status (read only)</description>
<label>Conditioning Valves</label>
<description>Conditioning Valves status (read only)</description>
<state readOnly="true">
<options>
<option value="OFF">OFF</option>
@@ -122,10 +122,10 @@
</state>
</channel-type>
<channel-type id="heatingValve" advanced="true">
<channel-type id="heatingValves" advanced="true">
<item-type>String</item-type>
<label>Heating Valve</label>
<description>Heating Valve status (read only)</description>
<label>Heating Valves</label>
<description>Heating Valves status (read only)</description>
<state readOnly="true">
<options>
<option value="OFF">OFF</option>
@@ -144,10 +144,10 @@
</state>
</channel-type>
<channel-type id="actuator" advanced="true">
<channel-type id="actuators" advanced="true">
<item-type>String</item-type>
<label>Actuator Status</label>
<description>Actuator status (read only)</description>
<label>Actuators Status</label>
<description>Actuators status (read only)</description>
<state readOnly="true">
<options>
<option value="OFF">OFF</option>