VentilationSystemCommunicator module
- class VentilationSystemCommunicator.VentilationSystemCommunicator(id, name='vntComm', target_ip='127.0.0.1', time_out_sec=1.0)
Bases:
PresentValueReadWriter
- VENTCTRL_DEVICE_ID = 6
- VENTCTRL_EXCLUSIVE_PORT = 47814
- change_fan_speed(oUnitIndex, iUnitIndex, speed, comAsync=False)
ファン風量を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param speed: ファン風量 :type speed: FanSpeed :param comAsync: 非同期で命令するか否か :type comAsync: bool
- Returns:
命令が成功したか否か
- Return type:
bool
- disable_bypass_control(oUnitIndex, iUnitIndex, comAsync=False)
バイパス制御を無効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param comAsync: 非同期で命令するか否か :type comAsync: bool
- Returns:
命令が成功したか否か(非同期の場合には常にFalse)
- Return type:
bool
- enable_bypass_control(oUnitIndex, iUnitIndex, comAsync=False)
バイパス制御を有効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param comAsync: 非同期で命令するか否か :type comAsync: bool
- Returns:
命令が成功したか否か(非同期の場合には常にFalse)
- Return type:
bool
- get_fan_speed(oUnitIndex, iUnitIndex)
ファン風量を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int
- Returns:
読み取り成功の真偽,ファン風量
- Return type:
list(bool,FanSpeed)
- get_north_tenant_CO2_level()
北側テナントのCO2濃度[ppm]を取得する :returns: 読み取り成功の真偽,北側テナントのCO2濃度[ppm] :rtype: list
- get_south_tenant_CO2_level()
南側テナントのCO2濃度[ppm]を取得する :returns: 読み取り成功の真偽,南側テナントのCO2濃度[ppm] :rtype: list
- start_ventilation(oUnitIndex, iUnitIndex, comAsync=False)
換気(全熱交換器)を起動する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param comAsync: 非同期で命令するか否か :type comAsync: bool
- Returns:
命令が成功したか否か(非同期の場合には常にFalse)
- Return type:
bool
- stop_ventilation(oUnitIndex, iUnitIndex, comAsync=False)
換気(全熱交換器)を停止する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param comAsync: 非同期で命令するか否か :type comAsync: bool
- Returns:
命令が成功したか否か(非同期の場合には常にFalse)
- Return type:
bool
- VentilationSystemCommunicator.main()