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!

Tesla Motors Club

Hey - This is a bit of a niche question. I am an Octopus customer. I was on Go and now I'm on Agile. In the past I've used the Octopus API to query my 1/2 hourly usage, convert the JSON response to CSV and use it to chart consumption (and to feed my cost analysis to see if the switch to Agile would be worth it). Now that I've made the switch, I am trying to pull the agile rates in via API so I can align them and perform a post-switch analysis and keep track of how much the car charging is costing as a part of our overall electricity spend.

Unfortunately, I'm a bit stuck. I'm following the instructions in the documentation but I can't get a valid reply.

I'm sending a GET request to: https://api.octopus.energy/v1/produ...3-16T00:00:00Z&period_to=2020-03-16T23:59:59Z

but the response is:

{
"detail": "Not found."
}

Can anyone spot the (what I'm sure is an) obvious error I'm making here?

(Bonus points if anyone has an off-the-shelf solution to query the consumption API and rates API, parse the JSON response and store the results in Elastic Search so I can play with this in Kibana!)

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