Closed rupertbg closed 3 years ago
@codyc1515 can you take a look? The current token expiry handling means I have to reboot my homebridge relatively frequently
Hopefully I can take a look tomorrow. Looks good to me.
Thank you very much. This is a great help.
Refresh and login token interval is now set after successful login. Login retries are now performed when login does not succeed. Login retries are set with a 5 minute delay, refresh of data and login token use the existing intervals. Intervals are cleared when login is being performed to prevent the intervals from stacking.