A custom integration for home assistant to control the Tapo P100 plugs
Installation
To install the Tapo P100 integration copy the tapo_p100_control folder from the github into the custom_components folder on your home assistant instance then these lines should be added to your configuration.yaml file.
Thanks for good job, I have been following this topic for a long time. But i have error in home assistant:
Platform error switch.tapo_p100_control - No module named PyP100
How can i install this module?
@bonoirk, have a look what open port does it have, if 80, then probably yes, if 443, then the API might be different and maybe closer to the camera API.
@fishbigger, can you have a look on the Tapo Camera API commands? You might going to find some to get details of the bulb, what would give idea what to call to change brightness…
Once again @fishbigger and all the other guys that contributed massive work! I’ll try to have some contributions as soon as I can figure out the dictionary returned by the getDeviceInfo method.
I have now added the ability to get the name of the plug into the name field rather than the original hard coded value. The new code is now on github and can be installed the same way as before
Been watching the development eagerly. Just tried it out and I’m glad to report that it’s working perfectly so far. The only mistake I made was adding the config before restart which resulted in an error. After commenting that out, restarting, then uncommenting and restarting again, everything works great.
Many thanks all for your hard work on this.
One thing though. Can we get this to be HACS installable? Will make for much easier updates going forward.