Class ZWaveNetwork
java.lang.Object
org.openremote.agent.protocol.zwave.ZWaveNetwork
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.openremote.protocol.zwave.model.Controller
protected ZWaveSerialIOClient
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConnectionStatusConsumer
(Consumer<org.openremote.model.asset.agent.ConnectionStatus> connectionStatusConsumer) void
addSensorValueConsumer
(int nodeId, int endpoint, String channelName, Consumer<org.openremote.protocol.zwave.model.commandclasses.channel.value.Value> consumer) void
connect()
void
org.openremote.model.asset.AssetTreeNode[]
discoverDevices
(ZWaveAgent agent) org.openremote.model.asset.agent.ConnectionStatus
protected void
onConnectionStatusChanged
(org.openremote.model.asset.agent.ConnectionStatus status) void
removeConnectionStatusConsumer
(Consumer<org.openremote.model.asset.agent.ConnectionStatus> connectionStatusConsumer) void
removeSensorValueConsumer
(Consumer<org.openremote.protocol.zwave.model.commandclasses.channel.value.Value> consumer) protected org.openremote.protocol.zwave.model.commandclasses.channel.value.Value
toZWValue
(org.openremote.protocol.zwave.model.commandclasses.channel.value.ValueType type, Object value) void
writeChannel
(int nodeId, int endpoint, String linkName, Object value)
-
Field Details
-
controller
protected org.openremote.protocol.zwave.model.Controller controller -
serialPort
-
ioClient
-
-
Constructor Details
-
ZWaveNetwork
-
-
Method Details
-
connect
public void connect() -
disconnect
public void disconnect() -
getConnectionStatus
public org.openremote.model.asset.agent.ConnectionStatus getConnectionStatus() -
addConnectionStatusConsumer
public void addConnectionStatusConsumer(Consumer<org.openremote.model.asset.agent.ConnectionStatus> connectionStatusConsumer) -
removeConnectionStatusConsumer
public void removeConnectionStatusConsumer(Consumer<org.openremote.model.asset.agent.ConnectionStatus> connectionStatusConsumer) -
addSensorValueConsumer
-
removeSensorValueConsumer
public void removeSensorValueConsumer(Consumer<org.openremote.protocol.zwave.model.commandclasses.channel.value.Value> consumer) -
writeChannel
-
onConnectionStatusChanged
protected void onConnectionStatusChanged(org.openremote.model.asset.agent.ConnectionStatus status) -
toZWValue
protected org.openremote.protocol.zwave.model.commandclasses.channel.value.Value toZWValue(org.openremote.protocol.zwave.model.commandclasses.channel.value.ValueType type, Object value) -
discoverDevices
-