Ejemplo n.º 1
0
 def __init__(self, applianceFile):
     DomoActuator.__init__(self, applianceFile)
     self.arduino = pyduino.Arduino(str(self.port))
     self.__setupOutput()
Ejemplo n.º 2
0
 def __init__(self, applianceFile):
     DomoActuator.__init__(self, applianceFile)
     self.universe = int(self.universe)
     self.wrapper = ClientWrapper()
     self.client = self.wrapper.Client()
     self.data = array.array('B')
Ejemplo n.º 3
0
 def __init__(self, applianceFile):
     DomoActuator.__init__(self, applianceFile)
     self.controller = cm11.CM11(str(self.port))
     self.controller.open()
Ejemplo n.º 4
0
 def __init__(self, applianceFile):
     DomoActuator.__init__(self, applianceFile)
     self.powermeters = {}
     for app in self.getAppliance():
         self.powermeters[app.name] = PowerMeter(str(app.port))