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

Request support for Intercom device #2913

Open
nabrog87 opened this issue Feb 4, 2025 · 1 comment
Open

Request support for Intercom device #2913

nabrog87 opened this issue Feb 4, 2025 · 1 comment
Labels
config provided Config included by reporter device variant Variant of a supported device full_info All info needed was provided

Comments

@nabrog87
Copy link

nabrog87 commented Feb 4, 2025

Log message

This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:427
integration: Tuya Local (documentation, issues)
First occurred: 8:31:45 PM (6 occurrences)
Last logged: 9:03:11 PM

Include the previous log messages with any new device request to https://github.com/make-all/tuya-local/issues/


This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:421
integration: Tuya Local (documentation, issues)
First occurred: 8:31:45 PM (6 occurrences)
Last logged: 9:03:11 PM

Device matches None with quality of 0%. DPS: {"updated_at": 1738694770.59699}
Device matches None with quality of 0%. DPS: {"updated_at": 1738694878.8210883}
Device matches None with quality of 0%. DPS: {"updated_at": 1738695305.9570084}
Device matches None with quality of 0%. DPS: {"updated_at": 1738695717.925032}
Device matches None with quality of 0%. DPS: {"updated_at": 1738695788.9651382}

Product ID

csr2fqitalj5o0tq

Product Name

https://www.aliexpress.com/item/1005006824612808.html

DPS information

{
  "result": {
    "model": "{\"modelId\":\"000003s672\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"basic_flip\",\"description\":\"设备设置页面-基本功能设置\\n使直播画面垂直翻转,true打开翻转,false关闭翻转\",\"name\":\"画面翻转\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"basic_osd\",\"description\":\"设备设置页面-基本功能设置\\n时间水印功能开关,true打开水印,false关闭水印\",\"name\":\"时间水印\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"motion_sensitivity\",\"description\":\"0-2,灵敏度依次增加;仅为灵敏度,0并不是关闭移动侦测报警;规定0为低灵敏度,1为中灵敏度,2为高灵敏度。\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"移动侦测灵敏度\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\",\"2\"]}},{\"abilityId\":109,\"accessMode\":\"ro\",\"code\":\"sd_storge\",\"description\":\"示例:\\n---2017.07.08更新---\\n单位改为kb\\n---\\n3503775744|778977280|2718158848\\n其中第一字符串是总容量,第二个字符串是已使用的容量,第三个是剩余容量\",\"name\":\"获取存储卡容量\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":110,\"accessMode\":\"ro\",\"code\":\"sd_status\",\"description\":\"status:sd卡状态,1-正常,2-异常,3-空间不足,4-正在格式化,5-无SD卡;\",\"name\":\"存储卡状态\",\"typeSpec\":{\"type\":\"value\",\"max\":5,\"min\":1,\"scale\":1,\"step\":1,\"unit\":\"\"}},{\"abilityId\":111,\"accessMode\":\"rw\",\"code\":\"sd_format\",\"description\":\"无参数\",\"name\":\"存储卡格式化\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":115,\"accessMode\":\"ro\",\"code\":\"movement_detect_pic\",\"description\":\"该功能实现请参考SDK\\n---------------\\n{\\\"dp_id\\\",\\\"bucket;object;key\\\"}/{\\\"dp_id\\\",\\\"bucket;object;\\\"}\\n\\nbucket:根文件夹;objcet:文件路径;key:加密\",\"name\":\"检测到移动\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":117,\"accessMode\":\"ro\",\"code\":\"sd_format_state\",\"description\":\"返回错误码:\\n-2000:SD卡正在格式化\\n-2001:SD卡格式化异常\\n-2002:无SD卡\\n-2003:SD卡错误\\n\\n//正数为格式化进度\",\"name\":\"格式化状态\",\"typeSpec\":{\"type\":\"value\",\"max\":20000,\"min\":-20000,\"scale\":1,\"step\":1,\"unit\":\"\"}},{\"abilityId\":134,\"accessMode\":\"rw\",\"code\":\"motion_switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"移动报警开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":136,\"accessMode\":\"ro\",\"code\":\"doorbell_active\",\"description\":\"\",\"name\":\"门铃-呼叫\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":148,\"accessMode\":\"rw\",\"code\":\"accessory_lock\",\"description\":\"\",\"name\":\"Door lock\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":154,\"accessMode\":\"ro\",\"code\":\"doorbell_pic\",\"description\":\"用户按下门铃,抓拍图片并上传\",\"name\":\"门铃抓拍图片\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":162,\"accessMode\":\"rw\",\"code\":\"device_restart\",\"description\":\"无参数,页面操作为按钮类型,用户点击远程重启,直接发送ture的命令。\",\"extensions\":{\"iconName\":\"icon-setting\"},\"name\":\"设备重启\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":185,\"accessMode\":\"ro\",\"code\":\"alarm_message\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\"},\"name\":\"告警消息上报\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":231,\"accessMode\":\"rw\",\"code\":\"ipc_c_switch_channel\",\"description\":\"切换通道\",\"name\":\"切换通道\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":232,\"accessMode\":\"rw\",\"code\":\"accessory_lock2\",\"description\":\"闸机锁\",\"extensions\":{\"iconName\":\"icon-menci\"},\"name\":\"锁2\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":233,\"accessMode\":\"ro\",\"code\":\"access_lock_support\",\"description\":\"{dpid1,dpid2,dpid3……}\\ndpid为门锁的dp id,用于上报支持的门锁,多个dpid即为支持多把锁,access_lock_support中上报的dpid为accessory_lock、accessory_lock1、accessory_lock2……accessory_lock8的dpid\",\"name\":\"支持的门锁\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}}]}]}"
  },
  "success": true,
  "t": 1738695161549,
  "tid": "363b349be32911efa76ab217c6c149bc"
}

