def __init__(self, id, power, network, resolution=21):
        '''
        Constructor for a CM17a X10 object:
            FirecrackerX10ControllerUnit(power, [resolution])

        Specify the correct PowerSource object for this unit.
        The resolution defaults to 21, which matches the 5%
        delta mentioned in the CM17a protocol spec from X-10.
        '''
        X10ControllerUnit.__init__(self, id, power, network, resolution)
        self.type = 'X-10 CM17a "Firecracker" Controller'
Exemplo n.º 2
0
 def __init__(self, id, power, network, resolution=16):
     X10ControllerUnit.__init__(self, id, power, network, resolution)
     self.type = 'LynX-10/TW523 Controller'
Exemplo n.º 3
0
 def __init__(self, id, power, network, resolution=16):
     X10ControllerUnit.__init__(self, id, power, network, resolution)
     self.type = 'LynX-10/TW523 Controller'