def __init__(self, hal, device='/var/run/lirc/lircd'): """the default lirc socket to listen on is /var/run/lirc/lircd. Change that by setting self.irwSocket in setup()""" Serializer.__init__(self, hal) self.irwSocket = device self.protocol = None self.open()
def __init__(self, hal, host='localhost', port=6419): Serializer.__init__(self, hal) self.host = host self.port = port self.protocol = None self.openDeferred = None self.prevChannel = None self.closeTimeout = 5
def __init__(self, hal, host, port=50000, outlet=None): Serializer.__init__(self, hal, outlet) self.host = host self.port = port self.protocol = None self.mutedVolume = None self.answersAsEvent = True self.closeTimeout = 2000000 self.open()
def __init__(self, hal, device='/dev/denon', outlet=None): """default device is /dev/denon""" self.mutedVolume = None # never close because the Denon sends events # by its own if it is operated by other means (IR, front knobs) self.surroundIdx = 0 self.lastSurroundTime = None Serializer.__init__(self, hal, outlet) self.__port = SerialPort(self, device, reactor)
def __init__(self, hal, host='localhost', port=6419): Serializer.__init__(self, hal) self.host = host self.port = port self.protocol = None self.openDeferred = None self.prevChannel = None self.closeTimeout = 5 self.kodiProcess = None
def __init__(self, hal, device='/dev/steckerleiste'): Serializer.__init__(self, hal) self.device = device
def __init__(self, hal, device='/dev/LGPlasma', outlet=None): Serializer.__init__(self, hal, outlet) self.device = device self.videoMuted = None self.tvTimeout = 300 self.connect()
def __init__(self, hal, device='/dev/steckerleiste', outlets=4): Serializer.__init__(self, hal) self.device = device self.outlets = list( GembirdOutlet(self, x) for x in range(1, outlets + 1))
def __init__(self, hal, device='/dev/steckerleiste', outlets=4): Serializer.__init__(self, hal) self.device = device self.outlets = list(GembirdOutlet(self, x) for x in range(1, outlets + 1))
def __init__(self, hal, host, port=8102, outlet=None): Serializer.__init__(self, hal, outlet) self.host = host self.port = port self.protocol = None