-
Notifications
You must be signed in to change notification settings - Fork 490
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 Lefant N3 Robot Vacuum Cleaner #1393
Comments
The objectives of Zigbee2MQTT and this integration are different, so it is not sufficient to follow instructions of one project when making a report on the other. |
@make-all I've added the Zigbee2MQTT information to make it easier to compare dps. They are extracted from tuya cloud. There is also some other information below which is the same as the first. Is there any missing information in this case that the issue was closed? |
@make-all I have deleted irrelevant information. I just thought that more information is more useful. :) |
All of the information requested on the new device template is missing. The information you are providing is for the cloud protocol, which often resembles the local protocol, but is also often different. The specific QueryThingsDataModel API result mentioned in the template, and most importantly, Home Assistant logs or diagnostics showing the values actually received from the device are needed. |
@make-all Sorry, I missed the QueryThingsDataModel. I have added this information by editing the original information. Please see if the information is now sufficient. Does the information from the logs have to be added? Because when I created the yaml config file for the TAMPA led system, all the functions were fully working the same as in the cloud. The only problem is that in order for tuya local to see all the cloud DPS, it has to be first triggered via the API before adding them locally. |
@make-all based on your comments, I have updated the issue description with all the necessary information regarding the new device template. I've made sure to include the specific QueryThingsDataModel API result and Home Assistant logs/diagnostics showing the values received from the device, as you suggested. Could you please take a moment to review the updated information? Also, I would like to inquire if it's possible to reopen the current issue or would it be more appropriate for me to create a new issue with the identical information? Looking forward to your guidance and thank you in advance for your time. |
Hi! I also have the Lefant N3. It has its own Lefant app, which lacks a lot of features, Scenes and conneciton to HA 😢 Here's an initial (incomplete!) config file for it:
Return to Dock currently doesn't work with that config (it worked while working on it, but not after re-adding the device. I must have deleted the part relating to Docking and it continued working through reloads, until deleting-readding) @make-all this device works a bit different/weird... There are 3 DPs that control the device when setting them to true:
However, those DPs don't really update/stay updated. They always stay like this So they act more as buttons. Very weird, I know, but how can we set this up in the config file? Unless there's a better way (I hope there is), it would be something like:
I'm trying to understand constraints and conditions and take inspiration from some other vacuum config files like tesvor_s6, kogan_lx10 and ttec_reobipro but for now, it surpasses me. |
I think TTEC Robipro has the same issue with buttons, as reported on #1545. Your info gives me a bit more to think about how to work with this. |
Leave the 1/2 combo for activate, but remove dp 3 as power, as this is for sending the vacuum to charge. Add the separate buttons in case the vacuum interface is not able to control it (eg device does not like two commands sent at once). Based on comment in #1393 about a similar vacuum with 3 booleans for power_go, pause and switch_charge
- mark 4, 6, 7, 126 as optional, as they seem to not appear for another user - based on reported behaviour, try power_go as power, pause as activate inverted. I think this was already tried for TTEC vacuum and did not work there, but maybe the vacuums act differently. - based on commands not seeming to work, make them also trigger power and switch_charge dps as appropriate. Issue #1393
I can only try. Let me know if this change has made it better or worse. |
Using the latest c67099f (dimissing a7becc1):
Made DP 2 optional also, works then.
fyi this is the more-info dialog now (3 buttons instead of 5, but Clean Spot was unnecessary and Dock was duplicate, so it's better like this) 👍: Thanks again for your support Jason 🙏 |
I had some back and forwards about including the switch_charge dp in with commands, and which neeeded to be the primary, then forgot to rename work_mode back to command when I returned back to that as primary. Mark dp 2 as optional to help detection. Issue #1393
I have two Lefant devices and seeing some odd behavior when connecting to tuya-local, wondering if anyone can point me in the right direction on where to fix/update. NOTE: These details were from setting up the integration w/ tuya-local via the smart life android app I have a "Lefant N3" I can connect, but the only options for me to select as the "device type" during setup is
I have a "Lefant M1" that i've successfully registered in home assistant, where it lets me select the device type |
Following the steps in the README.md. It seemed like I needed to switch to use the Tuya Smart android app instead of the Smart Life android app, so I did that Weirdly after doing that and trying to register the devices via Lefant M1 (via Tuya Smart app)Tuya platform "debug device > data points":
Tuya platform "API Explorer > Query Things Data Model" {
"result": {
"model": "{\"modelId\":\"000004x6kz\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch_go\",\"description\":\"清扫启动、清扫停止\",\"extensions\":{\"attribute\":\"672\"},\"name\":\"清扫开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"pause\",\"description\":\"暂停有效、暂停无效\\n\",\"extensions\":{\"attribute\":\"672\"},\"name\":\"暂停/继续\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":3,\"accessMode\":\"rw\",\"code\":\"switch_charge\",\"description\":\"回充启动、回充停止\\n\",\"extensions\":{\"attribute\":\"672\"},\"name\":\"回充开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":4,\"accessMode\":\"rw\",\"code\":\"mode\",\"description\":\"smart - 自动清扫模式/全屋清扫模式 \\nchargego - 自动回充模式\\nzone - 划区清扫模式/矩形清扫模式\\npose - 指哪扫哪模式/定点清扫模式\\npart - 局部清扫模式\\nfastmapping - 快速建图\\nCleanModeSectorbased - 分区清扫\",\"extensions\":{\"attribute\":\"704\"},\"name\":\"工作模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"smart\",\"chargego\",\"zone\",\"pose\",\"fastmapping\",\"CleanModeSectorbased\"]}},{\"abilityId\":5,\"accessMode\":\"ro\",\"code\":\"status\",\"description\":\"默认值(不可修改删除,否则影响控制面板逻辑):\\nstandby - 待机中\\nsmart - 自动清扫中 \\nzone_clean - 划区清扫中\\npart_clean - 局部清扫中\\ncleaning - 清扫中(备选) \\npaused - 已暂停\\ngoto_pos - 前往目标点中\\npos_arrived - 目标点已到达 \\npos_unarrive - 目标点不可达 \\ngoto_charge - 寻找充电座中 \\ncharging - 充电中\\ncharge_done - 充电完成 \\nsleep - 休眠\\nrelocating - 定位中\\nrelocating_reharge - 回充定位中\\nrecharing_paused - 回充暂停中\\nfastmaping - 快速建图中\\nfastmaping_paused - 快速建图暂停中\\n\",\"extensions\":{\"attribute\":\"706\"},\"name\":\"当前状态\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"standby\",\"smart\",\"zone_clean\",\"part_clean\",\"cleaning\",\"paused\",\"goto_pos\",\"pos_arrived\",\"pos_unarrive\",\"goto_charge\",\"charging\",\"charge_done\",\"sleep\",\"relocating\",\"relocating_recharge\",\"recharing_paused\",\"fastmaping\",\"fastmaping_paused\"]}},{\"abilityId\":6,\"accessMode\":\"ro\",\"code\":\"clean_time\",\"description\":\"默认区间为0min—9999分钟(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9min\",\"extensions\":{\"attribute\":\"192\"},\"name\":\"清扫时间\",\"typeSpec\":{\"type\":\"value\",\"max\":9999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"min\"}},{\"abilityId\":7,\"accessMode\":\"ro\",\"code\":\"clean_area\",\"description\":\"默认区间为0㎡—9999㎡(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9㎡\\n\",\"extensions\":{\"attribute\":\"192\"},\"name\":\"清扫面积\",\"typeSpec\":{\"type\":\"value\",\"max\":9999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"㎡\"}},{\"abilityId\":8,\"accessMode\":\"ro\",\"code\":\"residual_electricity\",\"description\":\"默认区间为0%—100%(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9%\\n\",\"extensions\":{\"attribute\":\"194\"},\"name\":\"剩余电量\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"%\"}},{\"abilityId\":9,\"accessMode\":\"rw\",\"code\":\"suction\",\"description\":\"默认值(可修改、删除、增加):\\nstrong - 强劲\\nnormal - 正常\\ngentle - 安静\\nclosed - 关闭\\n\\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"吸力选择\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"closed\",\"gentle\",\"normal\",\"strong\"]}},{\"abilityId\":10,\"accessMode\":\"rw\",\"code\":\"cistern\",\"description\":\"默认值(可修改、删除、增加):\\nclosed:关闭\\nlow - 低\\nmiddle - 中\\nhigh - 高\\n\\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"水量选择\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"closed\",\"low\",\"middle\",\"high\"]}},{\"abilityId\":11,\"accessMode\":\"rw\",\"code\":\"seek\",\"description\":\"\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"寻找机器\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":12,\"accessMode\":\"rw\",\"code\":\"direction_control\",\"description\":\"默认值(不可修改、删除、增加),按键按下下发对应的方向值,松手下发停\",\"extensions\":{\"iconName\":\"icon-dp_compass\",\"attribute\":\"224\"},\"name\":\"清扫方向\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"forward\",\"backward\",\"turn_left\",\"turn_right\",\"stop\"]}},{\"abilityId\":13,\"accessMode\":\"rw\",\"code\":\"map_reset\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_loop\",\"attribute\":\"128\"},\"name\":\"重置地图\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":14,\"accessMode\":\"rw\",\"code\":\"path_data\",\"description\":\"相关数据协议及逻辑可参看协议文件\\n\",\"extensions\":{\"attribute\":\"736\"},\"name\":\"路径传输\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":15,\"accessMode\":\"rw\",\"code\":\"command_trans\",\"description\":\"相关数据协议及逻辑可参看协议文件\\n\",\"extensions\":{\"attribute\":\"736\"},\"name\":\"指令传输\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":16,\"accessMode\":\"rw\",\"code\":\"request\",\"description\":\"相关数据协议及逻辑可参看协议文件\\n\",\"extensions\":{\"attribute\":\"736\"},\"name\":\"请求数据\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"get_map\",\"get_path\",\"get_both\"]}},{\"abilityId\":27,\"accessMode\":\"rw\",\"code\":\"break_clean\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_wash\",\"attribute\":\"1152\"},\"name\":\"断点续扫\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":28,\"accessMode\":\"ro\",\"code\":\"fault\",\"description\":\"默认值(不可修改删除,否则影响控制面板逻辑):\\nedge_sweep_fault - 边刷故障\\nmiddle_sweep_fault - 滚刷故障\\nleft_wheel_fault - 左轮故障\\nright_wheel_fault - 右轮故障\\ngarbage_box_fault - 尘盒故障\\nland_check_fault - 地检故障\\ncollision_fault - 碰撞传感器故障\\n\\n可在后面增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加故障中状态,则为in_trouble\",\"extensions\":{\"scope\":\"fault\",\"attribute\":\"704\"},\"name\":\"故障告警\",\"typeSpec\":{\"type\":\"bitmap\",\"label\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"22\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\",\"29\"],\"maxlen\":30}},{\"abilityId\":32,\"accessMode\":\"rw\",\"code\":\"device_timer\",\"description\":\"相关数据协议及逻辑可参看协议文件\",\"extensions\":{\"attribute\":\"224\"},\"name\":\"定时\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":45,\"accessMode\":\"rw\",\"code\":\"auto_boost\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_up\"},\"name\":\"地毯增压\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"forbidden_zone\",\"description\":\"\",\"name\":\"禁区信息获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"clean_zone\",\"description\":\"\",\"name\":\"划区信息获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"pos_clean\",\"description\":\"\",\"name\":\"指哪扫哪获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"all_zone\",\"description\":\"\",\"name\":\"禁区,划区,指哪扫哪状态获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"map_zoom_android\",\"description\":\"\",\"name\":\"地图比例_Android\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"map_zoom_ios\",\"description\":\"\",\"name\":\"地图比例_IOS\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":107,\"accessMode\":\"rw\",\"code\":\"dev_log_show\",\"description\":\"\",\"name\":\"设备log显示\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":108,\"accessMode\":\"rw\",\"code\":\"clean_zone_back\",\"description\":\"\",\"name\":\"退出划区清扫\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":109,\"accessMode\":\"rw\",\"code\":\"pos_clean_back\",\"description\":\"\",\"name\":\"退出指哪扫哪\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":110,\"accessMode\":\"rw\",\"code\":\"get_device_info\",\"description\":\"\",\"name\":\"获取设备信息\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":111,\"accessMode\":\"rw\",\"code\":\"get_robot_log\",\"description\":\"\",\"name\":\"获取嵌入式日志\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":112,\"accessMode\":\"rw\",\"code\":\"switch_save_map\",\"description\":\"\",\"name\":\"地图保存开关\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":120,\"accessMode\":\"rw\",\"code\":\"voice_check\",\"description\":\"\",\"name\":\"音量调节\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":121,\"accessMode\":\"rw\",\"code\":\"robot_reboot\",\"description\":\"\",\"name\":\"死机标志位\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":122,\"accessMode\":\"rw\",\"code\":\"save_mapping\",\"description\":\"\",\"name\":\"地图保存标志位\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":123,\"accessMode\":\"rw\",\"code\":\"disturb_set\",\"description\":\"\",\"name\":\"勿扰设置\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":124,\"accessMode\":\"rw\",\"code\":\"appointment_clean\",\"description\":\"\",\"name\":\"预约清扫\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":125,\"accessMode\":\"rw\",\"code\":\"is_charging\",\"description\":\"\",\"name\":\"在桩标志\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":126,\"accessMode\":\"rw\",\"code\":\"save_map_result\",\"description\":\"\",\"name\":\"地图保存结果\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":150,\"accessMode\":\"rw\",\"code\":\"reserved0\",\"description\":\"\",\"name\":\"预留0\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":151,\"accessMode\":\"rw\",\"code\":\"reserved1\",\"description\":\"\",\"name\":\"预留1\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":152,\"accessMode\":\"rw\",\"code\":\"reserved2\",\"description\":\"\",\"name\":\"预留2\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":153,\"accessMode\":\"rw\",\"code\":\"reserved3\",\"description\":\"\",\"name\":\"预留3\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":154,\"accessMode\":\"rw\",\"code\":\"reserved4\",\"description\":\"\",\"name\":\"预留4\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"
},
"success": true,
"t": 1721304292759,
"tid": "f0a155f744fd11efb20dc6731f22cc33"
} {
"modelId": "000004x6kz",
"services": [
{
"actions": [],
"code": "",
"description": "",
"events": [],
"name": "默认服务",
"properties": [
{
"abilityId": 1,
"accessMode": "rw",
"code": "switch_go",
"description": "清扫启动、清扫停止",
"extensions": {
"attribute": "672"
},
"name": "清扫开关",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 2,
"accessMode": "rw",
"code": "pause",
"description": "暂停有效、暂停无效\n",
"extensions": {
"attribute": "672"
},
"name": "暂停/继续",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 3,
"accessMode": "rw",
"code": "switch_charge",
"description": "回充启动、回充停止\n",
"extensions": {
"attribute": "672"
},
"name": "回充开关",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 4,
"accessMode": "rw",
"code": "mode",
"description": "smart - 自动清扫模式/全屋清扫模式 \nchargego - 自动回充模式\nzone - 划区清扫模式/矩形清扫模式\npose - 指哪扫哪模式/定点清扫模式\npart - 局部清扫模式\nfastmapping - 快速建图\nCleanModeSectorbased - 分区清扫",
"extensions": {
"attribute": "704"
},
"name": "工作模式",
"typeSpec": {
"type": "enum",
"range": [
"smart",
"chargego",
"zone",
"pose",
"fastmapping",
"CleanModeSectorbased"
]
}
},
{
"abilityId": 5,
"accessMode": "ro",
"code": "status",
"description": "默认值(不可修改删除,否则影响控制面板逻辑):\nstandby - 待机中\nsmart - 自动清扫中 \nzone_clean - 划区清扫中\npart_clean - 局部清扫中\ncleaning - 清扫中(备选) \npaused - 已暂停\ngoto_pos - 前往目标点中\npos_arrived - 目标点已到达 \npos_unarrive - 目标点不可达 \ngoto_charge - 寻找充电座中 \ncharging - 充电中\ncharge_done - 充电完成 \nsleep - 休眠\nrelocating - 定位中\nrelocating_reharge - 回充定位中\nrecharing_paused - 回充暂停中\nfastmaping - 快速建图中\nfastmaping_paused - 快速建图暂停中\n",
"extensions": {
"attribute": "706"
},
"name": "当前状态",
"typeSpec": {
"type": "enum",
"range": [
"standby",
"smart",
"zone_clean",
"part_clean",
"cleaning",
"paused",
"goto_pos",
"pos_arrived",
"pos_unarrive",
"goto_charge",
"charging",
"charge_done",
"sleep",
"relocating",
"relocating_recharge",
"recharing_paused",
"fastmaping",
"fastmaping_paused"
]
}
},
{
"abilityId": 6,
"accessMode": "ro",
"code": "clean_time",
"description": "默认区间为0min—9999分钟(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9min",
"extensions": {
"attribute": "192"
},
"name": "清扫时间",
"typeSpec": {
"type": "value",
"max": 9999,
"min": 0,
"scale": 0,
"step": 1,
"unit": "min"
}
},
{
"abilityId": 7,
"accessMode": "ro",
"code": "clean_area",
"description": "默认区间为0㎡—9999㎡(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9㎡\n",
"extensions": {
"attribute": "192"
},
"name": "清扫面积",
"typeSpec": {
"type": "value",
"max": 9999,
"min": 0,
"scale": 0,
"step": 1,
"unit": "㎡"
}
},
{
"abilityId": 8,
"accessMode": "ro",
"code": "residual_electricity",
"description": "默认区间为0%—100%(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9%\n",
"extensions": {
"attribute": "194"
},
"name": "剩余电量",
"typeSpec": {
"type": "value",
"max": 100,
"min": 0,
"scale": 0,
"step": 1,
"unit": "%"
}
},
{
"abilityId": 9,
"accessMode": "rw",
"code": "suction",
"description": "默认值(可修改、删除、增加):\nstrong - 强劲\nnormal - 正常\ngentle - 安静\nclosed - 关闭\n\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto",
"extensions": {
"attribute": "128"
},
"name": "吸力选择",
"typeSpec": {
"type": "enum",
"range": [
"closed",
"gentle",
"normal",
"strong"
]
}
},
{
"abilityId": 10,
"accessMode": "rw",
"code": "cistern",
"description": "默认值(可修改、删除、增加):\nclosed:关闭\nlow - 低\nmiddle - 中\nhigh - 高\n\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto",
"extensions": {
"attribute": "128"
},
"name": "水量选择",
"typeSpec": {
"type": "enum",
"range": [
"closed",
"low",
"middle",
"high"
]
}
},
{
"abilityId": 11,
"accessMode": "rw",
"code": "seek",
"description": "",
"extensions": {
"attribute": "128"
},
"name": "寻找机器",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 12,
"accessMode": "rw",
"code": "direction_control",
"description": "默认值(不可修改、删除、增加),按键按下下发对应的方向值,松手下发停",
"extensions": {
"iconName": "icon-dp_compass",
"attribute": "224"
},
"name": "清扫方向",
"typeSpec": {
"type": "enum",
"range": [
"forward",
"backward",
"turn_left",
"turn_right",
"stop"
]
}
},
{
"abilityId": 13,
"accessMode": "rw",
"code": "map_reset",
"description": "",
"extensions": {
"iconName": "icon-dp_loop",
"attribute": "128"
},
"name": "重置地图",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 14,
"accessMode": "rw",
"code": "path_data",
"description": "相关数据协议及逻辑可参看协议文件\n",
"extensions": {
"attribute": "736"
},
"name": "路径传输",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 15,
"accessMode": "rw",
"code": "command_trans",
"description": "相关数据协议及逻辑可参看协议文件\n",
"extensions": {
"attribute": "736"
},
"name": "指令传输",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 16,
"accessMode": "rw",
"code": "request",
"description": "相关数据协议及逻辑可参看协议文件\n",
"extensions": {
"attribute": "736"
},
"name": "请求数据",
"typeSpec": {
"type": "enum",
"range": [
"get_map",
"get_path",
"get_both"
]
}
},
{
"abilityId": 27,
"accessMode": "rw",
"code": "break_clean",
"description": "",
"extensions": {
"iconName": "icon-dp_wash",
"attribute": "1152"
},
"name": "断点续扫",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 28,
"accessMode": "ro",
"code": "fault",
"description": "默认值(不可修改删除,否则影响控制面板逻辑):\nedge_sweep_fault - 边刷故障\nmiddle_sweep_fault - 滚刷故障\nleft_wheel_fault - 左轮故障\nright_wheel_fault - 右轮故障\ngarbage_box_fault - 尘盒故障\nland_check_fault - 地检故障\ncollision_fault - 碰撞传感器故障\n\n可在后面增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加故障中状态,则为in_trouble",
"extensions": {
"scope": "fault",
"attribute": "704"
},
"name": "故障告警",
"typeSpec": {
"type": "bitmap",
"label": [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"27",
"28",
"29"
],
"maxlen": 30
}
},
{
"abilityId": 32,
"accessMode": "rw",
"code": "device_timer",
"description": "相关数据协议及逻辑可参看协议文件",
"extensions": {
"attribute": "224"
},
"name": "定时",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 45,
"accessMode": "rw",
"code": "auto_boost",
"description": "",
"extensions": {
"iconName": "icon-dp_up"
},
"name": "地毯增压",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 101,
"accessMode": "rw",
"code": "forbidden_zone",
"description": "",
"name": "禁区信息获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 102,
"accessMode": "rw",
"code": "clean_zone",
"description": "",
"name": "划区信息获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 103,
"accessMode": "rw",
"code": "pos_clean",
"description": "",
"name": "指哪扫哪获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 104,
"accessMode": "rw",
"code": "all_zone",
"description": "",
"name": "禁区,划区,指哪扫哪状态获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 105,
"accessMode": "rw",
"code": "map_zoom_android",
"description": "",
"name": "地图比例_Android",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 106,
"accessMode": "rw",
"code": "map_zoom_ios",
"description": "",
"name": "地图比例_IOS",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 107,
"accessMode": "rw",
"code": "dev_log_show",
"description": "",
"name": "设备log显示",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 108,
"accessMode": "rw",
"code": "clean_zone_back",
"description": "",
"name": "退出划区清扫",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 109,
"accessMode": "rw",
"code": "pos_clean_back",
"description": "",
"name": "退出指哪扫哪",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 110,
"accessMode": "rw",
"code": "get_device_info",
"description": "",
"name": "获取设备信息",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 111,
"accessMode": "rw",
"code": "get_robot_log",
"description": "",
"name": "获取嵌入式日志",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 112,
"accessMode": "rw",
"code": "switch_save_map",
"description": "",
"name": "地图保存开关",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 120,
"accessMode": "rw",
"code": "voice_check",
"description": "",
"name": "音量调节",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 121,
"accessMode": "rw",
"code": "robot_reboot",
"description": "",
"name": "死机标志位",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 122,
"accessMode": "rw",
"code": "save_mapping",
"description": "",
"name": "地图保存标志位",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 123,
"accessMode": "rw",
"code": "disturb_set",
"description": "",
"name": "勿扰设置",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 124,
"accessMode": "rw",
"code": "appointment_clean",
"description": "",
"name": "预约清扫",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 125,
"accessMode": "rw",
"code": "is_charging",
"description": "",
"name": "在桩标志",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 126,
"accessMode": "rw",
"code": "save_map_result",
"description": "",
"name": "地图保存结果",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 150,
"accessMode": "rw",
"code": "reserved0",
"description": "",
"name": "预留0",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 151,
"accessMode": "rw",
"code": "reserved1",
"description": "",
"name": "预留1",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 152,
"accessMode": "rw",
"code": "reserved2",
"description": "",
"name": "预留2",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 153,
"accessMode": "rw",
"code": "reserved3",
"description": "",
"name": "预留3",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 154,
"accessMode": "rw",
"code": "reserved4",
"description": "",
"name": "预留4",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
}
]
}
]
} Lefant N3 (via Tuya Smart app)Tuya platform "debug device > data points":
Tuya platform "API Explorer > Query Things Data Model" {
"result": {
"model": "{\"modelId\":\"dwzcjg\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch_go\",\"description\":\"清扫启动、清扫停止\",\"extensions\":{\"attribute\":\"672\"},\"name\":\"清扫开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"pause\",\"description\":\"暂停有效、暂停无效\\n\",\"extensions\":{\"attribute\":\"672\"},\"name\":\"暂停/继续\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":3,\"accessMode\":\"rw\",\"code\":\"switch_charge\",\"description\":\"回充启动、回充停止\\n\",\"extensions\":{\"attribute\":\"672\"},\"name\":\"回充开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":4,\"accessMode\":\"rw\",\"code\":\"mode\",\"description\":\"smart - 自动清扫模式/全屋清扫模式 \\nchargego - 自动回充模式\\nzone - 划区清扫模式/矩形清扫模式\\npose - 指哪扫哪模式/定点清扫模式\\npart - 局部清扫模式\\nfastmapping - 快速建图\\nCleanModeSectorbased - 分区清扫\",\"extensions\":{\"attribute\":\"704\"},\"name\":\"工作模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"smart\",\"chargego\",\"zone\",\"pose\",\"fastmapping\",\"CleanModeSectorbased\"]}},{\"abilityId\":5,\"accessMode\":\"ro\",\"code\":\"status\",\"description\":\"默认值(不可修改删除,否则影响控制面板逻辑):\\nstandby - 待机中\\nsmart - 自动清扫中 \\nzone_clean - 划区清扫中\\npart_clean - 局部清扫中\\ncleaning - 清扫中(备选) \\npaused - 已暂停\\ngoto_pos - 前往目标点中\\npos_arrived - 目标点已到达 \\npos_unarrive - 目标点不可达 \\ngoto_charge - 寻找充电座中 \\ncharging - 充电中\\ncharge_done - 充电完成 \\nsleep - 休眠\\nrelocating - 定位中\\nrelocating_reharge - 回充定位中\\nrecharing_paused - 回充暂停中\\nfastmaping - 快速建图中\\nfastmaping_paused - 快速建图暂停中\\n\",\"extensions\":{\"attribute\":\"706\"},\"name\":\"当前状态\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"standby\",\"smart\",\"zone_clean\",\"part_clean\",\"cleaning\",\"paused\",\"goto_pos\",\"pos_arrived\",\"pos_unarrive\",\"goto_charge\",\"charging\",\"charge_done\",\"sleep\",\"relocating\",\"relocating_recharge\",\"recharing_paused\",\"fastmaping\",\"fastmaping_paused\"]}},{\"abilityId\":6,\"accessMode\":\"ro\",\"code\":\"clean_time\",\"description\":\"默认区间为0min—9999分钟(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9min\",\"extensions\":{\"attribute\":\"192\"},\"name\":\"清扫时间\",\"typeSpec\":{\"type\":\"value\",\"max\":9999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"min\"}},{\"abilityId\":7,\"accessMode\":\"ro\",\"code\":\"clean_area\",\"description\":\"默认区间为0㎡—9999㎡(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9㎡\\n\",\"extensions\":{\"attribute\":\"192\"},\"name\":\"清扫面积\",\"typeSpec\":{\"type\":\"value\",\"max\":9999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"㎡\"}},{\"abilityId\":8,\"accessMode\":\"ro\",\"code\":\"residual_electricity\",\"description\":\"默认区间为0%—100%(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9%\\n\",\"extensions\":{\"attribute\":\"194\"},\"name\":\"剩余电量\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"%\"}},{\"abilityId\":9,\"accessMode\":\"rw\",\"code\":\"suction\",\"description\":\"默认值(可修改、删除、增加):\\nsuperstrong-超强\\nstrong - 强劲\\nnormal - 正常\\ngentle - 安静\\nclosed - 关闭\\n\\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"吸力选择\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"closed\",\"gentle\",\"normal\",\"strong\",\"superstrong\"]}},{\"abilityId\":10,\"accessMode\":\"rw\",\"code\":\"cistern\",\"description\":\"默认值(可修改、删除、增加):\\nclosed-关\\nlow - 低\\nmiddle - 中\\nhigh - 高\\nclosed - 关闭\\n\\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"水量选择\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"closed\",\"low\",\"middle\",\"high\"]}},{\"abilityId\":11,\"accessMode\":\"rw\",\"code\":\"seek\",\"description\":\"\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"寻找机器\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":12,\"accessMode\":\"rw\",\"code\":\"direction_control\",\"description\":\"默认值(不可修改、删除、增加),按键按下下发对应的方向值,松手下发停\",\"extensions\":{\"iconName\":\"icon-dp_compass\",\"attribute\":\"224\"},\"name\":\"清扫方向\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"forward\",\"backward\",\"turn_left\",\"turn_right\",\"stop\"]}},{\"abilityId\":13,\"accessMode\":\"rw\",\"code\":\"map_reset\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_loop\",\"attribute\":\"128\"},\"name\":\"重置地图\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":14,\"accessMode\":\"rw\",\"code\":\"path_data\",\"description\":\"相关数据协议及逻辑可参看协议文件\\n\",\"extensions\":{\"attribute\":\"736\"},\"name\":\"路径传输\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":15,\"accessMode\":\"rw\",\"code\":\"command_trans\",\"description\":\"相关数据协议及逻辑可参看协议文件\\n\",\"extensions\":{\"attribute\":\"736\"},\"name\":\"指令传输\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":16,\"accessMode\":\"rw\",\"code\":\"request\",\"description\":\"相关数据协议及逻辑可参看协议文件\\n\",\"extensions\":{\"attribute\":\"736\"},\"name\":\"请求数据\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"get_map\",\"get_path\",\"get_both\"]}},{\"abilityId\":27,\"accessMode\":\"rw\",\"code\":\"break_clean\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_wash\",\"attribute\":\"1152\"},\"name\":\"断点续扫\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":28,\"accessMode\":\"ro\",\"code\":\"fault\",\"description\":\"默认值(不可修改删除,否则影响控制面板逻辑):\\nedge_sweep_fault - 边刷故障\\nmiddle_sweep_fault - 滚刷故障\\nleft_wheel_fault - 左轮故障\\nright_wheel_fault - 右轮故障\\ngarbage_box_fault - 尘盒故障\\nland_check_fault - 地检故障\\ncollision_fault - 碰撞传感器故障\\n\\n可在后面增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加故障中状态,则为in_trouble\",\"extensions\":{\"scope\":\"fault\",\"attribute\":\"704\"},\"name\":\"故障告警\",\"typeSpec\":{\"type\":\"bitmap\",\"label\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"22\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\",\"29\"],\"maxlen\":30}},{\"abilityId\":32,\"accessMode\":\"rw\",\"code\":\"device_timer\",\"description\":\"相关数据协议及逻辑可参看协议文件\",\"extensions\":{\"attribute\":\"224\"},\"name\":\"定时\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":33,\"accessMode\":\"rw\",\"code\":\"disturb_time_set\",\"description\":\"相关数据协议及逻辑可参看开发包中激光扫地机地图协议文件\",\"extensions\":{\"iconName\":\"icon-dp_time3\",\"attribute\":\"224\"},\"name\":\"勿扰时间设置\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":45,\"accessMode\":\"rw\",\"code\":\"auto_boost\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_up\"},\"name\":\"地毯增压\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"forbidden_zone\",\"description\":\"\",\"name\":\"禁区信息获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"clean_zone\",\"description\":\"\",\"name\":\"划区信息获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"pos_clean\",\"description\":\"\",\"name\":\"指哪扫哪获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"all_zone\",\"description\":\"\",\"name\":\"禁区,划区,指哪扫哪状态获取\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"map_zoom_android\",\"description\":\"\",\"name\":\"地图比例_Android\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":106,\"accessMode\":\"rw\",\"code\":\"map_zoom_ios\",\"description\":\"\",\"name\":\"地图比例_IOS\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":107,\"accessMode\":\"rw\",\"code\":\"dev_log_show\",\"description\":\"\",\"name\":\"设备log显示\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":108,\"accessMode\":\"rw\",\"code\":\"clean_zone_back\",\"description\":\"\",\"name\":\"退出划区清扫\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":109,\"accessMode\":\"rw\",\"code\":\"pos_clean_back\",\"description\":\"\",\"name\":\"退出指哪扫哪\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":110,\"accessMode\":\"rw\",\"code\":\"get_device_info\",\"description\":\"\",\"name\":\"获取设备信息\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":111,\"accessMode\":\"rw\",\"code\":\"get_robot_log\",\"description\":\"\",\"name\":\"获取嵌入式日志\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":112,\"accessMode\":\"rw\",\"code\":\"switch_save_map\",\"description\":\"\",\"name\":\"地图保存开关\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":120,\"accessMode\":\"rw\",\"code\":\"voice_check\",\"description\":\"\",\"name\":\"音量调节\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":121,\"accessMode\":\"rw\",\"code\":\"robot_reboot\",\"description\":\"\",\"name\":\"死机标志位\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":122,\"accessMode\":\"rw\",\"code\":\"save_mapping\",\"description\":\"有历史地图1 没有历史地图0\",\"name\":\"地图保存标志位\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":123,\"accessMode\":\"rw\",\"code\":\"disturb_set\",\"description\":\"\",\"name\":\"勿扰设置\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":124,\"accessMode\":\"rw\",\"code\":\"appointment_clean\",\"description\":\"\",\"name\":\"预约清扫\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":125,\"accessMode\":\"rw\",\"code\":\"is_charging\",\"description\":\"在充电桩上1 \\n不在充电桩0\",\"name\":\"在桩标志\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":126,\"accessMode\":\"rw\",\"code\":\"save_map_result\",\"description\":\"地图是否保存,保存失败要弹窗为1,成功则为0\",\"name\":\"地图保存结果\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":150,\"accessMode\":\"rw\",\"code\":\"personalized_cleaning\",\"description\":\"\",\"name\":\"个性化清扫\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":151,\"accessMode\":\"rw\",\"code\":\"cleaning_custom_switch\",\"description\":\"\",\"name\":\"清扫定制开关\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":152,\"accessMode\":\"rw\",\"code\":\"cleaning_sequence\",\"description\":\"\",\"name\":\"清扫顺序\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":153,\"accessMode\":\"rw\",\"code\":\"device_judgment_savemap\",\"description\":\"\",\"name\":\"设备判断存图\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":154,\"accessMode\":\"rw\",\"code\":\"time_taask\",\"description\":\"\",\"name\":\"定时任务\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":155,\"accessMode\":\"rw\",\"code\":\"device_mac_address\",\"description\":\"\",\"name\":\"设备mac地址\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":156,\"accessMode\":\"rw\",\"code\":\"reserved6\",\"description\":\"\",\"name\":\"预留6\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":157,\"accessMode\":\"rw\",\"code\":\"reserved7\",\"description\":\"\",\"name\":\"预留7\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":158,\"accessMode\":\"rw\",\"code\":\"reserved8\",\"description\":\"\",\"name\":\"预留8\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":159,\"accessMode\":\"rw\",\"code\":\"reserved9\",\"description\":\"\",\"name\":\"预留9\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":160,\"accessMode\":\"rw\",\"code\":\"reserved10\",\"description\":\"\",\"name\":\"预留10\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":161,\"accessMode\":\"rw\",\"code\":\"reserved11\",\"description\":\"\",\"name\":\"预留11\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":162,\"accessMode\":\"rw\",\"code\":\"reserved12\",\"description\":\"\",\"name\":\"预留12\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":163,\"accessMode\":\"rw\",\"code\":\"reserved13\",\"description\":\"\",\"name\":\"预留13\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":164,\"accessMode\":\"rw\",\"code\":\"reserved14\",\"description\":\"\",\"name\":\"预留14\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":165,\"accessMode\":\"rw\",\"code\":\"reserved15\",\"description\":\"\",\"name\":\"预留15\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":166,\"accessMode\":\"rw\",\"code\":\"reserved16\",\"description\":\"\",\"name\":\"预留16\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":167,\"accessMode\":\"rw\",\"code\":\"reserved17\",\"description\":\"\",\"name\":\"预留17\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":168,\"accessMode\":\"rw\",\"code\":\"reserved18\",\"description\":\"\",\"name\":\"预留18\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":169,\"accessMode\":\"rw\",\"code\":\"reserved19\",\"description\":\"\",\"name\":\"预留19\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":170,\"accessMode\":\"rw\",\"code\":\"reserved20\",\"description\":\"\",\"name\":\"预留20\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":171,\"accessMode\":\"rw\",\"code\":\"reserved21\",\"description\":\"\",\"name\":\"预留21\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":172,\"accessMode\":\"rw\",\"code\":\"reserved22\",\"description\":\"\",\"name\":\"预留22\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":173,\"accessMode\":\"rw\",\"code\":\"reserved23\",\"description\":\"\",\"name\":\"预留23\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":174,\"accessMode\":\"rw\",\"code\":\"reserved24\",\"description\":\"\",\"name\":\"预留24\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":175,\"accessMode\":\"rw\",\"code\":\"reserved25\",\"description\":\"\",\"name\":\"预留25\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":176,\"accessMode\":\"rw\",\"code\":\"reserved26\",\"description\":\"\",\"name\":\"预留26\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":177,\"accessMode\":\"rw\",\"code\":\"reserved27\",\"description\":\"\",\"name\":\"预留27\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":178,\"accessMode\":\"rw\",\"code\":\"reserved28\",\"description\":\"\",\"name\":\"预留28\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":179,\"accessMode\":\"rw\",\"code\":\"reserved29\",\"description\":\"\",\"name\":\"预留29\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":180,\"accessMode\":\"rw\",\"code\":\"reserved30\",\"description\":\"\",\"name\":\"预留30\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":181,\"accessMode\":\"rw\",\"code\":\"reserved31\",\"description\":\"\",\"name\":\"预留31\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":182,\"accessMode\":\"rw\",\"code\":\"reserved32\",\"description\":\"\",\"name\":\"预留32\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":183,\"accessMode\":\"rw\",\"code\":\"reserved33\",\"description\":\"\",\"name\":\"预留33\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":184,\"accessMode\":\"rw\",\"code\":\"reserved34\",\"description\":\"\",\"name\":\"预留34\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":185,\"accessMode\":\"rw\",\"code\":\"reserved35\",\"description\":\"\",\"name\":\"预留35\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":186,\"accessMode\":\"rw\",\"code\":\"reserved36\",\"description\":\"\",\"name\":\"预留36\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":187,\"accessMode\":\"rw\",\"code\":\"reserved37\",\"description\":\"\",\"name\":\"预留37\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":188,\"accessMode\":\"rw\",\"code\":\"reserved38\",\"description\":\"\",\"name\":\"预留38\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":189,\"accessMode\":\"rw\",\"code\":\"reserved39\",\"description\":\"\",\"name\":\"预留39\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":190,\"accessMode\":\"rw\",\"code\":\"reserved40\",\"description\":\"\",\"name\":\"预留40\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"
},
"success": true,
"t": 1721304334677,
"tid": "09a7fc4f44fe11ef951b0ac953b99798"
} {
"modelId": "dwzcjg",
"services": [
{
"actions": [],
"code": "",
"description": "",
"events": [],
"name": "默认服务",
"properties": [
{
"abilityId": 1,
"accessMode": "rw",
"code": "switch_go",
"description": "清扫启动、清扫停止",
"extensions": {
"attribute": "672"
},
"name": "清扫开关",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 2,
"accessMode": "rw",
"code": "pause",
"description": "暂停有效、暂停无效\n",
"extensions": {
"attribute": "672"
},
"name": "暂停/继续",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 3,
"accessMode": "rw",
"code": "switch_charge",
"description": "回充启动、回充停止\n",
"extensions": {
"attribute": "672"
},
"name": "回充开关",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 4,
"accessMode": "rw",
"code": "mode",
"description": "smart - 自动清扫模式/全屋清扫模式 \nchargego - 自动回充模式\nzone - 划区清扫模式/矩形清扫模式\npose - 指哪扫哪模式/定点清扫模式\npart - 局部清扫模式\nfastmapping - 快速建图\nCleanModeSectorbased - 分区清扫",
"extensions": {
"attribute": "704"
},
"name": "工作模式",
"typeSpec": {
"type": "enum",
"range": [
"smart",
"chargego",
"zone",
"pose",
"fastmapping",
"CleanModeSectorbased"
]
}
},
{
"abilityId": 5,
"accessMode": "ro",
"code": "status",
"description": "默认值(不可修改删除,否则影响控制面板逻辑):\nstandby - 待机中\nsmart - 自动清扫中 \nzone_clean - 划区清扫中\npart_clean - 局部清扫中\ncleaning - 清扫中(备选) \npaused - 已暂停\ngoto_pos - 前往目标点中\npos_arrived - 目标点已到达 \npos_unarrive - 目标点不可达 \ngoto_charge - 寻找充电座中 \ncharging - 充电中\ncharge_done - 充电完成 \nsleep - 休眠\nrelocating - 定位中\nrelocating_reharge - 回充定位中\nrecharing_paused - 回充暂停中\nfastmaping - 快速建图中\nfastmaping_paused - 快速建图暂停中\n",
"extensions": {
"attribute": "706"
},
"name": "当前状态",
"typeSpec": {
"type": "enum",
"range": [
"standby",
"smart",
"zone_clean",
"part_clean",
"cleaning",
"paused",
"goto_pos",
"pos_arrived",
"pos_unarrive",
"goto_charge",
"charging",
"charge_done",
"sleep",
"relocating",
"relocating_recharge",
"recharing_paused",
"fastmaping",
"fastmaping_paused"
]
}
},
{
"abilityId": 6,
"accessMode": "ro",
"code": "clean_time",
"description": "默认区间为0min—9999分钟(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9min",
"extensions": {
"attribute": "192"
},
"name": "清扫时间",
"typeSpec": {
"type": "value",
"max": 9999,
"min": 0,
"scale": 0,
"step": 1,
"unit": "min"
}
},
{
"abilityId": 7,
"accessMode": "ro",
"code": "clean_area",
"description": "默认区间为0㎡—9999㎡(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9㎡\n",
"extensions": {
"attribute": "192"
},
"name": "清扫面积",
"typeSpec": {
"type": "value",
"max": 9999,
"min": 0,
"scale": 0,
"step": 1,
"unit": "㎡"
}
},
{
"abilityId": 8,
"accessMode": "ro",
"code": "residual_electricity",
"description": "默认区间为0%—100%(没有小数点),如果需要显示为小数点,可以修改倍数参数,例如需要支持一位小数点,则倍数参数为1,上报的数值会经过计算,保留一位小数,例如上报589,经过换算后为58.9%\n",
"extensions": {
"attribute": "194"
},
"name": "剩余电量",
"typeSpec": {
"type": "value",
"max": 100,
"min": 0,
"scale": 0,
"step": 1,
"unit": "%"
}
},
{
"abilityId": 9,
"accessMode": "rw",
"code": "suction",
"description": "默认值(可修改、删除、增加):\nsuperstrong-超强\nstrong - 强劲\nnormal - 正常\ngentle - 安静\nclosed - 关闭\n\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto",
"extensions": {
"attribute": "128"
},
"name": "吸力选择",
"typeSpec": {
"type": "enum",
"range": [
"closed",
"gentle",
"normal",
"strong",
"superstrong"
]
}
},
{
"abilityId": 10,
"accessMode": "rw",
"code": "cistern",
"description": "默认值(可修改、删除、增加):\nclosed-关\nlow - 低\nmiddle - 中\nhigh - 高\nclosed - 关闭\n\n选项排列与此处值的排列顺序一致,可调整排列顺序,可删减值,可增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加自动状态,则为auto",
"extensions": {
"attribute": "128"
},
"name": "水量选择",
"typeSpec": {
"type": "enum",
"range": [
"closed",
"low",
"middle",
"high"
]
}
},
{
"abilityId": 11,
"accessMode": "rw",
"code": "seek",
"description": "",
"extensions": {
"attribute": "128"
},
"name": "寻找机器",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 12,
"accessMode": "rw",
"code": "direction_control",
"description": "默认值(不可修改、删除、增加),按键按下下发对应的方向值,松手下发停",
"extensions": {
"iconName": "icon-dp_compass",
"attribute": "224"
},
"name": "清扫方向",
"typeSpec": {
"type": "enum",
"range": [
"forward",
"backward",
"turn_left",
"turn_right",
"stop"
]
}
},
{
"abilityId": 13,
"accessMode": "rw",
"code": "map_reset",
"description": "",
"extensions": {
"iconName": "icon-dp_loop",
"attribute": "128"
},
"name": "重置地图",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 14,
"accessMode": "rw",
"code": "path_data",
"description": "相关数据协议及逻辑可参看协议文件\n",
"extensions": {
"attribute": "736"
},
"name": "路径传输",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 15,
"accessMode": "rw",
"code": "command_trans",
"description": "相关数据协议及逻辑可参看协议文件\n",
"extensions": {
"attribute": "736"
},
"name": "指令传输",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 16,
"accessMode": "rw",
"code": "request",
"description": "相关数据协议及逻辑可参看协议文件\n",
"extensions": {
"attribute": "736"
},
"name": "请求数据",
"typeSpec": {
"type": "enum",
"range": [
"get_map",
"get_path",
"get_both"
]
}
},
{
"abilityId": 27,
"accessMode": "rw",
"code": "break_clean",
"description": "",
"extensions": {
"iconName": "icon-dp_wash",
"attribute": "1152"
},
"name": "断点续扫",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 28,
"accessMode": "ro",
"code": "fault",
"description": "默认值(不可修改删除,否则影响控制面板逻辑):\nedge_sweep_fault - 边刷故障\nmiddle_sweep_fault - 滚刷故障\nleft_wheel_fault - 左轮故障\nright_wheel_fault - 右轮故障\ngarbage_box_fault - 尘盒故障\nland_check_fault - 地检故障\ncollision_fault - 碰撞传感器故障\n\n可在后面增加其他状态值,状态值尽量是状态的英文小写单词,如需要增加故障中状态,则为in_trouble",
"extensions": {
"scope": "fault",
"attribute": "704"
},
"name": "故障告警",
"typeSpec": {
"type": "bitmap",
"label": [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"27",
"28",
"29"
],
"maxlen": 30
}
},
{
"abilityId": 32,
"accessMode": "rw",
"code": "device_timer",
"description": "相关数据协议及逻辑可参看协议文件",
"extensions": {
"attribute": "224"
},
"name": "定时",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 33,
"accessMode": "rw",
"code": "disturb_time_set",
"description": "相关数据协议及逻辑可参看开发包中激光扫地机地图协议文件",
"extensions": {
"iconName": "icon-dp_time3",
"attribute": "224"
},
"name": "勿扰时间设置",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 45,
"accessMode": "rw",
"code": "auto_boost",
"description": "",
"extensions": {
"iconName": "icon-dp_up"
},
"name": "地毯增压",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 101,
"accessMode": "rw",
"code": "forbidden_zone",
"description": "",
"name": "禁区信息获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 102,
"accessMode": "rw",
"code": "clean_zone",
"description": "",
"name": "划区信息获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 103,
"accessMode": "rw",
"code": "pos_clean",
"description": "",
"name": "指哪扫哪获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 104,
"accessMode": "rw",
"code": "all_zone",
"description": "",
"name": "禁区,划区,指哪扫哪状态获取",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 105,
"accessMode": "rw",
"code": "map_zoom_android",
"description": "",
"name": "地图比例_Android",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 106,
"accessMode": "rw",
"code": "map_zoom_ios",
"description": "",
"name": "地图比例_IOS",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 107,
"accessMode": "rw",
"code": "dev_log_show",
"description": "",
"name": "设备log显示",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 108,
"accessMode": "rw",
"code": "clean_zone_back",
"description": "",
"name": "退出划区清扫",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 109,
"accessMode": "rw",
"code": "pos_clean_back",
"description": "",
"name": "退出指哪扫哪",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 110,
"accessMode": "rw",
"code": "get_device_info",
"description": "",
"name": "获取设备信息",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 111,
"accessMode": "rw",
"code": "get_robot_log",
"description": "",
"name": "获取嵌入式日志",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 112,
"accessMode": "rw",
"code": "switch_save_map",
"description": "",
"name": "地图保存开关",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 120,
"accessMode": "rw",
"code": "voice_check",
"description": "",
"name": "音量调节",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 121,
"accessMode": "rw",
"code": "robot_reboot",
"description": "",
"name": "死机标志位",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 122,
"accessMode": "rw",
"code": "save_mapping",
"description": "有历史地图1 没有历史地图0",
"name": "地图保存标志位",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 123,
"accessMode": "rw",
"code": "disturb_set",
"description": "",
"name": "勿扰设置",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 124,
"accessMode": "rw",
"code": "appointment_clean",
"description": "",
"name": "预约清扫",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 125,
"accessMode": "rw",
"code": "is_charging",
"description": "在充电桩上1 \n不在充电桩0",
"name": "在桩标志",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 126,
"accessMode": "rw",
"code": "save_map_result",
"description": "地图是否保存,保存失败要弹窗为1,成功则为0",
"name": "地图保存结果",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 150,
"accessMode": "rw",
"code": "personalized_cleaning",
"description": "",
"name": "个性化清扫",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 151,
"accessMode": "rw",
"code": "cleaning_custom_switch",
"description": "",
"name": "清扫定制开关",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 152,
"accessMode": "rw",
"code": "cleaning_sequence",
"description": "",
"name": "清扫顺序",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 153,
"accessMode": "rw",
"code": "device_judgment_savemap",
"description": "",
"name": "设备判断存图",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 154,
"accessMode": "rw",
"code": "time_taask",
"description": "",
"name": "定时任务",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 155,
"accessMode": "rw",
"code": "device_mac_address",
"description": "",
"name": "设备mac地址",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 156,
"accessMode": "rw",
"code": "reserved6",
"description": "",
"name": "预留6",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 157,
"accessMode": "rw",
"code": "reserved7",
"description": "",
"name": "预留7",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 158,
"accessMode": "rw",
"code": "reserved8",
"description": "",
"name": "预留8",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 159,
"accessMode": "rw",
"code": "reserved9",
"description": "",
"name": "预留9",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 160,
"accessMode": "rw",
"code": "reserved10",
"description": "",
"name": "预留10",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 161,
"accessMode": "rw",
"code": "reserved11",
"description": "",
"name": "预留11",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 0,
"step": 1,
"unit": ""
}
},
{
"abilityId": 162,
"accessMode": "rw",
"code": "reserved12",
"description": "",
"name": "预留12",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 0,
"step": 1,
"unit": ""
}
},
{
"abilityId": 163,
"accessMode": "rw",
"code": "reserved13",
"description": "",
"name": "预留13",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 0,
"step": 1,
"unit": ""
}
},
{
"abilityId": 164,
"accessMode": "rw",
"code": "reserved14",
"description": "",
"name": "预留14",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 0,
"step": 1,
"unit": ""
}
},
{
"abilityId": 165,
"accessMode": "rw",
"code": "reserved15",
"description": "",
"name": "预留15",
"typeSpec": {
"type": "value",
"max": 999999999,
"min": 0,
"scale": 0,
"step": 1,
"unit": ""
}
},
{
"abilityId": 166,
"accessMode": "rw",
"code": "reserved16",
"description": "",
"name": "预留16",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 167,
"accessMode": "rw",
"code": "reserved17",
"description": "",
"name": "预留17",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 168,
"accessMode": "rw",
"code": "reserved18",
"description": "",
"name": "预留18",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 169,
"accessMode": "rw",
"code": "reserved19",
"description": "",
"name": "预留19",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 170,
"accessMode": "rw",
"code": "reserved20",
"description": "",
"name": "预留20",
"typeSpec": {
"type": "string",
"maxlen": 255
}
},
{
"abilityId": 171,
"accessMode": "rw",
"code": "reserved21",
"description": "",
"name": "预留21",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 172,
"accessMode": "rw",
"code": "reserved22",
"description": "",
"name": "预留22",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 173,
"accessMode": "rw",
"code": "reserved23",
"description": "",
"name": "预留23",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 174,
"accessMode": "rw",
"code": "reserved24",
"description": "",
"name": "预留24",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 175,
"accessMode": "rw",
"code": "reserved25",
"description": "",
"name": "预留25",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 176,
"accessMode": "rw",
"code": "reserved26",
"description": "",
"name": "预留26",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 177,
"accessMode": "rw",
"code": "reserved27",
"description": "",
"name": "预留27",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 178,
"accessMode": "rw",
"code": "reserved28",
"description": "",
"name": "预留28",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 179,
"accessMode": "rw",
"code": "reserved29",
"description": "",
"name": "预留29",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 180,
"accessMode": "rw",
"code": "reserved30",
"description": "",
"name": "预留30",
"typeSpec": {
"type": "bool"
}
},
{
"abilityId": 181,
"accessMode": "rw",
"code": "reserved31",
"description": "",
"name": "预留31",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 182,
"accessMode": "rw",
"code": "reserved32",
"description": "",
"name": "预留32",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 183,
"accessMode": "rw",
"code": "reserved33",
"description": "",
"name": "预留33",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 184,
"accessMode": "rw",
"code": "reserved34",
"description": "",
"name": "预留34",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 185,
"accessMode": "rw",
"code": "reserved35",
"description": "",
"name": "预留35",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 186,
"accessMode": "rw",
"code": "reserved36",
"description": "",
"name": "预留36",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 187,
"accessMode": "rw",
"code": "reserved37",
"description": "",
"name": "预留37",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 188,
"accessMode": "rw",
"code": "reserved38",
"description": "",
"name": "预留38",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 189,
"accessMode": "rw",
"code": "reserved39",
"description": "",
"name": "预留39",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
},
{
"abilityId": 190,
"accessMode": "rw",
"code": "reserved40",
"description": "",
"name": "预留40",
"typeSpec": {
"type": "raw",
"maxlen": 128
}
}
]
}
]
} |
Leave the 1/2 combo for activate, but remove dp 3 as power, as this is for sending the vacuum to charge. Add the separate buttons in case the vacuum interface is not able to control it (eg device does not like two commands sent at once). Based on comment in make-all#1393 about a similar vacuum with 3 booleans for power_go, pause and switch_charge
- mark 4, 6, 7, 126 as optional, as they seem to not appear for another user - based on reported behaviour, try power_go as power, pause as activate inverted. I think this was already tried for TTEC vacuum and did not work there, but maybe the vacuums act differently. - based on commands not seeming to work, make them also trigger power and switch_charge dps as appropriate. Issue make-all#1393
I had some back and forwards about including the switch_charge dp in with commands, and which neeeded to be the primary, then forgot to rename work_mode back to command when I returned back to that as primary. Mark dp 2 as optional to help detection. Issue make-all#1393
Log Message
Information about DPS mappings
Cloud -> API Explorer -> Device Control -> Query Things Data Model // v2.0/cloud/thing/{{device_id}}/model result
Information from Tuya Cloud API Explorer -> Device Control -> Query Properties
Information from Tuya Cloud API Explorer -> Device Control (Standard Instruction Set) -> Get the Instruction Set of the Device
General Device Information
The text was updated successfully, but these errors were encountered: