Files
homeassistant/modbus.yaml
Victor Alexandrovich Tsyrenschikov 9bc212f3a0 Modbus podval
2025-11-22 20:05:13 +05:00

59 lines
1.3 KiB
YAML

# Example yaml: typical tcp connection
- name: modbus_hub_
type: tcp
host: 192.168.88.168
port: 502
sensors:
- name: "Температура в ванной"
scan_interval: 2
slave: 1
address: 1
data_type: int16
input_type: input
scale: 0.1
precision: 2
unit_of_measurement: "°C"
device_class: temperature
state_class: measurement
- name: "Влажность в ванной"
scan_interval: 2
slave: 1
address: 2
data_type: int16
input_type: input
scale: 0.1
precision: 2
unit_of_measurement: "%"
device_class: humidity
state_class: measurement
- name: modbus_hub_podval
type: tcp
host: 192.168.88.169
port: 502
sensors:
- name: "Температура в подвале"
scan_interval: 2
slave: 1
address: 1
data_type: int16
input_type: input
scale: 0.1
precision: 2
unit_of_measurement: "°C"
device_class: temperature
state_class: measurement
- name: "Влажность в подвале"
scan_interval: 2
slave: 1
address: 2
data_type: int16
input_type: input
scale: 0.1
precision: 2
unit_of_measurement: "%"
device_class: humidity
state_class: measurement