tplink-smartplug-api | TP-Link HS1xx smart plug API wrapper

 by   vrachieru Python Version: 1.1.2 License: MIT

kandi X-RAY | tplink-smartplug-api Summary

kandi X-RAY | tplink-smartplug-api Summary

tplink-smartplug-api is a Python library typically used in Manufacturing, Utilities, Energy, Utilities, Internet of Things (IoT) applications. tplink-smartplug-api has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

TP-Link HS1xx smart plug API wrapper.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tplink-smartplug-api has a low active ecosystem.
              It has 42 star(s) with 13 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 1 have been closed. On average issues are closed in 14 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of tplink-smartplug-api is 1.1.2

            kandi-Quality Quality

              tplink-smartplug-api has 0 bugs and 0 code smells.

            kandi-Security Security

              tplink-smartplug-api has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tplink-smartplug-api code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tplink-smartplug-api is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tplink-smartplug-api releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed tplink-smartplug-api and discovered the below as its top functions. This is intended to give you an instant insight into tplink-smartplug-api implemented functionality, and help decide if they suit your requirements.
            • Returns the emeter stats
            • Decrypts the given ciphertext
            • Encrypt the given plaintext
            • Sends a command to the server
            • Set device name
            • Turn on relay
            • Show system info
            • Set device id
            • Set the hardware ID
            • Set the mac address
            • Turn off
            • Get the current time zone
            • Reboot the device
            • Reset factory
            • Get current time
            • Set device icon
            • A dictionary of location information
            • Turn off relay
            Get all kandi verified functions for this library.

            tplink-smartplug-api Key Features

            No Key Features are available at this moment for tplink-smartplug-api.

            tplink-smartplug-api Examples and Code Snippets

            Usage,Reading device information
            Pythondot img1Lines of Code : 21dot img1License : Permissive (MIT)
            copy iconCopy
            from tplink_smartplug import SmartPlug
            
            plug = SmartPlug('192.168.xxx.xxx')
            
            print('Name:      %s' % plug.name)
            print('Model:     %s' % plug.model)
            print('Mac:       %s' % plug.mac)
            print('Time:      %s' % plug.time)
            
            print('Is on:     %s' % plug.is_  
            Usage,Change state
            Pythondot img2Lines of Code : 15dot img2License : Permissive (MIT)
            copy iconCopy
            from tplink_smartplug import SmartPlug
            
            plug = SmartPlug('192.168.xxx.xxx')
            
            if plug.is_on:
                plug.turn_off()
                print('Plug turned off')
            else:
                plug.turn_on()
                print('Plug turned on')
            
            $ python3 example.py
            Plug turned off
            
            $ python3 example  
            Protocol
            Pythondot img3Lines of Code : 13dot img3License : Permissive (MIT)
            copy iconCopy
            { 
                "system": { 
                    "get_sysinfo": {} 
                }
            }
            
            {
                "system": {
                    "get_sysinfo": {}
                },
                "time": {
                    "get_time": {}
                }
            }
              

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

            Source https://stackoverflow.com/questions/61859411

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tplink-smartplug-api

            You can download it from GitHub.
            You can use tplink-smartplug-api like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/vrachieru/tplink-smartplug-api.git

          • CLI

            gh repo clone vrachieru/tplink-smartplug-api

          • sshUrl

            git@github.com:vrachieru/tplink-smartplug-api.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link