-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toekn expires after one day #3
Comments
Hi,
Thanks, |
Hi, sorry, was out at work yesterday. I've been using method one for the access token since encountering the issue. Using the links you provided above it does seem like enphase is giving me a short expiry date. I got a new access token on the 14th (probably around 10am) and the token expired at 3am on the 15th. I'll try method two and see if I'm still getting a small expiry date. I'll report back. Update: It does seem that method 2 provides a one year expiration on the access token. |
Ah, that's good news - glad to hear you've got a longer lasting one now, thanks for reporting back! In the meantime, I tried googling and checking the enphase forums to see if anything has changed on the enphase side recently, but it doesn't seem to be the case. One thing I did stumble on though was another user whose enphase account had been set up as an "installer" which they suspect lead to the token they got from "Method 1" expiring after 12 hours. Their solution was to create a second account linked to their system and set it up as a "system owner", and then that gave them a 1 year expiry. Not sure if this is the case for your enphase account, but it does mean there might be some difference in token generation depending on enphase account setup - and as you've demonstrated also between which method is used. I'll keep this issue open for now so that others who encounter it can give the other method a try, and I'll update the README next time I push a change to master to let people know that the expiry dates might differ depending on which method you use. Thanks again for letting me know that the second method gave the expected result, hopefully it will help others too. |
Access token seems to be expiring everyday now, started 2 days ago. Had been functioning fine for months.
The text was updated successfully, but these errors were encountered: