Open MB-00101110 opened 2 years ago
Hi !
The token meant to be expired according to the expiration time provided by MyFox API (expires_in https://github.com/Jorire/homebridge-myfoxhc2/blob/77d5f83367645253faf98588de2ed2cbda1305af/src/myfoxAPI.ts#L113)
If my assumption is exact: Math.max(+(this.tokenExpiresIn.getSeconds()) + json.expires_in, +(this.tokenExpiresIn.getSeconds()) + 3900);
will do the job.
I don't use this homebridge anymore. I switched to HomeAssistant + rflink. So i have no update planned ... ... ... as it was working for now :)
I need to (re)setup a functionnal installation in order to reproduce the bug and fix it. I'll do my best but it will take some days ...
Toine
Thank you for answer me :)
Maybe just creating a new branch with your fix can make me test by updating the plugin in homebridge.
On the other side, MyFox disabled my Personal Application and the support is not very qualified for this kind of problems, so, with a screenshot or a link to the updated code, I hope that I can retrieve my Credentials and test-it.
Again, thank you for your answer, and for your time to investigate.
BR.
Hi, I have an MyFox HCPro Alarm, and I was happy to use your homebridge plugin until MyFox disable my access with the following reason :
I don't know what to do, and how to fix this error. I followed the process to create and obtain my Token, as I said, everything was working fine until this event.
Like the documentation says :
Any update is scheduled ? Thanks.