hjuhlin / homebridge-aqua-temp

Homebridge plugin for Aqua Temp
Apache License 2.0
6 stars 4 forks source link

Token help #1

Closed Y8rz8 closed 3 years ago

Y8rz8 commented 3 years ago

Hi there, I’m looking for this since many months - thanks :) But stuck with the token part. Could you please explain how to to get the token ? Thx, Patrice.

hjuhlin commented 3 years ago

Hallo. Nice to hear that I can make someone happy :)

But need to make you temporary sad. I did plan to make a guide to get the Token. But as I learned that it changes every day, I plan to add more code so you dont need to get it. But have not had time to fix that yet. But I need this to be fixed for my own pool, so soon! :)

Y8rz8 commented 3 years ago

Hi ! Not so sad don’t worry ;) ok thanks ! Happy to test if you need someone !

Y8rz8 commented 3 years ago

Hallo ! It’s seems to work :-)

hjuhlin commented 3 years ago

Yes it does, it was very easy to fix! But I did not tell you about it, because I did not have time to build a function that gets a new Token. It only last for max 24 hours. So it will stop working soon. Restart of Homebridge every 24 hours does the trick right now.

But going to fix it soon, so it's gets a new ID by it self when it runs out.

Y8rz8 commented 3 years ago

Ok clear !

hjuhlin commented 3 years ago

@Y8rz8 I have done a first test now with auto refreshing the token. I have just intsalled it my own live homebrige, so will let it run on my installation for a few days to test it out.

One important thing with this new version is that you should unistall the old one before installing this. To big changes in the code.

Y8rz8 commented 3 years ago

Just installed and it works perfectly. I will inform you in case of issues. Thanks for your work :)

hjuhlin commented 3 years ago

I think all tokens problems is 100% solved now and works perfectly for me. So closing this issue.