home-assistant.io/source/_components/climate.modbus.markdown
Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

1.8 KiB

title, description, logo, ha_category, ha_release, ha_iot_class
title description logo ha_category ha_release ha_iot_class
Modbus Climate Instructions how to integrate a Modbus thermostat within Home Assistant. modbus.png
Climate
0.68 Local Polling

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
    hub: hub1
    slave: 1
    target_temp_register: 2782
    current_temp_register: 27586

{% configuration %} name: description: Name of the device required: true type: string hub: description: The name of the hub. required: false default: default type: string slave: description: The number of the slave (Optional for tcp and upd Modbus, use 1). required: true type: integer target_temp_register: description: Register number for target temperature (Setpoint). required: true type: integer current_temp_register: description: Register number for current temperature (Process value). required: true type: integer data_type: description: Response representation (int, uint, float, custom). If float selected, value will converted to IEEE 754 floating point format. required: false type: string default: float count: description: Number of registers to read. required: false type: integer precision: description: Number of valid decimals. required: false type: integer default: 0 {% endconfiguration %}

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