HomeAssistant-Mods / home-assistant-miele

Miele integration for Home assistant
138 stars 32 forks source link

Re-Auth needed often after reboot of HA #167

Open vistalba opened 5 months ago

vistalba commented 5 months ago

I really don't know why but since multiple month (maybe 6 or more?) I most of the time have to re-auth the plugin with my login. The Token file is there and the token is not expired at the time of the reboot. But after rebooting HA I do get a notification to re-auth.

Anyone else having similar issues? Any hint how to nail this issue down? It is quite annoying. Thx.

itchensen commented 5 months ago

Can confirm this issue since several month. Would be great, to have a solution or at least workaround.

ljenzen commented 5 months ago

having the same issue - solution welcome

larstobi commented 4 months ago

Same

mKenfenheuer commented 4 months ago

Same here. Also with the cache path set:

miele: 
    cache_path: /homeassistant/miele.json

I can also see the cache file being filled/updated. However occasionally this doesn't seem to work:

2024-02-13 12:38:13.419 WARNING (SyncWorker_7) [custom_components.miele.miele_at_home] Couldn't write token cache to /homeassistant/miele.json
sHedC commented 4 months ago

Hi,

I am working on moving this to config entries, which is more work than expected. But nearly done, just fixing services and updating Readme then will submit a pull request.

The new one uses the oauth built in and seems more stable in that respect, just had some issues with the miele. and services which I am fixing.