DaveGut / DEPRECATED-TP-Link-SmartThings

SmartThings TP-Link (Kasa) Repository
100 stars 193 forks source link

No response in Get or Update Kasa Token screen #20

Closed utpatrick closed 5 years ago

utpatrick commented 5 years ago

Tried to enter the Kasa account credentials with the Done button. However, no response is returned when clicked on the Get or Update Kasa Token tab. The scheduled job is shown as below:

Steps to reproduce the behavior:

  1. Go to Select Installation Type -> Kasa Account
  2. Type in Kasa Email and Account Password (Password seems to auto fill-in no matter what I typed)
  3. Click on Get or Update Kasa Token
  4. Loading icon showed but nothing happened, see event pending:
getToken 2019-04-30 10:30:00 PM EDT   PENDING 0 30 2 ? * WED UTC

1:13:01 AM: info Waiting on events...

DaveGut commented 5 years ago

Corrected????

Typically, it is caused by autofill of the password. Something I can not control.

I need logs to better address.

utpatrick commented 5 years ago

Can you direct me where to get a full log? I only see the getToken pending and no more information, thanks!

DaveGut commented 5 years ago

By turning on logging on the IDE.

From: UTPatrick notifications@github.com Sent: Thursday, May 9, 2019 13:26 To: DaveGut/TP-Link-SmartThings TP-Link-SmartThings@noreply.github.com Cc: David Gutheinz djgutheinz@outlook.com; Comment comment@noreply.github.com Subject: Re: [DaveGut/TP-Link-SmartThings] No response in Get or Update Kasa Token screen (#20)

Can you direct me where to get a full log? I only see the getToken pending and no more information, thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDaveGut%2FTP-Link-SmartThings%2Fissues%2F20%23issuecomment-491014270&data=02%7C01%7C%7C36378f7cbd5f4df67d7f08d6d4abb7bf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636930231329821335&sdata=nfnCjg%2BEr0Eq74MJNUlECkF7ZGVYeegLglXiwmyuZQQ%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGAI4MY4O5GP5VVKMKDKZITPURUBTANCNFSM4HIKSUZQ&data=02%7C01%7C%7C36378f7cbd5f4df67d7f08d6d4abb7bf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636930231329831333&sdata=1yQbg54QLqzIJaE0CabzoJGM7AkDCGkpUK0R7YkRVtI%3D&reserved=0.

utpatrick commented 5 years ago

Seems like I can't getToken from the kasaAuthenticationPage:

cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:40 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: error java.lang.NullPointerException: Cannot get property 'id' on null object @line 507 (getToken) f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: trace 4.0.04 getToken lordbruce727@gmail.com f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: trace 4.0.04 flowDirector flowType = updateKasaToken f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: trace 4.0.04 welcomePage: installType = Kasa Account f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: error java.lang.NullPointerException: Cannot get property 'id' on null object @line 507 (getToken) f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: trace 4.0.04 getToken lordbruce727@gmail.com f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: trace 4.0.04 flowDirector flowType = updateKasaToken f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:38 PM: trace 4.0.04 welcomePage: installType = Kasa Account f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:37 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:37 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:35 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:28 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:24 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:24 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:21 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:05:13 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:04:59 PM: trace 4.0.04 kasaAuthenticationPage f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:04:59 PM: trace 4.0.04 startPage: installType = Kasa Account f7cdeb48-2b69-4cce-af99-409c1b39dba7 12:04:53 PM: trace 4.0.04 startPage: installType = null 25a8e4b1-9bd6-4388-8815-a595809b629f 12:04:53 PM: trace getPhrases(), state.welcomeIssue = null 25a8e4b1-9bd6-4388-8815-a595809b629f 12:04:45 PM: trace getPhrases(), state.welcomeIssue = null 25a8e4b1-9bd6-4388-8815-a595809b629f 12:04:28 PM: trace getPhrases(), state.welcomeIssue = null

utpatrick commented 5 years ago

hey Dave, I think i need to get a smartthing hub installed in order to make this line work:

terminalUUID: "${hub.id}"

i'll update once I get the device in place, thanks!

DaveGut commented 5 years ago

Yes.

Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone

-------- Original message -------- From: UTPatrick notifications@github.com Date: 5/9/19 14:21 (GMT-06:00) To: DaveGut/TP-Link-SmartThings TP-Link-SmartThings@noreply.github.com Cc: David Gutheinz djgutheinz@outlook.com, Comment comment@noreply.github.com Subject: Re: [DaveGut/TP-Link-SmartThings] No response in Get or Update Kasa Token screen (#20)

hey Dave, I think i need to get a smartthing hub installed in order to make this line work:

terminalUUID: "${hub.id}"

i'll update once I get the device in place, thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDaveGut%2FTP-Link-SmartThings%2Fissues%2F20%23issuecomment-491032768&data=02%7C01%7C%7C155ef5079a5f4e4025a208d6d4b39065%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636930265010932178&sdata=lzlGE4V3b2hgcBzDJW0HORbD%2FabhtB7Z06n6j7OoyMQ%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGAI4M6OJE73PAEWSLR6JWDPUR2UHANCNFSM4HIKSUZQ&data=02%7C01%7C%7C155ef5079a5f4e4025a208d6d4b39065%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636930265010942186&sdata=0lrUHGWcT8LfErPS7uclpIbvzzYUyhq6jVJJqnpq3nE%3D&reserved=0.

DaveGut commented 5 years ago

Unsupported Capability.