Skip to content

Instantly share code, notes, and snippets.

@jvitkauskas
Last active April 21, 2022 13:59
Show Gist options
  • Save jvitkauskas/52a84103da34b0f85078039f67c6b166 to your computer and use it in GitHub Desktop.
Save jvitkauskas/52a84103da34b0f85078039f67c6b166 to your computer and use it in GitHub Desktop.
modbus:
- name: "hvac"
close_comm_on_error: true
delay: 2
timeout: 5
type: tcp
host: 192.168.1.114
port: 502
switches:
- name: hvac_switch
address: 0
write_type: coil
command_on: 1
command_off: 0
verify:
binary_sensors:
- name: "hvac_boost"
address: 3
scan_interval: 5
climates:
- name: hvac_temp
address: 44
count: 1
input_type: holding
max_temp: 30
min_temp: 15
target_temp_register: 44
temp_step: 1
temperature_unit: C
scan_interval: 5
sensors:
- name: hvac_filter_state
address: 31
input_type: input
data_type: int16
- name: hvac_alarm_state
address: 38
input_type: input
data_type: int16
- name: hvac_fan_speed
address: 2
input_type: holding
data_type: int16
- name: hvac_air_in_temp
address: 1
input_type: input
data_type: int16
unit_of_measurement: °C
scale: 0.1
precision: 1
- name: hvac_air_out_temp
address: 2
input_type: input
data_type: int16
unit_of_measurement: °C
scale: 0.1
precision: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment