forked from aiolos/ESPHome-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
homevap.yaml
103 lines (89 loc) · 1.96 KB
/
homevap.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
esphome:
name: modbus
platform: ESP8266
board: d1_mini
# Enable/Disable logging
logger:
#level: VERBOSE
#baud_rate: 0
# Enable Home Assistant API
api:
ota:
wifi:
#ssid: YourSSID
#password: YourPassword
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "ESP-Modbus"
password: "configesp"
captive_portal:
uart:
id: mod_bus
tx_pin: D7
rx_pin: D6
baud_rate: 9600
stop_bits: 1
modbus:
flow_control_pin: D5
id: modbus1
send_wait_time: 1000ms
modbus_controller:
- id: homevap
address: 0x04
modbus_id: modbus1
setup_priority: -10
#command_throttle: 250ms
update_interval: 15s
sensor:
- platform: modbus_controller
modbus_controller_id: homevap
id: duct_humidity
name: "Humidity"
address: 0x0F
unit_of_measurement: "%"
register_type: holding
value_type: S_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: homevap
id: duct_temperature
name: "Temperature"
address: 0x10
unit_of_measurement: "C"
register_type: holding
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: homevap
id: duct_humidity_setpoint
name: "Humidity Setpoint"
address: 0x37
unit_of_measurement: "%"
register_type: holding
value_type: S_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: homevap
id: duct_temperature_setpoint
name: "Temperature Setpoint"
address: 0x2D
unit_of_measurement: "C"
register_type: holding
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: homevap
id: system_mode
name: "System Mode"
address: 0x58
register_type: holding
value_type: U_WORD
accuracy_decimals: 0