whatisgithub

What is sunpower-sunstrong-data-downloader?

sg1888/sunpower-sunstrong-data-downloader — explained in plain English

Analysis updated 2026-05-18

6PythonAudience · generalComplexity · 2/5Setup · easy

In one sentence

A Python script that logs into your SunPower/SunStrong solar account and downloads your production history as CSV files, without touching your home monitoring hardware.

Mindmap

mindmap
  root((repo))
    What it does
      Logs into SunStrong
      Downloads history
      Saves as CSV
    Tech stack
      Python
      requests
    Use cases
      Export solar data
      Spot bad panels
    Audience
      Solar owners

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Export your full solar production history to a spreadsheet for analysis.

USE CASE 2

Download per-panel performance data to spot underperforming panels.

USE CASE 3

Back up your solar data in case a provider database issue wipes it out.

What is it built with?

Pythonrequestscurl_cffi

How does it compare?

sg1888/sunpower-sunstrong-data-downloaderaa2246740/ultimate-designaclark4life/home-depot-crawl
Stars666
LanguagePythonPythonPython
Last pushed2014-08-10
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity2/52/52/5
Audiencegeneralvibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires an active SunStrong/mySunPower account login, some data needs a paid subscription.

So what is it?

This is a small Python script for anyone who owns a SunPower solar system that has been moved under SunStrong's cloud service. It logs into your account with the same username and password you already use in the mySunPower app, then pulls your solar production history down as CSV files you can open in a spreadsheet. It does not connect to the physical monitoring box in your house, and does not need rooting or any special hardware access, it only talks to SunStrong's own servers over the internet. The tool can fetch three kinds of data. Whole system hourly power readings, whole system energy totals by day, month, or year, and per panel readings, which give power and energy for each individual microinverter along with its physical position on your roof. How far back your history goes depends on your account and whether SunStrong suffered any past data loss, and panel level data typically only reaches back a couple of years. Setup only needs the requests Python package and your account credentials, either set as environment variables or entered when prompted. The recommended first step is a probe command that logs in, lists your solar sites, and saves a sample response so you can see exactly what the data looks like before downloading anything in bulk. Some features depend on whether you have an active paid subscription with SunStrong. Panel level production numbers work either way, but system wide hourly power and full energy history are locked to subscribers. The author notes downloads are paced deliberately, one chunk at a time with retries, since pulling years of detailed data means a lot of requests. Login credentials are sent only to SunStrong's own sign in address and are kept in memory rather than written to disk. The tool also disguises its network requests to look like an ordinary Chrome browser, since the underlying SunStrong endpoints are undocumented and can reject unusual looking traffic. Because these are private, unofficial endpoints, this script could stop working at any time if SunStrong changes its app.

Copy-paste prompts

Prompt 1
Help me run sunstrong_downloader.py to pull my hourly power data since 2019.
Prompt 2
Explain the difference between the power, energy, and panels commands in this downloader.
Prompt 3
Help me set SUNSTRONG_USERNAME and SUNSTRONG_PASSWORD as environment variables safely.
Prompt 4
Write a script that charts my panels_hourly.csv output to find underperforming panels.

Frequently asked questions

What is sunpower-sunstrong-data-downloader?

A Python script that logs into your SunPower/SunStrong solar account and downloads your production history as CSV files, without touching your home monitoring hardware.

What language is sunpower-sunstrong-data-downloader written in?

Mainly Python. The stack also includes Python, requests, curl_cffi.

How hard is sunpower-sunstrong-data-downloader to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is sunpower-sunstrong-data-downloader for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.