28 lines
670 B
YAML
28 lines
670 B
YAML
## Example yaml: typical tcp connection
|
|
#- type: tcp
|
|
# host: 192.168.88.168
|
|
# port: 502
|
|
# sensors:
|
|
# - name: "SHT20 Температура"
|
|
# 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: "SHT20 Влажность"
|
|
# 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 |