Package | Description |
---|---|
com.mmbnetworks.gatewayapi | |
com.mmbnetworks.gatewayapi.entity | |
com.mmbnetworks.gatewayapi.sample.iaszone |
Modifier and Type | Method and Description |
---|---|
Optional<Property> |
PropertyCommandData.getCachedProperty()
Get the last known value of the Property.
|
CompletableFuture<Property> |
PropertyCommandData.getFuture()
Gets the CompletableFuture representing the request to read/write the Property.
|
Constructor and Description |
---|
PropertyCommandData(CompletableFuture<Property> future,
Property cachedProperty) |
Constructor and Description |
---|
PropertyCommandData(CompletableFuture<Property> future) |
PropertyCommandData(CompletableFuture<Property> future,
Property cachedProperty) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Collection<Property>> |
Device.discoverAllProperties()
Gets all
Property objects associated with this device type. |
Collection<Property> |
Device.getCachedProperties()
Gets all currently known
Property objects associated with this device type. |
Optional<Property> |
Device.getCachedProperty(String propertyName)
Gets the
Property with the associated propertyName . |
Collection<Property> |
Device.getCachedProtocolProperties()
Gets all currently known
Property objects associated with this device type. |
Collection<Property> |
Result.getProperties() |
CompletableFuture<Collection<Property>> |
Device.getProperties()
Gets all currently known
Property objects associated with this device type. |
CompletableFuture<Property> |
Device.getProperty(String propertyName)
Gets the
Property with the associated propertyName . |
CompletableFuture<Collection<Property>> |
Device.getProtocolProperties()
Get all currently known protocol
Property for this device. |
CompletableFuture<Property> |
ZigbeeDevice.readAttribute(int clusterId,
int attributeId)
Read a zigbee attribute that lives on a server cluster (and is not manufacturing specific).
|
CompletableFuture<Property> |
ZigbeeDevice.readAttribute(int clusterId,
int attributeId,
int manufacturerCode,
boolean isServer)
Read a zigbee attribute.
|
Optional<Property> |
ThermostatDevice.readCachedFanMode()
Reads the cached
FanControl.FanModeEnum of the Thermostat. |
Optional<Property> |
LightDevice.readCachedLevel()
Reads the cache level value of this light device.
|
Optional<Property> |
ThermostatDevice.readCachedOccupiedSetpoint(com.mmbnetworks.rapidconnectdevice.zcl.cluster.Thermostat.SetpointModeEnum setpoint)
Reads the cached heating or cool setpoint of the thermostat device.
|
Optional<Property> |
ThermostatDevice.readCachedRunningMode()
Reads the cached running mode of the thermostat device.
|
Optional<Property> |
ThermostatDevice.readCachedSystemMode()
Reads the cached
Thermostat.SystemModeEnum of the Thermostat. |
CompletableFuture<Property> |
ThermostatDevice.readFanMode()
Reads the current
FanControl.FanModeEnum of the Thermostat. |
CompletableFuture<Property> |
LightDevice.readLevel()
Reads the current level of this light device
|
CompletableFuture<Property> |
ThermostatDevice.readOccupiedCoolingSetpoint()
Reads the cooling setpoint.
|
CompletableFuture<Property> |
ThermostatDevice.readOccupiedHeatingSetpoint()
Reads the heating setpoint.
|
CompletableFuture<Property> |
ThermostatDevice.readRunningMode()
Reads the current running mode of the thermostat.
|
CompletableFuture<Property> |
ThermostatDevice.readSystemMode()
Reads the current
Thermostat.SystemModeEnum of the Thermostat. |
CompletableFuture<Property> |
ZigbeeDevice.sendZclCommand(short commandId,
byte[] payload,
int clusterId)
Sends a zcl general command to a server cluster (that is not manufacturing specific).
|
CompletableFuture<Property> |
ZigbeeDevice.sendZclCommand(short commandId,
byte[] payload,
int clusterId,
int manufacturerCode,
boolean isServer,
boolean isClusterSpecific)
Sends a zcl command.
|
CompletableFuture<Property> |
ZigbeeDevice.writeAttribute(int clusterId,
int attributeId,
short dataType,
byte[] value)
Write to a zigbee attribute that lives on a server cluster (and is not manufacturing specific).
|
CompletableFuture<Property> |
ZigbeeDevice.writeAttribute(int clusterId,
int attributeId,
short dataType,
byte[] value,
int manufacturerCode,
boolean isServer)
Write to a zigbee attribute.
|
Modifier and Type | Method and Description |
---|---|
PropertyCommandData |
Device.updateProperty(Property property)
Updates the
Property associated with this device. |
Modifier and Type | Method and Description |
---|---|
boolean |
Device.addPropertyUpdateHandler(BiConsumer<Device,Property> handler)
Adds a Property update handler.
|
boolean |
Device.removePropertyUpdateHandler(BiConsumer<Device,Property> handler)
Removes a previously added handler.
|
Constructor and Description |
---|
Result(Status status,
Collection<Property> properties) |
Modifier and Type | Method and Description |
---|---|
void |
IasPropertyHandler.accept(Device device,
Property property) |
Copyright © 2019. All rights reserved.