Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New 2024.11.4 version error by setup (not running anymore (previous version was running but not updating) #30

Open
4 tasks done
Rotil66 opened this issue Nov 27, 2024 · 14 comments

Comments

@Rotil66
Copy link

Rotil66 commented Nov 27, 2024

System Health details

I cannot find this info

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

The integration is not setiting up any more after the update to 2024.11.4 the previous version was running but not updating the fuel prices without a restart. Also after re-download, reinstall, reconfigure, restart. In the integration pace the intergration is visible. (red and sayong fail to setup) The local icon is yellow the Web icon is visible (gray - internet acces is available)

Reproduction steps

  1. Permantent failing 'so reproducable'

...

Debug logs

In the log's I see this message:
DirectLease appears to have blocked your IP. Your options are:1) Contact tankservice-block@app-it-up.com for further support. 2) Change your WAN IP address or use a VPN. 3) Use a proxy server to connect.

But Why should it being blocked only by updating the integration. Accessing Directlease from a Laptop thru the same internet line is working OK (should be comming from the same IP address)

Diagnostics dump

home-assistant_fuel_prices_2024-11-27T12-39-24.413Z.log

@Rotil66
Copy link
Author

Rotil66 commented Nov 27, 2024

image

This is what is is also showing.
older versions are also not running anymore (Tried :11.3 and 11.1)

@pantherale0
Copy link
Owner

Yes, the provider has blocked the connection because you polled the source too frequently.

It was raised on the forums, unfortunately there is no fix for this.

@pantherale0
Copy link
Owner

I did mention here that I do not recommend using the "workaround" for a previous issue.

#25 (comment)

@Rotil66
Copy link
Author

Rotil66 commented Nov 27, 2024 via email

@pantherale0
Copy link
Owner

This uses the API for the mobile app, so while retrieving a list of places is identical, getting station information is different because the website returns image files instead of the raw data.

What's happening is that there are too many requests being sent to the mobile API endpoint for the individual stations, I could build a proxy service for this that would cache station data to overcome the issue, but that comes at a cost to run.

Let me know if you get a response, but be warned, this integration was built without their involvement at all etc. and reverse engineered like life360 etc. was. You might get a more helpful response by saying that their mobile app isn't working.

@Rotil66
Copy link
Author

Rotil66 commented Nov 27, 2024 via email

@Rotil66
Copy link
Author

Rotil66 commented Nov 27, 2024 via email

@Rotil66
Copy link
Author

Rotil66 commented Nov 29, 2024 via email

@pantherale0
Copy link
Owner

I've actually started a conversation with them regarding this and they are open to helping us.

Leave it with me, I'll work with directlease so we can all get what we want.

@murnty
Copy link

murnty commented Nov 29, 2024

I will see if they will respond and let you know. But I don't expect much from them. Is there another provider I couldnuse in the nederlands?? ⁣BlueMail voor Android downloaden ​Op 27 nov 2024 15:34, om 15:34, Jordan Harvey @.***> schreef:

Maybe ANWB fuel price platform can be used as a source of data instead of DirectLease

@pantherale0
Copy link
Owner

Maybe ANWB fuel price platform can be used as a source of data instead of DirectLease

Thanks for the info, I'll see what I can come up with DirectLease (or 'App It Up') first.

Understandably they don't like us accessing how we're currently accessing it because there is a cost associated with getting the data.

Nevertheless we appreciate your work for the community and like to discuss how we can find a better way to support the HA tweakers with our data.

@Rotil66
Copy link
Author

Rotil66 commented Nov 29, 2024 via email

@riclun80
Copy link

riclun80 commented Dec 7, 2024

Is there a possibility to get the data from:
https://www.zuinigtanken.nl/tankstation-in-de-buurt/

I have it in a Webpage Card for my area for quick viewing.

@pantherale0
Copy link
Owner

Hi,

No, the data source isn't overly complete (a few random stations I've selected don't return a price).

Anyway, DirectLease will pick this up in the new year with us. There are some changes I need to implement first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants