How to use the plugwise.protocol.PlugwiseResponse.__init__ function in plugwise

To help you get started, we’ve selected a few plugwise examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.idx = Int(0, 2)
        self.params += [self.idx]
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.status = Int(0, 4)
        self.params += [self.status]

        #self.mac = None
        self.command_counter = None
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.node_mac_id = String(None, length=16)
        self.idx = Int(0, 2)
        self.params += [self.node_mac_id, self.idx]
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        #sequence number is always FFFD
        PlugwiseResponse.__init__(self, 0xFFFD)       
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.status = Int(0, 4)
        self.params += [self.status]
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.exsisting = Int(0, 2)
        self.allowed = Int(0, 2)
        self.params += [self.exsisting, self.allowed]
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.time = TimeStr()
        self.day_of_week = Int(0, 2)
        self.date = DateStr()
        self.params += [self.time, self.day_of_week, self.date]
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.raw = String(None, length=64)
        self.logaddr = LogAddr(0, length=8)
        self.params += [self.raw, self.logaddr
        ]
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.channel = String(None, length=2)
        self.source_mac_id = String(None, length=16)
        self.extended_pan_id = String(None, length=16)
        self.unique_network_id = String(None, length=16)
        self.new_node_mac_id = String(None, length=16)
        self.pan_id = String(None, length=4)
        self.idx = Int(0, length=2)
        self.params += [self.channel, self.source_mac_id, self.extended_pan_id, self.unique_network_id, self.new_node_mac_id, self.pan_id, self.idx]
github SevenW / Plugwise-2-py / plugwise / protocol.py View on Github external
def __init__(self, seqnr = None):
        PlugwiseResponse.__init__(self, seqnr)
        self.qin = Int(0, 2)
        self.qout = Int(0, 2)
        self.pingtime = Int(0, 4)
        self.params += [self.qin, self.qout, self.pingtime]