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 Security camera #2978

Open
toxacj opened this issue Feb 18, 2025 · 0 comments
Open

Request support for Security camera #2978

toxacj opened this issue Feb 18, 2025 · 0 comments
Labels
full_info All info needed was provided new device Unsupported device

Comments

@toxacj
Copy link

toxacj commented Feb 18, 2025

Log message

Device matches lscsmartconnect_outdoorcamera with quality of 91%. DPS: {"updated_at": 1739887381.5196185, "101": true, "103": true, "104": true, "106": "0", "108": "1", "109": "17848|0|17848", "110": 5, "117": 0, "134": false, "150": false, "151": "1"}

Product ID

Smartlife door security camera

Product Name

WIFI Peephole Camera

DPS information

curl  --request GET "https://openapi.tuyaeu.com/v2.0/cloud/thing/bfdd9edd6097d4dc93uz2i/model" --header "sign_method: HMAC-SHA256" --header "client_id: net3xgfde5pqcdfty3dj" --header "t: 1739886989564" --header "mode: cors" --header "Content-Type: application/json" --header "sign: D50BF5A50D8C4F228CE030BD58CFE902293C0312D046933303DD89D0DAF4B7F7" --header "access_token: 22caa08501cf62e470ed9431b92d2d59" 

{
  "result": {
    "model": "{\"modelId\":\"g34atk\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"basic_indicator\",\"description\":\"设备设置页面-基本功能设置\\n设备指示灯是否打开,true打开,false关闭\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1152\"},\"name\":\"状态指示灯\",\"typeSpec\":{\"type\":\"bool\"}},{\"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为高灵敏度。\",\"name\":\"移动侦测灵敏度\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\",\"2\"]}},{\"abilityId\":108,\"accessMode\":\"rw\",\"code\":\"basic_nightvision\",\"description\":\"0:自动\\n1:关\\n2:开\",\"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\":\"\",\"name\":\" 移动侦测开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":150,\"accessMode\":\"rw\",\"code\":\"record_switch\",\"description\":\"设备设置页面-存储卡设置\\nSD卡录像开关,true为打开,false为关闭\\n功能关闭时,不录像到SD卡\",\"name\":\"SD卡开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":151,\"accessMode\":\"rw\",\"code\":\"record_mode\",\"description\":\"设备设置页面-存储卡设置\\nSD卡录像模式选择,1为事件录像(检测到移动再录像到SD卡),2为连续录像\",\"name\":\"SD卡录像模式选择\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"1\",\"2\"]}},{\"abilityId\":162,\"accessMode\":\"rw\",\"code\":\"device_restart\",\"description\":\"无参数,页面操作为按钮类型,用户点击远程重启,直接发送ture的命令。\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"设备重启\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":185,\"accessMode\":\"ro\",\"code\":\"alarm_message\",\"description\":\"实现方式参考嵌入式SDK使用文档\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"告警消息上报\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":212,\"accessMode\":\"rw\",\"code\":\"initiative_message\",\"description\":\"参考SDK文档实现\",\"extensions\":{\"attribute\":\"2048\"},\"name\":\"主动消息推送\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"
  },
  "success": true,
  "t": 1739886990371,
  "tid": "278c5923ee0011efa76bb217c6c149bc"
}

Information about how the device functions

Image

@toxacj toxacj added the new device Unsupported device label Feb 18, 2025
@make-all make-all added the full_info All info needed was provided label Feb 18, 2025
@make-all make-all moved this to 🔖 Ready in Tuya Local Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full_info All info needed was provided new device Unsupported device
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants