python-yeelightbt | Python library for Yeelight 's bedside

 by   rytilahti Python Version: 0.0.4 License: No License

kandi X-RAY | python-yeelightbt Summary

kandi X-RAY | python-yeelightbt Summary

python-yeelightbt is a Python library typically used in Internet of Things (IoT) applications. python-yeelightbt has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can install using 'pip install python-yeelightbt' or download it from GitHub, PyPI.

Python library for Yeelight's bedside (btle) and candela lamps
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              python-yeelightbt has a low active ecosystem.
              It has 71 star(s) with 25 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 8 open issues and 27 have been closed. On average issues are closed in 84 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of python-yeelightbt is 0.0.4

            kandi-Quality Quality

              python-yeelightbt has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              python-yeelightbt does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              python-yeelightbt releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 1016 lines of code, 108 functions and 9 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed python-yeelightbt and discovered the below as its top functions. This is intended to give you an instant insight into python-yeelightbt implemented functionality, and help decide if they suit your requirements.
            • Launch lamp
            • Connects to the BTLE device
            • Returns the characteristics for a given UUID
            • Write a value to a device
            • Get device info
            • Get version info
            • Get the serial number
            • Wait for all notifications
            • Wait for a given number of seconds
            • Send an alarm
            • Get alarm
            • Set night mode
            • Get the night mode
            • Set a scene
            • Get a single scene
            • Set device color
            • Set color
            • Set time
            • Get time
            • Process a single notification
            • Callback called when a light is received
            • Set the temperature
            • Set brightness
            • Get device name
            • Sleep the lamp
            • Get the flow number
            Get all kandi verified functions for this library.

            python-yeelightbt Key Features

            No Key Features are available at this moment for python-yeelightbt.

            python-yeelightbt Examples and Code Snippets

            Usage,Reading status & states
            Pythondot img1Lines of Code : 13dot img1no licencesLicense : No License
            copy iconCopy
            export YEELIGHTBT_MAC=AA:BB:CC:11:22:33
            
            $ yeelightbt
            
            MAC: f8:24:41:xx:xx:xx
              Mode: LampMode.White
              Color: (0, 0, 0)
              Temperature: 5000
              Brightness: 50
            
            $ yeelightbt temperature
            
            Temperature: 5000
            
            $ yeelightbt color 255 0 0
            Setting color: 255 0  
            Home Assistant support,Configuration
            Pythondot img2Lines of Code : 5dot img2no licencesLicense : No License
            copy iconCopy
            light:
              - platform: yeelight_bt
                devices:
                  Bedside:
                    mac: 'f8:24:41:xx:xx:xx'
              
            Usage,Finding supported devices
            Pythondot img3Lines of Code : 5dot img3no licencesLicense : No License
            copy iconCopy
            $ yeelightbt scan
            Scanning for 5 seconds
            Devices found:
              f8:24:41:xx:xx:xx (XMCTD_XXXX), rssi=-83
            
              

            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 python-yeelightbt

            In case you are getting "No such file or directory" error for bluepy-helper, you have to go into bluepy's directory and run make there. It is also a good idea to let the helper to have capabilities for accessing the bluetooth devices without being root, e.g., by doing the following:. And then simply try if the scanning works. You can use pass '-dd' as option to the command to see the debug messages from bluepy in case it is not working.
            You will be logged into the Home Assistant command line interface and type login to access the host system.
            SSH into the host through port 22222 to get all necessary privileges (follow setup there). /!\ Using the SSH add-on will not work, it gives access to port 22. Use Putty for instance:
            Access the bash:
            Yeelightbt requires bluepy and the installer may not find where it is located. Therefore, navigate to the package:
            Install as mentionned above:
            Ensure the light is ON and the switch is on the bluetooth position (at least for the Candela). Detect the supported devices and check if the lamp can be turned on/off with the commands described above.
            Copy yeelight_bt directory located under custom_components over to ~/.homeassistant/custom_components/.

            Support

            This repository also contains a basic Home Assistant custom component.
            Find more information at:

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

            Find more libraries
            Install
          • PyPI

            pip install python-yeelightbt

          • CLONE
          • HTTPS

            https://github.com/rytilahti/python-yeelightbt.git

          • CLI

            gh repo clone rytilahti/python-yeelightbt

          • sshUrl

            git@github.com:rytilahti/python-yeelightbt.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