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

Error -1012 trying to turn on Tapo P105 #21

Open
L1ght94 opened this issue Feb 6, 2024 · 2 comments · May be fixed by #29
Open

Error -1012 trying to turn on Tapo P105 #21

L1ght94 opened this issue Feb 6, 2024 · 2 comments · May be fixed by #29

Comments

@L1ght94
Copy link

L1ght94 commented Feb 6, 2024

I have a Tapo P105 with following information:
Hardware Version: 1.0.0
Firmware Version: 1.4.1

I can execute .getDeviceInfo() and .get_status(), but if I try to execute .turnOn(), I get
Exception: Error Code: -1012

How do I solve this?

@TomohiroUchida
Copy link

Hello , I'm facing same issue now.
p100.getDeviceInfo() is OK.
When I execute p100.turnOn() , I got "Error: {'error_code': -1012}".
My device is ,
'fw_ver': '1.4.1 Build 20231103 Rel. 36519',
'hw_ver': '1.0.0',
'type': 'SMART.TAPOPLUG',
'model': 'P105',
.

I hope it will be work fine.

yabeenico pushed a commit to yabeenico/TapoP100 that referenced this issue May 26, 2024
@yabeenico
Copy link

yabeenico commented May 26, 2024

I found a workaround for this problem and created the PR (#29).
P105 requires terminalUUID in payload set to the mac address of the device.
You can temporary resolve the problem by changing code like following until the PR merged.

before:

payload = {"method": method}

after:

        payload = {"method": method, "terminalUUID": "AB-CD-EF-01-23-45"} 

You can get the device mac address in Tapo App or p100.getDeviceInfo().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants