This page shows how to use shortcodes in blog posts to extract SolarEdge data for any given site.
The only variable is the SolarEdge unique site ID.
Parameters are:
site = siteID
value = today, thismonth, thisyear, lifetime
decimals (optional) = number of decimal places to show
Examples of how the mser_solaredge_site shortcode is used are shown below each of the data points.
Energy Produced
Today: 0.00 kWh
[mser_solaredge_site site='siteID' value='today' decimals='2']
This Month: 0.0 kWh
[mser_solaredge_site site='siteID' value='thismonth' decimals='1']
This Year: 0 kWh
[mser_solaredge_site site='siteID' value='thisyear']
Lifetime: 0.000 kWh
[mser_solaredge_site site='siteID' value='lifetime' decimals='3']
Last updated: 01/01/1970 00:00
