@@ -6,30 +6,44 @@ Doesn't support sensors, switches, or other entities yet - only basic read and c
6
6
7
7
See [ issue tracker] ( https://github.com/mkuthan/solis-cloud-control/issues ) for further plans.
8
8
9
- ## Read Inverter Settings
9
+ ## Local run
10
10
11
- Storage Mode
11
+ Configure Solis Cloud Control API credentials in ` secrets.yaml ` :
12
12
13
13
``` yaml
14
- action : solis_cloud_control.read
15
- data :
16
- cid : 636
14
+ solis_api_key : " YOUR_API_KEY_HERE "
15
+ solis_token : " YOUR_TOKEN_HERE "
16
+ solis_inverter_sn : " YOUR_INVERTER_SN_HERE "
17
17
` ` `
18
18
19
- Charge Time Slot 1
19
+ Install dependencies (once):
20
+
21
+ ` ` ` bash
22
+ uv sync
23
+ ```
24
+
25
+ Run the integration locally:
26
+
27
+ ``` bash
28
+ ./scripts/run
29
+ ```
30
+
31
+ ## Read inverter settings
32
+
33
+ Storage Mode
20
34
21
35
``` yaml
22
36
action : solis_cloud_control.read
23
37
data :
24
- cid : 5946
38
+ cid : 636
25
39
` ` `
26
40
27
- Charge Time Slot 1 Switch
41
+ Charge Time Slot 1
28
42
29
43
` ` ` yaml
30
44
action : solis_cloud_control.read
31
45
data :
32
- cid : 5916
46
+ cid : 5946
33
47
` ` `
34
48
35
49
Charge Time Slot 1 Current
@@ -56,33 +70,71 @@ data:
56
70
cid : 5964
57
71
` ` `
58
72
59
- Discharge Time Slot 1 Switch
73
+ Discharge Time Slot 1 Current
60
74
61
75
` ` ` yaml
62
76
action : solis_cloud_control.read
63
77
data :
64
- cid : 5922
78
+ cid : 5967
65
79
` ` `
66
80
67
- Discharge Time Slot 1 Current
81
+ Discharge Time Slot 1 Battery SOC
68
82
69
83
` ` ` yaml
70
84
action : solis_cloud_control.read
71
85
data :
72
- cid : 5967
86
+ cid : 5965
73
87
` ` `
74
88
75
- Discharge Time Slot 1 Battery SOC
89
+ ## High-level inverter control
90
+
91
+ Set Self-Use Mode - Battery Reserve On, Grid Charging Off:
76
92
77
93
` ` ` yaml
78
- action : solis_cloud_control.read
94
+ action : solis_cloud_control.set_storage_mode
79
95
data :
80
- cid : 5965
96
+ storage_mode : Self Use
97
+ battery_reserve : " ON"
98
+ allow_grid_charging : " OFF"
99
+ ` ` `
100
+
101
+ Set charge time slot:
102
+
103
+ ` ` ` yaml
104
+ action : solis_cloud_control.set_charge_time_slot
105
+ data :
106
+ time_slot : " 11:00-13:00"
107
+ current : " 90"
108
+ battery_soc : " 80"
81
109
` ` `
82
110
83
- ## Control Storage Mode
111
+ Set discharge time slot:
112
+
113
+ ` ` ` yaml
114
+ action : solis_cloud_control.set_discharge_time_slot
115
+ data :
116
+ time_slot : " 11:00-13:00"
117
+ current : " 90"
118
+ battery_soc : " 80"
119
+ ` ` `
120
+
121
+ Disable charge time slot:
122
+
123
+ ` ` ` yaml
124
+ action : solis_cloud_control.disable_charge_time_slot
125
+ ` ` `
126
+
127
+ Disable discharge time slot:
128
+
129
+ ` ` ` yaml
130
+ action : solis_cloud_control.disable_discharge_time_slot
131
+ ` ` `
132
+
133
+ ## Low-level inverter control
134
+
135
+ ### Control storage mode
84
136
85
- Self-Use Mode - No Grid Charging, Backup Mode On
137
+ Self-Use Mode - Battery Reserve On, Grid Charging Off:
86
138
87
139
` ` ` yaml
88
140
action : solis_cloud_control.control
@@ -91,11 +143,69 @@ data:
91
143
value : " 17"
92
144
` ` `
93
145
94
- Feed-In Priority Mode - No Grid Charging, Backup Mode On :
146
+ Feed-In Priority Mode - Battery Reserve On, Grid Charging Off :
95
147
96
148
` ` ` yaml
97
149
action : solis_cloud_control.control
98
150
data :
99
151
cid : 636
100
152
value : " 80"
101
153
` ` `
154
+
155
+ ### Control charge time slot
156
+
157
+ Set Charge Time Slot 1:
158
+
159
+ ` ` ` yaml
160
+ action : solis_cloud_control.control
161
+ data :
162
+ cid : 5946
163
+ value : " 11:00-13:00"
164
+ ` ` `
165
+
166
+ Set Charge Time Slot 1 Current:
167
+
168
+ ` ` ` yaml
169
+ action : solis_cloud_control.control
170
+ data :
171
+ cid : 5948
172
+ value : " 90"
173
+ ` ` `
174
+
175
+ Set Charge Time Slot 1 Battery SOC:
176
+
177
+ ` ` ` yaml
178
+ action : solis_cloud_control.control
179
+ data :
180
+ cid : 5928
181
+ value : " 80"
182
+ ` ` `
183
+
184
+ ### Control discharge time slot
185
+
186
+ Set Discharge Time Slot 1:
187
+
188
+ ` ` ` yaml
189
+ action : solis_cloud_control.control
190
+ data :
191
+ cid : 5964
192
+ value : " 11:00-13:00"
193
+ ` ` `
194
+
195
+ Set Discharge Time Slot 1 Current:
196
+
197
+ ` ` ` yaml
198
+ action : solis_cloud_control.control
199
+ data :
200
+ cid : 5967
201
+ value : " 90"
202
+ ` ` `
203
+
204
+ Set Discharge Time Slot 1 Battery SOC:
205
+
206
+ ` ` ` yaml
207
+ action : solis_cloud_control.control
208
+ data :
209
+ cid : 5965
210
+ value : " 80"
211
+ ` ` `
0 commit comments