robert-alfaro / xfinity-usage

Home Assistant custom component for retrieving Xfinity data usage
52 stars 19 forks source link

2FA #2

Closed mxwlsavard closed 4 years ago

mxwlsavard commented 4 years ago

Hey Robert, thanks for this component! Is there any way to make it work with 2FA enabled? 🤔

degan6 commented 4 years ago

I had this problem as well, I got around it by creating another user on my Comcast account without 2fa.

robert-alfaro commented 4 years ago

I'm not sure this would work with 2FA because typically the way real integrations work...this would use an API with some authentication token. Since this is more of a scraper, I don't see this easily done (to my knowledge).

mxwlsavard commented 4 years ago

That’s understandable. Degan’s idea of a second user works as a workaround. Thanks again!

robert-alfaro commented 4 years ago

Closing this issue as I don't think it's going to happen. In the event anything changes, we can re-open.

mike-mo commented 1 year ago

@degan6 given that such a secondary account would be less secure by design, what is the lowest level of access that needs to be granted for it to be able to monitor bandwidth usage against the data cap?

From https://customer.xfinity.com/settings/users/add

Select what they'll have access to

Manager

Payments and billing preferences Review/discuss account issues (like past-due balances) Troubleshoot and schedule appointments Change or customize plan Service and device settings All Xfinity service apps Cannot transfer service to a new address or manage other people on this account

Member

Troubleshoot Service and device settings All Xfinity service apps No access to billing, plan, or appointments

Viewer

Access to Xfinity Stream app No access to billing, plan, or appointments