SolarEdge PV API

181 views
Skip to first unread message

Dan'l B

unread,
Aug 14, 2023, 1:35:52 PM8/14/23
to weewx-user
Just got a new SolarEdge monitoring system running and looking for ways to display its data in WeeWx. It looks as if I might have several options and I'm wondering if anyone here has explored this project.

michael.k...@gmx.at

unread,
Aug 15, 2023, 1:38:24 AM8/15/23
to weewx-user
I have have something running with a Fronius inverter. I don't know which option the SolarEdge provides on site and I don't know the API. But two option to get the data into weewx come to my mind:
  • creating an extension and polling the inverter
  • find a way to let the inverter emit MQTT messages and use MQTTSubscribe
For my Fronius inverter I came up with polling the inverter every archive_interval, which also works for backfilling historical data: https://github.com/mKainzbauer/weewx_extensions/blob/master/fronius.py

Graham Eddy

unread,
Aug 15, 2023, 7:02:09 AM8/15/23
to WeeWX User
i have been polling a SolarEdge HDWave inverter for a few years.
my inverter has the LED, so it is not the latest version, and doesn’t have direct API, so i use the API to the (yuck) vendor cloud API (and not happy about it). vendor API throttles to about 1 call/15 mins.
i have a simple daemon that polls then publishes to mqtt (then the route into weewx is obvious).
cheers
⊣GE⊢

On 15 Aug 2023, at 3:35 am, Dan'l B <dan.hi...@gmail.com> wrote:

Just got a new SolarEdge monitoring system running and looking for ways to display its data in WeeWx. It looks as if I might have several options and I'm wondering if anyone here has explored this project.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dcd61c91-e9ed-420c-9e8b-f2f23a2a232en%40googlegroups.com.

Peter Fletcher

unread,
Aug 15, 2023, 5:23:56 PM8/15/23
to weewx-user
I use the SolarEdge cloud API to download and save my PV production data on my Raspberry Pi, though I actually save it to a dedicated sqlite database rather than incorporating it into weewx's records. I haven't had any problems with it and download data every 5 minutes during the solar day without throttling. The API does have a declared daily limit of 300 requests, which means that you may need to avoid querying it when it's dark out if you intermittently want to get some cumulative numbers as well as 5-minute real-time ones (as I do), but I haven't found this to be a problem.

Let me know if you would like me to post the Python code.

Reply all
Reply to author
Forward
0 new messages