Vanna ew11
This commit is contained in:
@@ -16,6 +16,7 @@ script: !include scripts.yaml
|
|||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
mqtt: !include mqtt.yaml
|
mqtt: !include mqtt.yaml
|
||||||
climate: !include climate.yaml
|
climate: !include climate.yaml
|
||||||
|
modbus: !include modbus.yaml
|
||||||
#switch: !include switches.yaml
|
#switch: !include switches.yaml
|
||||||
#template: !include template.yaml
|
#template: !include template.yaml
|
||||||
|
|
||||||
|
|||||||
29
modbus.yaml
Normal file
29
modbus.yaml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user