Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register
  • We just completed a significant update, but we still have some fixes and adjustments to make, so please bear with us for the time being. Cheers!

Tool or service to calculate cost savings?

sorka

Well-Known Member
Feb 28, 2015
7,618
5,645
Merced, CA
Is there a tool out there that can import monitoring data and calculate the difference in cost based on total how usage and provide costs if you'd just taken that power off the grid at the time it was used vs what it's actually costing because of solar and time shifting using storage?

It would also need to keep track of what's been fed back to the grid based on TOU rates at that time.

Can Grafana do this? Another tool? Will the API give me the raw data in case I just need to go write my own dashboards in Splunk?
 

getakey

Member
Jan 28, 2020
985
307
95762
you can get pretty close by just taking the TOU rate difference between Off Peak and Peak and multiple by number of kWh you can pull from batteries during Peak. Summer will be different rates than winter. In my case, I am saving ~$7/day in Summer
 

vickh

Active Member
Dec 16, 2018
3,062
471
az
I'm looking for something similar too. I'm only getting 9-10kwh/day and paying $50/mo. here in AZ for a rental. Debating whether I'll continue next year if this continues.
 

jjrandorin

Moderator, Model 3, Tesla Energy Forums
Nov 28, 2018
7,197
7,979
Riverside Co. CA
I'm looking for something similar too. I'm only getting 9-10kwh/day and paying $50/mo. here in AZ for a rental. Debating whether I'll continue next year if this continues.

Production from Nov - February will be 1/2 or a bit less than half of production from april - june. You likely need to base your decision on a full year of usage, not a few months, especially winter months.
 
  • Informative
Reactions: vickh

sorka

Well-Known Member
Feb 28, 2015
7,618
5,645
Merced, CA
So all I really need at a minimum is the house usage since that's all I need to calculate what it WOULD cost me without solar or storage. I can then compare that to my actual PG&E costs over time.

Is there a REST API that will I can use to query house usage? I can get it now by downloading the daily csv data from the app but I won't do that manually every day. Really need an API that I can get hourly home use data for. I could then write a splunk plugin to pull that data daily or whatever makes sense based on the API format and keep a dashboard of what it would have cost using my EV-2A schedule without solar or powerwall.

Can Grafana be customized to do this already?
 

cwied

Member
Jan 13, 2015
867
616
San Mateo, CA
FWIW, here's an example query that would give me today's hourly usage in kWh using my setup:
SELECT (last("load_energy_imported") - first("load_energy_imported"))/1000 FROM "raw"."http" WHERE time >= 1604304000000ms and time <= 1604390399999ms GROUP BY time(1h) tz('US/Pacific')

Applying a TOU rate schedule would probably be possible, but that would require using the newer Flux query language instead of the old InfluxDB query syntax. It would be difficult to handle monthly rate tiers just in a query.
 
  • Informative
Reactions: sorka

About Us

Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.

Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


SUPPORT TMC
Top