make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.07k stars 435 forks source link

Request support for Tefal X-Plorer Serie 95 #2017

Open LogON opened 3 weeks ago

LogON commented 3 weeks ago

Log Message

Device matches None with quality of 0%. DPS: {"updated_at": 1718548016.111948, "101": false, "102": false, "103": true, "105": "fullcharge", "106": 100, "107": 331, "108": 6, "109": "strong", "110": "low", "113": false, "114": 5, "116": 202726, "117": 2287, "118": 188, "119": 202726, "120": 202726, "121": 202726, "122": 0, "137": true, "138": false, "139": false, "144": true}

Information about DPS mappings

 {
        "name": "X-Plorer Serie 95",
        "id": "REDACTED",
        "key": "REDACTED",
        "mac": "REDACTED",
        "uuid": "REDACTED",
        "category": "sd",
        "product_name": "X-Plorer Serie 95 ",
        "product_id": "rdvhznalospx9wvb",
        "biz_type": 0,
        "model": "",
        "sub": false,
        "icon": "https://images.tuyaeu.com/smart/icon/ay15748409168332lI6v/61fb4d9711ee30afa7b22fc117310fec.png",
        "mapping": {
            "1": {
                "code": "power",
                "type": "Boolean",
                "values": {}
            },
            "2": {
                "code": "power_go",
                "type": "Boolean",
                "values": {}
            },
            "3": {
                "code": "mode",
                "type": "Enum",
                "values": {
                    "range": [
                        "standby",
                        "random",
                        "smart",
                        "wall_follow",
                        "mop",
                        "spiral",
                        "left_spiral",
                        "right_spiral",
                        "right_bow",
                        "left_bow",
                        "partial_bow",
                        "chargego"
                    ]
                }
            },
            "13": {
                "code": "seek",
                "type": "Boolean",
                "values": {}
            },
            "101": {
                "code": "clean_switch",
                "type": "Boolean",
                "values": {}
            },
            "102": {
                "code": "pause_switch",
                "type": "Boolean",
                "values": {}
            },
            "103": {
                "code": "charge_switch",
                "type": "Boolean",
                "values": {}
            },
            "104": {
                "code": "clean_mode",
                "type": "Enum",
                "values": {
                    "range": [
                        "smart",
                        "pose",
                        "zone",
                        "backcharge",
                        "curpointing",
                        "selectroom"
                    ]
                }
            },
            "105": {
                "code": "robot_state",
                "type": "Enum",
                "values": {
                    "range": [
                        "idle",
                        "pointing",
                        "areaing",
                        "totaling",
                        "sweep",
                        "mop",
                        "fault",
                        "pause",
                        "chargring",
                        "tocharge",
                        "fullcharge",
                        "remotectl",
                        "dormant",
                        "curpointing",
                        "selectroom"
                    ]
                }
            },
            "106": {
                "code": "battery",
                "type": "Integer",
                "values": {
                    "unit": "%",
                    "min": 0,
                    "max": 100,
                    "scale": 0,
                    "step": 1
                }
            },
            "107": {
                "code": "cur_clean_time",
                "type": "Integer",
                "values": {
                    "unit": "s",
                    "min": 0,
                    "max": 2147483647,
                    "scale": 0,
                    "step": 1
                }
            },
            "108": {
                "code": "cur_clean_area",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 2147483647,
                    "scale": 0,
                    "step": 1
                }
            },
            "109": {
                "code": "fan_mode",
                "type": "Enum",
                "values": {
                    "range": [
                        "mop",
                        "quiet",
                        "auto",
                        "strong",
                        "max"
                    ]
                }
            },
            "110": {
                "code": "water_mode",
                "type": "Enum",
                "values": {
                    "range": [
                        "dry",
                        "low",
                        "mid",
                        "high"
                    ]
                }
            },
            "111": {
                "code": "remote_ctrl",
                "type": "Enum",
                "values": {
                    "range": [
                        "forward",
                        "backward",
                        "left",
                        "right",
                        "stop"
                    ]
                }
            },
            "112": {
                "code": "seek_robot",
                "type": "Boolean",
                "values": {}
            },
            "113": {
                "code": "disturb_switch",
                "type": "Boolean",
                "values": {}
            },
            "114": {
                "code": "volume",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 10,
                    "scale": 0,
                    "step": 1
                }
            },
            "116": {
                "code": "total_clean_time",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 2147483647,
                    "scale": 0,
                    "step": 1
                }
            },
            "117": {
                "code": "total_clean_area",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 2147483647,
                    "scale": 0,
                    "step": 1
                }
            },
            "118": {
                "code": "total_clean_count",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 2147483647,
                    "scale": 0,
                    "step": 1
                }
            },
            "119": {
                "code": "side_brush_time",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 270000,
                    "scale": 0,
                    "step": 1
                }
            },
            "120": {
                "code": "main_brush_time",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 1080000,
                    "scale": 0,
                    "step": 1
                }
            },
            "121": {
                "code": "filter_time",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 0,
                    "max": 270000,
                    "scale": 0,
                    "step": 1
                }
            },
            "122": {
                "code": "robot_fault",
                "type": "Bitmap",
                "values": {
                    "label": [
                        "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",
                        "30"
                    ],
                    "maxlen": 30
                }
            },
            "123": {
                "code": "path_comm",
                "type": "Raw",
                "values": {}
            },
            "124": {
                "code": "cmd_comm",
                "type": "Raw",
                "values": {}
            },
            "125": {
                "code": "request_data",
                "type": "Enum",
                "values": {
                    "range": [
                        "map",
                        "path",
                        "both"
                    ]
                }
            },
            "126": {
                "code": "comm_flag",
                "type": "Enum",
                "values": {
                    "range": [
                        "1"
                    ]
                }
            },
            "127": {
                "code": "comm_raw",
                "type": "Raw",
                "values": {}
            },
            "128": {
                "code": "message_report",
                "type": "Enum",
                "values": {
                    "range": [
                        "0",
                        "1",
                        "2",
                        "3",
                        "4",
                        "5",
                        "6",
                        "7",
                        "8",
                        "9",
                        "10",
                        "11",
                        "12",
                        "13",
                        "14",
                        "15",
                        "16",
                        "17",
                        "18",
                        "19",
                        "20"
                    ]
                }
            },
            "130": {
                "code": "sn",
                "type": "Raw",
                "values": {}
            },
            "131": {
                "code": "uuid",
                "type": "Raw",
                "values": {}
            },
            "132": {
                "code": "device_info",
                "type": "Raw",
                "values": {}
            },
            "135": {
                "code": "yuliu",
                "type": "Raw",
                "values": {}
            },
            "136": {
                "code": "yuliu1",
                "type": "Raw",
                "values": {}
            },
            "137": {
                "code": "auto_boost",
                "type": "Boolean",
                "values": {}
            },
            "138": {
                "code": "mop_installed",
                "type": "Boolean",
                "values": {}
            },
            "139": {
                "code": "y_mop",
                "type": "Boolean",
                "values": {}
            },
            "144": {
                "code": "room_mode_switch",
                "type": "Boolean",
                "values": {}
            },
            "115": {
                "code": "material_reset",
                "type": "Enum",
                "values": {
                    "range": [
                        "gettime",
                        "resetsidebrush",
                        "resetmainbrush",
                        "resetfilter"
                    ]
                }
            },
            "129": {
                "code": "reset_map",
                "type": "Boolean",
                "values": {}
            }
        }
    }

Product ID

rdvhznalospx9wvb

Information about how the device functions

Compared to DPS with Tefal X-Plorer Series 75, they look the same. I tried adding/changing the id in the file for Series 75, but I got the same error.

P.S. It worked in 2023, but was defined as a different model. If I'm not mistaken, Kogan LX10 vacuum cleaner with mop. With the update to version 2024, the vacuum cleaner stopped working with this integration.

LogON commented 2 weeks ago

Thanks a lot! I deleted the old tefal_vacuum file and replaced it with a new one, now everything works as before.