romedtino / simple-wyze-vac

Home Assistant Custom Component for Wyze Vacuum
49 stars 8 forks source link

Occasionally scripts and commands stop working with the error Refresh token #7

Closed aasquith94 closed 2 years ago

aasquith94 commented 2 years ago

Restarting my server fixes it. is there a way to refresh my api token without restarting the server? Maybe even on a daily script?

romedtino commented 2 years ago

I have something in line that hopefully fixes this. Do you happen to know roughly how long it takes before the token expires?

aasquith94 commented 2 years ago

It seemed to be every 2 days. but I don't think its happened recently so I don't think theres any sort of consistency. I will keep an eye out though and check for consistencies.

romedtino commented 2 years ago

This should now be fixed on https://github.com/romedtino/simple-wyze-vac/releases/tag/v1.3.9