Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Doorbell Support #188

Open
SolusCado opened this issue Jan 6, 2025 · 3 comments
Open

Video Doorbell Support #188

SolusCado opened this issue Jan 6, 2025 · 3 comments
Labels
Need more info Information has been requested, waiting for answer

Comments

@SolusCado
Copy link

I have the video doorbell listed here:
https://www.aliexpress.com/i/1005003156410869.html

And I have it configured through both the native Tuya integration as well as this (xtend_tuya) integration, through which I can access most of its functionality:
image
HOWEVER...

  1. The "siren.doorbell" entity in the Controls section only activates the local alarm siren; it does not correlate to the doorbell button press.
  2. The "camera.doorbell" entity in the Sensors section accurately displays thumbnails and if I click on it, it will show me streaming video from the camera - but the "Idle" state never changes (and again, doesn't respond to button presses).
  3. The "Motion Recording" and "Video Recording" switches just revert back to Off immediately when I try switching either one to On.
  4. The Doorbell Battery sensor (under Diagnostic) doesn't appear to be using the Battery device class (which means it doesn't even show the battery icon by default, doesn't update the battery icon based on the % remaining, doesn't even show a % measurement, etc.).
  5. And most importantly, doesn't seem to have any interaction with the doorbell button press at all. The whole point (for me) in setting this up was to be able to trigger Home Assistant actions when the doorbell button is pressed.

With LocalTuya, I have the ability to add and customize entities that appear to be picked up from the IOT Developers Platform; and with ZHA I have the ability to customize Zigbee entities through the zha_quirks capability. Does XTend_Tuya have something similar, or do we just need to report issues here to get support for new devices and device capabilities? (It would also be nice to use the PIR sensor on the device as a standard motion sensor in Home Assistant...)

The API Explorer JSON from the Tuya Platform for this device is provided below:

