thor0215 / hassio-xfinity-usage

Fetch Xfinity Internet Service Usage Data and publish it to Home Assistant sensor
Apache License 2.0
6 stars 3 forks source link

Can't get add-in to return data #8

Closed kartcon closed 3 months ago

kartcon commented 3 months ago

Sorry for the unconventional way of contacting you, but I have been unable to get your add-in to return data. Here are the logs from today while trying to get this working. I hope they might help you. You may contact me at (art@dontbug.us) for more info or if you have a solution. Note: 2FA is turned OFF and I am able to log into my Xfinity account via a web browser or Xfinity app. Thank you!


Add-on version: 0.0.8 You are running the latest version of this add-on. System: Home Assistant OS 12.3 (aarch64 / raspberrypi4-64) Home Assistant Core: 2024.5.5 Home Assistant Supervisor: 2024.05.1

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-timezone: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started [20:48:43] INFO: Configuring timezone (America/New_York)... s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service base-addon-timezone successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started Python 3.10.12 Package Version


blinker 1.4 certifi 2024.2.2 charset-normalizer 3.3.2 cryptography 3.4.8 dbus-python 1.2.18 distro 1.7.0 greenlet 2.0.2 httplib2 0.20.2 idna 3.7 importlib-metadata 4.6.4 jeepney 0.7.1 keyring 23.5.0 launchpadlib 1.10.16 lazr.restfulclient 0.14.4 lazr.uri 1.0.6 more-itertools 8.10.0 oauthlib 3.2.0 pip 24.0 playwright 1.34.0 pyee 9.0.4 PyGObject 3.42.1 PyJWT 2.3.0 pyparsing 2.4.7 python-apt 2.4.0+ubuntu3 requests 2.31.0 SecretStorage 3.3.1 setuptools 59.6.0 six 1.16.0 tenacity 8.2.3 typing_extensions 4.11.0 urllib3 2.2.1 wadllib 1.3.6 wheel 0.37.1 zipp 1.0.0 total 8 drwxr-xr-x 2 root root 4096 May 7 20:56 . drwxr-xr-x 1 root root 4096 May 29 20:48 .. 2024-05-29T20:48:47 DEBUG: BASHIO_LIB_DIR: /usr/lib/bashio 2024-05-29T20:48:47 DEBUG: PYTHONUNBUFFERED: 1 2024-05-29T20:48:47 DEBUG: S6_BEHAVIOUR_IF_STAGE2_FAILS: 2 2024-05-29T20:48:47 DEBUG: HOSTNAME: 15d584b4-xfinity-usage 2024-05-29T20:48:47 DEBUG: POLLING_RATE: 3600 2024-05-29T20:48:47 DEBUG: S6_CMD_WAIT_FOR_SERVICES_MAXTIME: 0 2024-05-29T20:48:47 DEBUG: PAGE_TIMEOUT: 45 2024-05-29T20:48:47 DEBUG: BASHIO_SUPERVISOR_API: http://supervisor 2024-05-29T20:48:47 DEBUG: PWD: / 2024-05-29T20:48:47 DEBUG: CARGO_NET_GIT_FETCH_WITH_CLI: true 2024-05-29T20:48:47 DEBUG: BASHIO_SUPERVISOR_TOKEN: 90d0d7afa200b2954d76e64ee8b329fc109ca6ff07321ad58f8be3169d566806372a011a136f6eff169efce5d5b77c94c29c1ae75a5181ca 2024-05-29T20:48:47 DEBUG: YARN_HTTP_TIMEOUT: 1000000 2024-05-29T20:48:47 DEBUG: TZ: America/New_York 2024-05-29T20:48:47 DEBUG: HOME: /root 2024-05-29T20:48:47 DEBUG: XFINITY_USERNAME: turbosteff 2024-05-29T20:48:47 DEBUG: LANG: C.UTF-8 2024-05-29T20:48:47 DEBUG: BASHIO_BIN: /usr/lib/bashio/bashio 2024-05-29T20:48:47 DEBUG: PIP_PREFER_BINARY: 1 2024-05-29T20:48:47 DEBUG: XFINITY_PASSWORD: S2FydGNvbjAx 2024-05-29T20:48:47 DEBUG: HASSIO_TOKEN: 90d0d7afa200b2954d76e64ee8b329fc109ca6ff07321ad58f8be3169d566806372a011a136f6eff169efce5d5b77c94c29c1ae75a5181ca 2024-05-29T20:48:47 DEBUG: TERM: xterm-256color 2024-05-29T20:48:47 DEBUG: PIP_DISABLE_PIP_VERSION_CHECK: 1 2024-05-29T20:48:47 DEBUG: SUPERVISOR_TOKEN: 90d0d7afa200b2954d76e64ee8b329fc109ca6ff07321ad58f8be3169d566806372a011a136f6eff169efce5d5b77c94c29c1ae75a5181ca 2024-05-29T20:48:47 DEBUG: SHLVL: 1 2024-05-29T20:48:47 DEBUG: PYTHONDONTWRITEBYTECODE: 1 2024-05-29T20:48:47 DEBUG: PATH: /command:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2024-05-29T20:48:47 DEBUG: S6_CMD_WAIT_FOR_SERVICES: 1 2024-05-29T20:48:47 DEBUG: PIP_NO_CACHE_DIR: 1 2024-05-29T20:48:47 DEBUG: DEBIANFRONTEND: noninteractive 2024-05-29T20:48:47 DEBUG: LOGLEVEL: debug 2024-05-29T20:48:47 DEBUG: : /usr/bin/python3 2024-05-29T20:48:47 INFO: Xfinity Internet Usage Starting 2024-05-29T20:48:47 DEBUG: Using selector: EpollSelector 2024-05-29T20:48:56 INFO: Loading Internet Usage (URL: https://customer.xfinity.com/#/devices#usage) 2024-05-29T20:49:02 DEBUG: Finished loading page (URL: https://login.xfinity.com/login?c_ds_na=c_ds_na%2Cc_ds_no%2Cc_ds_ts%2Cclient_id%2Ccontinue%2CforceAuthn%2Cr%2CreqId%2Cs&c_ds_no=09296C7DF1F140B6FAFC031F4D40A888&c_ds_ts=1717030140&c_ds_val=78C3EA1A58D1FAA24BBDEB3FDC5A2AD765EAD3898A759F233E18F2DB39CAA2EC&client_id=my-account-web&continue=https%3A%2F%2Foauth.xfinity.com%2F%2Foauth%2Fauthorize%3Fclient_id%3Dmy-account-web%26prompt%3Dlogin%26redirect_uri%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252Foauth%252Fcallback%26response_type%3Dcode%26state%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252F%2523%252Fdevices%2523usage%26response%3D1%26reqId%3D983a2457-e905-43b3-bcb2-8cfd7f9df825&forceAuthn=1&r=comcast.net&reqId=9c92707d-bf4f-40a3-8a7f-d43d210c3199&s=oauth) 2024-05-29T20:49:04 DEBUG: Finished loading page (URL: https://login.xfinity.com/login?c_ds_na=c_ds_na%2Cc_ds_no%2Cc_ds_ts%2Cclient_id%2Ccontinue%2CforceAuthn%2Cr%2CreqId%2Cs&c_ds_no=09296C7DF1F140B6FAFC031F4D40A888&c_ds_ts=1717030140&c_ds_val=78C3EA1A58D1FAA24BBDEB3FDC5A2AD765EAD3898A759F233E18F2DB39CAA2EC&client_id=my-account-web&continue=https%3A%2F%2Foauth.xfinity.com%2F%2Foauth%2Fauthorize%3Fclient_id%3Dmy-account-web%26prompt%3Dlogin%26redirect_uri%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252Foauth%252Fcallback%26response_type%3Dcode%26state%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252F%2523%252Fdevices%2523usage%26response%3D1%26reqId%3D983a2457-e905-43b3-bcb2-8cfd7f9df825&forceAuthn=1&r=comcast.net&reqId=9c92707d-bf4f-40a3-8a7f-d43d210c3199&s=oauth) 2024-05-29T20:49:04 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-05-29T20:49:07 DEBUG: Finished loading page (URL: https://login.xfinity.com/login) 2024-05-29T20:49:08 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-05-29T20:49:55 WARNING: Retrying main.run_playwright in 1.0 seconds as it raised TimeoutError: Timeout 45000ms exceeded. =========================== logs =========================== waiting for locator("#user") locator resolved to <input disabled id="user" name="user" type="text" class…/> elementHandle.fill("turbosteff") waiting for element to be visible, enabled and editable element is not enabled - waiting... ============================================================. 2024-05-29T20:49:56 DEBUG: Using selector: EpollSelector 2024-05-29T20:50:05 INFO: Loading Internet Usage (URL: https://customer.xfinity.com/#/devices#usage) 2024-05-29T20:50:10 DEBUG: Finished loading page (URL: https://login.xfinity.com/login?c_ds_na=c_ds_na%2Cc_ds_no%2Cc_ds_ts%2Cclient_id%2Ccontinue%2CforceAuthn%2Cr%2CreqId%2Cs&c_ds_no=1EBD59E7D444A7D69BF1B64CCB135BED&c_ds_ts=1717030209&c_ds_val=410797C1DC7372F38F2C7910EEC94EA6DAE3326F95281CED9BD270C326A918F4&client_id=my-account-web&continue=https%3A%2F%2Foauth.xfinity.com%2F%2Foauth%2Fauthorize%3Fclient_id%3Dmy-account-web%26prompt%3Dlogin%26redirect_uri%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252Foauth%252Fcallback%26response_type%3Dcode%26state%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252F%2523%252Fdevices%2523usage%26response%3D1%26reqId%3D0adff951-8430-43a1-8166-4a1ce2b12523&forceAuthn=1&r=comcast.net&reqId=5e1ebbc9-bad8-4374-bd29-11efce4fa92a&s=oauth) 2024-05-29T20:50:11 DEBUG: Finished loading page (URL: https://login.xfinity.com/login?c_ds_na=c_ds_na%2Cc_ds_no%2Cc_ds_ts%2Cclient_id%2Ccontinue%2CforceAuthn%2Cr%2CreqId%2Cs&c_ds_no=1EBD59E7D444A7D69BF1B64CCB135BED&c_ds_ts=1717030209&c_ds_val=410797C1DC7372F38F2C7910EEC94EA6DAE3326F95281CED9BD270C326A918F4&client_id=my-account-web&continue=https%3A%2F%2Foauth.xfinity.com%2F%2Foauth%2Fauthorize%3Fclient_id%3Dmy-account-web%26prompt%3Dlogin%26redirect_uri%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252Foauth%252Fcallback%26response_type%3Dcode%26state%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252F%2523%252Fdevices%2523usage%26response%3D1%26reqId%3D0adff951-8430-43a1-8166-4a1ce2b12523&forceAuthn=1&r=comcast.net&reqId=5e1ebbc9-bad8-4374-bd29-11efce4fa92a&s=oauth) 2024-05-29T20:50:13 DEBUG: Finished loading page (URL: https://login.xfinity.com/login?c_ds_na=c_ds_na%2Cc_ds_no%2Cc_ds_ts%2Cclient_id%2Ccontinue%2CforceAuthn%2Cr%2CreqId%2Cs&c_ds_no=1EBD59E7D444A7D69BF1B64CCB135BED&c_ds_ts=1717030209&c_ds_val=410797C1DC7372F38F2C7910EEC94EA6DAE3326F95281CED9BD270C326A918F4&client_id=my-account-web&continue=https%3A%2F%2Foauth.xfinity.com%2F%2Foauth%2Fauthorize%3Fclient_id%3Dmy-account-web%26prompt%3Dlogin%26redirect_uri%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252Foauth%252Fcallback%26response_type%3Dcode%26state%3Dhttps%253A%252F%252Fcustomer.xfinity.com%252F%2523%252Fdevices%2523usage%26response%3D1%26reqId%3D0adff951-8430-43a1-8166-4a1ce2b12523&forceAuthn=1&r=comcast.net&reqId=5e1ebbc9-bad8-4374-bd29-11efce4fa92a&s=oauth) 2024-05-29T20:50:13 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-05-29T20:50:16 DEBUG: Finished loading page (URL: https://login.xfinity.com/login) 2024-05-29T20:50:16 INFO: Entering username (URL: https://login.xfinity.com/login)

