zachowj / xfinity-data-usage

Fetch Xfinity data usage and serve it via an HTTP endpoint, publish it to MQTT or post it to an URL.
https://hub.docker.com/r/zachowj/xfinity-data-usage
MIT License
53 stars 15 forks source link

Getting errors unable to log in #37

Closed jasii closed 3 years ago

jasii commented 3 years ago

I have my config file all set up with imap http and mqtt and my username / password for xfinity and I started getting not logged in and unable to log in errors.

I did notice that when I went to reset my password manually it would refuse to send it to me via email and I did have to get a code to change my password over text or phone call. Not sure if that is the issue? I did reset my password and ran the script again and still got these same errors. Any help would be appreciated.

-- Config --
Xfinity Update every 60 mins
Http server will be started
Will publish to MQTT (Home Assistant) on new data
--------
http server started
Fetching Data
Loading (https://customer.xfinity.com)
Page Title: Sign in to Xfinity
Loading Usage https://customer.xfinity.com/apis/csp/account/me/services/internet/usage?filter=internet
Not logged in
Loading (https://customer.xfinity.com)
Page Title: Sign in to Xfinity
Loading Usage https://customer.xfinity.com/apis/csp/account/me/services/internet/usage?filter=internet
Not logged in
Loading (https://customer.xfinity.com)
Page Title: Sign in to Xfinity
Loading Usage https://customer.xfinity.com/apis/csp/account/me/services/internet/usage?filter=internet
Error while fetching usage

Unable to login
Next fetch in 60 minutes @ 12:57:25 AM
zachowj commented 3 years ago

If you reset your base password then you would need to delete the pwsuffix file in the config directory. This will make the app use the base password until a password reset is needed. Then continue to use the base password and suffix going forward.

jasii commented 3 years ago

That fixed it. Thank you