VRFSystemCommunicator module

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

Bases: PresentValueReadWriter

class Direction(value)

Bases: Enum

An enumeration.

Degree_225 = 2
Degree_450 = 3
Degree_675 = 4
Horizontal = 1
Vertical = 5
class FanSpeed(value)

Bases: Enum

An enumeration.

High = 3
Low = 1
Middle = 2
class Mode(value)

Bases: Enum

An enumeration.

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

凝縮温度設定値[C]を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param condensingTemperature: 凝縮温度設定値[C] :type condensingTemperature: float :param comAsync: 非同期で命令するか否か :type comAsync: bool

Returns:

命令が成功したか否か

Return type:

bool

change_direction(oUnitIndex, iUnitIndex, direction, comAsync=False)

風向を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param mode: 風向 :type mode: Direction :param comAsync: 非同期で命令するか否か :type comAsync: bool

Returns:

命令が成功したか否か

Return type:

bool

change_evaporating_temperature(oUnitIndex, evaporatingTemperature, comAsync=False)

蒸発温度設定値[C]を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param evaporatingTemperature: 蒸発温度設定値[C] :type evaporatingTemperature: float :param comAsync: 非同期で命令するか否か :type comAsync: bool

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

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

change_mode(oUnitIndex, iUnitIndex, mode, comAsync=False)

運転モードを変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param mode: 運転モード :type mode: Mode :param comAsync: 非同期で命令するか否か :type comAsync: bool

Returns:

命令が成功したか否か

Return type:

bool

change_setpoint_temperature(oUnitIndex, iUnitIndex, sp, comAsync=False)

室温設定値[C]を変える :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param iUnitIndex: 室内機番号(1~5) :type iUnitIndex: int :param sp: 室温設定値[C] :type sp: float :param comAsync: 非同期で命令するか否か :type comAsync: bool

Returns:

命令が成功したか否か

Return type:

bool

disable_refrigerant_temperatureControl(oUnitIndex, comAsync=False)

冷媒温度強制制御を無効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param comAsync: 非同期で命令するか否か :type comAsync: bool

Returns:

命令が成功したか否か

Return type:

bool

enable_refrigerant_temperatureControl(oUnitIndex, comAsync=False)

冷媒温度強制制御を有効にする :param oUnitIndex: 室外機番号(1~4) :type oUnitIndex: int :param comAsync: 非同期で命令するか否か :type comAsync: bool

Returns:

命令が成功したか否か

Return type:

bool

get_condensing_temperature(oUnitIndex)

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

Returns:

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

Return type:

list(bool,float)

get_direction(oUnitIndex, iUnitIndex)

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

Returns:

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

Return type:

list(bool,Direction)

get_evaporating_temperature(oUnitIndex)

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

Returns:

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

Return type:

list(bool,float)

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

get_mode(oUnitIndex, iUnitIndex)

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

Returns:

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

Return type:

list(bool,Mode)

get_outdoor_unit_electricity(oUnitIndex)

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

Returns:

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

Return type:

list(bool,float)

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)

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)

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)

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)

is_refrigerant_temperature_control_enabled(oUnitIndex)

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

Returns:

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

Return type:

list(bool,bool)

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)

permit_local_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:

命令が成功したか否か

Return type:

bool

prohibit_local_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:

命令が成功したか否か

Return type:

bool

turn_off(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

turn_on(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

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