온습도조절기(Modbus Climate)


modbus 온도 조절 장치를 사용하면 Modbus 레지스터의 센서값 (현재 온도) 및 목표값 (대상 온도)을 사용할 수 있습니다.

설정

설치에서 Modbus 온도 조절기를 사용하려면 configuration.yaml 파일에 다음을 추가하십시오.

# Example configuration.yaml entry
climate:
  - platform: modbus
    name: Watlow F4T
    hub: hub1
    slave: 1
    data_type: uint
    count: 1
    scale: 0.1
    offset: 0
    precision: 1
    max_temp: 30
    min_temp: 15
    temp_step: 1
    target_temp_register: 2782
    current_temp_register: 27586

Configuration Variables

name

(string)(Required)

Name of the device

hub

(string)(Optional)

The name of the hub.

Default value:

default

slave

(integer)(Required)

The number of the slave (Optional for tcp and upd Modbus, use 1).

target_temp_register

(integer)(Required)

Register number for target temperature (Setpoint).

current_temp_register

(integer)(Required)

Register number for current temperature (Process value).

data_type

(string)(Optional)

Response representation (int, uint, float, custom). If float selected, value will converted to IEEE 754 floating point format.

Default value:

float

count

(integer)(Optional)

Number of registers to read.

precision

(integer)(Optional)

Number of valid decimals.

Default value:

0

scale

(float)(Optional)

Scale factor (output = scale * value + offset).

Default value:

1

offset

(float)(Optional)

Final offset (output = scale * value + offset).

Default value:

0

max_temp

(integer)(Optional)

Maximum setpoint temperature.

Default value:

35

min_temp

(integer)(Optional)

Maximum setpoint temperature.

Default value:

5

temp_step

(float)(Optional)

The supported step size a target temperature can be increased/decreased.

Default value:

0.5

temperature_unit

(string)(Optional)

Temperature unit reported by the current_temp_register. C or F

Default value:

C

서비스

Service Description
set_temperature Set Temperature. Requires value to be passed in, which is the desired target temperature. value should be in the same type as data_type