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 Lefant T700 Vacuum #2241

Closed
plopezllorca opened this issue Aug 25, 2024 · 0 comments
Closed

Request support for Lefant T700 Vacuum #2241

plopezllorca opened this issue Aug 25, 2024 · 0 comments

Comments

@plopezllorca
Copy link

plopezllorca commented Aug 25, 2024

Log message

2024-08-25 16:05:29.645 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches rinkmo_d2_vacuum with quality of 58%. DPS: {"updated_at": 1724601920.111503, "1": true, "2": false, "3": "standby", "4": "foward", "5": "5", "6": 100, "13": false, "15": "20240825103208705300652", "16": 0, "17": 0, "18": 0, "101": "nar"}

DPS information

{
  "result": {
    "model": "{\"modelId\":\"000002g08y\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"power\",\"description\":\"【非必选】\\n\\\"可选择无开关机功能。\\n开关机控制。\\n下发: 发送控制指令给主机,主机依据指令状态进行开关机操作。\\n上报:\\n当主机使用遥控器关机或者长时间静止进入关机状态后,主机会上报一个关机数据。\\n当主机处于关机状态时,通过遥控器或者触摸主机的按键,主机会进入开机状态,主机会上报一个开机数据。\\\"\\n\",\"extensions\":{\"iconName\":\"icon-dp_power2\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"power_go\",\"description\":\"【必选】\\n\",\"extensions\":{\"iconName\":\"icon-dp_power\"},\"name\":\"清扫开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":3,\"accessMode\":\"rw\",\"code\":\"mode\",\"description\":\"【必选】枚举值按需选择,不需要的可删除\\nstandby:待机模式,random:随机模式,smart:自动清扫, wall_follow:沿边清扫 ,mop:拖地功能 , spiral:定点清扫,left_spiral:左螺旋,right_spiral:右螺旋,right_bow:右⼸弓字,left_bow:左⼸弓字,partial_bow:局部弓字, chargego:回充模式\\n\",\"extensions\":{\"iconName\":\"icon-dp_mode\"},\"name\":\"工作模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"standby\",\"smart\",\"wall_follow\",\"spiral\",\"chargego\",\"random\"]}},
{\"abilityId\":4,\"accessMode\":\"rw\",\"code\":\"direction_control\",\"description\":\"【必选】\\n\\\"前进,后退,左转,右转,停止。\\n默认逻辑:按住方向键下发 前/后/左转/右转,手指抬起下发停止\\\"\\n\\n\",\"extensions\":{\"iconName\":\"icon-dp_wind\"},\"name\":\"方向\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"foward\",\"backward\",\"turn_left\",\"turn_right\",\"stop\"]}},
{\"abilityId\":5,\"accessMode\":\"ro\",\"code\":\"status\",\"description\":\"状态指示\\n0:待机中\\n1:自动清扫\\n2:拖地\\n3:沿边清扫\\n4:回充中\\n5:充电\\n6:定点清扫\",\"extensions\":{\"iconName\":\"icon-dp_dust\"},\"name\":\"工作状态\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]}},
{\"abilityId\":6,\"accessMode\":\"ro\",\"code\":\"electricity_left\",\"description\":\"【必选】\",\"extensions\":{\"iconName\":\"icon-dp_up\"},\"name\":\"剩余电量\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"%\"}},
{\"abilityId\":13,\"accessMode\":\"rw\",\"code\":\"seek\",\"description\":\"【非必选】\\n\",\"extensions\":{\"iconName\":\"icon-dp_curve\"},\"name\":\"寻找机器\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":15,\"accessMode\":\"ro\",\"code\":\"clean_record\",\"description\":\"\\n清扫日期+ YYYYMMDDTTRR 清扫时长 + XXX 清扫面积 xxx 如: \\\"201804110511020080\\\" 代表2018年4月11日05点11分,清扫了20分钟,80平方米 (假如MCU没有RTC,时间可不上报。记录则默认显示为数据上报时间)\",\"extensions\":{\"iconName\":\"icon-dp_direction\"},\"name\":\"清扫记录\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":16,\"accessMode\":\"ro\",\"code\":\"clean_area\",\"description\":\"【非必选】\\n需要兼容一位小数显示\",\"extensions\":{\"iconName\":\"icon-dp_voice\"},\"name\":\"清扫面积\",\"typeSpec\":{\"type\":\"value\",\"max\":9999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"㎡\"}},
{\"abilityId\":17,\"accessMode\":\"ro\",\"code\":\"clean_time\",\"description\":\"【非必选】\\nMCU上报本次清扫时间,实时更新\\n\",\"extensions\":{\"iconName\":\"icon-dp_warming\"},\"name\":\"清扫时间\",\"typeSpec\":{\"type\":\"value\",\"max\":9999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"分\"}},
{\"abilityId\":18,\"accessMode\":\"ro\",\"code\":\"fault\",\"description\":\"\\n\",\"extensions\":{\"iconName\":\"icon-dp_time2\",\"scope\":\"fault\"},\"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\"],\"maxlen\":22}},
{\"abilityId\":19,\"accessMode\":\"ro\",\"code\":\"map_config\",\"description\":\"【有地图则必选】如果扫地机有地图功能,需要选择此功能点,用于配置地图参数,具体格式如下:共3个字节,\\n\",\"extensions\":{\"iconName\":\"icon-dp_time\"},\"name\":\"地图参数\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"water_sction\",\"description\":\"\",\"name\":\"风量\\\\水量显示\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"low\",\"nar\",\"high\"]}}]}]}"
  },
  "success": true,
  "t": 1724585891445,
  "tid": "81e91c5062d611ef95a3c283ae9aa908"
}

Product ID

izivjmyjsajl9jdh

Product Name

Lefant T700 Vacuum

Information about how the device functions

I am trying to define a new YAML file to configure the Lefant T700 vacuum cleaner. I don't have any issues defining it (or at least I haven't encountered any yet) following the documentation, but I have some doubts regarding DPS 15. The value of this DPS is a string that represents the cleaning date and time, the cleaning duration in minutes (000), and the cleaning area in square meters (000), all concatenated. I would like to separate these three values into different sensors, but I'm not sure how to do it.

Any help is appreciated!

P.S.: I am checking that the value obtained for this DPS is 20240825103208705300652, and this doesn't match the documentation obtained from the Query Things Data Model, whose example is 201804110511020080. Something is not well documented. Any way, I would appreciate your help with the first question in this post.

@plopezllorca plopezllorca added the new device Unsupported device label Aug 25, 2024
@make-all make-all added the full_info All info needed was provided label Aug 27, 2024
make-all added a commit that referenced this issue Sep 5, 2024
@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed full_info All info needed was provided new device Unsupported device awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release labels Sep 5, 2024
@make-all make-all closed this as completed Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants