-
Notifications
You must be signed in to change notification settings - Fork 0
/
pv1800_esphome.yaml
62 lines (57 loc) · 1.39 KB
/
pv1800_esphome.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
uart:
id: mod_bus
rx_pin: GPIO16
tx_pin: GPIO17
baud_rate: 19200
stop_bits: 1
modbus:
send_wait_time: 300ms
id: modbus2
modbus_controller:
- id: pv1800
## the Modbus device addr
address: 0x4
modbus_id: modbus2
command_throttle: 0ms
setup_priority: -10
sensor:
- platform: modbus_controller
modbus_controller_id: pv1800
name: "PV1800 Work state"
id: pv1800_work_state
register_type: holding
address: 0x6271
value_type: U_WORD
- platform: modbus_controller
modbus_controller_id: pv1800
name: "PV1800 Battery voltage"
id: pv1800_battery_voltage
register_type: holding
address: 0x6275
unit_of_measurement: "V"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: pv1800
name: "PV1800 Inverter voltage"
id: pv1800_inverter_voltage
register_type: holding
address: 0x6276
unit_of_measurement: "V"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1
- platform: modbus_controller
modbus_controller_id: pv1800
name: "PV1800 Grid voltage"
id: pv1800_grid_voltage
register_type: holding
address: 0x6277
unit_of_measurement: "V"
value_type: U_WORD
accuracy_decimals: 1
filters:
- multiply: 0.1