MTrab / landroid_cloud

Landroid Cloud component for Home Assistant
GNU General Public License v3.0
260 stars 30 forks source link

With two Worx Landroid accounts getting banned every day or two #635

Open RaunoVV opened 1 month ago

RaunoVV commented 1 month ago

Describe the issue

Currently i have configure integration with two Worx accounts as Landroids are in different locations so they need to be tied ot different accounts. Results of this i get IP banned for making too many requests (App is also reporting is, when using without Wifi it's fine). Tried digging the code but couldn't find a good way to modify the update freaquency.

What version of Home Assistant Core has the issue?

2024.4.4

What was the last working version of Home Assistant Core?

No response

What version of the Landroid Cloud integration do you have installed

5.0.5

What type of installation are you running?

Home Assistant Container

Which make and model is the mower used for this integration?

Worx Landroid WR155E

Diagnostics information (NOT log entries!)

None

Relevant log entries

None

Additional information

No response

MTrab commented 1 month ago

Sounds strange. You don't have anything forcing updates from the mowers? The integration doesn't request updates unless nothing have been received from the API for a given amount of time. Normally the integration isn't requesting anything at all but relies on push messages from the API

RaunoVV commented 1 month ago

I havent done anything custom to force that. I saw there was some code in this plugin to force up on some occasions, maybe that kight cause it ?

Has it been tested with two landroid on sae setup?

If i have time i can gather some network traffic related to landroid api/mqtt. Will try to use vpn only for landroid api requests, lets see how that works.

If that helps then i have two phones with Landroid app+ home assistant with both accounts behind same public IP. But yeah, this still doesn't explain it if its only on Push from Landroid

MTrab commented 1 month ago

I've been running tests with accounts with 2+ mowers and never been banned, that's why I find it extremely strange

RaunoVV commented 1 month ago

Seems like others have also similar issues. At the moment somewhy the integration is failing heavily, it even block starting up hass itself :/

641

MTrab commented 1 month ago

Not sure I have access to an account with multiple mowers anymore, so I cannot test this.

Anyway, as everything currently is in boxes as I'm moving, don't expect miracles to happen with this integration anytime soon