arturzx / homeassistant-iqua-softener

Home assistant integration for iQua app supported water softeners
MIT License
37 stars 13 forks source link

Add manual refresh option #8

Open alexbeatle opened 1 year ago

alexbeatle commented 1 year ago

Due to issues with the API calls - vendor doesn't like too many and has recently blocked many accounts. Please setup an option for manual API pull instead of auto-refresh as it's done by default currently.

markmghali commented 1 year ago

How do you know when your account is blocked? I am having issues re-setuping this integration

jurahudak commented 5 months ago

Resurrecting this issue since I'm facing it as well.

The API starts responding with HTTP 429 Too many requests. Stopping the integration for some time and enabling later helps.

Small code change in custom_components/iqua_softener/sensor.py should help UPDATE_INTERVAL = timedelta(minutes=60).

I can imagine storing the error into a new sensor to present to the user in HASS, along with some auto-suspend of the integration.

wash3re commented 5 months ago

Resurrecting this issue since I'm facing it as well.

The API starts responding with HTTP 429 Too many requests. Stopping the integration for some time and enabling later helps.

Small code change in custom_components/iqua_softener/sensor.py should help UPDATE_INTERVAL = timedelta(minutes=60).

I can imagine storing the error into a new sensor to present to the user in HASS, along with some auto-suspend of the integration.

I have this exact same issue. I have never been able to figure out why it is happening.

mikedhanson commented 3 months ago

image