VRFSystemCommunicator module

class VRFSystemCommunicator.VRFSystemCommunicator(id, name='vrfComm', device_ip='127.0.0.1', emulator_ip='127.0.0.1', time_out_sec=1.0)

Bases: PresentValueReadWriter

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

Bases: Enum

Degree_225 = 2
Degree_450 = 3
Degree_675 = 4
Horizontal = 1
Vertical = 5
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
class Mode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Cooling = 1
Heating = 2
ThermoOff = 3
VRFCTRL_DEVICE_ID = 2
VRFCTRL_EXCLUSIVE_PORT = 47810
async change_condensing_temperature(oUnitIndex, condensingTemperature)

凝縮温度設定値[C]を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param condensingTemperature: 凝縮温度設定値[C] :type condensingTemperature: float

Returns:

命令が成功したか否か

Return type:

bool

async change_direction(oUnitIndex, iUnitIndex, direction)

風向を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param mode: 風向 :type mode: Direction

Returns:

命令が成功したか否か

Return type:

bool

async change_evaporating_temperature(oUnitIndex, evaporatingTemperature)

蒸発温度設定値[C]を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param evaporatingTemperature: 蒸発温度設定値[C] :type evaporatingTemperature: float

Returns: bool:命令が成功したか否か

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 change_mode(oUnitIndex, iUnitIndex, mode)

運転モードを変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param mode: 運転モード :type mode: Mode

Returns:

命令が成功したか否か

Return type:

bool

async change_setpoint_temperature(oUnitIndex, iUnitIndex, sp)

室温設定値[C]を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param sp: 室温設定値[C] :type sp: float

Returns:

命令が成功したか否か

Return type:

bool

async disable_refrigerant_temperatureControl(oUnitIndex)

冷媒温度強制制御を無効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async enable_refrigerant_temperatureControl(oUnitIndex)

冷媒温度強制制御を有効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async get_condensing_temperature(oUnitIndex)

凝縮温度設定値[C]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int

Returns:

読み取り成功の真偽,凝縮温度設定値[C]

Return type:

list(bool,float)

async get_direction(oUnitIndex, iUnitIndex)

風向を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,風向

Return type:

list(bool,Direction)

async get_evaporating_temperature(oUnitIndex)

蒸発温度設定値[C]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int

Returns:

読み取り成功の真偽,蒸発温度設定値[C]

Return type:

list(bool,float)

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_indoor_unit_electricity(oUnitIndex, iUnitIndex)

室内機の消費電力[kW]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,室内機の消費電力[kW]

Return type:

list(bool,float)

async get_indoor_unit_heatload(oUnitIndex, iUnitIndex)

室内機の熱負荷[kW]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,室内機の熱負荷[kW]

Return type:

list(bool,float)

async get_mode(oUnitIndex, iUnitIndex)

運転モードを取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,運転モード

Return type:

list(bool,Mode)

async get_outdoor_unit_electricity(oUnitIndex)

室外機の消費電力[kW]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int

Returns:

読み取り成功の真偽,室外機の消費電力[kW]

Return type:

list(bool,float)

async get_outdoor_unit_heatload(oUnitIndex)

室外機の熱負荷[kW]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int

Returns:

読み取り成功の真偽,室外機の熱負荷[kW]

Return type:

list(bool,float)

async get_return_air_relative_humidity(oUnitIndex, iUnitIndex)

還空気の相対湿度[%]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,相対湿度[%]

Return type:

list(bool,float)

async get_return_air_temperature(oUnitIndex, iUnitIndex)

還空気の温度[C]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,還空気の温度[C]

Return type:

list(bool,float)

async get_setpoint_temperature(oUnitIndex, iUnitIndex)

室温設定値[C]を取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,室温設定値[C]

Return type:

list(bool,float)

async is_local_control_permitted(oUnitIndex, iUnitIndex)

手元リモコン操作が許可されているか否か :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,手元リモコン操作が許可されているか否か

Return type:

list(bool,bool)

async is_refrigerant_temperature_control_enabled(oUnitIndex)

冷媒温度強制制御が有効か否かを取得する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int

Returns:

読み取り成功の真偽,冷媒温度強制制御が有効か否か

Return type:

list(bool,bool)

async is_turned_on(oUnitIndex, iUnitIndex)

起動しているか否か :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

読み取り成功の真偽,起動しているか否か

Return type:

list(bool,bool)

async permit_local_control(oUnitIndex, iUnitIndex)

手元リモコン操作を許可する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async prohibit_local_control(oUnitIndex, iUnitIndex)

手元リモコン操作を禁止する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async turn_off(oUnitIndex, iUnitIndex)

室内機を停止する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async turn_on(oUnitIndex, iUnitIndex)

室内機を起動する :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int

Returns:

命令が成功したか否か

Return type:

bool

async VRFSystemCommunicator.main()
async VRFSystemCommunicator.read_state(vrfCom)
async VRFSystemCommunicator.turn_off(vrfCom)
async VRFSystemCommunicator.turn_on(vrfCom)