Skip to main content

API unable to access smartpaym.ovoenergy.com

  • April 20, 2024
  • 5 replies
  • 214 views

I have been using home assistant to monitor my home electric and recently I have been blocked from the “https://smartpaym.ovoenergy.com/api/customer-and-account-ids” this page looks to go via Cloud flare, has any one else come across this?? 

5 replies

Emmanuelle_OVO
Community Manager
  • Community Manager
  • 2562 replies
  • April 23, 2024

  • Carbon Cutter**
  • 6 replies
  • July 24, 2024

Hi, experiencing the same issue and it’s Cloudflare that have blocked my IP from accessing the api endpoint. It’s all well and good rate limiting and the plugin owner could do something about that but this is the SOLE reason I’m with OVO. If this can’t be resolved I’ll be changing providers


Chris_OVO
Community Moderator
Forum|alt.badge.img
  • Community Moderator
  • 730 replies
  • July 24, 2024

@BPLightlog @Blastoise186 

 

Do either of you have any experience or suggestions you could help out with? 

 


Blastoise186
Plan Zero Hero
Forum|alt.badge.img+1
  • Plan Zero Hero
  • 7929 replies
  • July 24, 2024

Hi @pauldsmyth 

This comment was left by a Forum Volunteer. @Blastoise186 can only speak in a personal capacity and does not work for OVO

The Home Assistant integration in question was community developed by Timmo001 and can be found at https://github.com/timmo001/ovoenergy . As it makes clear in the README.md file over there, it is not developed nor supported by OVO because it is community developed and community maintained. The Home Assistant Community expects its users to understand that quite a few HA Integrations are NOT supported by the companies whose products and/or services are accessed by said Integration - because many of them are reverse engineered in some way.

By using the OVO integration, you agreed to those terms and also the understanding it could break at anytime - use at your own risk.

The closest OVO has ever gone to supporting Home Assistant is this Pull Request which I authored myself in June 2021 to help make Home Assistant users be less aggressive and reduce the rate at which HA instances were smashing OVO’s API to pieces to something FAR less bonkers. It was this PR which arguably made OVO more tolerant because it meant HA instances were doing a better job of playing nice. Alas, it did not mean that the Integration suddenly became OVO supported - I did that PR in a personal capacity as a way of helping make everyone happy/happier.

It is my suspicion that you’re getting blocked because your instance is smashing the API to pieces again with invalid authentication credentials - there’s already a similar GitHub Issue about this which you can find here. This is something OVO cannot fix - either Timmo001 or someone willing to submit a PR to that repository can fix it needs to do so.

To get help with this, please head over to GitHub in the first instance. You’re welcome to file an Issue against it but it’d be up to Timmo001 to decide whether he wants to respond or not. OVO can’t help with this as it’s not something they made themselves.

For OVO’s part, it’s impossible to know if these requests are attack traffic coming from a malicious actor trying to hack the systems, or just some legitimate tool that’s encountered a bug and has gotten itself stuck in a loop - as far as Cloudflare knows, it just sees tons of weird traffic and takes action to protect its customer as it’s designed to do.


BPLightlog
Plan Zero Hero
Forum|alt.badge.img+5
  • Plan Zero Hero
  • 2729 replies
  • July 24, 2024

Just another point as all of these type of feeds are prone to issues from time to time as they are often not supplier authored .. if you want to be more self reliant on a data source then an MQTT feed from a CAD/IHD such as the Hildebrand Glow would give you a local unit to suit your HA needs. 
 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings