Examples of SsdpDiscovery


Examples of org.openhab.binding.hue.internal.tools.SsdpDiscovery

      String ip = (String) config.get("ip");
      if (StringUtils.isNotBlank(ip)) {
        this.bridgeIP = ip;
      } else {
        try {
          this.bridgeIP = new SsdpDiscovery()
              .findIpForResponseKeywords("description.xml",
                  "FreeRTOS");
        } catch (IOException e) {
          logger.warn("Could not find hue bridge automatically. Please make sure it is switched on and connected to the same network as openHAB. If it permanently fails you may configure the IP address of your hue bridge manually in the openHAB configuration.");
        }
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.