tuya/tuya-home-assistant

Add full support for Doorbell Cameras

Open

#801 aperta il 21 apr 2022

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

Metriche repository

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

Descrizione

Device normal info

  • Brand: BCom
  • Model: Wifi Intercom

Device info (please complete the following information, which can be found in log): { "name": "Security Camera", "model": "86706", "category": "sp", "product_id": "obtloc9hkl46jjgg", "product_name": "Security Camera", "online": true, "sub": false, "time_zone": "+10:30", "active_time": "2022-04-01T04:17:40+00:00", "create_time": "2022-04-01T04:17:40+00:00", "update_time": "2022-04-01T04:17:51+00:00", "function": { "basic_nightvision": { "type": "Enum", "value": { "range": [ "0", "1", "2" ] } }, "sd_format": { "type": "Boolean", "value": {} }, "ipc_smart_action": { "type": "Enum", "value": { "range": [ "0", "1", "2", "3" ] } } }, "status_range": { "basic_nightvision": { "type": "Enum", "value": { "range": [ "0", "1", "2" ] } }, "sd_storge": { "type": "String", "value": { "maxlen": 255 } }, "sd_status": { "type": "Integer", "value": { "unit": "", "min": 1, "max": 5, "scale": 1, "step": 1 } }, "sd_format": { "type": "Boolean", "value": {} }, "movement_detect_pic": { "type": "Raw", "value": {} }, "sd_format_state": { "type": "Integer", "value": { "unit": "", "min": -20000, "max": 20000, "scale": 1, "step": 1 } }, "doorbell_active": { "type": "String", "value": { "maxlen": 255 } }, "doorbell_pic": { "type": "Raw", "value": {} }, "alarm_message": { "type": "String", "value": {} } }, "status": { "basic_nightvision": 0, "sd_storge": "0|0|0", "sd_status": 5, "sd_format": false, "movement_detect_pic": "REDACTED", "sd_format_state": 0, "doorbell_active": "", "doorbell_pic": "", "alarm_message": "REDACTED" }, "home_assistant": { "name": "Security Camera", "name_by_user": "Doorbell Camera", "disabled": false, "disabled_by": null, "entities": [ { "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": null, "icon": null, "original_icon": null, "unit_of_measurement": null, "state": { "entity_id": "camera.doorbell_camera", "state": "idle", "attributes": { "access_token": "97fbf5ae68217aebbe1e3e65dfc1b3e5668168e24061a9f73ac4cbac90a501d5", "model_name": "Security Camera", "brand": "Tuya", "frontend_stream_type": "hls", "entity_picture": "REDACTED", "friendly_name": "Doorbell Camera", "supported_features": 2 }, "last_changed": "2022-04-21T11:26:20.056044+00:00", "last_updated": "2022-04-21T12:31:16.170050+00:00" } }, { "disabled": false, "disabled_by": null, "entity_category": "config", "device_class": null, "original_device_class": "tuya__basic_nightvision", "icon": null, "original_icon": "mdi:theme-light-dark", "unit_of_measurement": null, "state": { "entity_id": "select.doorbell_camera_night_vision", "state": "0", "attributes": { "options": [ "0", "1", "2" ], "device_class": "tuya__basic_nightvision", "icon": "mdi:theme-light-dark", "friendly_name": "Doorbell Camera Night Vision" }, "last_changed": "2022-04-21T11:26:20.058852+00:00", "last_updated": "2022-04-21T11:26:20.058852+00:00" } } ] } }

Issues The camera feed from this camera only works intermittently.

Feature Requests

This "sp" class camera supports providing a notification when the doorbell is pressed. This isn't recorded in any way in HA.

This "sp" class camera also supports unlocking a door as part of the doorbell. This function isn't recorded in HA.

Guida contributor