Modbus


The modbus thermostat allows you to use a sensor value (current temperature) and target value (target temperature) from Modbus registers.

Configuration

To use your Modbus thermostat in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
climate:
  - platform: modbus
    name: Watlow F4T
    slave: 1
    target_temp_register: 2782
    current_temp_register: 27586

Configuration Variables

name

(string)(Required)Name of the device

slave

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

target_temp_register

(int)(Required)Register number for target temperature (Setpoint).

current_temp_register

(int)(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

(int)(Optional)Number of registers to read.

precision

(int)(Optional)Number of valid decimals.

Default value: 0

Services

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