Package com.orange.openthebox.hab

Examples of com.orange.openthebox.hab.HueLightDevice


            }
          }
         
          synchronized (hueLights) {
            for(Iterator it = hueLights.iterator(); it.hasNext();) {
              HueLightDevice hueLight = (HueLightDevice) it.next();
              HueLightThread hlt = new HueLightThread(hueLight, 10000);
              hlt.start();
            }
          }
         
View Full Code Here


    }
   
    // hue light are also considered as warning devices
    List hueLights = fireApplication.getHueLights();
    for(Iterator it = hueLights.iterator(); it.hasNext();) {
      HueLightDevice hld = (HueLightDevice) it.next();
      String name = hld.getName();
      String id = HUE_PREFIX_ID + hld.getId();
     
      Map properties = new HashMap();
      properties.put(ID_PROP, id);
      properties.put(NAME_PROP, name);
      properties.put(TECHNO_PROP, HUE_TECHNO);
View Full Code Here

TOP

Related Classes of com.orange.openthebox.hab.HueLightDevice

Copyright © 2018 www.massapicom. 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.