Mirroring/intercepting SunPower Monitoring Traffic?
Collapse
X
-
Hi Faraway and welcome to solarpaneltalk.com. Once the admin approves you for posting, you'll be able to start your own thread. I left this one here since it seems to be related to the topic. Posting links it normally frowned on for first timers since spammers do it frequently, but I tried yours and they seem fine. I didn't know about pastebin.com, it looks useful.Last edited by sdold; 08-23-2018, 01:37 PM. -
Thanks for some information here, I use the "devicelist" url to write a quick script to send data to pvoutput.org (using a cronjob every 5 mins):
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
And my system: https://pvoutput.org/list.jsp?userid=68865Leave a comment:
-
Great work by all on figuring out and discussing URLs. I created a new thread, basically as a landing page and place to discuss a project I'm working on for monitoring SunPower systems using PRTG. The thread is pending approval as I'm a noob on this forum. Here is a link to it. I'm guessing it will be approved in a day or so.
Hello all. John here. I have been working to develop monitoring of a friend's (also called John) Sunpower system using PRTG. All data is scraped from
Leave a comment:
-
Ok, my supervisor did update, but my code still works. Thought I'd update the thread to say that. I'm now on Version 2018.5, Build 2041Leave a comment:
-
Looks like I'm still on Version 5.0.0, Build 325
I've complete forgot how I query the device for that, but browsing through the setup pages gives it to me. It also notes there's a firmware update available, downloads it, and "succeeds" on install. Of course, going back to that webpage shows it's still on the same version. So, I guess I'm lucky that it can't update past it? Sorry, maybe my updated scripts won't actually work for people past that firmware version.Leave a comment:
-
Hi Eric. Because I am unable to intercept traffic from my supervisor, I decided to go the monitor.us.sunpower.com API route that Jeff Kowalski implemented. I have branched it and am doing a Python implementation of the capture part. I have the capture largely done, now working on the visualization / reporting. I will post repo link once done - hopefully later this week. I like your graphics.
I can't recall whether you said what firmware you are on. Did you say? I am on Version 2018.4, Build 1092
I won't have the per-panel data which is too bad but I don't think i have a micro-inverter (or do I, i have one? SMA 3800 TL). We only have 12 panels, small 3.9 kW system.
I forget how to get my supervisor version - remind me?Leave a comment:
-
Hi Eric. Because I am unable to intercept traffic from my supervisor, I decided to go the monitor.us.sunpower.com API route that Jeff Kowalski implemented. I have branched it and am doing a Python implementation of the capture part. I have the capture largely done, now working on the visualization / reporting. I will post repo link once done - hopefully later this week. I like your graphics.
I can't recall whether you said what firmware you are on. Did you say? I am on Version 2018.4, Build 1092
I won't have the per-panel data which is too bad but I don't think i have a micro-inverter (or do I, i have one? SMA 3800 TL). We only have 12 panels, small 3.9 kW system.Leave a comment:
-
Hmmmmmm, so I wrote up this reply but it showed as awaiting approval. Maybe because I included an imgur link to a screenshot of my current code working? Anyways, wanted to let you guys know I updated my GitHub project with new, working code based on the direct querying of the SP supervisor.Leave a comment:
-
Hmmmmmm, so I wrote up this reply but it showed as awaiting approval. Maybe because I included an imgur link to a screenshot of my current code working? Anyways, wanted to let you guys know I updated my GitHub project with new, working code based on the direct querying of the SP supervisor.Leave a comment:
-
Hey everyone,
Over the last week I've been hacking on this and I got my math to work out finally. My capture script hasn't changed, although I did modify the "sp_raw2" table in my DB to include the insert_timestamp rather than just the src_timestamp from the panels/supervisor. Things are still slightly wonky as I'm using the supervisors total_energy reported to calculate whether I'm sending power to the grid or pulling from the grid. This, unfortunately, doesn't give me an entirely accurate view about how much power my house is CONSUMING. I will keep looking at that and see if I can't work out how to get a more accurate view. For now, though, check out my latest commits to the GitHub project here: https://github.com/ehampshire/sunpower/tree/dev . Mostly just updates to the web section (with index2.php) and a new solar_analysis3.py that fills in the sp_energy and sp_power tables appropriately. Here's a screenshot from a couple minutes ago of what it looks like for my system: https://imgur.com/a/3CdJzDh
Hope that helps, guys!Leave a comment:
-
My PV Supervisor has two Ethernet jacks and they only use one for the powerline. In my comm box where they mounted only the PV super. they of course had to mount a standard elec. outlet to connect the powerline to, mine happens to be a dual outlet. Is there a reason I can't simply buy my own powerline and use the second PV super. port, (since their powerline is encrypted) and get the data that way?
the problem is that SP changed where and how they transmit the data to their server. They no longer send messages to SunPowers server in the clear. Instead they use an AWS-hosted service to receive the data, and they send the data encrypted to that server.
so no, changing from powerline to the hardwired Ethernet will make no difference.Leave a comment:
-
robillard,
My system is the same as yours
Ask your questions about solar modules, mounts, inverters or any other part of your solar energy system. If you want to share the specs for your system, then you can post them here.
No consumption monitoring though, but I'm assuming the same PV supervisor model, as we likely installed around the same time (as joining this forum).
My PV Supervisor has two Ethernet jacks and they only use one for the powerline. In my comm box where they mounted only the PV super. they of course had to mount a standard elec. outlet to connect the powerline to, mine happens to be a dual outlet. Is there a reason I can't simply buy my own powerline and use the second PV super. port, (since their powerline is encrypted) and get the data that way?
Thanks,
LLBLeave a comment:
-
Thank you robillard - that is what i thought I understood from the thread but wanted to be sure. I posted an issue to ehampshire's Github project and he said he's still able to pull data from the supervisor - maybe his firmware hasn't been updated? I hadn't even thought to get the per-panel generation data. I want data locally to blend it with my consumption data and occupancy information to understand how my generation/consumption match up to better inform some automation of how my various appliances operate, car charging time, etc. Also wanted to see how my panels' performance aligned with the solar situation: https://github.com/SunPower/SolarUtils.
I am looking for documentation then on their "API" - i found this https://github.com/jeffkowalski/sunpower project which points to some "help" files. What is not clear to me is whether you can get more than just System cumulative and interval energy production (which is all I really need) or the stats on the supervisor and inverter as well - all the data that is presented in the sonpowermonitor.com site.
Thanks againLeave a comment:
-
To be clear: you can still use the older method of simply downloading the data from the sunpower site using their web API (well, it's not an API, but it's usable), and I continue to do that to cache the data locally, but for those of us with micro-inverter based systems, that data does not include the very useful per-panel data...Leave a comment:
-
Yeah, unfortunately, around June 25th of last year (2017), Sunpower rolled out new firmware that uses a different site, and encrypted data traffic for their data uploads. That apparently applied to all micro-inverter-based installs, so our main house got hit by that, and I have no way to retrieve per-panel data now. On May 11th of this year (2018), this firmware update also hit our rental house (which uses DC from the panels to a single inverter), as well. Now the supervisor still pings the sunpower server using the old protocol, but that's just the 100/102 message (which appears to just be an "I'm alive and OK" message). All other traffic goes to a different server, and is encrypted. Very, very unfortunate. SunPower just does not realize that, as system owners, this is _our_ data, not theirs...Leave a comment:
Leave a comment: