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 LSC SMART OUTDOOR PTZ CAMERA 3206233 #2850

Open
AlixerVolkov opened this issue Jan 24, 2025 · 2 comments
Open

Request support for LSC SMART OUTDOOR PTZ CAMERA 3206233 #2850

AlixerVolkov opened this issue Jan 24, 2025 · 2 comments
Labels
full_info All info needed was provided new device Unsupported device

Comments

@AlixerVolkov
Copy link

AlixerVolkov commented Jan 24, 2025

Log message

Device matches lsc_ptz_camera with quality of 78%. DPS: {"updated_at": 1737752037.1735198, "103": false, "104": true, "105": false, "106": "1", "109": "0|0|0", "110": 5, "116": true, "117": 0, "119": "7", "120": false, "124": "ir_mode", "134": false, "138": false, "139": false, "140": "0", "150": true, "151": "1", "159": false, "161": false, "168": false, "169": "{\"num\":1,\"region0\":{\"x\":0, \"y\":0, \"xlen\":100, \"ylen\":100 }}", "170": false, "188": "1"}

Product ID

mac53syedvina7re

Product Name

LSC SMART OUTDOOR PTZ CAMERA 3206233

DPS information

{
  "result": {
    "model": "{\"modelId\":\"fl78ag\",\"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\":105,\"accessMode\":\"rw\",\"code\":\"basic_private\",\"description\":\"设备设置页面-基本功能设置\\ntrue休眠,false不休眠\",\"extensions\":{\"iconName\":\"icon-dp_eye\",\"attribute\":\"4\"},\"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\":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\":116,\"accessMode\":\"rw\",\"code\":\"ptz_stop\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"停止转动\",\"typeSpec\":{\"type\":\"bool\"}},
{\"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\":119,\"accessMode\":\"rw\",\"code\":\"ptz_control\",\"description\":\"direction:方向,共8个;0-上,1-右上,2-右,3-右下,4-下,5-左下,6-左,7-左上\",\"name\":\"云台转动\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"0\"]}},
{\"abilityId\":120,\"accessMode\":\"rw\",\"code\":\"ipc_auto_siren\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-sound\",\"attribute\":\"1152\"},\"name\":\"触发蜂鸣器\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":124,\"accessMode\":\"rw\",\"code\":\"nightvision_mode\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1152\"},\"name\":\"夜间模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"ir_mode\",\"color_mode\"]}},
{\"abilityId\":134,\"accessMode\":\"rw\",\"code\":\"motion_switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-renxingyidong\",\"attribute\":\"4\"},\"name\":\"移动报警开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":138,\"accessMode\":\"rw\",\"code\":\"floodlight_switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"灯\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":139,\"accessMode\":\"rw\",\"code\":\"decibel_switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"声音侦测报警开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":140,\"accessMode\":\"rw\",\"code\":\"decibel_sensitivity\",\"description\":\"0代表低灵敏度;1代表高灵敏度\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"声音侦测灵敏度\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\"]}},
{\"abilityId\":141,\"accessMode\":\"ro\",\"code\":\"decibel_upload\",\"description\":\"用于报警消息推送,app上会显示通知\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"检测到声音\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":150,\"accessMode\":\"rw\",\"code\":\"record_switch\",\"description\":\"设备设置页面-存储卡设置\\nSD卡录像开关,true为打开,false为关闭\\n功能关闭时,不录像到SD卡\",\"extensions\":{\"attribute\":\"0\"},\"name\":\"SD卡录像开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":151,\"accessMode\":\"rw\",\"code\":\"record_mode\",\"description\":\"设备设置页面-存储卡设置\\nSD卡录像模式选择,1为事件录像(检测到移动再录像到SD卡),2为连续录像\",\"name\":\"录像模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"1\",\"2\"]}},
{\"abilityId\":159,\"accessMode\":\"rw\",\"code\":\"siren_switch\",\"description\":\"siren报警器发出报警的开关\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"警笛\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":161,\"accessMode\":\"rw\",\"code\":\"motion_tracking\",\"description\":\"\",\"name\":\"移动追踪开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":168,\"accessMode\":\"rw\",\"code\":\"motion_area_switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"报警区域开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":169,\"accessMode\":\"rw\",\"code\":\"motion_area\",\"description\":\"参考SDK文档实现\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"报警区域\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":170,\"accessMode\":\"rw\",\"code\":\"humanoid_filter\",\"description\":\"\",\"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\":188,\"accessMode\":\"rw\",\"code\":\"basic_anti_flicker\",\"description\":\"0:关闭功能 \\n1:50Hz\\n2:60Hz\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"抗闪烁\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\",\"2\"]}},
{\"abilityId\":212,\"accessMode\":\"rw\",\"code\":\"initiative_message\",\"description\":\"参考SDK文档实现\",\"extensions\":{\"attribute\":\"2048\"},\"name\":\"主动消息推送\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":247,\"accessMode\":\"rw\",\"code\":\"light_mode\",\"description\":\"\",\"name\":\"灯光模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"always_on_mode\",\"breathing_light_mode\",\"marquee_mode\"]}}]}]}"
  },
  "success": true,
  "t": 1737751947013,
  "tid": "1e919744da9511ef9e5f9e9247cde4aa"
}

Information about how the device functions

Camera with night mode, move/sound detection, antiflicker and siren. Integration is able to recognize the camera as "lsc_ptz_camera", but none of provided buttons work.

@AlixerVolkov AlixerVolkov added the new device Unsupported device label Jan 24, 2025
@make-all make-all added device variant Variant of a supported device and removed new device Unsupported device labels Jan 24, 2025
@make-all make-all moved this to 🔖 Ready in Tuya Local Jan 24, 2025
@make-all make-all added new device Unsupported device full_info All info needed was provided and removed device variant Variant of a supported device labels Jan 24, 2025
@make-all
Copy link
Owner

The functions that are there are matching, so buttons should work. It is only missing nightvision, motion area, siren trigger and floodlight features.
There is also a lsc outdoor camera added recently (maybe since the last release), but it is missing PTZ and has incompatible nightvision settings.

@AlixerVolkov
Copy link
Author

Thank you so much for your quick anwer. All the buttons are working except PTZ ones. Siren OK, Floodlight OK. Maybe this info Will help you.

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