Closed razor05 closed 1 month ago
Try the tapo integration. You will need to select install kasa hub and .... at top of app.
Dave Gutheinz
From: razor05 @.> Sent: Sunday, July 21, 2024 9:14:58 PM To: DaveGut/HubitatActive @.> Cc: Subscribed @.***> Subject: [DaveGut/HubitatActive] EP25 Plug Cannot Add (Issue #46)
My Kasa EP25 plugs were not responding anymore, and so I tried to remove and re-add; but when scanning with the deprecated community app for Kasa integration (as that is what I had to do before), they are no longer returned so they can be added. My older Kasa plugs do.
I tried removing the community app and using the built-in app, but it behaved the same way.
It does appear that Home Assistant was updated to allow the EP25 plugs to be installed - so I was wondering if this is something that can be done in Hubitat as well?
— Reply to this email directly, view it on GitHubhttps://github.com/DaveGut/HubitatActive/issues/46, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGAI4M62V54IZ5XKWZJDGZTZNRTKFAVCNFSM6AAAAABLHMTI36VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDCNZVGYZDOMQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Try the tapo integration. You will need to select install kasa hub and .... at top of app.
Dave Gutheinz
I tried that and it did not work either.
I did note in the debug log that it did fine the plugs, but has an error:
java.lang.IllegalArgumentException: null on line 1059 (method getSmartLanData)
I also saw in the Home Assistant repository that there was an issue last week with authentication, but it was fixed in the latest build of Home Assistant. Not sure if this is related.
I tried that and it did not work either.
I did note in the debug log that it did fine the plugs, but has an error:
java.lang.IllegalArgumentException: null on line 1059 (method getSmartLanData)
I also saw in the Home Assistant repository that there was an issue last week with authentication, but it was fixed in the latest build of Home Assistant. Not sure if this is related.
Figured that the issue above might have been related to the password not being encrypted, so I tried that. It didn't seem to work (the password was visible in plain text in the debug log)--but the error above didn't occur again, but now it seems like the credentials were not accepted (seems like the same issue that was documented in Home Assistant a few weeks ago):
app:7462024-07-27 03:16:25.447 PMwarntapo_device_install: [method:getAllSmartDeviceData, status:respError, data:[error:credentialError, method:getKlapDeviceData]] app:7462024-07-27 03:16:25.444 PMwarntapo_device_install: [method:getKlapDeviceData, baseUrl:http://192.168.../app, sessionData:[protocol:KLAP, handshakeValidated:false, status:ERROR], respStatus:FAILED, reason:Login process failure. Check credentials.] app:7462024-07-27 03:16:25.438 PMinfotapo_device_install: [method:klapLogin, handshake:[method:klapHandshake, localSeed:[33, 104...], uri:http://192.168.../app/handshake1, localHash:[-50, 26,...], errorData:Failed Hash Validation, validated:false]] app:7462024-07-27 03:16:25.192 PMwarntapo_device_install: [method:getAllSmartDeviceData, status:respError, data:[error:credentialError, method:getKlapDeviceData]] app:7462024-07-27 03:16:25.188 PMwarntapo_device_install: [method:getKlapDeviceData, baseUrl:http://192.168.../app, sessionData:[protocol:KLAP, handshakeValidated:false, status:ERROR], respStatus:FAILED, reason:Login process failure. Check credentials.]
Need information:
Observation: You are not on the current Hubitat integration version (2.3.7b). Please update.
Known issue: Tapo Cameras (not support by Integration) can cause an error in the method getDiscData due to recent firmware updates. If this occurs, unplug your Tapo Cameras and try again. (TAPO is updating the camera security. It is messed up and part of that update impacts my code.) Next version will have this error corrected by ignoring all data from cameras.)
Example getDiscData log: tapo_device_install-2.3.7b: [method:getDiscData, type:SMART.TAPOPLUG, model:P125M(US), baseUrl:http://192.168.50.227:80/app, dni:48225XXXXXA10, devId:630c367e05438181fXXXXXX669aa1c7b, protocol:KLAP, status:OK]
David Gutheinz 214-538-0960
From: razor05 @.> Sent: Saturday, July 27, 2024 7:26 PM To: DaveGut/HubitatActive @.> Cc: David Gutheinz @.>; Comment @.> Subject: Re: [DaveGut/HubitatActive] EP25 Plug Cannot Add (Issue #46)
I tried that and it did not work either.
I did note in the debug log that it did fine the plugs, but has an error:
java.lang.IllegalArgumentException: null on line 1059 (method getSmartLanData)
I also saw in the Home Assistant repository that there was an issue last week with authentication, but it was fixed in the latest build of Home Assistant. Not sure if this is related.
Figured that the issue above might have been related to the password not being encrypted, so I tried that. It didn't seem to work (the password was visible in plain text in the debug log)--but the error above didn't occur again, but now it seems like the credentials were not accepted (seems like the same issue that was documented in Home Assistant a few weeks ago):
app:7462024-07-27 03:16:25.447 PMwarntapo_device_install: [method:getAllSmartDeviceData, status:respError, data:[error:credentialError, method:getKlapDeviceData]] app:7462024-07-27 03:16:25.444 PMwarntapo_device_install: [method:getKlapDeviceData, baseUrl:http://192.168.../app, sessionData:[protocol:KLAP, handshakeValidated:false, status:ERROR], respStatus:FAILED, reason:Login process failure. Check credentials.] app:7462024-07-27 03:16:25.438 PMinfotapo_device_install: [method:klapLogin, handshake:[method:klapHandshake, localSeed:[33, 104...], uri:http://192.168.../app/handshake1, localHash:[-50, 26,...], errorData:Failed Hash Validation, validated:false]] app:7462024-07-27 03:16:25.192 PMwarntapo_device_install: [method:getAllSmartDeviceData, status:respError, data:[error:credentialError, method:getKlapDeviceData]] app:7462024-07-27 03:16:25.188 PMwarntapo_device_install: [method:getKlapDeviceData, baseUrl:http://192.168.../app, sessionData:[protocol:KLAP, handshakeValidated:false, status:ERROR], respStatus:FAILED, reason:Login process failure. Check credentials.]
- Reply to this email directly, view it on GitHubhttps://github.com/DaveGut/HubitatActive/issues/46#issuecomment-2254293182, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGAI4M2XYVSOIDGQFWYRKCLZOQ3ABAVCNFSM6AAAAABLHMTI36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGI4TGMJYGI. You are receiving this because you commented.Message ID: @.***>
Requested information:
1.) See: https://github.com/home-assistant/core/issues/121977
And: https://github.com/home-assistant/core/pull/122089
2.) HW V2.6 and FW 1.0.3 Build 145252
3.) debug log: app:7502024-07-29 12:29:17.714 AMdebugtapo_device_install: [method:getDiscData, type:SMART.KASAPLUG, model:EP25(US), baseUrl:http://192.168.68.160:80/app, dni:50XXXXXXX861, devId:ff32fXXXXXXXXXXXX70a, ip:192.168.68.160, port:80, protocol:KLAP, status:OK]
And: https://github.com/home-assistant/core/pull/122089. : My code already does this. There is a periodic refresh of each device and part of the error processing works this. However, this issue DOES NOT impact my app at all.
See: https://github.com/home-assistant/core/issues/121977: This appears to be something in the specific user's home-assistant configuration. There have been zero updates to the code and the issue is resolved.
I realized that my phone/app auto capitalized the first letter of my username/email; but in the Kasa/TP apps it was all lower case.
When I updated to fully match the case everything worked.
So sorry for not noticing that before.
This issue can be closed - user error.
It is ok. I now have another item to mention.
Dave Gutheinz
From: razor05 @.> Sent: Monday, July 29, 2024 6:52:16 PM To: DaveGut/HubitatActive @.> Cc: David Gutheinz @.>; Comment @.> Subject: Re: [DaveGut/HubitatActive] EP25 Plug Cannot Add (Issue #46)
I realized that my phone/app auto capitalized the first letter of my username/email; but in the Kasa/TP apps it was all lower case.
When I updated to fully match the case everything worked.
So sorry for not noticing that before.
This issue can be closed - user error.
— Reply to this email directly, view it on GitHubhttps://github.com/DaveGut/HubitatActive/issues/46#issuecomment-2257207814, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGAI4M2ZXWAIL3L3JNMWC2TZO3ITBAVCNFSM6AAAAABLHMTI36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGIYDOOBRGQ. You are receiving this because you commented.Message ID: @.***>
My Kasa EP25 plugs were not responding anymore, and so I tried to remove and re-add; but when scanning with the deprecated community app for Kasa integration (as that is what I had to do before), they are no longer returned so they can be added. My older Kasa plugs do.
I tried removing the community app and using the built-in app, but it behaved the same way.
It does appear that Home Assistant was updated to allow the EP25 plugs to be installed - so I was wondering if this is something that can be done in Hubitat as well?