VentilationSystemCommunicator module

class VentilationSystemCommunicator.VentilationSystemCommunicator(id, name='vntComm', device_ip='127.0.0.1', emulator_ip='127.0.0.1', time_out_sec=1.0)

Bases: PresentValueReadWriter

class FanSpeed(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

High = 3
Low = 1
Middle = 2
VENTCTRL_DEVICE_ID = 6
VENTCTRL_EXCLUSIVE_PORT = 47814
async change_fan_speed(oUnitIndex, iUnitIndex, speed)

ファン風量を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param speed: ファン風量 :type speed: FanSpeed

Returns:

命令が成功したか否か

Return type:

bool

async disable_bypass_control(oUnitIndex, iUnitIndex)

バイパス制御を無効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async enable_bypass_control(oUnitIndex, iUnitIndex)

バイパス制御を有効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async 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)

async get_north_tenant_CO2_level()

北側テナントのCO2濃度[ppm]を取得する :returns: 読み取り成功の真偽,北側テナントのCO2濃度[ppm] :rtype: list

async get_south_tenant_CO2_level()

南側テナントのCO2濃度[ppm]を取得する :returns: 読み取り成功の真偽,南側テナントのCO2濃度[ppm] :rtype: list

async start_ventilation(oUnitIndex, iUnitIndex)

換気(全熱交換器)を起動する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async stop_ventilation(oUnitIndex, iUnitIndex)

換気(全熱交換器)を停止する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async VentilationSystemCommunicator.main()