howto:growatt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:growatt [2023/07/09 18:29] – Wulf Rajek | howto:growatt [2023/07/09 22:58] (current) – [Download Growatt Data Log History] Wulf Rajek | ||
---|---|---|---|
Line 241: | Line 241: | ||
Example History showing the change from 5 minute update interval to 1 minute update interval: | Example History showing the change from 5 minute update interval to 1 minute update interval: | ||
{{: | {{: | ||
+ | |||
+ | |||
+ | ===== Download Growatt Data Log History ===== | ||
+ | |||
+ | The following bash script downloads the historic data log into xls files for each day. The file needs start and end date as well as username, password and the serial number of the inverter as configuration options. | ||
+ | |||
+ | <code bash growatt_history_download.sh> | ||
+ | #!/bin/bash | ||
+ | |||
+ | startdate=" | ||
+ | enddate=" | ||
+ | interval=1 | ||
+ | username=" | ||
+ | password=" | ||
+ | serialnumber=" | ||
+ | |||
+ | curl ' | ||
+ | |||
+ | while [[ " | ||
+ | # echo ${startdate} | ||
+ | formatdate=" | ||
+ | echo " | ||
+ | |||
+ | curl ' | ||
+ | |||
+ | # set new start date based on interval | ||
+ | startdate=" | ||
+ | done | ||
+ | </ | ||
+ |
howto/growatt.1688923784.txt.gz · Last modified: 2023/07/09 18:29 by Wulf Rajek