-
Notifications
You must be signed in to change notification settings - Fork 141
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
Unable to setup a session/ handshake with TpLink Tapo bulb #123
Comments
Same problem here. 2x Tapo L530 |
It appears a recent firmware update has broken any integration. https://www.infosecurity-magazine.com/news/tplink-smart-bulb-wifi-passwords/ |
So there is no way to establish communication with the bulb until there is a new firmware update to fix it? |
Another package has fixed this: https://github.com/petretiandrea/plugp100/blob/main/plugp100/protocol/klap_protocol.py#L96 |
@timothy-holmes do you have any example code on how I can perform actions like color and brightness change, on and off? Thank you. |
I'm new to python and have little experience in coding, however through Tapo L530, a microphone and this libraries I built a system that give light feedback to control the noise generated by the customers of winery. This system represented an important point of equilibrium between the winery and my condo after month of frictions.. but it is now broken! Is there any chance that these libraries will be fixed? Or alternatively can anybody suggest me an alternative? Thank you very much for any help! |
Hi , I have the exact same response for the P100 plug device. Until today, 2023/09/12, I was able to utilize the package and create a wrapper class to control the switch. Now I get the same error when executing the handshake() function, as the JSON response I get is: {'error_code' : 1003} @fishbigger , I hope it is okay to tag you for this >.< |
I haven't tested this so may have some errrors, but it would probably go something like: from plugp100.api.tapo_client import TapoClient, AuthCredential
from plugp100.api.light_device import LightDevice
credential = AuthCredential('<tapo_email>', '<tapo_password>')
client = await TapoClient.connect(credential, '<ip_address>')
light = LightDevice(client, "<device-ip>")
await light.on()
await light.off()
await light.set_hue_saturation(hue=120, saturation=100) (of course, you'll need to install it beforehand with |
Dear, @timothy-holmes, |
Tried getting plugp100 working using the code from @timothy-holmes, but no luck. Do we know if someone is planning to update the existing PyP100 module so that this works again? Thank you! |
Im also interester if someone could fix this issue asap. KeyError result also here. |
Same thing here, getting KeyError, and I've already bought 5 of them to control an escape room :'D Some hero of coding please help us! |
I got it to work by using this library: https://github.com/petretiandrea/plugp100/tree/main Just rebember to use python 3.9. And when you get TypeError check 3rd topic from Issues page. |
Hi, in general I think that lib is dead, author is not responding, many PRs are hanging without response from @fishbigger |
Hello, I forked the project and added the new auth support. Let me know if it works for you. |
Hi @almottier, Thanks for the great work, but please check again PyL530.py and PyP110.py, it says:
If I install it with pip, there's no TapoP100 package.
|
Hello @m-mihaly , |
Thank you @almottier!!! All my P100's are working again... both hw version 1.20.0 + fw 1.5.5, and hw version 2.0 + fw 1.2.1 are all working. Thank you!! |
Thank you @almottier for fixing this. I really appreciate it. |
I checked the response and it happens to be:
{'error_code': 1003}
I am trying to set a connection with my TpLink Tapo L530 bulb and run this code to turn it on and off:
How do I tackle this issue?
The text was updated successfully, but these errors were encountered: