[ojelectronics] Add discovery; enable writable properties (#9168)
* Add methods to update via Command; Add discovery * add vacation channels; rework README * Fixed code review issues: Corrected TimeZone-Handling Signed-off-by: Christian Kittel <ckittel@gmx.de>
This commit is contained in:
@@ -36,3 +36,5 @@ channel-type.ojelectronics.comfortEndTime.label = Komfort-Endzeit
|
||||
channel-type.ojelectronics.boostEndTime.label = Boost Endzeit
|
||||
channel-type.ojelectronics.manualSetpoint.label = manuelle Endzeit
|
||||
channel-type.ojelectronics.vacationEnabled.label = Urlausbmodus aktiviert
|
||||
channel-type.ojelectronics.vacationBeginDay.label = Start des Urlausbmodus
|
||||
channel-type.ojelectronics.vacationEndDay.label = Ende des Urlausbmodus
|
||||
|
||||
@@ -68,10 +68,13 @@
|
||||
<channel id="boostEndTime" typeId="boostEndTime"/>
|
||||
<channel id="manualSetpoint" typeId="manualSetpoint"/>
|
||||
<channel id="vacationEnabled" typeId="vacationEnabled"/>
|
||||
<channel id="vacationBeginDay" typeId="vacationBeginDay"/>
|
||||
<channel id="vacationEndDay" typeId="vacationEndDay"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="vendor">OJ Electronics</property>
|
||||
</properties>
|
||||
<representation-property>serialNumber</representation-property>
|
||||
<config-description>
|
||||
<parameter name="serialNumber" type="text" required="true">
|
||||
<label>Serial Number</label>
|
||||
@@ -119,7 +122,7 @@
|
||||
<channel-type id="regulationMode">
|
||||
<item-type>String</item-type>
|
||||
<label>Regulation Mode</label>
|
||||
<state readOnly="true">
|
||||
<state>
|
||||
<options>
|
||||
<option value="auto">Auto</option>
|
||||
<option value="comfort">Comfort</option>
|
||||
@@ -135,27 +138,33 @@
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Comfort Set Point Temperature</label>
|
||||
<category>Temperature</category>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
<state pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="comfortEndTime">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>End Time of Comfort Mode</label>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="boostEndTime">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>End Time of Boost Mode</label>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="manualSetpoint">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Manual Set Point Temperature</label>
|
||||
<category>Temperature</category>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
<state pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="vacationEnabled">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Vacation Mode Enabled</label>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="vacationBeginDay">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Vacation Begin Day</label>
|
||||
</channel-type>
|
||||
<channel-type id="vacationEndDay">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Vacation End Day</label>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
|
||||
Reference in New Issue
Block a user