You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ With reject an exception is thrown which contains the error object with result l
121
121
You can get the key by having an email sent to you on the Grwatt website for a third party to display the data. The key is the combination of numbers and letters in the link. It has 96 characters.
122
122
123
123
```
124
-
let login = await Growatt.sharePlantLogin(key).catch(e => {console.log(e)})
124
+
let login = await growatt.sharePlantLogin(key).catch(e => {console.log(e)})
125
125
```
126
126
127
127
With resolve, the response from the website is returned.
@@ -140,7 +140,7 @@ This plugin is intended for testing. On the Growatt page you can view the data f
140
140
I needed it so that I could see how the messages to the different inverters are structured.
141
141
142
142
```
143
-
let login = await Growatt.demoLogin().catch(e => {console.log(e)})
143
+
let login = await growatt.demoLogin().catch(e => {console.log(e)})
144
144
```
145
145
146
146
## Get all plant data
@@ -376,7 +376,7 @@ The Value Types from the Parameter
376
376
let a = allPlantData[Object.keys(allPlantData)[0]].devices;
377
377
let sn = Object.keys(a)[0];
378
378
let type = a[sn].growattType;
379
-
let com = Growatt.getInverterCommunication (type);
379
+
let com = growatt.getInverterCommunication (type);
380
380
```
381
381
382
382
## getInverterSetting
@@ -405,13 +405,13 @@ Therefore, the requests are placed in a queue and processed sequentially. If the
0 commit comments