howto:growatt
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howto:growatt [2023/06/19 00:20] – created Wulf Rajek | howto:growatt [2023/07/09 22:58] (current) – [Download Growatt Data Log History] Wulf Rajek | ||
---|---|---|---|
Line 5: | Line 5: | ||
Initial passwords 12345678 / 1234 | Initial passwords 12345678 / 1234 | ||
+ | Dashboard: | ||
https:// | https:// | ||
+ | |||
+ | Warranty details: | ||
+ | https:// | ||
Line 18: | Line 21: | ||
https:// | https:// | ||
+ | |||
+ | Note: the inverter is doing a self test routine when the panels start supplying and when they cease eg sunrise and sunset. It goes into mode of drawing from the grid instead of the battery whilst this is going on, typically between 5 and 7 minutes. | ||
+ | |||
+ | |||
+ | ===== Change Datalogger interval ===== | ||
+ | |||
+ | By default, the datalogger upload interval is every 5 minutes. This can be changed either by re-initialising the data-logger through it's Wifi Access point function, but it's a lot easier doing this through the server.growatt.com interface. | ||
+ | |||
+ | Steps: | ||
+ | - Log into https:// | ||
+ | - Go to "All Device ->" in the My Photovoltaic Devices list\\ {{: | ||
+ | - Open the Data Logger Settings\\ {{: | ||
+ | - Click on " | ||
+ | - Enter " | ||
+ | - To change the update interval value, enter 4 in the Register row above the read entry and set 1 as value, then click on ' | ||
+ | - Read the value again to confirm, then click cancel to close this window | ||
+ | - Go back to the dashboard and click the (i) next to the Data Logger serial number to confirm the new interval again:\\ {{: | ||
+ | |||
+ | The graphs on server.growatt.com won't change, but the data logger history can be verified and obtained through a greasemonkey/ | ||
+ | |||
+ | Greasemonkey browser script: | ||
+ | < | ||
+ | // ==UserScript== | ||
+ | // @name | ||
+ | // @namespace | ||
+ | // @version | ||
+ | // @description | ||
+ | // @author | ||
+ | // @require | ||
+ | // @match | ||
+ | // @icon | ||
+ | // @grant | ||
+ | // ==/ | ||
+ | |||
+ | (function() { | ||
+ | 'use strict'; | ||
+ | |||
+ | /* globals waitForKeyElements */ | ||
+ | |||
+ | var historyButton=document.createElement(" | ||
+ | historyButton.type=" | ||
+ | historyButton.value=" | ||
+ | historyButton.setAttribute(" | ||
+ | historyButton.onclick = showHistory; | ||
+ | |||
+ | function insertButton(jNode){ | ||
+ | jNode.html(historyButton) | ||
+ | } | ||
+ | |||
+ | waitForKeyElements ("# | ||
+ | |||
+ | function showHistory(){ | ||
+ | var inv = window.INVS[Object.keys(window.INVS)[0]]; | ||
+ | if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_inverterHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_maxHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_storageHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_mixHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_pcsHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_hpsHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_spaHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_tlxHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_jlInvHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_jfyInvHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_pbdHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_eybondInvHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_igenInvHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | }else if(inv.deviceTypeName==" | ||
+ | window.comm.dialogUrl({ | ||
+ | skin:" | ||
+ | id:" | ||
+ | title:" | ||
+ | url:"/ | ||
+ | btns: | ||
+ | success: | ||
+ | window.dialog_pumperHistory_init(did, | ||
+ | } | ||
+ | }); | ||
+ | } | ||
+ | }; | ||
+ | |||
+ | |||
+ | })(); | ||
+ | </ | ||
+ | https:// | ||
+ | |||
+ | The above script will add a "Get Historical Data" button to the server.growatt.com page: | ||
+ | {{: | ||
+ | |||
+ | 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.1687130425.txt.gz · Last modified: 2023/06/19 00:20 by Wulf Rajek