sensor.mitemp_bt | Xiaomi passive BLE monitor sensor platform

 by   custom-components Python Version: 0.6.12 License: MIT

kandi X-RAY | sensor.mitemp_bt Summary

kandi X-RAY | sensor.mitemp_bt Summary

sensor.mitemp_bt is a Python library typically used in Internet of Things (IoT), Xiaomi applications. sensor.mitemp_bt has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However sensor.mitemp_bt build file is not available. You can download it from GitHub.

This custom component is an alternative for the standard build in mitemp_bt integration that is available in Home Assistant. Unlike the original mitemp_bt integration, which is getting its data by polling the device with a default five-minute interval, this custom component is parsing the Bluetooth Low Energy packets payload that is constantly emitted by the sensor. The packets payload may contain temperature/humidity/battery and other data. Advantage of this integration is that it doesn't affect the battery as much as the built-in integration. It also solves connection issues some people have with the standard integration (due to passivity and the ability to collect data from multiple bt-interfaces simultaneously). Read more in the FAQ.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sensor.mitemp_bt has a low active ecosystem.
              It has 296 star(s) with 44 fork(s). There are 38 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 20 open issues and 71 have been closed. On average issues are closed in 23 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of sensor.mitemp_bt is 0.6.12

            kandi-Quality Quality

              sensor.mitemp_bt has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              sensor.mitemp_bt 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

              sensor.mitemp_bt releases are available to install and integrate.
              sensor.mitemp_bt has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 1013 lines of code, 97 functions and 3 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sensor.mitemp_bt
            Get all kandi verified functions for this library.

            sensor.mitemp_bt Key Features

            No Key Features are available at this moment for sensor.mitemp_bt.

            sensor.mitemp_bt Examples and Code Snippets

            No Code Snippets are available at this moment for sensor.mitemp_bt.

            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 sensor.mitemp_bt

            *In case you get a PermissionError, check the Frequently Asked Questions (FAQ) page. Many Xiaomi ecosystem sensors (maybe all) do not brodcasts BLE advertisements containing useful data until they have gone through the "pairing" process in the MiHome app.
            to grant: sudo setcap 'cap_net_raw,cap_net_admin+eip' `readlink -f \`which python3\``
            to check: sudo getcap `readlink -f \`which python3\``
            The easiest way is to install it with HACS. First install HACS if you don't have it yet. After installation you can find this custom component in the HACS store under integrations.
            Alternatively, you can install it manually. Just copy paste the content of the sensor.mitemp_bt/custom_components folder in your config/custom_components directory. As example, you will get the sensor.py file in the following path: /config/custom_components/mitemp_bt/sensor.py.
            Stop and start Home Assistant. Make sure you first stop Home Assistant and then start Home Assistant again. Restarting Home Assistant is not sufficient, as the python process does not exit upon restart. Stopping and starting Home Assistant is also required to unload the build in component and load the custom component. Do this before step 4, as Home Assistant will otherwise complain that your configuration is not ok (as it still uses the build in mitemp_bt integration).
            A second restart is required to load the configuration. After a few minutes, the sensors should be added to your home-assistant automatically (at least one period required).

            Support

            (round body, segment LCD, broadcasts temperature, humidity and battery level, about 20 readings per minute). (round body, E-Ink, broadcasts temperature, humidity and battery level, about 20 readings per minute). (rectangular body, E-Ink, broadcasts temperature and humidity, about 20 readings per minute, no battery info). (small square body, segment LCD, broadcasts temperature and humidity once in about 10 minutes and battery level once in an hour, advertisements are encrypted, therefore you need to set the key in your configuration, see for instructions the encryptors option). (Cleargrass (Qingping) CGD1 alarm clock, segment LCD, broadcasts temperature and humidity (once in about 3 minutes?), and battery level (we do not have accurate periodicity information yet), advertisements are encrypted, therefore you need to set the key in your configuration, see for instructions the encryptors option). (Alarm clock, rectangular body, E-Ink, broadcasts temperature, humidity and battery level, about 20 readings per minute). (small square body, E-Ink display, broadcasts temperature and humidity once in about 10 minutes and battery level once in an hour, advertisements are encrypted, therefore you need to set the key in your configuration, see for instructions the encryptors option). (Xiaomi Honeywell Formaldehyde Sensor, OLED display, broadcasts temperature, humidity, formaldehyde (mg/m³) and battery level, about 50 messages per minute). (MiFlora, broadcasts temperature, moisture, illuminance, conductivity, 1 reading per minute, no battery info with firmware v3.2.1). (VegTrug Grow Care Garden, similar to MiFlora HHCCJCY01). (FlowerPot, RoPot, broadcasts moisture and conductivity, 2 readings per minute, no battery info with firmware v1.2.6). (Xiaomi Mija Mosquito Repellent, Smart version, broadcasts switch state, tablet resource, battery level, about 50 messages per minute).
            Find more information at:

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

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Python Libraries

            public-apis

            by public-apis

            system-design-primer

            by donnemartin

            Python

            by TheAlgorithms

            Python-100-Days

            by jackfrued

            youtube-dl

            by ytdl-org

            Try Top Libraries by custom-components

            ble_monitor

            by custom-componentsPython

            alexa_media_player

            by custom-componentsPython

            pyscript

            by custom-componentsPython

            remote_homeassistant

            by custom-componentsPython

            nordpool

            by custom-componentsPython