tuya/tuya-home-assistant

Support for doorbell human detection sensors and button press

Open

#673 aperta il 6 nov 2021

Vedi su GitHub
 (29 commenti) (7 reazioni) (0 assegnatari) (206 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (960 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor