Examples of HueSettings


Examples of org.openhab.binding.hue.internal.data.HueSettings

    if (activeBridge != null)
    {
      // Get settings and update the bulbs
      // Observation : If the power of a hue lamp is removed, the status is not updated in hue hub.
      // The heartbeat functionality should fix this, but
      HueSettings settings = activeBridge.getSettings();
      for (int i = 1; i <= settings.getCount(); i++) {
        HueBulb bulb = bulbCache.get(i);
        if (bulb == null) {
          bulb = new HueBulb(activeBridge, i);
          bulbCache.put(i, bulb);
        }
View Full Code Here

Examples of org.openhab.binding.hue.internal.data.HueSettings

   * @return The settings determined from the bridge. Null if they could not
   *         be requested.
   */
  public HueSettings getSettings() {
    String json = getSettingsJson();
    return json != null ? new HueSettings(json) : null;
  }
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.