]> git.basschouten.com Git - openhab-addons.git/commitdiff
[vitotronic] Add channel "currentmode" to thing "circuit" (#13739)
authorFejitatete <Fejitatete@users.noreply.github.com>
Sat, 10 Dec 2022 12:08:41 +0000 (13:08 +0100)
committerGitHub <noreply@github.com>
Sat, 10 Dec 2022 12:08:41 +0000 (13:08 +0100)
* [vitotronic] Add channel "currentmode" to thing "circuit"

Signed-off-by: Fejitatete <fejitatete@msn.com>
bundles/org.openhab.binding.vitotronic/README.md
bundles/org.openhab.binding.vitotronic/src/main/resources/OH-INF/i18n/vitotronic.properties
bundles/org.openhab.binding.vitotronic/src/main/resources/OH-INF/thing/thing-types.xml

index 9bdf23dbce05015e5dac093eee952ec851aa52b7..25b23261fb1d53169b7def5c93a949f4f909b8fe 100644 (file)
@@ -100,6 +100,7 @@ The follow channels are implemented:
 | flowtemperature        | Number    | Temperature sensor of the ciruit flow                 |
 | pump                   | Switch    | Pump state                                            |
 | operationmode          | Number    | Operationmode                                         |
+| currentmode            | Number    | Current Mode
 | savemode               | Switch    | Savemode on/off                                       |
 | partymode              | Switch    | Partymode on/off                                      |
 | party_temp_setpoint    | Number    | Party mode temperature setpoint (target)              |
index c433aa667cb46172839b653a35e4805219d30db5..adf47071a084c59cff58fefc2bc5f267e93f4ed0 100644 (file)
@@ -92,6 +92,8 @@ channel-type.vitotronic.consumedoil.label = Consumed Oil
 channel-type.vitotronic.consumedoil.description = Consumed Oil since start of heating in Liter
 channel-type.vitotronic.consumedpellets.label = Consumed Pellets
 channel-type.vitotronic.consumedpellets.description = Consumed Pellets since start of heating in tons
+channel-type.vitotronic.currentmode.label = Current Mode
+channel-type.vitotronic.currentmode.description = Current functionnal mode
 channel-type.vitotronic.error.label = Errors
 channel-type.vitotronic.error.description = True, if errors for the burner exists
 channel-type.vitotronic.exhaust_temp.label = Exhaust Temperature
index 65383fea31e7e29dfe5df5e2677bd668ee61860a..97a9a5e7fe1669d5af361de97ac57b13d10d2329 100644 (file)
                        <channel id="flowtemperature" typeId="flow_temp"/>
                        <channel id="pump" typeId="pump"/>
                        <channel id="operationmode" typeId="operationmode"/>
+                       <channel id="currentmode" typeId="currentmode"/>
                        <channel id="savemode" typeId="savemode"/>
                        <channel id="partymode" typeId="partymode"/>
                        <channel id="party_temp_setpoint" typeId="party_temp_setpoint"/>
                <state pattern="%d" readOnly="false" max="4" min="0" step="1"/>
        </channel-type>
 
+       <channel-type id="currentmode">
+               <item-type>Number</item-type>
+               <label>Currentmode</label>
+               <description>Current Mode</description>
+               <state pattern="%d" readOnly="true">
+                       <options>
+                               <option value="0">Standby Operation</option>
+                               <option value="1">Reduced Operation</option>
+                               <option value="2">Normal Operation</option>
+                               <option value="3">Continuous Normal Operation</option>
+                       </options>
+               </state>
+       </channel-type>
+
        <channel-type id="partymode">
                <item-type>Switch</item-type>
                <label>Partymode</label>