thor0215 commented 3 months ago

Does it always throw the timeout error during the Entering username load point?

2024-05-29T20:49:08 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-05-29T20:49:55 WARNING: Retrying main.run_playwright in 1.0 seconds as it raised TimeoutError: Timeout 45000ms exceeded. =========================== logs =========================== waiting for locator("#user") locator resolved to <input disabled id="user" name="user" type="text" class…/> elementHandle.fill("turbosteff") waiting for element to be visible, enabled and editable element is not enabled - waiting... ============================================================.

kartcon commented 3 months ago

Thanks for the quick follow up! Yes. Unfortunately I have not been able to get it to work at all. I have also tried several other xfinity scrapers without success. My password only contains upper and lower case letters and a number, no spaces or special characters, and I am certain 2FA is not enabled. Im stumped as to why I can’t get any of these variation to work.This has become a big priority for me now that we have switched from cable tv to streaming. This first month we are already pushing our data limits, so having a sensor in HA would be very helpful.Art DavisSent from my iPadOn May 30, 2024, at 7:50 AM, thor0215 @.***> wrote: Does it always throw the timeout error during the Entering username load point? 2024-05-29T20:49:08 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-05-29T20:49:55 WARNING: Retrying main.run_playwright in 1.0 seconds as it raised TimeoutError: Timeout 45000ms exceeded. =========================== logs =========================== waiting for locator("#user") locator resolved to <input disabled id="user" name="user" type="text" class…/> elementHandle.fill("turbosteff") waiting for element to be visible, enabled and editable element is not enabled - waiting... ============================================================.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

