Metadata-Version: 2.1
Name: plugp100
Version: 2.0
Summary: Controller for TP-Link Tapo P100
Home-page: https://github.com/petretiandrea/plugp100
Author: @petretiandrea
Author-email: petretiandrea@gmail.com
License: GPL3
Download-URL: https://github.com/petretiandrea/plugp100
Description: # Plug P100
        This is a fork of original work of [@K4CZP3R](https://github.com/K4CZP3R/tapo-p100-python)
        
        The purpose of this fork is to provide the library as PyPi package. 
        
        # How to install
        ```pip install plugp100```
        
        # Code example
        ```python
        from plugp100 import p100
        
        switch = p100.P100("<ip_address>")
        switch.handshake()
        switch.login_request("<username>", "<password>")
        
        # change state of plug
        switch.change_state(1, "88-00-DE-AD-52-E1") # (0 -> off, 1 -> on)
        
        # retrieve the state of plug
        is_on = switch.is_on()
        state = switch.get_state() # this retrieve a complete status
        ```
        
        
Keywords: Tapo,P100
Platform: UNKNOWN
Description-Content-Type: text/markdown
