Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tapocontrol] Problem connecting to Tapo P300 Power Strip after firmware update #15940

Closed
nelsonaponte opened this issue Nov 20, 2023 · 2 comments
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@nelsonaponte
Copy link

nelsonaponte commented Nov 20, 2023

I just updated my TP300 to firmware 1.0.13 Build 230925 Rel. 1520200 and the binding can no longer communicate with it. Here is the error message:

22:47:32.156 [TRACE] [trol.internal.api.TapoDeviceConnector] - (tapocontrol:P300:98533:ps1) sending login to url 'http://XX.XX.XX.XX/app' 22:47:32.157 [TRACE] [ontrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P300:98533:ps1) create handhsake with payload: {"method":"handshake","params":{"key":"-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCB2F9NKFJiXk3axAbAefNDr/Q/9bk1sFnvXZO6\r\n5zZHRmqMN4SNBlVFGszwmnu59DH9uQusjpH0/tE8iXYwBru6eHctrcFcUSdT+vb\r\nAfOb4H4qQhoKOHmK92y07ujMusxEIadQXwIDAQAB\n-----END PUBLIC KEY-----\n"},"requestTimeMils":1700516852157} 22:47:32.159 [TRACE] [ontrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P300:98533:ps1) sendRequest to 'http://XX.XX.XX.XX/app' with cookie '' 22:47:32.170 [DEBUG] [ontrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P300:98533d:ps1) device returns errorcode '1003' 22:47:32.172 [TRACE] [ontrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P300:98533:ps1) not logged in 22:47:32.173 [DEBUG] [apocontrol.internal.device.TapoDevice] - (tapocontrol:P300:98533:ps1) startScheduler: create job with interval : 30 SECONDS

I tried deleting the Thing and creating it again by adding the Thing discovered by the scan (yes, it is found) or adding it manually but the problem persisted.
Tapo P115 plugs have not been updated and continue working fine.

Environment

  • OH 4.0.4
  • OS: CentOS
@nelsonaponte nelsonaponte added the bug An unexpected problem or unintended behavior of an add-on label Nov 20, 2023
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/problem-communicating-with-tapo-p300-after-firmware-update/151404/5

@nelsonaponte
Copy link
Author

Fixed with org.openhab.binding.tapocontrol-4.0.4-SNAPSHOT.jar from 09/25/2023
https://github.com/wildcs/oh3_compiled-addons/tree/tapocontrol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

2 participants