-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Adding L60 SES support (UNTESTED) #66
Adding L60 SES support (UNTESTED) #66
Conversation
This is the output from the 15C max (T2128), which is the only one I can say is working at the moment: [
{
"attr": 0,
"canTrigger": true,
"code": "power",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"iconname": "icon-dp_power2",
"id": 1,
"mode": "rw",
"name": "电源开关",
"property": {
"type": "bool"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "power_go",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"iconname": "icon-dp_power",
"id": 2,
"mode": "rw",
"name": "清扫开关",
"property": {
"type": "bool"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "direction",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"iconname": "icon-dp_mode",
"id": 3,
"mode": "rw",
"name": "清扫方向",
"property": {
"range": [
"forward",
"back",
"left",
"right"
],
"type": "enum"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "mode",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"iconname": "icon-dp_dust",
"id": 5,
"mode": "rw",
"name": "清扫模式",
"property": {
"range": [
"auto",
"SmallRoom",
"Spot",
"Edge",
"Nosweep"
],
"type": "enum"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "status",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"iconname": "icon-dp_direction",
"id": 15,
"mode": "ro",
"name": "工作状态",
"property": {
"range": [
"Running",
"standby",
"Sleeping",
"Charging",
"completed",
"Recharge"
],
"type": "enum"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "FMR",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"id": 101,
"mode": "rw",
"name": "自动回充",
"property": {
"type": "bool"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "Cleaning_intensity",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"id": 102,
"mode": "rw",
"name": "清扫强度",
"property": {
"range": [
"Standard",
"Boost_IQ",
"Max",
"No_suction"
],
"type": "enum"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "Looking_weeper",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"id": 103,
"mode": "rw",
"name": "寻找扫地机",
"property": {
"type": "bool"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "electricity_left1",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"id": 104,
"mode": "ro",
"name": "剩余电量",
"property": {
"unit": "",
"min": 0,
"max": 100,
"scale": 0,
"step": 1,
"type": "value"
},
"type": "obj"
},
{
"attr": 0,
"canTrigger": true,
"code": "Fault_report",
"defaultRecommend": false,
"editPermission": false,
"executable": true,
"extContent": "",
"id": 106,
"mode": "ro",
"name": "故障上报",
"property": {
"range": [
"no_error",
"Stuck_5_min",
"Crash_bar_stuck",
"sensor_dirty",
"N_enough_pow",
"Wheel_stuck",
"S_brush_stuck",
"Fan_stuck",
"R_brush_stuck"
],
"type": "enum"
},
"type": "obj"
}
] |
Co-authored-by: Luke Morrigan <[email protected]>
Happy to merge this in and it'll generate an alpha build that you could test via HACS @jbleyaert? |
Sure. |
This has been merged and released |
I tried all day, didn't get it to work. The only thing that works is the battery level and the locate button. Don't really know what to do know. Any hints on how to debug this? @CodeFoodPixels |
@jbleyaert your work has helped a lot! |
I tried adding as much as I could understand, some of it is probably incorrect. It'd be helpful if you could provide a json response of an already implemented vacuum. It seems like the L60 uses a lot of different codes.
Schema response for L60: