Examples of ZWaveController


Examples of org.openhab.binding.zwave.internal.protocol.ZWaveController

            logger.debug("NODE {}: is busy and wants us to try again in {} seconds",getNode(), seconds);
            retry = seconds * 1000;
          case StatusBusyTryAgainLater:
            logger.debug("NODE {}: is busy and wants us to try again later", getNode());
            final ZWaveNode node = this.getNode();
            final ZWaveController controller = this.getController();
            scheduler.schedule(new Runnable() {
              @Override
              public void run() {
                if (node== null || node.getNodeStage() != NodeStage.DONE)
                  return;
                controller.pollNode(node);
               
              }
            }, retry, TimeUnit.MILLISECONDS);
            break;
          case StatusBusyQueued:
View Full Code Here

Examples of org.openhab.binding.zwave.internal.protocol.ZWaveController

    if (this.zConfigurationService != null) {
      this.zController.removeEventListener(this.zConfigurationService);
      this.zConfigurationService = null;
    }

    ZWaveController controller = this.zController;
    if (controller != null) {
      this.zController = null;
      controller.close();
      controller.removeEventListener(this);
    }
  }
View Full Code Here

Examples of org.openhab.binding.zwave.internal.protocol.ZWaveController

   */
  private void initialise() throws ConfigurationException {
    try {
      this.setProperlyConfigured(true);
      this.deactivate();
      this.zController = new ZWaveController(isSUC, port, timeout);
      this.converterHandler = new ZWaveConverterHandler(this.zController, this.eventPublisher);
      zController.initialize();
      zController.addEventListener(this);

      // The network monitor service needs to know the controller...
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.