From f09cacda9ef44bb2bc8e786bd09eecf50889d303 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Tue, 17 May 2022 23:14:14 +0200 Subject: [PATCH] move productIotMap into own file --- bumper/models.py | 1665 ----------------- bumper/web/plugins/api/appsvr.py | 200 +- bumper/web/plugins/api/pim/__init__.py | 12 + bumper/web/plugins/api/pim/product.py | 6 +- bumper/web/plugins/api/pim/productIotMap.json | 1617 ++++++++++++++++ 5 files changed, 1756 insertions(+), 1744 deletions(-) create mode 100644 bumper/web/plugins/api/pim/productIotMap.json diff --git a/bumper/models.py b/bumper/models.py index f82b072..cfe0edd 100644 --- a/bumper/models.py +++ b/bumper/models.py @@ -1,11 +1,8 @@ -import copy import json import uuid from datetime import datetime, timedelta from typing import Any -from amqtt.session import Session - import bumper from bumper.util import convert_to_millis @@ -126,1668 +123,6 @@ class OAuth: return data -def include_EcoVacsHomeProducts_info(bot: dict[str, Any]) -> dict[str, Any]: - result = copy.deepcopy(bot) - - for botprod in EcoVacsHomeProducts: - if botprod["classid"] == result["class"]: - result["UILogicId"] = botprod["product"]["UILogicId"] - result["ota"] = botprod["product"]["ota"] - result["icon"] = botprod["product"]["iconUrl"] - result["model"] = botprod["product"]["model"] - result["pip"] = botprod["product"]["_id"] - result["deviceName"] = botprod["product"]["name"] - result["materialNo"] = botprod["product"]["materialNo"] - result["product_category"] = ( - "DEEBOT" - if botprod["product"]["name"].startswith("DEEBOT") - else "UNKNOWN" - ) - # bot["updateInfo"] = { - # "changeLog": "", - # "needUpdate": False - # } - # bot["service"] = { - # "jmq": "jmq-ngiot-eu.dc.ww.ecouser.net", - # "mqs": "api-ngiot.dc-as.ww.ecouser.net" - # } - - # todo refactor it - result["status"] = ( - 1 if bot["mqtt_connection"] or bot["xmpp_connection"] else 0 - ) - - # mqtt_connection is not always set correctly, therefore workaround until fixed properly - session: Session - for (session, _) in bumper.mqtt_server.broker._sessions.values(): - did = session.client_id.split("@")[0] - if did == bot["did"] and session.transitions.state == "connected": - result["status"] = 1 - - break - return result - - -# EcoVacs Home Product IOT Map - 2021-04-15 -# https://portal-ww.ecouser.net/api/pim/product/getProductIotMap -EcoVacsHomeProducts: list[dict[str, Any]] = [ - { - "classid": "4f0c4e", - "product": { - "_id": "5d2c5fcd4d60de0001eaf2a5", - "materialNo": "70200000227", - "name": "AT01", - "icon": "5d2d996c4d60de0001eaf2b5", - "model": "AT01", - "UILogicId": "AT_01G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2d996c4d60de0001eaf2b5", - }, - }, - { - "classid": "vsc5ia", - "product": { - "_id": "5c763eba280fda0001770b81", - "materialNo": "702-0000-0163", - "name": "DEEBOT 500", - "icon": "5c874326280fda0001770d2a", - "model": "D500", - "UILogicId": "D_500", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c874326280fda0001770d2a", - }, - }, - { - "classid": "zi1uwd", - "product": { - "_id": "5d78f4e878d8b60001e23edc", - "materialNo": "3", - "name": "DEEBOT U3 LINE FRIENDS", - "icon": "5da834a8d66cd10001f58265", - "model": "DK4G.11", - "UILogicId": "DK_4GLINE", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5da834a8d66cd10001f58265", - }, - }, - { - "classid": "12baap", - "product": { - "_id": "5ea8d1fe73193e3bef67c551", - "materialNo": "110-1919-1801", - "name": "DEEBOT U2 PRO", - "icon": "606425981269020008a9627b", - "model": "U2_APAC2", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425981269020008a9627b", - }, - }, - { - "classid": "02uwxm", - "product": { - "_id": "5ae1481e7ccd1a0001e1f69e", - "materialNo": "110-1715-0201", - "name": "DEEBOT OZMO Slim10 Series", - "icon": "5b1dddc48bc45700014035a1", - "model": "SLIM10", - "UILogicId": "D_OZMO_SLIM10", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b1dddc48bc45700014035a1", - }, - }, - { - "classid": "eyi9jv", - "product": { - "_id": "5b7b65f364e1680001a08b54", - "materialNo": "702-0000-0203", - "name": "DEEBOT 715", - "icon": "5b7b65f176f7f10001e9a0c2", - "model": "DV3G", - "UILogicId": "D_700", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b7b65f176f7f10001e9a0c2", - }, - }, - { - "classid": "9rft3c", - "product": { - "_id": "5e14196a6e71b80001b60fda", - "materialNo": "191165", - "name": "DEEBOT OZMO T5", - "icon": "6062795ad18cbd0008e2fce8", - "model": "DX9G_T5", - "UILogicId": "DX_9G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6062795ad18cbd0008e2fce8", - }, - }, - { - "classid": "141", - "product": { - "_id": "5cae97c9128519000168596f", - "materialNo": "110-1638-0101", - "name": "DEEBOT M81 Pro", - "icon": "5d2c2aa64d60de0001eaf1f6", - "model": "M81", - "UILogicId": "ECO_INTL_141", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c2aa64d60de0001eaf1f6", - }, - }, - { - "classid": "fqxoiu", - "product": { - "_id": "5e8e8d8a032edd8457c66bfb", - "materialNo": "110-1921-1100", - "name": "DEEBOT OZMO T8+", - "icon": "605b059217c95b0008ff20d4", - "model": "OT8+", - "UILogicId": "DT_8G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605b059217c95b0008ff20d4", - }, - }, - { - "classid": "u6eqoa", - "product": { - "_id": "5e993f2f6a299d0bd506d665", - "materialNo": "110-1919-1401", - "name": "DEEBOT U2 PRO", - "icon": "606425a11269020008a9627d", - "model": "U2_APAC", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425a11269020008a9627d", - }, - }, - { - "classid": "dl8fht", - "product": { - "_id": "5acb0fa87c295c0001876ecf", - "materialNo": "702-0000-0170", - "name": "DEEBOT 600 Series", - "icon": "5acc32067c295c0001876eea", - "model": "D600", - "UILogicId": "D_600", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5acc32067c295c0001876eea", - }, - }, - { - "classid": "yna5xi", - "product": { - "_id": "5c19a91ca1e6ee000178224a", - "materialNo": "110-1820-0101", - "name": "DEEBOT OZMO 950 Series", - "icon": "606278df4a84d700082b39f1", - "model": "DX9G", - "UILogicId": "DX_9G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606278df4a84d700082b39f1", - }, - }, - { - "classid": "123", - "product": { - "_id": "5cae9b201285190001685977", - "materialNo": "110-1639-0102", - "name": "DEEBOT Slim2 Series", - "icon": "5d2c150dba13eb00013feaae", - "model": "Slim2", - "UILogicId": "ECO_INTL_123", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c150dba13eb00013feaae", - }, - }, - { - "classid": "140", - "product": { - "_id": "5cd43b4cf542e00001dc2dec", - "materialNo": "110-1639-0011", - "name": "DEEBOT Slim Neo", - "icon": "5d2c152f4d60de0001eaf1f4", - "model": "SlimNeo", - "UILogicId": "ECO_INTL_140", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c152f4d60de0001eaf1f4", - }, - }, - { - "classid": "q1v5dn", - "product": { - "_id": "5d312ae18d8d430001817002", - "materialNo": "70200000228", - "name": "AT01", - "icon": "5d83375f6b6a570001569e26", - "model": "AT01", - "UILogicId": "AT_01G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d83375f6b6a570001569e26", - }, - }, - { - "classid": "16wdph", - "product": { - "_id": "5d280ce344af3600013839ab", - "materialNo": "702-0000-0171", - "name": "DEEBOT 661", - "icon": "5d280ce3350e7a0001e84c95", - "model": "D661", - "UILogicId": "D_661", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d280ce3350e7a0001e84c95", - }, - }, - { - "classid": "rvo6ev", - "product": { - "_id": "5e859780648255c8bf530e14", - "materialNo": "110-1919-1001", - "name": "DEEBOT U2", - "icon": "606426feb0a931000860fad5", - "model": "U2_AL", - "UILogicId": "U2_HIGH_MODE_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426feb0a931000860fad5", - }, - }, - { - "classid": "09m4bu", - "product": { - "_id": "5e9d340b8c92c777ab83557f", - "materialNo": "130-6225-0605", - "name": "K650", - "icon": "5ef31b8cee3c1200075b6f67", - "model": "K651G", - "UILogicId": "K650_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ef31b8cee3c1200075b6f67", - }, - }, - { - "classid": "y2qy3m", - "product": { - "_id": "5ea8d28922838d15795ed88d", - "materialNo": "110-1919-1701", - "name": "DEEBOT U2 PRO", - "icon": "606425784a84d700082b39f6", - "model": "U2_APAC3", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425784a84d700082b39f6", - }, - }, - { - "classid": "0xyhhr", - "product": { - "_id": "5ca4716312851900016858cd", - "materialNo": "110-1825-0201", - "name": "DEEBOT OZMO 700", - "icon": "5d117d4f0ac6ad00012b792d", - "model": "DV5G", - "UILogicId": "DV_5G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d117d4f0ac6ad00012b792d", - }, - }, - { - "classid": "ipzjy0", - "product": { - "_id": "5e9923878c92c7676b835555", - "materialNo": "110-1919-0702", - "name": "DEEBOT U2", - "icon": "606426c64a84d700082b39fa", - "model": "U2_EL1", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426c64a84d700082b39fa", - }, - }, - { - "classid": "hsgwhi", - "product": { - "_id": "5de9b6fb787cdf0001ef98ac", - "materialNo": "113-1931-0001", - "name": "ANDY", - "icon": "5e731a4a06f6de700464c69d", - "model": "ANDY", - "UILogicId": "ATMOBOT_ANDY", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e731a4a06f6de700464c69d", - }, - }, - { - "classid": "h18jkh", - "product": { - "_id": "5e8e8d2a032edd3c03c66bf7", - "materialNo": "110-1921-0400", - "name": "DEEBOT OZMO T8", - "icon": "5e8e8d146482551d72530e47", - "model": "OT8G", - "UILogicId": "DT_8G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e8e8d146482551d72530e47", - }, - }, - { - "classid": "126", - "product": { - "_id": "5ca32ab212851900016858c7", - "materialNo": "702-0000-0136", - "name": "DEEBOT N79", - "icon": "5ca32ab2e9e9270001354b3d", - "model": "N79", - "UILogicId": "ECO_INTL_126", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca32ab2e9e9270001354b3d", - }, - }, - { - "classid": "x5d34r", - "product": { - "_id": "5de0d86ed88546000195239a", - "materialNo": "110-1913-0101", - "name": "DEEBOT OZMO T8 AIVI", - "icon": "605053e7fc527c00087fda1e", - "model": "DXAI_INTL", - "UILogicId": "DX_AIG", - "ota": True, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605053e7fc527c00087fda1e", - }, - }, - { - "classid": "ls1ok3", - "product": { - "_id": "5b6561060506b100015c8868", - "materialNo": "110-1711-0201", - "name": "DEEBOT 900 Series", - "icon": "5ba4a2cb6c2f120001c32839", - "model": "DN5G", - "UILogicId": "D_900", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ba4a2cb6c2f120001c32839", - }, - }, - { - "classid": "y79a7u", - "product": { - "_id": "5b04c0227ccd1a0001e1f6a8", - "materialNo": "110-1810-0101", - "name": "DEEBOT OZMO 900 Series", - "icon": "5b04c0217ccd1a0001e1f6a7", - "model": "DN5G", - "UILogicId": "D_OZMO_900", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b04c0217ccd1a0001e1f6a7", - }, - }, - { - "classid": "vi829v", - "product": { - "_id": "5c19a8f3a1e6ee0001782247", - "materialNo": "110-1819-0101", - "name": "DEEBOT OZMO 920 Series", - "icon": "606278d3fc527c00087fdb08", - "model": "DX5G", - "UILogicId": "DX_5G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606278d3fc527c00087fdb08", - }, - }, - { - "classid": "55aiho", - "product": { - "_id": "5e698a6306f6de52c264c61b", - "materialNo": "110-1921-1101", - "name": "DEEBOT OZMO T8+", - "icon": "605be27250928b0007c13264", - "model": "T8+", - "UILogicId": "DT_8G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605be27250928b0007c13264", - }, - }, - { - "classid": "gd4uut", - "product": { - "_id": "5bc8189d68142800016a6937", - "materialNo": "110-1803-0101", - "name": "DEEBOT OZMO 960", - "icon": "5e8da019032edd9008c66bf0", - "model": "DG7G", - "UILogicId": "DR_935G", - "ota": True, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e8da019032edd9008c66bf0", - }, - }, - { - "classid": "130", - "product": { - "_id": "5cae98d01285190001685974", - "materialNo": "110-1629-0201", - "name": "DEEBOT OZMO 610 Series", - "icon": "5d4b7640de51dd0001fee131", - "model": "OZMO600", - "UILogicId": "ECO_INTL_130", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d4b7640de51dd0001fee131", - }, - }, - { - "classid": "2pv572", - "product": { - "_id": "5d1474630ac6ad00012b7940", - "materialNo": "110-1810-0107", - "name": "DEEBOT OZMO 905", - "icon": "5d1474632a6bd50001b5b6f3", - "model": "OZMO905", - "UILogicId": "D_OZMO_900", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d1474632a6bd50001b5b6f3", - }, - }, - { - "classid": "xb83mv", - "product": { - "_id": "5d246180350e7a0001e84bea", - "materialNo": "88393939393", - "name": "DEEBOT U3", - "icon": "5d3fe649de51dd0001fee0de", - "model": "SLIM4_INTL", - "UILogicId": "DK_4G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d3fe649de51dd0001fee0de", - }, - }, - { - "classid": "ar5bjb", - "product": { - "_id": "5e58a73d36e8f3cab08f031f", - "materialNo": "130-6211-0610", - "name": "DEEBOT 665", - "icon": "5e58a2df36e8f39e318f031d", - "model": "D665", - "UILogicId": "D_661", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e58a2df36e8f39e318f031d", - }, - }, - { - "classid": "7j1tu6", - "product": { - "_id": "5e993e566a299d449a06d65a", - "materialNo": "110-1919-0801", - "name": "DEEBOT U2 PRO", - "icon": "6064260545505e0008e5cb49", - "model": "U2_EH2", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6064260545505e0008e5cb49", - }, - }, - { - "classid": "ts2ofl", - "product": { - "_id": "5e993e8b8c92c753dd83555f", - "materialNo": "110-1919-0901", - "name": "DEEBOT U2", - "icon": "606425dfd18cbd0008e2fcf3", - "model": "U2_AUL", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425dfd18cbd0008e2fcf3", - }, - }, - { - "classid": "125", - "product": { - "_id": "5cae9703128519000168596a", - "materialNo": "110-1638-0102", - "name": "DEEBOT M80 Pro", - "icon": "5d2c14414d60de0001eaf1f2", - "model": "M80", - "UILogicId": "ECO_INTL_125", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c14414d60de0001eaf1f2", - }, - }, - { - "classid": "jh3ry2", - "product": { - "_id": "5de9b77f0136c00001cb1f8e", - "materialNo": "113-1931-0003", - "name": "AVA", - "icon": "6049b34d1269020008a95aef", - "model": "AVA", - "UILogicId": "ATMOBOT_AVA", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6049b34d1269020008a95aef", - }, - }, - { - "classid": "wlqdkp", - "product": { - "_id": "5e9924018c92c7c480835559", - "materialNo": "110-1919-0701", - "name": "DEEBOT U2", - "icon": "6064263ad18cbd0008e2fcf4", - "model": "U2_EL2", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6064263ad18cbd0008e2fcf4", - }, - }, - { - "classid": "c0lwyn", - "product": { - "_id": "5e993eef6a299d7e4a06d660", - "materialNo": "110-1919-1301", - "name": "DEEBOT U2 PRO", - "icon": "606425ab4a84d700082b39f7", - "model": "U2_AUH", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425ab4a84d700082b39f7", - }, - }, - { - "classid": "emzppx", - "product": { - "_id": "5c763f35280fda0001770b84", - "materialNo": "702-0000-0169", - "name": "DEEBOT 501", - "icon": "5c931fef280fda0001770d7e", - "model": "D501", - "UILogicId": "D_500", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c931fef280fda0001770d7e", - }, - }, - { - "classid": "115", - "product": { - "_id": "5bbedd2822d57f00018c13b7", - "materialNo": "110-1602-0101", - "name": "DEEBOT OZMO/PRO 930 Series", - "icon": "5cf711aeb0acfc000179ff8a", - "model": "DR930", - "UILogicId": "DR_930G", - "ota": True, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5cf711aeb0acfc000179ff8a", - }, - }, - { - "classid": "jr3pqa", - "product": { - "_id": "5b43077b8bc457000140363e", - "materialNo": "702-0000-0202", - "name": "DEEBOT 711", - "icon": "5b5ac4cc8d5a56000111e769", - "model": "D711", - "UILogicId": "D_700", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b5ac4cc8d5a56000111e769", - }, - }, - { - "classid": "142", - "product": { - "_id": "5ca1ca7a12851900016858bd", - "materialNo": "110-1640-0101", - "name": "DEEBOT Mini2", - "icon": "5ca1ca79e9e9270001354b2d", - "model": "Mini2", - "UILogicId": "ECO_INTL_142", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca1ca79e9e9270001354b2d", - }, - }, - { - "classid": "aqdd5p", - "product": { - "_id": "5cb7cfba179839000114d762", - "materialNo": "110-1711-0001", - "name": "DEEBOT DE55", - "icon": "5cb7cfbab72c4d00010e5fc7", - "model": "DE5G", - "UILogicId": "D_900", - "ota": True, - "supportType": { - "share": False, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5cb7cfbab72c4d00010e5fc7", - }, - }, - { - "classid": "152", - "product": { - "_id": "5cbd97b961526a00019799bd", - "materialNo": "110-1628-0302", - "name": "DEEBOT", - "icon": "5d4b7628de51dd0001fee12f", - "model": "D600", - "UILogicId": "ECO_INTL_152", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d4b7628de51dd0001fee12f", - }, - }, - { - "classid": "d0cnel", - "product": { - "_id": "5ceba1c6d85b4d0001776986", - "materialNo": "702-0000-0204", - "name": "DEEBOT 711s", - "icon": "5d157f9f77a3a60001051f69", - "model": "D711S", - "UILogicId": "D_700", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d157f9f77a3a60001051f69", - }, - }, - { - "classid": "u4h1uk", - "product": { - "_id": "5e993eba8c92c71489835564", - "materialNo": "110-1919-1101", - "name": "DEEBOT U2 PRO", - "icon": "606425bed18cbd0008e2fcf2", - "model": "U2_JP", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425bed18cbd0008e2fcf2", - }, - }, - { - "classid": "3ab24g", - "product": { - "_id": "5e9d34418c92c717e9835583", - "materialNo": "130-6225-0302", - "name": "K650", - "icon": "5ef31b80f5dcdf000767cf4d", - "model": "K652G", - "UILogicId": "K650_RANDOM_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ef31b80f5dcdf000767cf4d", - }, - }, - { - "classid": "9akc61", - "product": { - "_id": "5c763f8263023c0001e7f855", - "materialNo": "20200115005", - "name": "DEEBOT 505", - "icon": "5c932067280fda0001770d7f", - "model": "D505", - "UILogicId": "D_500", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c932067280fda0001770d7f", - }, - }, - { - "classid": "159", - "product": { - "_id": "5ca32bc2e9e9270001354b41", - "materialNo": "110-1629-0203", - "name": "DEEBOT OZMO 601", - "icon": "5d4b7606de51dd0001fee12d", - "model": "159", - "UILogicId": "ECO_INTL_159", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d4b7606de51dd0001fee12d", - }, - }, - { - "classid": "b742vd", - "product": { - "_id": "5e699a4106f6de83ea64c620", - "materialNo": "110-1921-0301", - "name": "DEEBOT OZMO T8", - "icon": "5e8e93a7032edd3f5ec66d4a", - "model": "T8G", - "UILogicId": "DT_8G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e8e93a7032edd3f5ec66d4a", - }, - }, - { - "classid": "uv242z", - "product": { - "_id": "5b5149b4ac0b87000148c128", - "materialNo": "702-0000-0205", - "name": "DEEBOT 710", - "icon": "5b5ac4e45f21100001882bb9", - "model": "D700", - "UILogicId": "D_700", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b5ac4e45f21100001882bb9", - }, - }, - { - "classid": "155", - "product": { - "_id": "5cce893813afb7000195d6af", - "materialNo": "702-0000-0164", - "name": "DEEBOT N79S/SE", - "icon": "5cd4ca505b032200015a455d", - "model": "DN622", - "UILogicId": "ECO_INTL_155", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5cd4ca505b032200015a455d", - }, - }, - { - "classid": "1qdu4z", - "product": { - "_id": "5de9b7f50136c00001cb1f96", - "materialNo": "117-1923-0101", - "name": "Aaron", - "icon": "5e71c7df298f0d9cabfef86f", - "model": "AT80K", - "UILogicId": "AT80", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e71c7df298f0d9cabfef86f", - }, - }, - { - "classid": "4zfacv", - "product": { - "_id": "5bf2596f23244a00013f2f13", - "materialNo": "910", - "name": "DEEBOT 910", - "icon": "5c778731280fda0001770ba0", - "model": "DN2_INTL", - "UILogicId": "DN_2G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c778731280fda0001770ba0", - }, - }, - { - "classid": "nq9yhl", - "product": { - "_id": "5e8597b0032edd333ac66bbf", - "materialNo": "110-1919-0601", - "name": "DEEBOT U2 PRO", - "icon": "606426ebb0a931000860fad4", - "model": "U2_AH", - "UILogicId": "U2_HIGH_MODE_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426ebb0a931000860fad4", - }, - }, - { - "classid": "m7lqzi", - "product": { - "_id": "5c653edf7b93c700013f12cc", - "materialNo": "113-1708-0001", - "name": "ATMOBOT Pro", - "icon": "5d2c63a5ba13eb00013feab7", - "model": "AA30G", - "UILogicId": "AA_30G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c63a5ba13eb00013feab7", - }, - }, - { - "classid": "r8ead0", - "product": { - "_id": "5c763f63280fda0001770b88", - "materialNo": "702-0000-0161", - "name": "DEEBOT 502", - "icon": "5c93204b63023c0001e7faa7", - "model": "D502", - "UILogicId": "D_500", - "ota": False, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c93204b63023c0001e7faa7", - }, - }, - { - "classid": "jjccwk", - "product": { - "_id": "5ce7870cd85b4d0001775db9", - "materialNo": "20200115004", - "name": "DEEBOT OZMO 750", - "icon": "5d3aa309ba13eb00013feb69", - "model": "DV6G", - "UILogicId": "DV_6G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d3aa309ba13eb00013feb69", - }, - }, - { - "classid": "129", - "product": { - "_id": "5ca31df1e9e9270001354b35", - "materialNo": "110-1628-0101", - "name": "DEEBOT M86", - "icon": "5ca31df112851900016858c0", - "model": "M86", - "UILogicId": "ECO_INTL_129", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca31df112851900016858c0", - }, - }, - { - "classid": "165", - "product": { - "_id": "5ca32a11e9e9270001354b39", - "materialNo": "702-0000-0189", - "name": "DEEBOT N79T/W", - "icon": "5ca32a1012851900016858c6", - "model": "N79T", - "UILogicId": "ECO_INTL_165", - "ota": False, - "supportType": { - "share": False, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca32a1012851900016858c6", - }, - }, - { - "classid": "jffnlf", - "product": { - "_id": "5e53208426be716edf4b55cf", - "materialNo": "130-6311-1702", - "name": "DEEBOT N3 MAX", - "icon": "5e53207a26be71596c4b55cd", - "model": "DU3G", - "UILogicId": "DU_6G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e53207a26be71596c4b55cd", - }, - }, - { - "classid": "d4v1pm", - "product": { - "_id": "5e9924416a299dddac06d656", - "materialNo": "110-1919-0802", - "name": "DEEBOT U2 PRO", - "icon": "606426254a84d700082b39f9", - "model": "U2_EH1", - "UILogicId": "U2_HIGH_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426254a84d700082b39f9", - }, - }, - { - "classid": "34vhpm", - "product": { - "_id": "5edd998afdd6a30008da039b", - "materialNo": "110-1913-0501", - "name": "DEEBOT T8 AIVI +", - "icon": "605050031269020008a95af9", - "model": "DXAIS_TW", - "UILogicId": "DX_AIG", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605050031269020008a95af9", - }, - }, - { - "classid": "tpnwyu", - "product": { - "_id": "5edd9a4075f2fc000636086c", - "materialNo": "110-1913-0401", - "name": "DEEBOT T8 AIVI +", - "icon": "6050503e1269020008a95afa", - "model": "DXAIS_HK", - "UILogicId": "DX_AIG", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6050503e1269020008a95afa", - }, - }, - { - "classid": "wgxm70", - "product": { - "_id": "5ed5e4d3a719ea460ec3216c", - "materialNo": "110-1921-0012", - "name": "DEEBOT T8", - "icon": "5edf2bbedb28cc00062f8bd7", - "model": "T8GC", - "UILogicId": "DT_8G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5edf2bbedb28cc00062f8bd7", - }, - }, - { - "classid": "1zqysa", - "product": { - "_id": "5ee85c64fdd6a30008da0af4", - "materialNo": "110-1919-2201", - "name": "DEEBOT U2 POWER", - "icon": "6064258d1269020008a9627a", - "model": "U2_HK", - "UILogicId": "U2_HIGH_NOMAG_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6064258d1269020008a9627a", - }, - }, - { - "classid": "chmi0g", - "product": { - "_id": "5ee85cabfdd6a30008da0af8", - "materialNo": "110-1919-2301", - "name": "DEEBOT U2 POWER", - "icon": "606425821269020008a96279", - "model": "U2_TW", - "UILogicId": "U2_HIGH_NOMAG_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425821269020008a96279", - }, - }, - { - "classid": "p5nx9u", - "product": { - "_id": "5f0d45404a3cbe00073d17db", - "materialNo": "110-2022-0001", - "name": "yeedi 2 hybrid", - "icon": "5f59e774c0f03a0008ee72e0", - "model": "K750", - "UILogicId": "DK_750", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5f59e774c0f03a0008ee72e0", - }, - }, - { - "classid": "n6cwdb", - "product": { - "_id": "5f729454a541bd000881cc7b", - "materialNo": "110-2009-0900", - "name": "DEEBOT N8", - "icon": "60627a92fc527c00087fdb0a", - "model": "N8_LDS_WHITE_N", - "UILogicId": "T5_SE_G_DTOF", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627a92fc527c00087fdb0a", - }, - }, - { - "classid": "lhbd50", - "product": { - "_id": "5f88195e6cf8de0008ed7c11", - "materialNo": "110-2010-1001", - "name": "DEEBOT T9+", - "icon": "603f51243b03f50007b6c2ca", - "model": "DEEBOT_OZMO_T9PLUS", - "UILogicId": "T9_PRO_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/603f51243b03f50007b6c2ca", - }, - }, - { - "classid": "ucn2xe", - "product": { - "_id": "5f8819156cf8de0008ed7c0d", - "materialNo": "110-2010-0301", - "name": "DEEBOT T9", - "icon": "603f510e3b03f50007b6c2c9", - "model": "DEEBOT_OZMO_T9", - "UILogicId": "T9_PRO_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/603f510e3b03f50007b6c2c9", - }, - }, - { - "classid": "0bdtzz", - "product": { - "_id": "5fa105c6d16a99000667eb54", - "materialNo": "110-1921-0404", - "name": "DEEBOT OZMO T8 PURE", - "icon": "5fa105bbd16a99000667eb52", - "model": "OT8_PURE", - "UILogicId": "DT_8G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5fa105bbd16a99000667eb52", - }, - }, - { - "classid": "r5zxjr", - "product": { - "_id": "5fa2441169320300086ff812", - "materialNo": "110-2009-0101", - "name": "DEEBOT N7", - "icon": "60627c09b0a931000860facd", - "model": "N7_LDS", - "UILogicId": "T5_SE_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627c09b0a931000860facd", - }, - }, - { - "classid": "r5y7re", - "product": { - "_id": "5fa4b1f8c7260e000858584b", - "materialNo": "110-2009-0902", - "name": "DEEBOT N8", - "icon": "60627a9cb0a931000860fac7", - "model": "N8_DTOF_TW", - "UILogicId": "T5_SE_G_DTOF", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627a9cb0a931000860fac7", - }, - }, - { - "classid": "snxbvc", - "product": { - "_id": "5fa4e31dd16a99000667eb94", - "materialNo": "110-2008-0102", - "name": "DEEBOT N8 PRO", - "icon": "60627bbfb0a931000860fac9", - "model": "N8_PRO_WHITE", - "UILogicId": "DT_8SE_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bbfb0a931000860fac9", - }, - }, - { - "classid": "7bryc5", - "product": { - "_id": "5fa4e248c7260e0008585850", - "materialNo": "110-2029-0001", - "name": "DEEBOT N8+", - "icon": "5fb474d4d16a99000667edd9", - "model": "N8_PLUS_WHITE", - "UILogicId": "N8_PLUS", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5fb474d4d16a99000667edd9", - }, - }, - { - "classid": "b2jqs4", - "product": { - "_id": "5fbc7cc69601440008b24469", - "materialNo": "110-2029-0002", - "name": "DEEBOT N8+", - "icon": "5feaeb27d4cb3a0006679047", - "model": "N8_PLUS_BLACK", - "UILogicId": "N8_PLUS", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5feaeb27d4cb3a0006679047", - }, - }, - { - "classid": "yu362x", - "product": { - "_id": "5fbc7da39601440008b2446d", - "materialNo": "110-2008-0103", - "name": "DEEBOT N8 PRO", - "icon": "60627bde50928b0007c13273", - "model": "N8_PRO_BLACK", - "UILogicId": "DT_8SE_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bde50928b0007c13273", - }, - }, - { - "classid": "ifbw08", - "product": { - "_id": "5fbc7e18c7260e0008585c8f", - "materialNo": "110-2008-0901", - "name": "DEEBOT N8 PRO+", - "icon": "5feaeb47d4cb3a0006679048", - "model": "N8_PRO_PLUS_WHITE", - "UILogicId": "DT_8SE_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5feaeb47d4cb3a0006679048", - }, - }, - { - "classid": "85as7h", - "product": { - "_id": "5fbc7f5069320300086ffa5e", - "materialNo": "110-2008-0902", - "name": "DEEBOT N8 PRO+", - "icon": "5feaeb585f437d0008e0e00c", - "model": "N8_PRO_PLUS_BLACK", - "UILogicId": "DT_8SE_G", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5feaeb585f437d0008e0e00c", - }, - }, - { - "classid": "ty84oi", - "product": { - "_id": "5fbcac79c7260e0008585c94", - "materialNo": "110-2029-1201", - "name": "DEEBOT N8", - "icon": "60627bcafc527c00087fdb0c", - "model": "N8_WHITE", - "UILogicId": "N8_PLUS", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bcafc527c00087fdb0c", - }, - }, - { - "classid": "36xnxf", - "product": { - "_id": "5fbcacf369320300086ffa63", - "materialNo": "110-2029-0701", - "name": "DEEBOT N8", - "icon": "60627bd517c95b0008ff20ec", - "model": "N8_BLACK\t", - "UILogicId": "N8_PLUS", - "ota": True, - "supportType": { - "share": True, - "tmjl": False, - "assistant": True, - "alexa": True, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bd517c95b0008ff20ec", - }, - }, - { - "classid": "2pj946", - "product": { - "_id": "5fd1e362bbf4b30006cd9255", - "materialNo": "111-2005-0301", - "name": "WINBOT 920", - "icon": "6049b3631269020008a95af0", - "model": "W920_INT", - "UILogicId": "winbot_g", - "ota": True, - "supportType": { - "share": False, - "tmjl": False, - "assistant": False, - "alexa": False, - }, - "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6049b3631269020008a95af0", - }, - }, -] - RETURN_API_SUCCESS = "0000" ERR_ACTIVATE_TOKEN_TIMEOUT = "1006" ERR_COMMON = "0001" diff --git a/bumper/web/plugins/api/appsvr.py b/bumper/web/plugins/api/appsvr.py index 76f63db..3c15ed1 100644 --- a/bumper/web/plugins/api/appsvr.py +++ b/bumper/web/plugins/api/appsvr.py @@ -1,21 +1,23 @@ """Appsvr plugin module.""" +import copy import json import logging -from typing import Iterable +from typing import Any, Iterable from aiohttp import web from aiohttp.web_exceptions import HTTPInternalServerError from aiohttp.web_request import Request from aiohttp.web_response import Response from aiohttp.web_routedef import AbstractRouteDef +from amqtt.session import Session +import bumper from bumper.db import db_get, token_by_authcode, user_add_oauth -from bumper.models import include_EcoVacsHomeProducts_info from .. import WebserverPlugin +from .pim import get_product_iot_map -# pylint: disable=no-self-use class AppsvrPlugin(WebserverPlugin): """Appsvr plugin.""" @@ -26,102 +28,146 @@ class AppsvrPlugin(WebserverPlugin): web.route( "*", "/appsvr/app.do", - self._handle_appsvr_app, + _handle_appsvr_app, ), web.route( "*", "/appsvr/service/list", - self._handle_appsvr_service_list, + _handle_appsvr_service_list, ), web.route( "*", "/appsvr/oauth_callback", - self._handle_appsvr_oauth_callback, + _handle_appsvr_oauth_callback, ), ] - async def _handle_appsvr_app(self, request: Request) -> Response: - if request.method == "GET": - # Skip GET for now - return web.json_response({"result": "fail", "todo": "result"}) - try: - if request.content_type == "application/x-www-form-urlencoded": - postbody = await request.post() - else: - postbody = json.loads(await request.text()) +async def _handle_appsvr_app(request: Request) -> Response: + if request.method == "GET": + # Skip GET for now + return web.json_response({"result": "fail", "todo": "result"}) - todo = postbody["todo"] + try: + if request.content_type == "application/x-www-form-urlencoded": + postbody = await request.post() + else: + postbody = json.loads(await request.text()) - if todo == "GetGlobalDeviceList": # EcoVacs Home - bots = db_get().table("bots").all() - devices = [] - for bot in bots: - if bot["class"] != "": - device = include_EcoVacsHomeProducts_info(bot) - # Happens if the bot isn't on the EcoVacs Home list - if device is not None: - devices.append(device) + todo = postbody["todo"] - body = { - "code": 0, - "devices": devices, - "ret": "ok", - "todo": "result", - } + if todo == "GetGlobalDeviceList": # EcoVacs Home + bots = db_get().table("bots").all() + devices = [] + for bot in bots: + if bot["class"] != "": + device = _include_product_iot_map_info(bot) + # Happens if the bot isn't on the EcoVacs Home list + if device is not None: + devices.append(device) - return web.json_response(body) - except Exception: # pylint: disable=broad-except - logging.error("Unexpected exception occurred", exc_info=True) - - raise HTTPInternalServerError - - async def _handle_appsvr_service_list(self, _: Request) -> Response: - try: - # original urls comment out as they are sub sub domain, which the current certificate is not valid - # using url, where the certs is valid - # data = { - # "account": "users-base.dc-eu.ww.ecouser.net", - # "jmq": "jmq-ngiot-eu.dc.ww.ecouser.net", - # "lb": "lbo.ecouser.net", - # "magw": "api-app.dc-eu.ww.ecouser.net", - # "msgcloud": "msg-eu.ecouser.net:5223", - # "ngiotLb": "jmq-ngiot-eu.area.ww.ecouser.net", - # "rop": "api-rop.dc-eu.ww.ecouser.net" - # } - - data = { - "account": "users-base.ecouser.net", - "jmq": "jmq-ngiot-eu.ecouser.net", - "lb": "lbo.ecouser.net", - "magw": "api-app.ecouser.net", - "msgcloud": "msg-eu.ecouser.net:5223", - "ngiotLb": "jmq-ngiot-eu.ecouser.net", - "rop": "api-rop.ecouser.net", - } - - body = {"code": 0, "data": data, "ret": "ok", "todo": "result"} - - return web.json_response(body) - except Exception: # pylint: disable=broad-except - logging.error("Unexpected exception occurred", exc_info=True) - - raise HTTPInternalServerError - - async def _handle_appsvr_oauth_callback(self, request: Request) -> Response: - try: - token = token_by_authcode(request.query["code"]) - oauth = user_add_oauth(token["userid"]) body = { "code": 0, - "data": oauth.toResponse(), + "devices": devices, "ret": "ok", "todo": "result", } return web.json_response(body) + except Exception: # pylint: disable=broad-except + logging.error("Unexpected exception occurred", exc_info=True) - except Exception: # pylint: disable=broad-except - logging.error("Unexpected exception occurred", exc_info=True) + raise HTTPInternalServerError - raise HTTPInternalServerError + +def _include_product_iot_map_info(bot: dict[str, Any]) -> dict[str, Any]: + result = copy.deepcopy(bot) + + for botprod in get_product_iot_map(): + if botprod["classid"] == result["class"]: + result["UILogicId"] = botprod["product"]["UILogicId"] + result["ota"] = botprod["product"]["ota"] + result["icon"] = botprod["product"]["iconUrl"] + result["model"] = botprod["product"]["model"] + result["pip"] = botprod["product"]["_id"] + result["deviceName"] = botprod["product"]["name"] + result["materialNo"] = botprod["product"]["materialNo"] + result["product_category"] = ( + "DEEBOT" + if botprod["product"]["name"].startswith("DEEBOT") + else "UNKNOWN" + ) + # bot["updateInfo"] = { + # "changeLog": "", + # "needUpdate": False + # } + # bot["service"] = { + # "jmq": "jmq-ngiot-eu.dc.ww.ecouser.net", + # "mqs": "api-ngiot.dc-as.ww.ecouser.net" + # } + + result["status"] = ( + 1 if bot["mqtt_connection"] or bot["xmpp_connection"] else 0 + ) + + # mqtt_connection is not always set correctly, therefore workaround until fixed properly + session: Session + for (session, _) in bumper.mqtt_server.broker._sessions.values(): + did = session.client_id.split("@")[0] + if did == bot["did"] and session.transitions.state == "connected": + result["status"] = 1 + + break + return result + + +async def _handle_appsvr_service_list(_: Request) -> Response: + try: + # original urls comment out as they are sub sub domain, which the current certificate is not valid + # using url, where the certs is valid + # data = { + # "account": "users-base.dc-eu.ww.ecouser.net", + # "jmq": "jmq-ngiot-eu.dc.ww.ecouser.net", + # "lb": "lbo.ecouser.net", + # "magw": "api-app.dc-eu.ww.ecouser.net", + # "msgcloud": "msg-eu.ecouser.net:5223", + # "ngiotLb": "jmq-ngiot-eu.area.ww.ecouser.net", + # "rop": "api-rop.dc-eu.ww.ecouser.net" + # } + + data = { + "account": "users-base.ecouser.net", + "jmq": "jmq-ngiot-eu.ecouser.net", + "lb": "lbo.ecouser.net", + "magw": "api-app.ecouser.net", + "msgcloud": "msg-eu.ecouser.net:5223", + "ngiotLb": "jmq-ngiot-eu.ecouser.net", + "rop": "api-rop.ecouser.net", + } + + body = {"code": 0, "data": data, "ret": "ok", "todo": "result"} + + return web.json_response(body) + except Exception: # pylint: disable=broad-except + logging.error("Unexpected exception occurred", exc_info=True) + + raise HTTPInternalServerError + + +async def _handle_appsvr_oauth_callback(request: Request) -> Response: + try: + token = token_by_authcode(request.query["code"]) + oauth = user_add_oauth(token["userid"]) + body = { + "code": 0, + "data": oauth.toResponse(), + "ret": "ok", + "todo": "result", + } + + return web.json_response(body) + + except Exception: # pylint: disable=broad-except + logging.error("Unexpected exception occurred", exc_info=True) + + raise HTTPInternalServerError diff --git a/bumper/web/plugins/api/pim/__init__.py b/bumper/web/plugins/api/pim/__init__.py index 13a499c..ef9f2e1 100644 --- a/bumper/web/plugins/api/pim/__init__.py +++ b/bumper/web/plugins/api/pim/__init__.py @@ -1 +1,13 @@ """Api pim module plugin.""" +import json +import os +from typing import Any + + +def get_product_iot_map() -> tuple[Any]: + """Get product iot map.""" + with open( + os.path.join(os.path.dirname(__file__), "productIotMap.json"), + encoding="utf-8", + ) as file: + return (json.load(file),) diff --git a/bumper/web/plugins/api/pim/product.py b/bumper/web/plugins/api/pim/product.py index 677c9df..f83d231 100644 --- a/bumper/web/plugins/api/pim/product.py +++ b/bumper/web/plugins/api/pim/product.py @@ -10,9 +10,11 @@ from aiohttp.web_request import Request from aiohttp.web_response import Response from aiohttp.web_routedef import AbstractRouteDef -from bumper.models import RETURN_API_SUCCESS, EcoVacsHomeProducts +from bumper.models import RETURN_API_SUCCESS from bumper.web.plugins import WebserverPlugin +from . import get_product_iot_map + class ProductPlugin(WebserverPlugin): """Product plugin.""" @@ -49,7 +51,7 @@ async def _handle_get_product_iot_map(_: Request) -> Response: try: body = { "code": RETURN_API_SUCCESS, - "data": EcoVacsHomeProducts, + "data": get_product_iot_map(), } return web.json_response(body) except Exception: # pylint: disable=broad-except diff --git a/bumper/web/plugins/api/pim/productIotMap.json b/bumper/web/plugins/api/pim/productIotMap.json new file mode 100644 index 0000000..e47082d --- /dev/null +++ b/bumper/web/plugins/api/pim/productIotMap.json @@ -0,0 +1,1617 @@ +[ + { + "classid": "02uwxm", + "product": { + "UILogicId": "D_OZMO_SLIM10", + "_id": "5ae1481e7ccd1a0001e1f69e", + "icon": "5b1dddc48bc45700014035a1", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b1dddc48bc45700014035a1", + "materialNo": "110-1715-0201", + "model": "SLIM10", + "name": "DEEBOT OZMO Slim10 Series", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "09m4bu", + "product": { + "UILogicId": "K650_G", + "_id": "5e9d340b8c92c777ab83557f", + "icon": "5ef31b8cee3c1200075b6f67", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ef31b8cee3c1200075b6f67", + "materialNo": "130-6225-0605", + "model": "K651G", + "name": "K650", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "0bdtzz", + "product": { + "UILogicId": "DT_8G", + "_id": "5fa105c6d16a99000667eb54", + "icon": "5fa105bbd16a99000667eb52", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5fa105bbd16a99000667eb52", + "materialNo": "110-1921-0404", + "model": "OT8_PURE", + "name": "DEEBOT OZMO T8 PURE", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "0xyhhr", + "product": { + "UILogicId": "DV_5G", + "_id": "5ca4716312851900016858cd", + "icon": "5d117d4f0ac6ad00012b792d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d117d4f0ac6ad00012b792d", + "materialNo": "110-1825-0201", + "model": "DV5G", + "name": "DEEBOT OZMO 700", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "115", + "product": { + "UILogicId": "DR_930G", + "_id": "5bbedd2822d57f00018c13b7", + "icon": "5cf711aeb0acfc000179ff8a", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5cf711aeb0acfc000179ff8a", + "materialNo": "110-1602-0101", + "model": "DR930", + "name": "DEEBOT OZMO/PRO 930 Series", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "123", + "product": { + "UILogicId": "ECO_INTL_123", + "_id": "5cae9b201285190001685977", + "icon": "5d2c150dba13eb00013feaae", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c150dba13eb00013feaae", + "materialNo": "110-1639-0102", + "model": "Slim2", + "name": "DEEBOT Slim2 Series", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "125", + "product": { + "UILogicId": "ECO_INTL_125", + "_id": "5cae9703128519000168596a", + "icon": "5d2c14414d60de0001eaf1f2", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c14414d60de0001eaf1f2", + "materialNo": "110-1638-0102", + "model": "M80", + "name": "DEEBOT M80 Pro", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "126", + "product": { + "UILogicId": "ECO_INTL_126", + "_id": "5ca32ab212851900016858c7", + "icon": "5ca32ab2e9e9270001354b3d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca32ab2e9e9270001354b3d", + "materialNo": "702-0000-0136", + "model": "N79", + "name": "DEEBOT N79", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "129", + "product": { + "UILogicId": "ECO_INTL_129", + "_id": "5ca31df1e9e9270001354b35", + "icon": "5ca31df112851900016858c0", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca31df112851900016858c0", + "materialNo": "110-1628-0101", + "model": "M86", + "name": "DEEBOT M86", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "12baap", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5ea8d1fe73193e3bef67c551", + "icon": "606425981269020008a9627b", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425981269020008a9627b", + "materialNo": "110-1919-1801", + "model": "U2_APAC2", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "130", + "product": { + "UILogicId": "ECO_INTL_130", + "_id": "5cae98d01285190001685974", + "icon": "5d4b7640de51dd0001fee131", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d4b7640de51dd0001fee131", + "materialNo": "110-1629-0201", + "model": "OZMO600", + "name": "DEEBOT OZMO 610 Series", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "140", + "product": { + "UILogicId": "ECO_INTL_140", + "_id": "5cd43b4cf542e00001dc2dec", + "icon": "5d2c152f4d60de0001eaf1f4", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c152f4d60de0001eaf1f4", + "materialNo": "110-1639-0011", + "model": "SlimNeo", + "name": "DEEBOT Slim Neo", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "141", + "product": { + "UILogicId": "ECO_INTL_141", + "_id": "5cae97c9128519000168596f", + "icon": "5d2c2aa64d60de0001eaf1f6", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c2aa64d60de0001eaf1f6", + "materialNo": "110-1638-0101", + "model": "M81", + "name": "DEEBOT M81 Pro", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "142", + "product": { + "UILogicId": "ECO_INTL_142", + "_id": "5ca1ca7a12851900016858bd", + "icon": "5ca1ca79e9e9270001354b2d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca1ca79e9e9270001354b2d", + "materialNo": "110-1640-0101", + "model": "Mini2", + "name": "DEEBOT Mini2", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "152", + "product": { + "UILogicId": "ECO_INTL_152", + "_id": "5cbd97b961526a00019799bd", + "icon": "5d4b7628de51dd0001fee12f", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d4b7628de51dd0001fee12f", + "materialNo": "110-1628-0302", + "model": "D600", + "name": "DEEBOT", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "155", + "product": { + "UILogicId": "ECO_INTL_155", + "_id": "5cce893813afb7000195d6af", + "icon": "5cd4ca505b032200015a455d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5cd4ca505b032200015a455d", + "materialNo": "702-0000-0164", + "model": "DN622", + "name": "DEEBOT N79S/SE", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "159", + "product": { + "UILogicId": "ECO_INTL_159", + "_id": "5ca32bc2e9e9270001354b41", + "icon": "5d4b7606de51dd0001fee12d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d4b7606de51dd0001fee12d", + "materialNo": "110-1629-0203", + "model": "159", + "name": "DEEBOT OZMO 601", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "165", + "product": { + "UILogicId": "ECO_INTL_165", + "_id": "5ca32a11e9e9270001354b39", + "icon": "5ca32a1012851900016858c6", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ca32a1012851900016858c6", + "materialNo": "702-0000-0189", + "model": "N79T", + "name": "DEEBOT N79T/W", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "16wdph", + "product": { + "UILogicId": "D_661", + "_id": "5d280ce344af3600013839ab", + "icon": "5d280ce3350e7a0001e84c95", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d280ce3350e7a0001e84c95", + "materialNo": "702-0000-0171", + "model": "D661", + "name": "DEEBOT 661", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "1qdu4z", + "product": { + "UILogicId": "AT80", + "_id": "5de9b7f50136c00001cb1f96", + "icon": "5e71c7df298f0d9cabfef86f", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e71c7df298f0d9cabfef86f", + "materialNo": "117-1923-0101", + "model": "AT80K", + "name": "Aaron", + "ota": false, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "1zqysa", + "product": { + "UILogicId": "U2_HIGH_NOMAG_G", + "_id": "5ee85c64fdd6a30008da0af4", + "icon": "6064258d1269020008a9627a", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6064258d1269020008a9627a", + "materialNo": "110-1919-2201", + "model": "U2_HK", + "name": "DEEBOT U2 POWER", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "2pj946", + "product": { + "UILogicId": "winbot_g", + "_id": "5fd1e362bbf4b30006cd9255", + "icon": "6049b3631269020008a95af0", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6049b3631269020008a95af0", + "materialNo": "111-2005-0301", + "model": "W920_INT", + "name": "WINBOT 920", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "2pv572", + "product": { + "UILogicId": "D_OZMO_900", + "_id": "5d1474630ac6ad00012b7940", + "icon": "5d1474632a6bd50001b5b6f3", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d1474632a6bd50001b5b6f3", + "materialNo": "110-1810-0107", + "model": "OZMO905", + "name": "DEEBOT OZMO 905", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "34vhpm", + "product": { + "UILogicId": "DX_AIG", + "_id": "5edd998afdd6a30008da039b", + "icon": "605050031269020008a95af9", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605050031269020008a95af9", + "materialNo": "110-1913-0501", + "model": "DXAIS_TW", + "name": "DEEBOT T8 AIVI +", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "36xnxf", + "product": { + "UILogicId": "N8_PLUS", + "_id": "5fbcacf369320300086ffa63", + "icon": "60627bd517c95b0008ff20ec", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bd517c95b0008ff20ec", + "materialNo": "110-2029-0701", + "model": "N8_BLACK\t", + "name": "DEEBOT N8", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "3ab24g", + "product": { + "UILogicId": "K650_RANDOM_G", + "_id": "5e9d34418c92c717e9835583", + "icon": "5ef31b80f5dcdf000767cf4d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ef31b80f5dcdf000767cf4d", + "materialNo": "130-6225-0302", + "model": "K652G", + "name": "K650", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "4f0c4e", + "product": { + "UILogicId": "AT_01G", + "_id": "5d2c5fcd4d60de0001eaf2a5", + "icon": "5d2d996c4d60de0001eaf2b5", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2d996c4d60de0001eaf2b5", + "materialNo": "70200000227", + "model": "AT01", + "name": "AT01", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "4zfacv", + "product": { + "UILogicId": "DN_2G", + "_id": "5bf2596f23244a00013f2f13", + "icon": "5c778731280fda0001770ba0", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c778731280fda0001770ba0", + "materialNo": "910", + "model": "DN2_INTL", + "name": "DEEBOT 910", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "55aiho", + "product": { + "UILogicId": "DT_8G", + "_id": "5e698a6306f6de52c264c61b", + "icon": "605be27250928b0007c13264", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605be27250928b0007c13264", + "materialNo": "110-1921-1101", + "model": "T8+", + "name": "DEEBOT OZMO T8+", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "7bryc5", + "product": { + "UILogicId": "N8_PLUS", + "_id": "5fa4e248c7260e0008585850", + "icon": "5fb474d4d16a99000667edd9", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5fb474d4d16a99000667edd9", + "materialNo": "110-2029-0001", + "model": "N8_PLUS_WHITE", + "name": "DEEBOT N8+", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "7j1tu6", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e993e566a299d449a06d65a", + "icon": "6064260545505e0008e5cb49", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6064260545505e0008e5cb49", + "materialNo": "110-1919-0801", + "model": "U2_EH2", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "85as7h", + "product": { + "UILogicId": "DT_8SE_G", + "_id": "5fbc7f5069320300086ffa5e", + "icon": "5feaeb585f437d0008e0e00c", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5feaeb585f437d0008e0e00c", + "materialNo": "110-2008-0902", + "model": "N8_PRO_PLUS_BLACK", + "name": "DEEBOT N8 PRO+", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "9akc61", + "product": { + "UILogicId": "D_500", + "_id": "5c763f8263023c0001e7f855", + "icon": "5c932067280fda0001770d7f", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c932067280fda0001770d7f", + "materialNo": "20200115005", + "model": "D505", + "name": "DEEBOT 505", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "9rft3c", + "product": { + "UILogicId": "DX_9G", + "_id": "5e14196a6e71b80001b60fda", + "icon": "6062795ad18cbd0008e2fce8", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6062795ad18cbd0008e2fce8", + "materialNo": "191165", + "model": "DX9G_T5", + "name": "DEEBOT OZMO T5", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "aqdd5p", + "product": { + "UILogicId": "D_900", + "_id": "5cb7cfba179839000114d762", + "icon": "5cb7cfbab72c4d00010e5fc7", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5cb7cfbab72c4d00010e5fc7", + "materialNo": "110-1711-0001", + "model": "DE5G", + "name": "DEEBOT DE55", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "ar5bjb", + "product": { + "UILogicId": "D_661", + "_id": "5e58a73d36e8f3cab08f031f", + "icon": "5e58a2df36e8f39e318f031d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e58a2df36e8f39e318f031d", + "materialNo": "130-6211-0610", + "model": "D665", + "name": "DEEBOT 665", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "b2jqs4", + "product": { + "UILogicId": "N8_PLUS", + "_id": "5fbc7cc69601440008b24469", + "icon": "5feaeb27d4cb3a0006679047", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5feaeb27d4cb3a0006679047", + "materialNo": "110-2029-0002", + "model": "N8_PLUS_BLACK", + "name": "DEEBOT N8+", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "b742vd", + "product": { + "UILogicId": "DT_8G", + "_id": "5e699a4106f6de83ea64c620", + "icon": "5e8e93a7032edd3f5ec66d4a", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e8e93a7032edd3f5ec66d4a", + "materialNo": "110-1921-0301", + "model": "T8G", + "name": "DEEBOT OZMO T8", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "c0lwyn", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e993eef6a299d7e4a06d660", + "icon": "606425ab4a84d700082b39f7", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425ab4a84d700082b39f7", + "materialNo": "110-1919-1301", + "model": "U2_AUH", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "chmi0g", + "product": { + "UILogicId": "U2_HIGH_NOMAG_G", + "_id": "5ee85cabfdd6a30008da0af8", + "icon": "606425821269020008a96279", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425821269020008a96279", + "materialNo": "110-1919-2301", + "model": "U2_TW", + "name": "DEEBOT U2 POWER", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "d0cnel", + "product": { + "UILogicId": "D_700", + "_id": "5ceba1c6d85b4d0001776986", + "icon": "5d157f9f77a3a60001051f69", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d157f9f77a3a60001051f69", + "materialNo": "702-0000-0204", + "model": "D711S", + "name": "DEEBOT 711s", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "d4v1pm", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e9924416a299dddac06d656", + "icon": "606426254a84d700082b39f9", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426254a84d700082b39f9", + "materialNo": "110-1919-0802", + "model": "U2_EH1", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "dl8fht", + "product": { + "UILogicId": "D_600", + "_id": "5acb0fa87c295c0001876ecf", + "icon": "5acc32067c295c0001876eea", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5acc32067c295c0001876eea", + "materialNo": "702-0000-0170", + "model": "D600", + "name": "DEEBOT 600 Series", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "emzppx", + "product": { + "UILogicId": "D_500", + "_id": "5c763f35280fda0001770b84", + "icon": "5c931fef280fda0001770d7e", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c931fef280fda0001770d7e", + "materialNo": "702-0000-0169", + "model": "D501", + "name": "DEEBOT 501", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "eyi9jv", + "product": { + "UILogicId": "D_700", + "_id": "5b7b65f364e1680001a08b54", + "icon": "5b7b65f176f7f10001e9a0c2", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b7b65f176f7f10001e9a0c2", + "materialNo": "702-0000-0203", + "model": "DV3G", + "name": "DEEBOT 715", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "fqxoiu", + "product": { + "UILogicId": "DT_8G", + "_id": "5e8e8d8a032edd8457c66bfb", + "icon": "605b059217c95b0008ff20d4", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605b059217c95b0008ff20d4", + "materialNo": "110-1921-1100", + "model": "OT8+", + "name": "DEEBOT OZMO T8+", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "gd4uut", + "product": { + "UILogicId": "DR_935G", + "_id": "5bc8189d68142800016a6937", + "icon": "5e8da019032edd9008c66bf0", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e8da019032edd9008c66bf0", + "materialNo": "110-1803-0101", + "model": "DG7G", + "name": "DEEBOT OZMO 960", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "h18jkh", + "product": { + "UILogicId": "DT_8G", + "_id": "5e8e8d2a032edd3c03c66bf7", + "icon": "5e8e8d146482551d72530e47", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e8e8d146482551d72530e47", + "materialNo": "110-1921-0400", + "model": "OT8G", + "name": "DEEBOT OZMO T8", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "hsgwhi", + "product": { + "UILogicId": "ATMOBOT_ANDY", + "_id": "5de9b6fb787cdf0001ef98ac", + "icon": "5e731a4a06f6de700464c69d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e731a4a06f6de700464c69d", + "materialNo": "113-1931-0001", + "model": "ANDY", + "name": "ANDY", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "ifbw08", + "product": { + "UILogicId": "DT_8SE_G", + "_id": "5fbc7e18c7260e0008585c8f", + "icon": "5feaeb47d4cb3a0006679048", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5feaeb47d4cb3a0006679048", + "materialNo": "110-2008-0901", + "model": "N8_PRO_PLUS_WHITE", + "name": "DEEBOT N8 PRO+", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "ipzjy0", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e9923878c92c7676b835555", + "icon": "606426c64a84d700082b39fa", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426c64a84d700082b39fa", + "materialNo": "110-1919-0702", + "model": "U2_EL1", + "name": "DEEBOT U2", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "jffnlf", + "product": { + "UILogicId": "DU_6G", + "_id": "5e53208426be716edf4b55cf", + "icon": "5e53207a26be71596c4b55cd", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5e53207a26be71596c4b55cd", + "materialNo": "130-6311-1702", + "model": "DU3G", + "name": "DEEBOT N3 MAX", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "jh3ry2", + "product": { + "UILogicId": "ATMOBOT_AVA", + "_id": "5de9b77f0136c00001cb1f8e", + "icon": "6049b34d1269020008a95aef", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6049b34d1269020008a95aef", + "materialNo": "113-1931-0003", + "model": "AVA", + "name": "AVA", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "jjccwk", + "product": { + "UILogicId": "DV_6G", + "_id": "5ce7870cd85b4d0001775db9", + "icon": "5d3aa309ba13eb00013feb69", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d3aa309ba13eb00013feb69", + "materialNo": "20200115004", + "model": "DV6G", + "name": "DEEBOT OZMO 750", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "jr3pqa", + "product": { + "UILogicId": "D_700", + "_id": "5b43077b8bc457000140363e", + "icon": "5b5ac4cc8d5a56000111e769", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b5ac4cc8d5a56000111e769", + "materialNo": "702-0000-0202", + "model": "D711", + "name": "DEEBOT 711", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "lhbd50", + "product": { + "UILogicId": "T9_PRO_G", + "_id": "5f88195e6cf8de0008ed7c11", + "icon": "603f51243b03f50007b6c2ca", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/603f51243b03f50007b6c2ca", + "materialNo": "110-2010-1001", + "model": "DEEBOT_OZMO_T9PLUS", + "name": "DEEBOT T9+", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "ls1ok3", + "product": { + "UILogicId": "D_900", + "_id": "5b6561060506b100015c8868", + "icon": "5ba4a2cb6c2f120001c32839", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5ba4a2cb6c2f120001c32839", + "materialNo": "110-1711-0201", + "model": "DN5G", + "name": "DEEBOT 900 Series", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "m7lqzi", + "product": { + "UILogicId": "AA_30G", + "_id": "5c653edf7b93c700013f12cc", + "icon": "5d2c63a5ba13eb00013feab7", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d2c63a5ba13eb00013feab7", + "materialNo": "113-1708-0001", + "model": "AA30G", + "name": "ATMOBOT Pro", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "n6cwdb", + "product": { + "UILogicId": "T5_SE_G_DTOF", + "_id": "5f729454a541bd000881cc7b", + "icon": "60627a92fc527c00087fdb0a", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627a92fc527c00087fdb0a", + "materialNo": "110-2009-0900", + "model": "N8_LDS_WHITE_N", + "name": "DEEBOT N8", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "nq9yhl", + "product": { + "UILogicId": "U2_HIGH_MODE_G", + "_id": "5e8597b0032edd333ac66bbf", + "icon": "606426ebb0a931000860fad4", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426ebb0a931000860fad4", + "materialNo": "110-1919-0601", + "model": "U2_AH", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "p5nx9u", + "product": { + "UILogicId": "DK_750", + "_id": "5f0d45404a3cbe00073d17db", + "icon": "5f59e774c0f03a0008ee72e0", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5f59e774c0f03a0008ee72e0", + "materialNo": "110-2022-0001", + "model": "K750", + "name": "yeedi 2 hybrid", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "q1v5dn", + "product": { + "UILogicId": "AT_01G", + "_id": "5d312ae18d8d430001817002", + "icon": "5d83375f6b6a570001569e26", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d83375f6b6a570001569e26", + "materialNo": "70200000228", + "model": "AT01", + "name": "AT01", + "ota": true, + "supportType": { + "alexa": false, + "assistant": false, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "r5y7re", + "product": { + "UILogicId": "T5_SE_G_DTOF", + "_id": "5fa4b1f8c7260e000858584b", + "icon": "60627a9cb0a931000860fac7", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627a9cb0a931000860fac7", + "materialNo": "110-2009-0902", + "model": "N8_DTOF_TW", + "name": "DEEBOT N8", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "r5zxjr", + "product": { + "UILogicId": "T5_SE_G", + "_id": "5fa2441169320300086ff812", + "icon": "60627c09b0a931000860facd", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627c09b0a931000860facd", + "materialNo": "110-2009-0101", + "model": "N7_LDS", + "name": "DEEBOT N7", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "r8ead0", + "product": { + "UILogicId": "D_500", + "_id": "5c763f63280fda0001770b88", + "icon": "5c93204b63023c0001e7faa7", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c93204b63023c0001e7faa7", + "materialNo": "702-0000-0161", + "model": "D502", + "name": "DEEBOT 502", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "rvo6ev", + "product": { + "UILogicId": "U2_HIGH_MODE_G", + "_id": "5e859780648255c8bf530e14", + "icon": "606426feb0a931000860fad5", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606426feb0a931000860fad5", + "materialNo": "110-1919-1001", + "model": "U2_AL", + "name": "DEEBOT U2", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "snxbvc", + "product": { + "UILogicId": "DT_8SE_G", + "_id": "5fa4e31dd16a99000667eb94", + "icon": "60627bbfb0a931000860fac9", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bbfb0a931000860fac9", + "materialNo": "110-2008-0102", + "model": "N8_PRO_WHITE", + "name": "DEEBOT N8 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "tpnwyu", + "product": { + "UILogicId": "DX_AIG", + "_id": "5edd9a4075f2fc000636086c", + "icon": "6050503e1269020008a95afa", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6050503e1269020008a95afa", + "materialNo": "110-1913-0401", + "model": "DXAIS_HK", + "name": "DEEBOT T8 AIVI +", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "ts2ofl", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e993e8b8c92c753dd83555f", + "icon": "606425dfd18cbd0008e2fcf3", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425dfd18cbd0008e2fcf3", + "materialNo": "110-1919-0901", + "model": "U2_AUL", + "name": "DEEBOT U2", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "ty84oi", + "product": { + "UILogicId": "N8_PLUS", + "_id": "5fbcac79c7260e0008585c94", + "icon": "60627bcafc527c00087fdb0c", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bcafc527c00087fdb0c", + "materialNo": "110-2029-1201", + "model": "N8_WHITE", + "name": "DEEBOT N8", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "u4h1uk", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e993eba8c92c71489835564", + "icon": "606425bed18cbd0008e2fcf2", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425bed18cbd0008e2fcf2", + "materialNo": "110-1919-1101", + "model": "U2_JP", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "u6eqoa", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e993f2f6a299d0bd506d665", + "icon": "606425a11269020008a9627d", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425a11269020008a9627d", + "materialNo": "110-1919-1401", + "model": "U2_APAC", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "ucn2xe", + "product": { + "UILogicId": "T9_PRO_G", + "_id": "5f8819156cf8de0008ed7c0d", + "icon": "603f510e3b03f50007b6c2c9", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/603f510e3b03f50007b6c2c9", + "materialNo": "110-2010-0301", + "model": "DEEBOT_OZMO_T9", + "name": "DEEBOT T9", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "uv242z", + "product": { + "UILogicId": "D_700", + "_id": "5b5149b4ac0b87000148c128", + "icon": "5b5ac4e45f21100001882bb9", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b5ac4e45f21100001882bb9", + "materialNo": "702-0000-0205", + "model": "D700", + "name": "DEEBOT 710", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "vi829v", + "product": { + "UILogicId": "DX_5G", + "_id": "5c19a8f3a1e6ee0001782247", + "icon": "606278d3fc527c00087fdb08", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606278d3fc527c00087fdb08", + "materialNo": "110-1819-0101", + "model": "DX5G", + "name": "DEEBOT OZMO 920 Series", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "vsc5ia", + "product": { + "UILogicId": "D_500", + "_id": "5c763eba280fda0001770b81", + "icon": "5c874326280fda0001770d2a", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5c874326280fda0001770d2a", + "materialNo": "702-0000-0163", + "model": "D500", + "name": "DEEBOT 500", + "ota": false, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "wgxm70", + "product": { + "UILogicId": "DT_8G", + "_id": "5ed5e4d3a719ea460ec3216c", + "icon": "5edf2bbedb28cc00062f8bd7", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5edf2bbedb28cc00062f8bd7", + "materialNo": "110-1921-0012", + "model": "T8GC", + "name": "DEEBOT T8", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "wlqdkp", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5e9924018c92c7c480835559", + "icon": "6064263ad18cbd0008e2fcf4", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/6064263ad18cbd0008e2fcf4", + "materialNo": "110-1919-0701", + "model": "U2_EL2", + "name": "DEEBOT U2", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "x5d34r", + "product": { + "UILogicId": "DX_AIG", + "_id": "5de0d86ed88546000195239a", + "icon": "605053e7fc527c00087fda1e", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/605053e7fc527c00087fda1e", + "materialNo": "110-1913-0101", + "model": "DXAI_INTL", + "name": "DEEBOT OZMO T8 AIVI", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": false, + "tmjl": false + } + } + }, + { + "classid": "xb83mv", + "product": { + "UILogicId": "DK_4G", + "_id": "5d246180350e7a0001e84bea", + "icon": "5d3fe649de51dd0001fee0de", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5d3fe649de51dd0001fee0de", + "materialNo": "88393939393", + "model": "SLIM4_INTL", + "name": "DEEBOT U3", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "y2qy3m", + "product": { + "UILogicId": "U2_HIGH_G", + "_id": "5ea8d28922838d15795ed88d", + "icon": "606425784a84d700082b39f6", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606425784a84d700082b39f6", + "materialNo": "110-1919-1701", + "model": "U2_APAC3", + "name": "DEEBOT U2 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "y79a7u", + "product": { + "UILogicId": "D_OZMO_900", + "_id": "5b04c0227ccd1a0001e1f6a8", + "icon": "5b04c0217ccd1a0001e1f6a7", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5b04c0217ccd1a0001e1f6a7", + "materialNo": "110-1810-0101", + "model": "DN5G", + "name": "DEEBOT OZMO 900 Series", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "yna5xi", + "product": { + "UILogicId": "DX_9G", + "_id": "5c19a91ca1e6ee000178224a", + "icon": "606278df4a84d700082b39f1", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/606278df4a84d700082b39f1", + "materialNo": "110-1820-0101", + "model": "DX9G", + "name": "DEEBOT OZMO 950 Series", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "yu362x", + "product": { + "UILogicId": "DT_8SE_G", + "_id": "5fbc7da39601440008b2446d", + "icon": "60627bde50928b0007c13273", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/60627bde50928b0007c13273", + "materialNo": "110-2008-0103", + "model": "N8_PRO_BLACK", + "name": "DEEBOT N8 PRO", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + }, + { + "classid": "zi1uwd", + "product": { + "UILogicId": "DK_4GLINE", + "_id": "5d78f4e878d8b60001e23edc", + "icon": "5da834a8d66cd10001f58265", + "iconUrl": "https://portal-ww.ecouser.net/api/pim/file/get/5da834a8d66cd10001f58265", + "materialNo": "3", + "model": "DK4G.11", + "name": "DEEBOT U3 LINE FRIENDS", + "ota": true, + "supportType": { + "alexa": true, + "assistant": true, + "share": true, + "tmjl": false + } + } + } +]