Information about how the device functions

Config seems to match with custom_components/tuya_local/devices/bcom_intercom_camera.yaml. Tried to create a new config based on that but without succes.

{
"result": {
"properties": [
{
"code": "basic_flip",
"custom_name": "",
"dp_id": 103,
"time": 1737622981888,
"type": "bool",
"value": false
},
{
"code": "basic_osd",
"custom_name": "",
"dp_id": 104,
"time": 1737622981891,
"type": "bool",
"value": false
},
{
"code": "motion_sensitivity",
"custom_name": "",
"dp_id": 106,
"time": 1737622981923,
"type": "enum",
"value": "0"
},
{
"code": "sd_storge",
"custom_name": "",
"dp_id": 109,
"time": 1737622981942,
"type": "string",
"value": "30708560|30168224|540336"
},
{
"code": "sd_status",
"custom_name": "",
"dp_id": 110,
"time": 1737622981940,
"type": "value",
"value": 1
},
{
"code": "sd_format",
"custom_name": "",
"dp_id": 111,
"time": 1717787133133,
"type": "bool",
"value": false
},
{
"code": "movement_detect_pic",
"custom_name": "",
"dp_id": 115,
"time": 1717787133133,
"type": "raw"
},
{
"code": "sd_format_state",
"custom_name": "",
"dp_id": 117,
"time": 1737622981945,
"type": "value",
"value": 0
},
{
"code": "motion_switch",
"custom_name": "",
"dp_id": 134,
"time": 1737622981916,
"type": "bool",
"value": true
},
{
"code": "doorbell_active",
"custom_name": "",
"dp_id": 136,
"time": 1717787133133,
"type": "string",
"value": ""
},
{
"code": "accessory_lock",
"custom_name": "",
"dp_id": 148,
"time": 1737622981970,
"type": "bool",
"value": false
},
{
"code": "doorbell_pic",
"custom_name": "",
"dp_id": 154,
"time": 1717787133133,
"type": "raw"
},
{
"code": "device_restart",
"custom_name": "",
"dp_id": 162,
"time": 1717787133133,
"type": "bool",
"value": false
},
{
"code": "alarm_message",
"custom_name": "",
"dp_id": 185,
"time": 1735647609307,
"type": "raw",
"value": "eyJ2IjoiNS4wIiwiY21kIjoiaXBjX21vdGlvbiIsInR5cGUiOiJpbWFnZSIsIndpdGgiOiJyZXNvdXJjZXMiLCJmaWxlcyI6W1sidHktZXUtc3RvcmFnZTMwLXBpYyIsIi82YTUyNzgtMTU4MDQ4MTg0LWJ3bDBkYzFmNWZjNjVmOTY4ZTk1L2RldGVjdC8xNzM1NjQ3NjA4LmpwZWciLCJkZmRlMTI4MWJkOGIzYTFiIiwiMTczODIzOTYwOSJdXX0="
},
{
"code": "ipc_c_switch_channel",
"custom_name": "",
"dp_id": 231,
"time": 1737622982542,
"type": "string",
"value": "{"res":1,"err":0,"cc":1,"chs":[{"id":1,"n":"DOOR1"},{"id":2,"n":"DOOR2"}]}"
},
{
"code": "accessory_lock2",
"custom_name": "",
"dp_id": 232,
"time": 1737622981968,
"type": "bool",
"value": false
},
{
"code": "access_lock_support",
"custom_name": "",
"dp_id": 233,
"time": 1737622981972,
"type": "string",
"value": "148,232"
}
]
},
"success": true,
"t": 1738696597380,
"tid": "8e0e05b4e32c11ef9e609e9247cde4aa"
}

