public class IpWeatherRoomSensorChannel extends AbstractDeviceHandler implements DeviceHandlerFactory
conn| Constructor and Description |
|---|
IpWeatherRoomSensorChannel() |
IpWeatherRoomSensorChannel(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. |
DeviceHandler |
createHandler(HomeMaticConnection connection)
Creates a new
DeviceHandler. |
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 IpWeatherRoomSensorChannel()
public IpWeatherRoomSensorChannel(HomeMaticConnection conn)
public DeviceHandler createHandler(HomeMaticConnection connection)
DeviceHandlerFactoryDeviceHandler. The handler instance is expected to
store the given connection.createHandler in interface DeviceHandlerFactorypublic boolean accept(org.ogema.drivers.homematic.xmlrpc.ll.api.DeviceDescription desc)
DeviceHandlerDeviceDescription.accept in interface DeviceHandlerdesc - 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.setup in interface DeviceHandlerparent - 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.