tuya/tuya-home-assistant

Support for doorbell human detection sensors and button press

Open

#673 opened on Nov 6, 2021

View on GitHub
 (29 comments) (7 reactions) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (960 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide