tuya/tuya-home-assistant

Support for doorbell human detection sensors and button press

Open

#673 建立於 2021年11月6日

在 GitHub 查看
 (29 留言) (7 反應) (0 負責人) (206 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (960 star)
PR 合併指標
 (PR 指標待抓取)

描述

Currently I can already control my doorbell in HA with the Tuya Integration with the following entities:

image

However, two of the most useful sensors are missing: button press and human detection. It's already possible to create automations/scenes inside of the Tuya app based on those events, but they are not exposed to Home Assistant just yet.

https://user-images.githubusercontent.com/29582865/140601203-bce4f90b-1a4b-4cc6-a39a-2fbe7bf21d42.mp4

For example, if button press sensor was integrated with HA, I could ring a bell inside my home (just an example). Specifically, I want to run some ADB commands to turn on my tablet screen and enter on Tuya app so that I can answer the video doorbell call as seamlessly as possible.

Device normal info

Device info:

[
  {
    "code": "basic_indicator",
    "value": true
  },
  {
    "code": "ipc_flip",
    "value": "flip_none"
  },
  {
    "code": "basic_osd",
    "value": true
  },
  {
    "code": "basic_nightvision",
    "value": "0"
  },
  {
    "code": "sd_format",
    "value": false
  },
  {
    "code": "wireless_lowpower",
    "value": 5
  },
  {
    "code": "wireless_awake",
    "value": false
  },
  {
    "code": "pir_switch",
    "value": "0"
  },
  {
    "code": "humanoid_filter",
    "value": false
  }
]

Device specifications: chrome_iIFADxOdXq

貢獻者指南