Class ZWaveNetwork

java.lang.Object
org.openremote.agent.protocol.zwave.ZWaveNetwork

public class ZWaveNetwork extends Object
  • Field Details

  • Constructor Details

  • 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

      public void addSensorValueConsumer(int nodeId, int endpoint, String channelName, Consumer<org.openremote.protocol.zwave.model.commandclasses.channel.value.Value> consumer)
    • removeSensorValueConsumer

      public void removeSensorValueConsumer(Consumer<org.openremote.protocol.zwave.model.commandclasses.channel.value.Value> consumer)
    • writeChannel

      public void writeChannel(int nodeId, int endpoint, String linkName, Object value)
    • 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

      public org.openremote.model.asset.AssetTreeNode[] discoverDevices(ZWaveAgent agent)