Coder Social home page Coder Social logo

fbaiodias / home-assistant_inkbird Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stelford/home-assistant_inkbird

0.0 0.0 0.0 323 KB

Home Assistant Support for Inkbird IBS-TH1 Thermometer/Humidity Sensoir

License: Apache License 2.0

Python 100.00%

home-assistant_inkbird's Introduction

This repo adds support for the Inkbird IBS-TH1 under Home Assistant.

Example Output inside Home Assistant

Install this by dropping it into your config folder (path may vary from install to install). In my install, this would be at /config/custom_components/inkbird.

Change your /config/configuration.yaml to have something like; NOTE: Configuration breaking change. The devices are now under a subsection.

sensor:
  - platform: inkbird
    devices:
      - mac: '90:e2:02:9b:45:3a'
        name: 'Cians Room'
        monitored_conditions:
          - temperature
          - humidity
          - battery
      - mac: '90:e2:02:9b:4b:64'
        name: 'Kats Room'
        monitored_conditions:
          - temperature
          - humidity
          - battery

Obviously, the MAC and name you will change to tastes. The MAC you can find by using the scan.py inside helper_scripts. You can also test in a 'once off' fashion by using the test_btle.py with the changed MAC inside it.

With the rework, almost all of the caveats in the first release are now obsoleted. Every time a scan_interval is hit (usually 30s or such) then the Inkbird.Updater will scan the btle for any broadcasts for 10s. The Inkbird sends out a broadcast every 10s as well. This means that from time to time, we won't get lucky and listen at the right time.

That said, there is no more btle connections happening (as it's using broadcasted data from the devices only now). It's also vastly more power efficient. Battery support has been added as well. Thanks to Canadian winters, negative temperatures should be registered accordingly.

In short, I am now concluding that the device is "100% supported" and there probably won't be any more check-ins after this one.

home-assistant_inkbird's People

Contributors

stelford avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.