[openwebnet] handle Thermo Central Unit monitoring messages (#12485)

* - handled what=30 (failure discovered ), what=22 (at least 1 probe in off), what=23 (at least 1 probe in protection), what=24 (at least 1 probe in manual)
- related channels added
* - update README
- ignore messages from probes and central unit and keep track only of messages from a real thermostat
* add example of failureDiscovered channel
* Update bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/channels.xml
* changed capital letters (atLeastOneProbeOFF -> atLeatOneProbeOff) as suggested

Signed-off-by: Conte Andrea <andrea@conte.com>
This commit is contained in:
Conte Andrea
2022-03-18 19:00:48 +01:00
committed by GitHub
parent 812ac5c4d6
commit 1918afc3a9
5 changed files with 130 additions and 14 deletions

View File

@@ -18,6 +18,10 @@
<channel id="remoteControl" typeId="remoteControl"/>
<channel id="batteryStatus" typeId="batteryStatus"/>
<channel id="function" typeId="functionCentralUnit"/>
<channel id="failureDiscovered" typeId="failureDiscovered"/>
<channel id="atLeastOneProbeOff" typeId="atLeastOneProbeOff"/>
<channel id="atLeastOneProbeProtection" typeId="atLeastOneProbeProtection"/>
<channel id="atLeastOneProbeManual" typeId="atLeastOneProbeManual"/>
<!-- read/write -->
<channel id="setpointTemperature" typeId="setpointTemperature"/>
<channel id="mode" typeId="modeCentralUnit"/>

View File

@@ -281,6 +281,34 @@
</state>
</channel-type>
<channel-type id="failureDiscovered" advanced="true">
<item-type>Switch</item-type>
<label>Failure Discovered</label>
<description>Central Unit Failure Discovered (read only)</description>
<state readOnly="true"></state>
</channel-type>
<channel-type id="atLeastOneProbeOff" advanced="true">
<item-type>Switch</item-type>
<label>At least one probe OFF</label>
<description>At least one probe OFF indicator in Central Unit (read only)</description>
<state readOnly="true"></state>
</channel-type>
<channel-type id="atLeastOneProbeProtection" advanced="true">
<item-type>Switch</item-type>
<label>At least one probe in PROTECTION</label>
<description>At least one probe in PROTECTION (Anti Freeze/Thermal Protection) indicator in Central Unit (read only)</description>
<state readOnly="true"></state>
</channel-type>
<channel-type id="atLeastOneProbeManual" advanced="true">
<item-type>Switch</item-type>
<label>At least one probe in MANUAL</label>
<description>At least one probe in MANUAL indicator in Central Unit (read only)</description>
<state readOnly="true"></state>
</channel-type>
<!-- Energy channels -->
<channel-type id="power">
<item-type>Number:Power</item-type>