kartcon commented 3 months ago

Art DavisSent from my iPadOn May 30, 2024, at 9:00 AM, Art Davis @.> wrote:Thanks for the quick follow up! Yes. Unfortunately I have not been able to get it to work at all. I have also tried several other xfinity scrapers without success. My password only contains upper and lower case letters and a number, no spaces or special characters, and I am certain 2FA is not enabled. Im stumped as to why I can’t get any of these variation to work.This has become a big priority for me now that we have switched from cable tv to streaming. This first month we are already pushing our data limits, so having a sensor in HA would be very helpful.Art DavisSent from my iPadOn May 30, 2024, at 7:50 AM, thor0215 @.> wrote: Does it always throw the timeout error during the Entering username load point? 2024-05-29T20:49:08 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-05-29T20:49:55 WARNING: Retrying main.run_playwright in 1.0 seconds as it raised TimeoutError: Timeout 45000ms exceeded. =========================== logs =========================== waiting for locator("#user") locator resolved to <input disabled id="user" name="user" type="text" class…/> elementHandle.fill("turbosteff") waiting for element to be visible, enabled and editable element is not enabled - waiting... ============================================================.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

kartcon commented 3 months ago

Bryan,

Here’s a chunk of logs from 10.1. Not sure if it’s normal or something you want to look into. Seems to be working fine.

