-
Notifications
You must be signed in to change notification settings - Fork 0
/
sx3055.yaml
157 lines (157 loc) · 3.83 KB
/
sx3055.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
- name: hub1
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/ttyUSB0
stopbits: 1
# Modbus sensors for SolarFam SX3055
sensors:
- name: "Charge status"
unique_id: sx3055.chargestatus
slave: 1
address: 12340
input_type: input
device_class: enum
- name: "Discharge status"
unique_id: sx3055.dischargestatus
slave: 1
address: 12341
input_type: input
device_class: enum
- name: "Environment temperature"
unique_id: sx3055.environmenttemperature
unit_of_measurement: '°C'
slave: 1
address: 12342
input_type: input
scale: 0.01
device_class: temperature
- name: "Device built-in temperature"
unique_id: sx3055.devicebuiltintemperature
unit_of_measurement: '°C'
slave: 1
address: 12343
input_type: input
scale: 0.01
device_class: temperature
- name: "Battery remaining capacity"
unique_id: sx3055.batteryremainingcapacity
unit_of_measurement: "%"
slave: 1
address: 12357
input_type: input
scale: 1
device_class: battery
- name: "Battery voltage"
unique_id: sx3055.batteryvoltage
unit_of_measurement: "V"
slave: 1
address: 12358
input_type: input
scale: 0.01
precision: 1
device_class: voltage
- name: "Battery current"
unique_id: sx3055.batterycurrent
unit_of_measurement: "A"
slave: 1
address: 12359
input_type: input
scale: 0.01
precision: 2
device_class: current
- name: "Battery power"
unique_id: sx3055.batterypower
unit_of_measurement: "W"
slave: 1
address: 12360
input_type: input
scale: 0.01
swap: word
precision: 2
data_type: int32
device_class: power
- name: "Load voltage"
unique_id: sx3055.loadvoltage
unit_of_measurement: "V"
slave: 1
address: 12362
input_type: input
scale: 0.01
precision: 1
device_class: voltage
- name: "Load current"
unique_id: sx3055.loadcurrent
unit_of_measurement: "A"
slave: 1
address: 12363
input_type: input
scale: 0.01
precision: 2
device_class: current
- name: "Load power"
unique_id: sx3055.loadpower
unit_of_measurement: "W"
slave: 1
address: 12364
input_type: input
scale: 0.01
swap: word
precision: 2
data_type: int32
device_class: power
- name: "Solar voltage"
unique_id: sx3055.solarvoltage
unit_of_measurement: "V"
slave: 1
address: 12366
input_type: input
scale: 0.01
precision: 1
device_class: voltage
- name: "Solar current"
unique_id: sx3055.solarcurrent
unit_of_measurement: "A"
slave: 1
address: 12367
input_type: input
scale: 0.01
precision: 2
device_class: current
- name: "Solar power"
unique_id: sx3055.solarpower
unit_of_measurement: "W"
slave: 1
address: 12368
input_type: input
scale: 0.01
swap: word
precision: 2
data_type: int32
device_class: power
- name: "Total charging capacity"
unique_id: sx3055.totalchargingcapacity
unit_of_measurement: "kWh"
slave: 1
address: 12371
input_type: input
scale: 0.01
swap: word
precision: 2
data_type: int32
device_class: energy
state_class: total_increasing
- name: "Total electricity consumption"
unique_id: sx3055.totalelectricityconsumption
unit_of_measurement: "kWh"
slave: 1
address: 12374
input_type: input
scale: 0.01
swap: word
precision: 2
data_type: int32
device_class: energy
state_class: total_increasing