@nabrog87 nabrog87 added the new device Unsupported device label Feb 4, 2025
@nabrog87
Copy link
Author

nabrog87 commented Feb 4, 2025

`name: Intercom
products:

  • id: csr2fqitalj5o0tq
    manufacturer: Anjielo
    model: DoorBell
    entities:
  • entity: camera
    dps:
    • id: 154
      name: record
      type: boolean
      optional: true
    • id: 154
      name: snapshot
      type: base64
      persist: false
      optional: true
      sensitive: true
      mapping:
      • dps_val: ""
        value_redirect: motion_detected
      • dps_val: null
        value_redirect: motion_detected
    • id: 115
      name: motion_detected
      type: base64
      sensitive: true
  • entity: lock
    name: Door lock
    dps:
    • id: 232
      type: boolean
      name: lock
  • entity: switch
    name: Flip image
    icon: "mdi:flip-horizontal"
    category: config
    dps:
    • id: 103
      type: boolean
      name: switch
  • entity: switch
    name: Watermark
    category: config
    icon: "mdi:watermark"
    dps:
    • id: 104
      type: boolean
      name: switch
  • entity: sensor
    name: SD capacity
    category: diagnostic
    dps:
    • id: 109
      type: string
      name: sensor
  • entity: sensor
    name: SD status
    category: diagnostic
    dps:
    • id: 110
      type: integer
      name: sensor
  • entity: button
    name: SD format
    category: config
    icon: "mdi:micro-sd"
    dps:
    • id: 111
      type: boolean
      name: button
  • entity: sensor
    name: SD format state
    category: diagnostic
    dps:
    • id: 117
      type: integer
      name: sensor
  • entity: button
    category: config
    class: restart
    dps:
    • id: 162
      type: boolean
      name: button
  • entity: sensor
    name: Channel
    icon: "mdi:ab-testing"
    category: diagnostic
    dps:
    • id: 231
      type: string
      name: sensor
  • entity: Lock
    name: Door lock
    dps:
    • id: 232
      type: boolean
      optional: true
      name: lock
  • entity: sensor
    name: Access lock Status
    category: diagnostic
    dps:
    • id: 233
      type: string
      optional: true
      name: sensor
      `

@make-all make-all moved this to 📋 Backlog in Tuya Local Feb 4, 2025
@make-all make-all added config provided Config included by reporter full_info All info needed was provided labels Feb 4, 2025
@make-all make-all moved this from 📋 Backlog to 🔖 Ready in Tuya Local Feb 4, 2025
@make-all make-all added device variant Variant of a supported device and removed new device Unsupported device labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config provided Config included by reporter device variant Variant of a supported device full_info All info needed was provided
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants