2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.livisismarthome.internal.client.api.entity.capability;
16 * Holds the Capability configuration.
18 * @author Oliver Kuhl - Initial contribution
21 public class CapabilityConfigDTO {
24 * Name of the capability
29 * Specifies if the activity logging is enabled
31 private Boolean activityLogActive;
34 * Specifies if the activity logging is enabled
36 private Integer pushButtons;
41 private Integer valveIndex;
46 private String valveType;
49 * The valve control mode: Heating or Cooling
51 private String controlMode;
54 * Dimmer: Programmed on the device as maximum/minimum and not used for UI representation
56 private Integer technicalMaxValue;
59 * Dimmer: Programmed on the device as maximum/minimum and not used for UI representation
61 private Integer technicalMinValue;
64 * Rollershutter: How long it takes for the shutter to open completely when it's completely closed (in tenth of
67 private Integer timeFullUp;
70 * Rollershutter: How long it takes for the shutter to close completely when it's completely open (in tenth of
73 private Integer timeFullDown;
76 * Rollershutter: Flag indicating the ISR is in the calibration mode or not.
78 private Boolean isCalibrating;
82 * "different types of current sensing behavior the ISS can have:
83 * Enabled - Factory default value, current sensing is enabled; (default)
84 * DisabledNormal - Current sensing disabled, uses output 1;
85 * DisabledReversed - Current sensing disabled, uses output 2"
87 private String sensingBehavior;
90 * Thermostatactuator: The max temperature
92 private Double maxTemperature;
95 * Thermostatactuator: The min temperature
97 private Double minTemperature;
100 * Thermostatactuator: Indicating whether the device is locked
102 private Boolean childLock;
105 * Thermostatactuator: The window open temperature
107 private Double windowOpenTemperature;
110 * Thermostatactuator: default PointTemperature
112 private String vRCCSetPoint;
115 * Temperaturesensor: Indicating whether the device has freeze protection activated
117 private Boolean isFreezeProtectionActivated;
120 * Temperaturesensor: The freeze protection temperature, default 6 °C
122 private Double freezeProtection;
125 * Temperaturesensor: default Temperature
127 private String vRCCTemperature;
130 * HumiditySensor: Indicating whether the device has mold protection activated
132 private Boolean isMoldProtectionActivated;
135 * HumiditySensor: The humidity mold protection
137 private Double humidityMoldProtection;
140 * HumiditySensor: default Humidity
142 private String vRCCHumidity;
145 * SirenActuator: Alarm Sound Id
147 private String alarmSoundId;
150 * SirenActuator: Notification Sound Id
152 private String notificationSoundId;
155 * SirenActuator: Feedback Sound Id
157 private String feedbackSoundId;
160 * RoomSetPoint/RoomTemperature/RoomHumidity: List of capability ids, which are linked to the VRCC
162 private String underlyingCapabilityIds;
165 * WindowsDoorSensor: Time before the changed status is sent after the window/door is opened (in seconds)
167 private Integer eventFilterTime;
170 * Medion ThermostatActuator: Specifies the temperature threshold that will denote a window open event. 0 = window
171 * reduction disabled 1-12 = 1/12 °C, 2/12 °C,…, 12/12 °C
173 private Integer windowOpenThreshold;
176 * Medion ThermostatActuator: Duration in minutes for how long after the threshold was overstepped the valve will be
177 * closed (target temperature = OFF). After the set time, the temperature will jump back to the previous set target
180 private Integer windowOpenTimer;
183 * Medion MotionDetectionSensor sensitivityControl
185 private Integer sensitivityControl;
188 * Medion WindowDoorShockSensor: shockDetectorThreshold
190 private Integer shockDetectorThreshold;
195 public String getName() {
200 * @param name the name to set
202 public void setName(final String name) {
207 * @return the activityLogActive
209 public Boolean getActivityLogActive() {
210 return activityLogActive;
214 * @param activityLogActive the activityLogActive to set
216 public void setActivityLogActive(final Boolean activityLogActive) {
217 this.activityLogActive = activityLogActive;
221 * @return the pushButtons
223 public Integer getPushButtons() {
228 * @param pushButtons the pushButtons to set
230 public void setPushButtons(final Integer pushButtons) {
231 this.pushButtons = pushButtons;
235 * @return the valveIndex
237 public Integer getValveIndex() {
242 * @param valveIndex the valveIndex to set
244 public void setValveIndex(final Integer valveIndex) {
245 this.valveIndex = valveIndex;
249 * @return the valveType
251 public String getValveType() {
256 * @param valveType the valveType to set
258 public void setValveType(final String valveType) {
259 this.valveType = valveType;
263 * @return the controlMode
265 public String getControlMode() {
270 * @param controlMode the controlMode to set
272 public void setControlMode(final String controlMode) {
273 this.controlMode = controlMode;
277 * @return the technicalMaxValue
279 public Integer getTechnicalMaxValue() {
280 return technicalMaxValue;
284 * @param technicalMaxValue the technicalMaxValue to set
286 public void setTechnicalMaxValue(final Integer technicalMaxValue) {
287 this.technicalMaxValue = technicalMaxValue;
291 * @return the technicalMinValue
293 public Integer getTechnicalMinValue() {
294 return technicalMinValue;
298 * @param technicalMinValue the technicalMinValue to set
300 public void setTechnicalMinValue(final Integer technicalMinValue) {
301 this.technicalMinValue = technicalMinValue;
305 * @return the timeFullUp
307 public Integer getTimeFullUp() {
312 * @param timeFullUp the timeFullUp to set
314 public void setTimeFullUp(final Integer timeFullUp) {
315 this.timeFullUp = timeFullUp;
319 * @return the timeFullDown
321 public Integer getTimeFullDown() {
326 * @param timeFullDown the timeFullDown to set
328 public void setTimeFullDown(final Integer timeFullDown) {
329 this.timeFullDown = timeFullDown;
333 * @return the isCalibrating
335 public Boolean getIsCalibrating() {
336 return isCalibrating;
340 * @param isCalibrating the isCalibrating to set
342 public void setIsCalibrating(final Boolean isCalibrating) {
343 this.isCalibrating = isCalibrating;
347 * @return the sensingBehavior
349 public String getSensingBehavior() {
350 return sensingBehavior;
354 * @param sensingBehavior the sensingBehavior to set
356 public void setSensingBehavior(final String sensingBehavior) {
357 this.sensingBehavior = sensingBehavior;
361 * @return the maxTemperature
363 public Double getMaxTemperature() {
364 return maxTemperature;
368 * @param maxTemperature the maxTemperature to set
370 public void setMaxTemperature(final Double maxTemperature) {
371 this.maxTemperature = maxTemperature;
375 * @return the minTemperature
377 public Double getMinTemperature() {
378 return minTemperature;
382 * @param minTemperature the minTemperature to set
384 public void setMinTemperature(final Double minTemperature) {
385 this.minTemperature = minTemperature;
389 * @return the childLock
391 public Boolean getChildLock() {
396 * @param childLock the childLock to set
398 public void setChildLock(final Boolean childLock) {
399 this.childLock = childLock;
403 * @return the windowOpenTemperature
405 public Double getWindowOpenTemperature() {
406 return windowOpenTemperature;
410 * @param windowOpenTemperature the windowOpenTemperature to set
412 public void setWindowOpenTemperature(final Double windowOpenTemperature) {
413 this.windowOpenTemperature = windowOpenTemperature;
417 * @return the vRCCSetPoint
419 public String getvRCCSetPoint() {
424 * @param vRCCSetPoint the vRCCSetPoint to set
426 public void setvRCCSetPoint(final String vRCCSetPoint) {
427 this.vRCCSetPoint = vRCCSetPoint;
431 * @return the isFreezeProtectionActivated
433 public Boolean getIsFreezeProtectionActivated() {
434 return isFreezeProtectionActivated;
438 * @param isFreezeProtectionActivated the isFreezeProtectionActivated to set
440 public void setIsFreezeProtectionActivated(final Boolean isFreezeProtectionActivated) {
441 this.isFreezeProtectionActivated = isFreezeProtectionActivated;
445 * @return the freezeProtection
447 public Double getFreezeProtection() {
448 return freezeProtection;
452 * @param freezeProtection the freezeProtection to set
454 public void setFreezeProtection(final Double freezeProtection) {
455 this.freezeProtection = freezeProtection;
459 * @return the vRCCTemperature
461 public String getvRCCTemperature() {
462 return vRCCTemperature;
466 * @param vRCCTemperature the vRCCTemperature to set
468 public void setvRCCTemperature(final String vRCCTemperature) {
469 this.vRCCTemperature = vRCCTemperature;
473 * @return the isMoldProtectionActivated
475 public Boolean getIsMoldProtectionActivated() {
476 return isMoldProtectionActivated;
480 * @param isMoldProtectionActivated the isMoldProtectionActivated to set
482 public void setIsMoldProtectionActivated(final Boolean isMoldProtectionActivated) {
483 this.isMoldProtectionActivated = isMoldProtectionActivated;
487 * @return the humidityMoldProtection
489 public Double getHumidityMoldProtection() {
490 return humidityMoldProtection;
494 * @param humidityMoldProtection the humidityMoldProtection to set
496 public void setHumidityMoldProtection(final Double humidityMoldProtection) {
497 this.humidityMoldProtection = humidityMoldProtection;
501 * @return the vRCCHumidity
503 public String getvRCCHumidity() {
508 * @param vRCCHumidity the vRCCHumidity to set
510 public void setvRCCHumidity(final String vRCCHumidity) {
511 this.vRCCHumidity = vRCCHumidity;
515 * @return the alarmSoundId
517 public String getAlarmSoundId() {
522 * @param alarmSoundId the alarmSoundId to set
524 public void setAlarmSoundId(final String alarmSoundId) {
525 this.alarmSoundId = alarmSoundId;
529 * @return the notificationSoundId
531 public String getNotificationSoundId() {
532 return notificationSoundId;
536 * @param notificationSoundId the notificationSoundId to set
538 public void setNotificationSoundId(final String notificationSoundId) {
539 this.notificationSoundId = notificationSoundId;
543 * @return the feedbackSoundId
545 public String getFeedbackSoundId() {
546 return feedbackSoundId;
550 * @param feedbackSoundId the feedbackSoundId to set
552 public void setFeedbackSoundId(final String feedbackSoundId) {
553 this.feedbackSoundId = feedbackSoundId;
557 * @return the underlyingCapabilityIds
559 public String getUnderlyingCapabilityIds() {
560 return underlyingCapabilityIds;
564 * @param underlyingCapabilityIds the underlyingCapabilityIds to set
566 public void setUnderlyingCapabilityIds(final String underlyingCapabilityIds) {
567 this.underlyingCapabilityIds = underlyingCapabilityIds;
571 * @return the eventFilterTime
573 public Integer getEventFilterTime() {
574 return eventFilterTime;
578 * @param eventFilterTime the eventFilterTime to set
580 public void setEventFilterTime(final Integer eventFilterTime) {
581 this.eventFilterTime = eventFilterTime;
585 * @return the windowOpenThreshold
587 public Integer getWindowOpenThreshold() {
588 return windowOpenThreshold;
592 * @param windowOpenThreshold the windowOpenThreshold to set
594 public void setWindowOpenThreshold(final Integer windowOpenThreshold) {
595 this.windowOpenThreshold = windowOpenThreshold;
599 * @return the windowOpenTimer
601 public Integer getWindowOpenTimer() {
602 return windowOpenTimer;
606 * @param windowOpenTimer the windowOpenTimer to set
608 public void setWindowOpenTimer(final Integer windowOpenTimer) {
609 this.windowOpenTimer = windowOpenTimer;
613 * @return the sensitivityControl
615 public Integer getSensitivityControl() {
616 return sensitivityControl;
620 * @param sensitivityControl the sensitivityControl to set
622 public void setSensitivityControl(final Integer sensitivityControl) {
623 this.sensitivityControl = sensitivityControl;
627 * @return the shockDetectorThreshold
629 public Integer getShockDetectorThreshold() {
630 return shockDetectorThreshold;
634 * @param shockDetectorThreshold the shockDetectorThreshold to set
636 public void setShockDetectorThreshold(final Integer shockDetectorThreshold) {
637 this.shockDetectorThreshold = shockDetectorThreshold;