tuya/tuya-home-assistant

Support for doorbell human detection sensors and button press

Open

#673 aberto em 6 de nov. de 2021

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

Métricas do repositório

Stars
 (960 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador