public class IpThermostatChannel extends AbstractDeviceHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
LINKED_TEMP_SENS_DECORATOR
Name ("linkedTempSens") of the decorator linking to the TempSens which shall be used instead
of the internal temperature sensor.
|
static String |
PARAM_TEMPERATUREFALL_MODUS |
conn| Constructor and Description |
|---|
IpThermostatChannel(HomeMaticConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.ogema.drivers.homematic.xmlrpc.ll.api.DeviceDescription desc)
Called by the HomeMatic driver to determine whether this
DeviceHandler wants to control the device from the
DeviceDescription. |
void |
setup(HmDevice parent,
org.ogema.drivers.homematic.xmlrpc.ll.api.DeviceDescription desc,
Map<String,Map<String,org.ogema.drivers.homematic.xmlrpc.ll.api.ParameterDescription<?>>> paramSets)
Called by the HomeMatic driver after the DeviceHandler returned true
from an
DeviceHandler.accept(org.ogema.drivers.homematic.xmlrpc.ll.api.DeviceDescription) call. |
getConnectionpublic static final String PARAM_TEMPERATUREFALL_MODUS
public static final String LINKED_TEMP_SENS_DECORATOR
public IpThermostatChannel(HomeMaticConnection conn)
public boolean accept(org.ogema.drivers.homematic.xmlrpc.ll.api.DeviceDescription desc)
DeviceHandlerDeviceDescription.desc - HomeMatic device (or channel) description.public void setup(HmDevice parent, org.ogema.drivers.homematic.xmlrpc.ll.api.DeviceDescription desc, Map<String,Map<String,org.ogema.drivers.homematic.xmlrpc.ll.api.ParameterDescription<?>>> paramSets)
DeviceHandlerDeviceHandler.accept(org.ogema.drivers.homematic.xmlrpc.ll.api.DeviceDescription) call.
The DeviceDescription will be the same as the one used in the accept call.
The device parameter will always be the OGEMA resource associated with
the main HomeMatic device, even if setup is called for a channel, since
additional OGEMA resources should be created on this resource.
paramSets parameter contains all available Paramsets as
named by the device description (DeviceDescription.getParamsets()).
Each paramSet map contains the available parameter names as keys
along with their ParameterDescription.parent - OGEMA resource representing the main HomeMatic device.desc - Description for the HomeMatic device or channel.paramSets - Parameter sets available for this logical device.Copyright © 2018. All rights reserved.