def __init__(self, name): Plugin.__init__(self, name) self._device = None self._serialPort = None self._serialParams = { # 'port' : self._device, "baudrate": 9600, "bytesize": 8, "parity": "N", "stopbits": 1, "timeout": None, } self._childThread = None self._serialHandler = None self._messageLength = ( None ) # set to number of bytes to have core component handle packet management, none to perform management yourself
def __init__(self): Plugin.__init__(self, 'CoreX10') self._description = 'Common elements required for all X10 devices' self._version = '0.1.0'
def __init__(self): Plugin.__init__(self, 'CoreDevices') self._description = 'Common elements required for all devices'