tuya-local
tuya-local copied to clipboard
[New device] Door hidden camera
Hello! Thank you for your work so far. Please add the Door hidden camera to the integration. I hope you can find all the information here:
"product_id": "fzsbulp3wg64l8vx"
"name": "\u9e3f\u535a-\u5361\u7247\u673a1080P-\u9879\u76ee\u540d(TY-W160D)",
"id": "xxx",
"key": "xxx",
"mac": "xxx",
"uuid": "xxx",
"category": "sp",
"product_name": "IPC ",
"product_id": "fzsbulp3wg64l8vx",
"biz_type": 18,
"model": "",
"sub": false,
"icon": "https://images.tuyaeu.com/smart/icon/ay1514542396878sK5rw/55025685c709ff881f5af4c728b84148.png",
"mapping": {
"103": {
"code": "basic_flip",
"type": "Boolean",
"values": {}
},
"104": {
"code": "basic_osd",
"type": "Boolean",
"values": {}
},
"106": {
"code": "motion_sensitivity",
"type": "Enum",
"values": {
"range": [
"0",
"1",
"2"
]
}
},
"108": {
"code": "basic_nightvision",
"type": "Enum",
"values": {
"range": [
"0",
"1",
"2"
]
}
},
"109": {
"code": "sd_storge",
"type": "String",
"values": "{\"maxlen\":255}"
},
"110": {
"code": "sd_status",
"type": "Integer",
"values": {
"unit": "",
"min": 1,
"max": 5,
"scale": 1,
"step": 1
}
},
"111": {
"code": "sd_format",
"type": "Boolean",
"values": {}
},
"115": {
"code": "movement_detect_pic",
"type": "Raw",
"values": {}
},
"117": {
"code": "sd_format_state",
"type": "Integer",
"values": {
"unit": "",
"min": -20000,
"max": 20000,
"scale": 1,
"step": 1
}
},
"134": {
"code": "motion_switch",
"type": "Boolean",
"values": {}
},
"150": {
"code": "record_switch",
"type": "Boolean",
"values": {}
},
"151": {
"code": "record_mode",
"type": "Enum",
"values": {
"range": [
"1",
"2"
]
}
}
{
"result": {
"model": "{\"modelId\":\"000002uf1x\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"basic_flip\",\"description\":\"设备设置页面-基本功能设置\\n使直播画面垂直翻转,true打开翻转,false关闭翻转\",\"name\":\"基本-录制画面翻转\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"basic_osd\",\"description\":\"设备设置页面-基本功能设置\\n时间水印功能开关,true打开水印,false关闭水印\",\"name\":\"基本-视频osd功能\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"motion_sensitivity\",\"description\":\"0-2,灵敏度依次增加;仅为灵敏度,0并不是关闭移动侦测报警;规定0为低灵敏度,1为中灵敏度,2为高灵敏度。\",\"name\":\"移动侦测灵敏度\",\"typeSpec\":{\"range\":[\"0\",\"1\",\"2\"],\"type\":\"enum\",\"typeDefaultValue\":\"0\"}},
{\"abilityId\":108,\"accessMode\":\"rw\",\"code\":\"basic_nightvision\",\"description\":\"0:自动\\n1:关\\n2:开\",\"extensions\":{\"iconName\":\"icon-setting\"},\"name\":\"红外夜视\",\"typeSpec\":{\"range\":[\"0\",\"1\",\"2\"],\"type\":\"enum\",\"typeDefaultValue\":\"0\"}},
{\"abilityId\":109,\"accessMode\":\"ro\",\"code\":\"sd_storge\",\"description\":\"示例:\\n---2017.07.08更新---\\n单位改为kb\\n---\\n3503775744|778977280|2718158848\\n其中第一字符串是总容量,第二个字符串是已使用的容量,第三个是剩余容量\",\"name\":\"存储卡-获取卡容量\",\"typeSpec\":{\"maxlen\":255,\"type\":\"string\",\"typeDefaultValue\":\"\"}},
{\"abilityId\":110,\"accessMode\":\"ro\",\"code\":\"sd_status\",\"description\":\"status:sd卡状态,1-正常,2-异常,3-空间不足,4-正在格式化,5-无SD卡;\",\"name\":\"存储卡-卡状态\",\"typeSpec\":{\"max\":5,\"min\":1,\"scale\":1,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":1,\"unit\":\"\"}},
{\"abilityId\":111,\"accessMode\":\"rw\",\"code\":\"sd_format\",\"description\":\"无参数\",\"name\":\"存储卡-格式化\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"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\":{\"maxlen\":128,\"type\":\"raw\"}},
{\"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\":{\"max\":20000,\"min\":-20000,\"scale\":1,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-20000,\"unit\":\"\"}},
{\"abilityId\":134,\"accessMode\":\"rw\",\"code\":\"motion_switch\",\"description\":\"\",\"name\":\" 移动侦测开关\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":150,\"accessMode\":\"rw\",\"code\":\"record_switch\",\"description\":\"设备设置页面-存储卡设置\\nSD卡录像开关,true为打开,false为关闭\\n功能关闭时,不录像到SD卡\",\"name\":\"SD卡开关\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":151,\"accessMode\":\"rw\",\"code\":\"record_mode\",\"description\":\"设备设置页面-存储卡设置\\nSD卡录像模式选择,1为事件录像(检测到移动再录像到SD卡),2为连续录像\",\"name\":\"SD卡录像模式选择\",\"typeSpec\":{\"range\":[\"1\",\"2\"],\"type\":\"enum\",\"typeDefaultValue\":\"1\"}}]}]}"
}
RTSP URL: rtsp://admin:@192.168.xx.xx:554/ch0_0.264 <--- no password
Please provide log messages also. Cameras are notorious for not providing full info over local protocol.
Please provide log messages also. Cameras are notorious for not providing full info over local protocol.
Hello! It is not in the log and I get the following empty message from the integration. Is there another method? (I'll try again later)
Please provide log messages also. Cameras are notorious for not providing full info over local protocol. Succeeded, but only with the 3.2 protocol
Device matches None with quality of 0%. DPS: {"updated_at": 1704864731.3073928, "104": false}