Giter VIP home page Giter VIP logo

ha_tuya_ble's Introduction

Home Assistant support for Tuya BLE devices

Overview

This integration supports Tuya devices connected via BLE.

Inspired by code of @redphx

Installation

Place the custom_components folder in your configuration directory (or add its contents to an existing custom_components folder). Alternatively install via HACS.

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Usage

After adding to Home Assistant integration should discover all supported Bluetooth devices, or you can add discoverable devices manually.

The integration works locally, but connection to Tuya BLE device requires device ID and encryption key from Tuya IOT cloud. It could be obtained using the same credentials as in official Tuya integration. To obtain the credentials, please refer to official Tuya integration documentation

Supported devices list

  • Fingerbots (category_id 'szjqr')

    • Fingerbot (product_ids 'ltak7e1p', 'y6kttvd6', 'yrnk7mnn', 'nvr2rocq', 'bnt7wajf', 'rvdceqjh', '5xhbk964'), original device, first in category, powered by CR2 battery.
    • Adaprox Fingerbot (product_id 'y6kttvd6'), built-in battery with USB type C charging.
    • Fingerbot Plus (product_ids 'blliqpsj', 'ndvkgsrm', 'yiihr7zh', 'neq16kgd'), almost same as original, has sensor button for manual control.
    • CubeTouch 1s (product_id '3yqdo5yt'), built-in battery with USB type C charging.
    • CubeTouch II (product_id 'xhf790if'), built-in battery with USB type C charging.

    All features available in Home Assistant, programming (series of actions) is implemented for Fingerbot Plus. For programming exposed entities 'Program' (switch), 'Repeat forever', 'Repeats count', 'Idle position' and 'Program' (text). Format of program text is: 'position[/time];...' where position is in percents, optional time is in seconds (zero if missing).

  • Temperature and humidity sensors (category_id 'wsdcg')

    • Soil moisture sensor (product_id 'ojzlzzsw').
  • CO2 sensors (category_id 'co2bj')

    • CO2 Detector (product_id '59s19z5m').
  • Smart Locks (category_id 'ms')

    • Smart Lock (product_id 'ludzroix', 'isk2p555').
  • Climate (category_id 'wk')

    • Thermostatic Radiator Valve (product_ids 'drlajpqc', 'nhj2j7su').
  • Smart water bottle (category_id 'znhsb')

    • Smart water bottle (product_id 'cdlandip')
  • Irrigation computer (category_id 'ggq')

    • Irrigation computer (product_id '6pahkcau')

Support project

I am working on this integration in Ukraine. Our country was subjected to brutal aggression by Russia. The war still continues. The capital of Ukraine - Kyiv, where I live, and many other cities and villages are constantly under threat of rocket attacks. Our air defense forces are doing wonders, but they also need support. So if you want to help the development of this integration, donate some money and I will spend it to support our air defense.

Buy me an air defense

ha_tuya_ble's People

Contributors

plusplus-ua avatar forabi avatar sanmiggel avatar raph22 avatar ppcsite avatar dnlki avatar daveyijzermans avatar yokosa avatar michalbundyra avatar skrashevich avatar drewpo28 avatar markusg1234 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.