Exemplo n.º 1
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.channel = 0
     self.timeout = 0
     self.status = 0
     self.position = None
     self.set_defaults(address)
Exemplo n.º 2
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.module_type = 0x00
     self.current_serial = 0
     self.module_address = 0x00
     self.new_serial = 0
     self.set_defaults(address)
Exemplo n.º 3
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.closed = []
     self.enabled = []
     self.normal = []
     self.locked = []
     self.programenabled = []
Exemplo n.º 4
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.closed = []
     self.led_on = []
     self.led_slow_blinking = []
     self.led_fast_blinking = []
     self.set_defaults(address)
Exemplo n.º 5
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.channel = 0
     self.disable_inhibit_forced = 0
     self.status = 0
     self.led_status = 0
     self.delay_time = 0
     self.set_defaults(address)
Exemplo n.º 6
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.channel = 0
     self.pulses = 0
     self.counter = 0
     self.kwh = 0
     self.delay = 0
     self.watt = 0
Exemplo n.º 7
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.module_type = 0x00
     self.sub_address_1 = 0xFF
     self.sub_address_2 = 0xFF
     self.sub_address_3 = 0xFF
     self.sub_address_4 = 0xFF
     self.set_defaults(address)
     self.serial = 0
Exemplo n.º 8
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.set_defaults(address)
     self.pallet = 31
     self.rgb = False
     self.saturation = 0
     self.red = 0
     self.green = 0
     self.blue = 0
Exemplo n.º 9
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.module_type = 0x00
     self.led_on = []
     self.led_slow_blinking = []
     self.led_fast_blinking = []
     self.serial = 0
     self.memory_map_version = 0
     self.build_year = 0
     self.build_week = 0
     self.set_defaults(address)
Exemplo n.º 10
0
 def __init__(self, address=None):
     Message.__init__(self)
     # in data[0]
     self.dark: bool = False  # bit 1
     self.light: bool = False  # bit 2
     self.motion1: bool = False  # bit 3
     self.light_motion1: bool = False  # bit 4
     self.motion2: bool = False  # bit 5
     self.light_motion2: bool = False  # bit 6
     self.low_temp_alarm: bool = False  # bit 7
     self.high_temp_alarm: bool = False  # bit 8
     # in data[1] and data[2]
     self.light_value: int = 0
Exemplo n.º 11
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.local_control = 0  # 0=unlocked, 1 =locked
     self.status_mode = 0  # 0=run, 1=manual, 2=sleep timer, 3=disable
     self.status_str = "run"
     self.auto_send = 0  # 0=disabled, 1=enabled
     self.mode = 0  # 0=safe, 1=night, 2=day, 4=comfort
     self.mode_str = "safe"
     self.cool = 0  # 0=cool, 1=heat
     self.heater = 0  # 0=pff, 1=on
     self.boost = 0  # 0=off, 1 = on
     self.pump = 0  # 0=on, 1=off
     self.cool = 0  # 0=off, 1=on
     self.alarm1 = 0  # 0=off, 1=on
     self.alarm2 = 0  # 0=off, 1=on
     self.alarm3 = 0  # 0=off, 1=on
     self.alarm4 = 0  # 0=off, 1=on
     self.current_temp = None  # current temp
     self.target_temp = None  # current temp
     self.sleep_timer = None  # current sleepTimer
Exemplo n.º 12
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.dimmer_channels = []
     self.dimmer_state = 0
     self.dimmer_transitiontime = 0
     self.set_defaults(address)
Exemplo n.º 13
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.cur = 0
     self.min = 0
     self.max = 0
Exemplo n.º 14
0
 def __init__(self, address=0x00):
     Message.__init__(self)
     self._day = None
     self._mon = None
     self._year = None
     self.set_defaults(address)
Exemplo n.º 15
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.temp_type = 0x00
     self.temp = 0x00
     self.set_defaults(address)
Exemplo n.º 16
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.channel = 0
     self.position = 0
     self.set_defaults(address)
 def __init__(self, address=None):
     Message.__init__(self)
     self.transmit_error_counter = 0
     self.receive_error_counter = 0
     self.bus_off_counter = 0
     self.set_defaults(address)
Exemplo n.º 18
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.leds = []
     self.set_defaults(address)
Exemplo n.º 19
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.relay_channels = []
     self.set_defaults(address)
Exemplo n.º 20
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.rain = 0
     self.light = 0
     self.wind = 0
Exemplo n.º 21
0
 def __init__(self, address=0x00):
     Message.__init__(self)
     self._wday = None
     self._hour = None
     self._min = None
     self.set_defaults(address)
Exemplo n.º 22
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.channels = []
     self.wait_after_send = 500
     self.set_defaults(address)
Exemplo n.º 23
0
 def __init__(self, address=None, sleep=0):
     Message.__init__(self)
     self.sleep = sleep
     self.set_defaults(address)
Exemplo n.º 24
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.high_address = 0x00
     self.low_address = 0x00
     self.data = bytes([])
     self.set_defaults(address)
Exemplo n.º 25
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.closed = []
     self.opened = []
     self.closed_long = []
     self.set_defaults(address)
Exemplo n.º 26
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.channel = 0
     self.name = ""
     self.set_defaults(address)
Exemplo n.º 27
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.start = 0x00
     self.memo_text = ""
     self.set_defaults(address)
Exemplo n.º 28
0
 def __init__(self, address=None):
     Message.__init__(self)
     self.channel = 0
     self.delay_time = 0
     self.set_defaults(address)
Exemplo n.º 29
0
 def __init__(self, address=0x00):
     Message.__init__(self)
     self._ds = None
     self.set_defaults(address)