This might be a newbie HA question but why are my Tapo devices showing up as entities rather than devices? Is there any way I can achieve that?
In case it’s useful in diagnosing the ‘invalid credentials’ problem, I moved from a Docker HA Core environment to a Virtual Machine HA Supervised environment (with a different IP) and the Tapo devices worked first time.
So I have one P100 v1.0 and P100 v1.2 … I am right now looking for the external API from Tapo and they are completed different requests. It’s super strange that with a new product they are already creating a completely new way of doing the requests
The multipleRequest method is used by the Tapo cameras as well, but they do use another simple way as well. Try this new method on the old plug and the old method on the new plug. You will might see that they both work.
Successfully installed and running on my Home Assistant server that runs on my Synology control for two plugs.
Initial attempt failed with the PyP100 error, simply copying tapo_p100_control folder into the custom_components folder and restarting the server before adding the lines to configuration.yaml solved it.
Now how do I create an automation? The Tapo plugs do not show up as devices when trying to create an action.
I’m doomed. I bought a P105 assuming that it will work since I saw a TP-Link documentation a long time ago. Now P100 is still a work in progress. I tried it and failed. It says that the credentials are wrong.
But I was able to login via the cloud api using postman and see all my devices registered via the cloud.
The thing that hinders me and got me stumped is in the login() function.
I reviewed the code and saw that this part depends on the encryption that was used by the app. I am not sure if the current PyP100 is aligned with the current Tapo App or I’m doing something wrong.
But I think it’s safe to assume that the encryption step of the app does not need to know the type of the device nor the model. I want to reverse engineer the app but I’m still hoping someone here still has the answer.
I have Home Assistant on Pi Zero, when installing the Tapo integration I get the error Platform error switch.tapo_p100_control - No module named ‘PyP100’, I see that running pip3 install PyP100 would fix this but as this is a pre install image I cant install python. Could anone advise on this.
I had this issue. Initial attempt failed with the PyP100 error. Deleted the installation and the deleted the lines from my yams file, restart. Then began again, simply copying tapo_p100_control folder into the custom_components folder and restarting the server before adding the lines to configuration.yaml solved it.
Thank you! I had the same problem as @Richard_Erbe, running hassio on Rpi3B and that fixed it. Looks like order matters. For error no module found - PyP100, I copies files from repo Github PyP100, to the same folder as custom component:
EDIT: @fishbigger thank you for all of your amazing work!
I’ve been monitoring the component for some time now and I saw some behaviours that are quite problematic:
Tapo devices gets disconnected from time to time HA
This resulted my aircon to run for hours lol
Not too problematic - the response time of the switch is 1 to 2 seconds late
This Log:
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:603
Integration: Switch (documentation, issues)
First occurred: 2:50:21 AM (114 occurrences)
Last logged: 3:46:52 AM
Updating tapo_p100_control switch took longer than the scheduled update interval 0:00:30
Unsure what is happening. I might try to debug if I have free time but the holiday season is in.
Just wondering if there is any particular setup that need to be set up to run with the Tapo bulbs, just trying the 0.0.11 version though python on my computer just to have them turn on/off/brightness, but still getting the -1501 error when trying to set up. Running the L510B bulbs with 1.1.8 firmware, i saw there was some suggestion that i need to talk to TPlink to downgrade the firmware potentially to enable the connections?