Meters / Power output stats
Calling the below URLs does not require authentication. Each will return JSON output with key-value pairs:
Full list of discovered APIs – Summary:
- BatterySOC = “/api/system_status/soe”;
- MeterAggregates = “/api/meters/aggregates”;
- CustomerRegistration = “/api/customer/registration”;
- PowerWalls = “/api/powerwalls”;
- ConnectionStatus = “/api/sitemaster”;
- Version = “/api/status”;
It includes a script which gets the SoC from the gateway, writes the value to a RRD file and an example graph that can be created from the RRD.
Unpack it to c:\example or change the paths in the script.
createsocrrd.bat will create an rrd db called soc.rrd with one variable socpct
readsoc.ps1 needs to be modified to your GW address and will write the soc value to soc.rrd and after running the PS for a while …
graphit.bat will run rrdtool graph and (hopefully) create soc.png – a 4 hr graph of the soc value.
It uses RRDtool https://oss.oetiker.ch/rrdtool/ Full details of parameters can be found on his site.
If this is your first time running PS scripts on your Windows machine you may have to modify the default execution policy – running Powershell ISE as an admin task and entering Set-ExecutionPolicy RemoteSigned should be sufficient but here Google is your friend.
Application / Implementation
www.tesla.com @ 8:45pm 7/28/2017
- Starting at $35,000
- Range of 220 miles
- 0 to 60 mph acceleration in 5.6 seconds
- Top speed of 130 mph
“Long Range Battery”
- Starting at $44,000
- Range of 310 miles
- 0 to 60 mph acceleration in 5.1 seconds
- Top speed of 140 mph
I’m very proud of my parent as we were able to achieve 100% solar and renewable energy generation on 23rd July 2017!!!
- 20 BenQ photovoltaic 333 kWp panels for up to 6.66 kWp solar generation
- 6 kWp SolarEdge inverter
- 13.5 kWh Tesla PowerWall battery
We were able to achieve 100% autonomy and solar generation!!! ❤
In most countries, electric energy from renewable sources is cheaper than oil or gas, right now.
If you are interest, please read Comparing electricity production costs of renewables to fossil and nuclear power plants in G20 countries to understand the potential of your country and you could reduce climate change and save money!
Future is here! ❤
Heat Pump = Mitsubishi Mr Slim +
Photovoltaic Panels = 20x 333 Wp Benq
Battery = Tesla PowerWall v2 6 kW – 14 kWh
Inverter = SolarEdge 6 kW