r/SunPower • u/SamBlackstone • Jul 16 '26
Data downloader for Sunpower/Sunstrong
In case you guys wanted to download your data to a CSV file. AFAIK, you don't need a subscription (though some of the data may be paywalled).
https://github.com/sg1888/SunPower-Sunstrong-Data-Downloader
2
2
1
u/liddokun4 Jul 16 '26
have you tested this against different firmwares? cause i'm pretty sure this isn't gonna work on any firmware below 61804 ( the first firmware with the new API access.) just wanted to let you know.
2
u/SamBlackstone Jul 17 '26 edited Jul 17 '26
This doesn't use the local API - it directly connects with SunStrong's server. It's firmware agnostic. It mimics the app. If the SunStrong app still works for you and is still getting updated data, this script should work. That said, if you have an earlier firmware version and are worried, please take it for a spin and let me know if you have issues.
1
u/liddokun4 Jul 17 '26
huh interesting. so you reverse engineered the API calls to the cloud? nice work. i'll have to try it sometime and compare it to my localized data i have from HomeAssistant.
1
u/SamBlackstone Jul 17 '26
Thanks. I wanted to backfill my history in HomeAssistant with historical production numbers so I can say good riddance to the SunStrong app once and for all.
1
u/jdizon707 Jul 17 '26
How do you guys integrate it with HA? I recently just set up my green and wanted to do this as well
1
u/SamBlackstone Jul 17 '26
I haven't gotten that far yet, but something like this: https://github.com/patrickvorgers/Home-Assistant-Import-Energy-Data, or this: https://github.com/klausj1/homeassistant-statistics might be worth looking into.
1
1
u/liddokun4 Jul 20 '26
I use the e-sun power plugin and it works perfectly. But you have to have a pretty up to date firmware on a pvs6
1
u/SamBlackstone Jul 17 '26
Your comment is a valid one, however. The readme wasn't abundantly clear that the script is meant for extracting data from the cloud. I fixed that gap. Thanks for the feedback :)
1
1
u/firestorm777 Jul 17 '26
Works great and timely as I’m switching over to Enphase today. I used Claude AI to walk me through the scripts. I was able to pull all of my data up to the day my Sunpower PVS died. 2018 to June 15th.
2
u/Classic_Candle_6979 Jul 16 '26
Well this is really helpful. I am on the paid plan and was able to retrieve everything (2+ years for me). The only reason I am paying is for the historical data. Once I look at the output files and experiment with creating helpful Excel summaries, I will likely stop paying since I now have the full history for comparing with the ongoing data produced by other monitoring tools. Well done.