{
  "result": {
    "properties": [
      {
        "code": "basic_indicator",
        "custom_name": "",
        "dp_id": 101,
        "time": 1736168461110,
        "type": "bool",
        "value": false
      },
      {
        "code": "basic_flip",
        "custom_name": "",
        "dp_id": 103,
        "time": 1736168461112,
        "type": "bool",
        "value": false
      },
      {
        "code": "basic_nightvision",
        "custom_name": "",
        "dp_id": 108,
        "time": 1736168461123,
        "type": "enum",
        "value": "0"
      },
      {
        "code": "sd_storge",
        "custom_name": "",
        "dp_id": 109,
        "time": 1736168461142,
        "type": "string",
        "value": "0|0|0"
      },
      {
        "code": "sd_status",
        "custom_name": "",
        "dp_id": 110,
        "time": 1736168461140,
        "type": "value",
        "value": 4
      },
      {
        "code": "sd_format",
        "custom_name": "",
        "dp_id": 111,
        "time": 1736168460579,
        "type": "bool",
        "value": true
      },
      {
        "code": "sd_umount",
        "custom_name": "",
        "dp_id": 112,
        "time": 1677823175576,
        "type": "bool",
        "value": false
      },
      {
        "code": "motion_record",
        "custom_name": "",
        "dp_id": 113,
        "time": 1677823175576,
        "type": "bool",
        "value": false
      },
      {
        "code": "movement_detect_pic",
        "custom_name": "",
        "dp_id": 115,
        "time": 1677823175576,
        "type": "raw"
      },
      {
        "code": "sd_format_state",
        "custom_name": "",
        "dp_id": 117,
        "time": 1736168463173,
        "type": "value",
        "value": 0
      },
      {
        "code": "battery_report_cap",
        "custom_name": "",
        "dp_id": 126,
        "time": 1736168461116,
        "type": "value",
        "value": 1
      },
      {
        "code": "doorbell_active",
        "custom_name": "",
        "dp_id": 136,
        "time": 1677823175573,
        "type": "string",
        "value": ""
      },
      {
        "code": "wireless_electricity",
        "custom_name": "",
        "dp_id": 145,
        "time": 1736171002899,
        "type": "value",
        "value": 25
      },
      {
        "code": "wireless_powermode",
        "custom_name": "",
        "dp_id": 146,
        "time": 1736168459731,
        "type": "enum",
        "value": "1"
      },
      {
        "code": "wireless_lowpower",
        "custom_name": "",
        "dp_id": 147,
        "time": 1736168463173,
        "type": "value",
        "value": 0
      },
      {
        "code": "wireless_awake",
        "custom_name": "",
        "dp_id": 149,
        "time": 1736168461101,
        "type": "bool",
        "value": true
      },
      {
        "code": "record_switch",
        "custom_name": "",
        "dp_id": 150,
        "time": 1736168461145,
        "type": "bool",
        "value": false
      },
      {
        "code": "record_mode",
        "custom_name": "",
        "dp_id": 151,
        "time": 1736168463173,
        "type": "enum",
        "value": "1"
      },
      {
        "code": "pir_switch",
        "custom_name": "",
        "dp_id": 152,
        "time": 1736168461127,
        "type": "enum",
        "value": "0"
      },
      {
        "code": "doorbell_pic",
        "custom_name": "",
        "dp_id": 154,
        "time": 1677823175573,
        "type": "raw"
      },
      {
        "code": "doorbell_ring_exist",
        "custom_name": "",
        "dp_id": 155,
        "time": 1677823175573,
        "type": "enum",
        "value": "0"
      },
      {
        "code": "siren_switch",
        "custom_name": "",
        "dp_id": 159,
        "time": 1736169126441,
        "type": "bool",
        "value": false
      },
      {
        "code": "basic_device_volume",
        "custom_name": "",
        "dp_id": 160,
        "time": 1733832135966,
        "type": "value",
        "value": 100
      },
      {
        "code": "humanoid_filter",
        "custom_name": "",
        "dp_id": 170,
        "time": 1736168463173,
        "type": "bool",
        "value": false
      },
      {
        "code": "alarm_message",
        "custom_name": "",
        "dp_id": 185,
        "time": 1677823175576,
        "type": "raw"
      },
      {
        "code": "ipc_work_mode",
        "custom_name": "",
        "dp_id": 189,
        "time": 1736168437263,
        "type": "enum",
        "value": "0"
      },
      {
        "code": "initiative_message",
        "custom_name": "",
        "dp_id": 212,
        "time": 1736170501397,
        "type": "raw",
        "value": "eyJ2IjoiNC4wIiwiYnVja2V0IjoidHktZXUtc3RvcmFnZTMwIiwiY21kIjoiaXBjX2Rvb3JiZWxsIiwidHlwZSI6ImltYWdlIiwid2l0aCI6InJlc291cmNlIiwiYWxhcm0iOnRydWUsInRpbWUiOjE3MzYxNzA1MDAsImZpbGVzIjpbWyIvYmRlMzlhLTEwMzc4MTctc3poeThlZjdiNTBjZTQ1Y2VjNzYvdW5pZnkvMTczNjE3MDUwMC5qcGVnIiwiYTMzYmM1MDE2ODg4NDRiYiJdXX0="
      },
      {
        "code": "cus_alarm",
        "custom_name": "",
        "dp_id": 231,
        "time": 1677823175576,
        "type": "enum",
        "value": "0"
      }
    ]
  },
  "success": true,
  "t": 1736171167012,
  "tid": "94412e64cc3411efa76ab217c6c149bc"
}
@azerty9971
Copy link
Owner

Hello,
Can you provide the device diagnostics from HA?
Click the "Download diagnostic" from the device page (if you are using both Tuya and XT, click the 3 dots and export the extended tuya diagnostics)

Thanks in advance,
Azerty

@azerty9971 azerty9971 added the Need more info Information has been requested, waiting for answer label Jan 28, 2025
@SolusCado
Copy link
Author

SolusCado commented Feb 3, 2025

Sorry - only just today catching up online.

Tuya Doorbell Front Door.json

@foudepc83
Copy link

Hello,

I have the exact same video doorbell, but I bought it from Action under the name LSC Video Doorbell.

In Home Assistant, it shows up as "LSC Video Doorbell (unsupported)" in both the official Tuya integration and Xtend Tuya.

Do you have any solution to make it fully functional with Xtend Tuya?

Thanks in advance for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need more info Information has been requested, waiting for answer
Projects
None yet
Development

No branches or pull requests

3 participants