Beispiel #1
0
 def __init__(self, modbus_slave, name):
     """Initialize the unit."""
     from pyflexit import pyflexit
     self._name = name
     self._slave = modbus_slave
     self._target_temperature = None
     self._current_temperature = None
     self._current_fan_mode = None
     self._current_operation = None
     self._fan_list = ['Off', 'Low', 'Medium', 'High']
     self._current_operation = None
     self._filter_hours = None
     self._filter_alarm = None
     self._heat_recovery = None
     self._heater_enabled = False
     self._heating = None
     self._cooling = None
     self._alarm = False
     self.unit = pyflexit.pyflexit(modbus.HUB, modbus_slave)
Beispiel #2
0
 def __init__(self, hub, modbus_slave, name):
     """Initialize the unit."""
     self._hub = hub
     self._name = name
     self._slave = modbus_slave
     self._target_temperature = None
     self._current_temperature = None
     self._current_fan_mode = None
     self._current_operation = None
     self._fan_modes = ["Off", "Low", "Medium", "High"]
     self._current_operation = None
     self._filter_hours = None
     self._filter_alarm = None
     self._heat_recovery = None
     self._heater_enabled = False
     self._heating = None
     self._cooling = None
     self._alarm = False
     self.unit = pyflexit(hub, modbus_slave)
Beispiel #3
0
 def __init__(self, modbus_slave, name):
     """Initialize the unit."""
     from pyflexit import pyflexit
     self._name = name
     self._slave = modbus_slave
     self._target_temperature = None
     self._current_temperature = None
     self._current_fan_mode = None
     self._current_operation = None
     self._fan_list = ['Off', 'Low', 'Medium', 'High']
     self._current_operation = None
     self._filter_hours = None
     self._filter_alarm = None
     self._heat_recovery = None
     self._heater_enabled = False
     self._heating = None
     self._cooling = None
     self._alarm = False
     self.unit = pyflexit.pyflexit(modbus.HUB, modbus_slave)