Art

2024-06-06T18:13:51.925 INFO: Updating Sensor: sensor.xfinity_usage 2024-06-06T18:14:00.966 INFO: Loading Internet Usage (URL: https://login.xfinity.com/login) 2024-06-06T18:14:01.414 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-06-06T18:14:08.873 INFO: Entering password (URL: https://login.xfinity.com/login) 2024-06-06T18:14:21.108 INFO: Updating Session Details 2024-06-06T18:14:22.679 INFO: Updating Plan Details 2024-06-06T18:14:24.271 INFO: Updating Usage Details 2024-06-06T18:15:09.400 WARNING: Retrying main.run_playwright in 1.0 seconds as it raised AssertionError: Locator expected to be visible Actual value: <element(s) not found> Call log: LocatorAssertions.to_be_visible with timeout 45000ms

On Jun 6, 2024, at 3:40 PM, thor0215 @.***> wrote:

Closed #8 https://github.com/thor0215/hassio-xfinity-usage/issues/8 as completed via #10 https://github.com/thor0215/hassio-xfinity-usage/pull/10.

— Reply to this email directly, view it on GitHub https://github.com/thor0215/hassio-xfinity-usage/issues/8#event-13071488135, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTWADBGMYCMDATS3CQJU73ZGC3LPAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TCNBYHAYTGNI. You are receiving this because you authored the thread.

thor0215 commented 3 months ago

Art,

That looks good. Based on your log the list attempt failed to see the full usage table, but on the next attempts it was successful. This new code is working much better than even some of the previous attempts to fix it, so that's good. I did release this new code to the stable branch, so if this dev version is continuing to be stable for you, I would recommend switching to the original release which is now version 0.0.10, https://github.com/thor0215/hassio-xfinity-usage.

On Thu, Jun 6, 2024 at 7:10 PM Art Davis @.***> wrote:

Bryan,

Here’s a chunk of logs from 10.1. Not sure if it’s normal or something you want to look into. Seems to be working fine.

Art

2024-06-06T18:13:51.925 INFO: Updating Sensor: sensor.xfinity_usage 2024-06-06T18:14:00.966 INFO: Loading Internet Usage (URL: https://login.xfinity.com/login) 2024-06-06T18:14:01.414 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-06-06T18:14:08.873 INFO: Entering password (URL: https://login.xfinity.com/login) 2024-06-06T18:14:21.108 INFO: Updating Session Details 2024-06-06T18:14:22.679 INFO: Updating Plan Details 2024-06-06T18:14:24.271 INFO: Updating Usage Details 2024-06-06T18:15:09.400 WARNING: Retrying main.run_playwright in 1.0 seconds as it raised AssertionError: Locator expected to be visible Actual value: <element(s) not found> Call log: LocatorAssertions.to_be_visible with timeout 45000ms

  • waiting for get_by_test_id("planRowDetail").filter(has=locator("prism-button[href=\" https://customer.xfinity.com/#/devices#usage\"]")) . 2024-06-06T18:15:11.814 INFO: Updating Sensor: sensor.xfinity_usage 2024-06-06T18:15:24.715 INFO: Loading Internet Usage (URL: https://login.xfinity.com/login) 2024-06-06T18:15:25.320 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-06-06T18:15:30.998 INFO: Entering password (URL: https://login.xfinity.com/login) 2024-06-06T18:15:42.996 INFO: Updating Session Details 2024-06-06T18:15:44.749 INFO: Updating Plan Details 2024-06-06T18:15:47.105 INFO: Updating Usage Details 2024-06-06T18:15:47.331 INFO: Usage data retrieved and processed 2024-06-06T18:15:47.332 INFO: Updating Sensor: sensor.xfinity_usage 2024-06-06T18:15:47.362 INFO: Updating Sensor File 2024-06-06T18:15:49.256 INFO: Sleeping for 900 seconds 2024-06-06T18:30:50.249 INFO: Updating Sensor: sensor.xfinity_usage 2024-06-06T18:31:00.187 INFO: Loading Internet Usage (URL: https://login.xfinity.com/login) 2024-06-06T18:31:00.810 INFO: Entering username (URL: https://login.xfinity.com/login) 2024-06-06T18:31:06.328 INFO: Entering password (URL: https://login.xfinity.com/login) 2024-06-06T18:31:17.901 INFO: Updating Session Details 2024-06-06T18:31:19.345 INFO: Updating Plan Details 2024-06-06T18:31:21.368 INFO: Updating Usage Details 2024-06-06T18:31:23.088 INFO: Usage data retrieved and processed 2024-06-06T18:31:23.089 INFO: Updating Sensor: sensor.xfinity_usage 2024-06-06T18:31:23.135 INFO: Updating Sensor File 2024-06-06T18:31:24.998 INFO: Sleeping for 900 seconds

On Jun 6, 2024, at 3:40 PM, thor0215 @.***> wrote:

Closed #8 https://github.com/thor0215/hassio-xfinity-usage/issues/8 as completed via #10 < https://github.com/thor0215/hassio-xfinity-usage/pull/10>.

— Reply to this email directly, view it on GitHub < https://github.com/thor0215/hassio-xfinity-usage/issues/8#event-13071488135>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACTWADBGMYCMDATS3CQJU73ZGC3LPAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TCNBYHAYTGNI>.

You are receiving this because you authored the thread.

— Reply to this email directly, view it on GitHub https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2153612032, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7JXGOYMZ5QZBACDLMYB7LZGD27XAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGYYTEMBTGI . You are receiving this because you modified the open/close state.Message ID: @.***>

kartcon commented 3 months ago

Bryan,Good morning. When I added back the standard version of the app the title still say - Dev Branch. The two pics should help make this clear. In the first, the Dev branch is installed and partially visible behind the link to install the standard version. The second pic shows both versions installed, both showing a title of Dev Branch. I didn’t test any further as it was difficult to know exactly which version I was currently using. Art DavisSent from my iPadOn Jun 7, 2024, at 12:25 PM, thor0215 @.***> wrote: Art,

That looks good. Based on your log the list attempt failed to see the full

usage table, but on the next attempts it was successful. This new code is

working much better than even some of the previous attempts to fix it, so

that's good. I did release this new code to the stable branch, so if this

dev version is continuing to be stable for you, I would recommend switching

to the original release which is now version 0.0.10,

https://github.com/thor0215/hassio-xfinity-usage.

On Thu, Jun 6, 2024 at 7:10 PM Art Davis @.***> wrote:

Bryan,

Here’s a chunk of logs from 10.1. Not sure if it’s normal or something you

want to look into. Seems to be working fine.

Art

2024-06-06T18:13:51.925 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:14:00.966 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:01.414 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:08.873 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:21.108 INFO: Updating Session Details

2024-06-06T18:14:22.679 INFO: Updating Plan Details

2024-06-06T18:14:24.271 INFO: Updating Usage Details

2024-06-06T18:15:09.400 WARNING: Retrying main.run_playwright in 1.0

seconds as it raised AssertionError: Locator expected to be visible

Actual value: <element(s) not found>

Call log:

LocatorAssertions.to_be_visible with timeout 45000ms

  • waiting for

get_by_test_id("planRowDetail").filter(has=locator("prism-button[href=\"

https://customer.xfinity.com/#/devices#usage\"]"))

.

2024-06-06T18:15:11.814 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:24.715 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:25.320 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:30.998 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:42.996 INFO: Updating Session Details

2024-06-06T18:15:44.749 INFO: Updating Plan Details

2024-06-06T18:15:47.105 INFO: Updating Usage Details

2024-06-06T18:15:47.331 INFO: Usage data retrieved and processed

2024-06-06T18:15:47.332 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:47.362 INFO: Updating Sensor File

2024-06-06T18:15:49.256 INFO: Sleeping for 900 seconds

2024-06-06T18:30:50.249 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:00.187 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:00.810 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:06.328 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:17.901 INFO: Updating Session Details

2024-06-06T18:31:19.345 INFO: Updating Plan Details

2024-06-06T18:31:21.368 INFO: Updating Usage Details

2024-06-06T18:31:23.088 INFO: Usage data retrieved and processed

2024-06-06T18:31:23.089 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:23.135 INFO: Updating Sensor File

2024-06-06T18:31:24.998 INFO: Sleeping for 900 seconds

On Jun 6, 2024, at 3:40 PM, thor0215 @.***> wrote:

Closed #8 https://github.com/thor0215/hassio-xfinity-usage/issues/8

as completed via #10 <

https://github.com/thor0215/hassio-xfinity-usage/pull/10>.

Reply to this email directly, view it on GitHub <

https://github.com/thor0215/hassio-xfinity-usage/issues/8#event-13071488135>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACTWADBGMYCMDATS3CQJU73ZGC3LPAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TCNBYHAYTGNI>.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub

https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2153612032,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AL7JXGOYMZ5QZBACDLMYB7LZGD27XAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGYYTEMBTGI

.

You are receiving this because you modified the open/close state.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

thor0215 commented 3 months ago

Art, Thanks for catching that. I've pushed a minor update to address the branding of stable vs dev.

On Sat, Jun 8, 2024 at 7:36 AM Art Davis @.***> wrote:

Bryan,Good morning. When I added back the standard version of the app the title still say - Dev Branch. The two pics should help make this clear. In the first, the Dev branch is installed and partially visible behind the link to install the standard version. The second pic shows both versions installed, both showing a title of Dev Branch. I didn’t test any further as it was difficult to know exactly which version I was currently using. Art DavisSent from my iPadOn Jun 7, 2024, at 12:25 PM, thor0215 @.***> wrote: Art,

That looks good. Based on your log the list attempt failed to see the full

usage table, but on the next attempts it was successful. This new code is

working much better than even some of the previous attempts to fix it, so

that's good. I did release this new code to the stable branch, so if this

dev version is continuing to be stable for you, I would recommend switching

to the original release which is now version 0.0.10,

https://github.com/thor0215/hassio-xfinity-usage.

On Thu, Jun 6, 2024 at 7:10 PM Art Davis @.***> wrote:

Bryan,

Here’s a chunk of logs from 10.1. Not sure if it’s normal or something you

want to look into. Seems to be working fine.

Art

2024-06-06T18:13:51.925 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:14:00.966 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:01.414 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:08.873 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:21.108 INFO: Updating Session Details

2024-06-06T18:14:22.679 INFO: Updating Plan Details

2024-06-06T18:14:24.271 INFO: Updating Usage Details

2024-06-06T18:15:09.400 WARNING: Retrying main.run_playwright in 1.0

seconds as it raised AssertionError: Locator expected to be visible

Actual value: <element(s) not found>

Call log:

LocatorAssertions.to_be_visible with timeout 45000ms

  • waiting for

get_by_test_id("planRowDetail").filter(has=locator("prism-button[href=\"

https://customer.xfinity.com/#/devices#usage\"]"))

.

2024-06-06T18:15:11.814 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:24.715 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:25.320 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:30.998 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:42.996 INFO: Updating Session Details

2024-06-06T18:15:44.749 INFO: Updating Plan Details

2024-06-06T18:15:47.105 INFO: Updating Usage Details

2024-06-06T18:15:47.331 INFO: Usage data retrieved and processed

2024-06-06T18:15:47.332 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:47.362 INFO: Updating Sensor File

2024-06-06T18:15:49.256 INFO: Sleeping for 900 seconds

2024-06-06T18:30:50.249 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:00.187 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:00.810 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:06.328 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:17.901 INFO: Updating Session Details

2024-06-06T18:31:19.345 INFO: Updating Plan Details

2024-06-06T18:31:21.368 INFO: Updating Usage Details

2024-06-06T18:31:23.088 INFO: Usage data retrieved and processed

2024-06-06T18:31:23.089 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:23.135 INFO: Updating Sensor File

2024-06-06T18:31:24.998 INFO: Sleeping for 900 seconds

On Jun 6, 2024, at 3:40 PM, thor0215 @.***> wrote:

Closed #8 https://github.com/thor0215/hassio-xfinity-usage/issues/8

as completed via #10 <

https://github.com/thor0215/hassio-xfinity-usage/pull/10>.

Reply to this email directly, view it on GitHub <

https://github.com/thor0215/hassio-xfinity-usage/issues/8#event-13071488135>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACTWADBGMYCMDATS3CQJU73ZGC3LPAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TCNBYHAYTGNI>.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub

< https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2153612032>,

or unsubscribe

< https://github.com/notifications/unsubscribe-auth/AL7JXGOYMZ5QZBACDLMYB7LZGD27XAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGYYTEMBTGI>

.

You are receiving this because you modified the open/close state.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2156021366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7JXGKS27ENWZZJ64DXBR3ZGL3E7AVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGAZDCMZWGY . You are receiving this because you modified the open/close state.Message ID: @.***>

kartcon commented 3 months ago

Bryan,Did the newest update and all looks good. I’ve stopped the Dev branch and started the Std version. Initial logs look good. Thanks for your help, and please feel free to reach out if you ever need beta testing for anything.Art DavisSent from my iPadOn Jun 8, 2024, at 8:53 AM, thor0215 @.***> wrote: Art, Thanks for catching that. I've pushed a minor update to address the

branding of stable vs dev.

On Sat, Jun 8, 2024 at 7:36 AM Art Davis @.***> wrote:

Bryan,Good morning. When I added back the standard version of the app the

title still say - Dev Branch. The two pics should help make this clear. In

the first, the Dev branch is installed and partially visible behind the

link to install the standard version. The second pic shows both versions

installed, both showing a title of Dev Branch. I didn’t test any further as

it was difficult to know exactly which version I was currently using. Art

DavisSent from my iPadOn Jun 7, 2024, at 12:25 PM, thor0215 @.***>

wrote:

Art,

That looks good. Based on your log the list attempt failed to see the full

usage table, but on the next attempts it was successful. This new code is

working much better than even some of the previous attempts to fix it, so

that's good. I did release this new code to the stable branch, so if this

dev version is continuing to be stable for you, I would recommend

switching

to the original release which is now version 0.0.10,

https://github.com/thor0215/hassio-xfinity-usage.

On Thu, Jun 6, 2024 at 7:10 PM Art Davis @.***> wrote:

Bryan,

Here’s a chunk of logs from 10.1. Not sure if it’s normal or something

you

want to look into. Seems to be working fine.

Art

2024-06-06T18:13:51.925 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:14:00.966 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:01.414 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:08.873 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:21.108 INFO: Updating Session Details

2024-06-06T18:14:22.679 INFO: Updating Plan Details

2024-06-06T18:14:24.271 INFO: Updating Usage Details

2024-06-06T18:15:09.400 WARNING: Retrying main.run_playwright in 1.0

seconds as it raised AssertionError: Locator expected to be visible

Actual value: <element(s) not found>

Call log:

LocatorAssertions.to_be_visible with timeout 45000ms

  • waiting for

get_by_test_id("planRowDetail").filter(has=locator("prism-button[href=\"

https://customer.xfinity.com/#/devices#usage\"]"))

.

2024-06-06T18:15:11.814 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:24.715 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:25.320 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:30.998 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:42.996 INFO: Updating Session Details

2024-06-06T18:15:44.749 INFO: Updating Plan Details

2024-06-06T18:15:47.105 INFO: Updating Usage Details

2024-06-06T18:15:47.331 INFO: Usage data retrieved and processed

2024-06-06T18:15:47.332 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:47.362 INFO: Updating Sensor File

2024-06-06T18:15:49.256 INFO: Sleeping for 900 seconds

2024-06-06T18:30:50.249 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:00.187 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:00.810 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:06.328 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:17.901 INFO: Updating Session Details

2024-06-06T18:31:19.345 INFO: Updating Plan Details

2024-06-06T18:31:21.368 INFO: Updating Usage Details

2024-06-06T18:31:23.088 INFO: Usage data retrieved and processed

2024-06-06T18:31:23.089 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:23.135 INFO: Updating Sensor File

2024-06-06T18:31:24.998 INFO: Sleeping for 900 seconds

On Jun 6, 2024, at 3:40 PM, thor0215 @.***> wrote:

Closed #8 https://github.com/thor0215/hassio-xfinity-usage/issues/8

as completed via #10 <

https://github.com/thor0215/hassio-xfinity-usage/pull/10>.

Reply to this email directly, view it on GitHub <

https://github.com/thor0215/hassio-xfinity-usage/issues/8#event-13071488135>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACTWADBGMYCMDATS3CQJU73ZGC3LPAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TCNBYHAYTGNI>.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub

<

https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2153612032>,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AL7JXGOYMZ5QZBACDLMYB7LZGD27XAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGYYTEMBTGI>

.

You are receiving this because you modified the open/close state.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are

receiving this because you authored the thread.Message ID: @.***>

Reply to this email directly, view it on GitHub

https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2156021366,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AL7JXGKS27ENWZZJ64DXBR3ZGL3E7AVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGAZDCMZWGY

.

You are receiving this because you modified the open/close state.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

kartcon commented 1 month ago

Just FYI. I did the standard update today and got this error. Tried again without making a backup first and same error. See screen capture. Let me know if there’s anything I can do to help.ArtArt DavisSent from my iPadOn Jun 8, 2024, at 9:26 AM, Art Davis @.> wrote:Bryan,Did the newest update and all looks good. I’ve stopped the Dev branch and started the Std version. Initial logs look good. Thanks for your help, and please feel free to reach out if you ever need beta testing for anything.Art DavisSent from my iPadOn Jun 8, 2024, at 8:53 AM, thor0215 @.> wrote: Art, Thanks for catching that. I've pushed a minor update to address the

branding of stable vs dev.

On Sat, Jun 8, 2024 at 7:36 AM Art Davis @.***> wrote:

Bryan,Good morning. When I added back the standard version of the app the

title still say - Dev Branch. The two pics should help make this clear. In

the first, the Dev branch is installed and partially visible behind the

link to install the standard version. The second pic shows both versions

installed, both showing a title of Dev Branch. I didn’t test any further as

it was difficult to know exactly which version I was currently using. Art

DavisSent from my iPadOn Jun 7, 2024, at 12:25 PM, thor0215 @.***>

wrote:

Art,

That looks good. Based on your log the list attempt failed to see the full

usage table, but on the next attempts it was successful. This new code is

working much better than even some of the previous attempts to fix it, so

that's good. I did release this new code to the stable branch, so if this

dev version is continuing to be stable for you, I would recommend

switching

to the original release which is now version 0.0.10,

https://github.com/thor0215/hassio-xfinity-usage.

On Thu, Jun 6, 2024 at 7:10 PM Art Davis @.***> wrote:

Bryan,

Here’s a chunk of logs from 10.1. Not sure if it’s normal or something

you

want to look into. Seems to be working fine.

Art

2024-06-06T18:13:51.925 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:14:00.966 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:01.414 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:08.873 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:14:21.108 INFO: Updating Session Details

2024-06-06T18:14:22.679 INFO: Updating Plan Details

2024-06-06T18:14:24.271 INFO: Updating Usage Details

2024-06-06T18:15:09.400 WARNING: Retrying main.run_playwright in 1.0

seconds as it raised AssertionError: Locator expected to be visible

Actual value: <element(s) not found>

Call log:

LocatorAssertions.to_be_visible with timeout 45000ms

  • waiting for

get_by_test_id("planRowDetail").filter(has=locator("prism-button[href=\"

https://customer.xfinity.com/#/devices#usage\"]"))

.

2024-06-06T18:15:11.814 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:24.715 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:25.320 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:30.998 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:15:42.996 INFO: Updating Session Details

2024-06-06T18:15:44.749 INFO: Updating Plan Details

2024-06-06T18:15:47.105 INFO: Updating Usage Details

2024-06-06T18:15:47.331 INFO: Usage data retrieved and processed

2024-06-06T18:15:47.332 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:15:47.362 INFO: Updating Sensor File

2024-06-06T18:15:49.256 INFO: Sleeping for 900 seconds

2024-06-06T18:30:50.249 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:00.187 INFO: Loading Internet Usage (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:00.810 INFO: Entering username (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:06.328 INFO: Entering password (URL:

https://login.xfinity.com/login)

2024-06-06T18:31:17.901 INFO: Updating Session Details

2024-06-06T18:31:19.345 INFO: Updating Plan Details

2024-06-06T18:31:21.368 INFO: Updating Usage Details

2024-06-06T18:31:23.088 INFO: Usage data retrieved and processed

2024-06-06T18:31:23.089 INFO: Updating Sensor: sensor.xfinity_usage

2024-06-06T18:31:23.135 INFO: Updating Sensor File

2024-06-06T18:31:24.998 INFO: Sleeping for 900 seconds

On Jun 6, 2024, at 3:40 PM, thor0215 @.***> wrote:

Closed #8 https://github.com/thor0215/hassio-xfinity-usage/issues/8

as completed via #10 <

https://github.com/thor0215/hassio-xfinity-usage/pull/10>.

Reply to this email directly, view it on GitHub <

https://github.com/thor0215/hassio-xfinity-usage/issues/8#event-13071488135>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACTWADBGMYCMDATS3CQJU73ZGC3LPAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TCNBYHAYTGNI>.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub

<

https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2153612032>,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AL7JXGOYMZ5QZBACDLMYB7LZGD27XAVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGYYTEMBTGI>

.

You are receiving this because you modified the open/close state.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are

receiving this because you authored the thread.Message ID: @.***>

Reply to this email directly, view it on GitHub

https://github.com/thor0215/hassio-xfinity-usage/issues/8#issuecomment-2156021366,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AL7JXGKS27ENWZZJ64DXBR3ZGL3E7AVCNFSM6AAAAABIP57ZAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGAZDCMZWGY

.

You are receiving this because you modified the open/close state.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>