9 Commits

Author SHA1 Message Date
sususweet
66babf8c43 feat: update translations 2025-12-02 23:29:28 +08:00
sususweet
1f0662154a fix: add translations to washing machine. Fix #63. 2025-12-02 23:17:23 +08:00
sususweet
7080958674 fix: MSmartHome APP Global Login issue. Fix #58. 2025-12-02 22:54:39 +08:00
sususweet
1cfd16d1ff fix: c3's temperature. 2025-12-02 00:31:03 +08:00
Yingqi Tang
0f27dfee71 Refactor device mapping for default configuration. 2025-11-30 07:04:06 +08:00
sususweet
0f2cfc14ad fix: rationale not match fallback strategy #53. 2025-11-29 18:53:36 +08:00
sususweet
a90d1093ad fix: rationale not match fallback strategy #53. 2025-11-29 18:52:24 +08:00
sususweet
ddfc18cc2b fix: msmartapp login api #58. 2025-11-29 18:29:31 +08:00
sususweet
3f0ec3faa9 fix: support of follow_body_sense. 2025-11-28 11:37:58 +08:00
10 changed files with 510 additions and 60 deletions

1
.gitignore vendored
View File

@@ -155,6 +155,7 @@ cython_debug/
decrypt_lua.py decrypt_lua.py
test.py test.py
test_cloud.py
*.lua *.lua
time.py time.py

View File

@@ -29,8 +29,7 @@ clouds = {
"app_key": "ac21b9f9cbfe4ca5a88562ef25e2b768", "app_key": "ac21b9f9cbfe4ca5a88562ef25e2b768",
"iot_key": bytes.fromhex(format(7882822598523843940, 'x')).decode(), "iot_key": bytes.fromhex(format(7882822598523843940, 'x')).decode(),
"hmac_key": bytes.fromhex(format(117390035944627627450677220413733956185864939010425, 'x')).decode(), "hmac_key": bytes.fromhex(format(117390035944627627450677220413733956185864939010425, 'x')).decode(),
"api_url": "https://mp-eu-prod.appsmb.com/mas/v5/app/proxy?alias=", "api_url": "https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=",
# "api_url": "https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=",
}, },
} }
@@ -51,7 +50,8 @@ class MideaCloud:
app_key: str, app_key: str,
account: str, account: str,
password: str, password: str,
api_url: str api_url: str,
proxy: str | None = None
): ):
self._device_id = CloudSecurity.get_deviceid(account) self._device_id = CloudSecurity.get_deviceid(account)
self._session = session self._session = session
@@ -60,6 +60,7 @@ class MideaCloud:
self._account = account self._account = account
self._password = password self._password = password
self._api_url = api_url self._api_url = api_url
self._proxy = proxy
self._access_token = None self._access_token = None
self._login_id = None self._login_id = None
@@ -93,7 +94,14 @@ class MideaCloud:
response:dict = {"code": -1} response:dict = {"code": -1}
_LOGGER.debug(f"Midea cloud API url: {url}, header: {header}, data: {data}") _LOGGER.debug(f"Midea cloud API url: {url}, header: {header}, data: {data}")
try: try:
r = await self._session.request(method, url, headers=header, data=dump_data, timeout=30) r = await self._session.request(
method,
url,
headers=header,
data=dump_data,
timeout=30,
proxy=self._proxy
)
raw = await r.read() raw = await r.read()
_LOGGER.debug(f"Midea cloud API url: {url}, header: {header}, data: {data}, response: {raw}") _LOGGER.debug(f"Midea cloud API url: {url}, header: {header}, data: {data}, response: {raw}")
response = json.loads(raw) response = json.loads(raw)
@@ -151,7 +159,8 @@ class MideaCloud:
async def _get_login_id(self) -> str | None: async def _get_login_id(self) -> str | None:
data = self._make_general_data() data = self._make_general_data()
data.update({ data.update({
"loginAccount": f"{self._account}" "loginAccount": f"{self._account}",
"type": "1",
}) })
if response := await self._api_request( if response := await self._api_request(
endpoint="/v1/user/login/id/get", endpoint="/v1/user/login/id/get",
@@ -213,6 +222,7 @@ class MeijuCloud(MideaCloud):
session: ClientSession, session: ClientSession,
account: str, account: str,
password: str, password: str,
proxy: str | None = None,
): ):
super().__init__( super().__init__(
session=session, session=session,
@@ -224,7 +234,8 @@ class MeijuCloud(MideaCloud):
app_key=clouds[cloud_name]["app_key"], app_key=clouds[cloud_name]["app_key"],
account=account, account=account,
password=password, password=password,
api_url=clouds[cloud_name]["api_url"] api_url=clouds[cloud_name]["api_url"],
proxy=proxy
) )
self._homegroup_id = None self._homegroup_id = None
@@ -584,6 +595,7 @@ class MSmartHomeCloud(MideaCloud):
session: ClientSession, session: ClientSession,
account: str, account: str,
password: str, password: str,
proxy: str | None = None,
): ):
super().__init__( super().__init__(
session=session, session=session,
@@ -595,7 +607,8 @@ class MSmartHomeCloud(MideaCloud):
app_key=clouds[cloud_name]["app_key"], app_key=clouds[cloud_name]["app_key"],
account=account, account=account,
password=password, password=password,
api_url=clouds[cloud_name]["api_url"] api_url=clouds[cloud_name]["api_url"],
proxy=proxy
) )
self._auth_base = base64.b64encode( self._auth_base = base64.b64encode(
f"{self._app_key}:{clouds['MSmartHome']['iot_key']}".encode("ascii") f"{self._app_key}:{clouds['MSmartHome']['iot_key']}".encode("ascii")
@@ -631,18 +644,19 @@ class MSmartHomeCloud(MideaCloud):
async def _re_route(self): async def _re_route(self):
data = self._make_general_data() data = self._make_general_data()
data.update({ data.update({
"userType": "0", "userName": f"{self._account}",
"userName": f"{self._account}" "platformId": "1",
"userType": "0"
}) })
if response := await self._api_request( if response := await self._api_request(
endpoint="/v1/multicloud/platform/user/route", endpoint="/v1/unitcenter/router/user/name",
data=data data=data
): ):
if api_url := response.get("masUrl"): if api_url := response.get("masUrl"):
self._api_url = api_url self._api_url = api_url
async def login(self) -> bool: async def login(self) -> bool:
# await self._re_route() await self._re_route()
if login_id := await self._get_login_id(): if login_id := await self._get_login_id():
self._login_id = login_id self._login_id = login_id
iot_data = self._make_general_data() iot_data = self._make_general_data()
@@ -830,13 +844,14 @@ class MSmartHomeCloud(MideaCloud):
return response is not None return response is not None
def get_midea_cloud(cloud_name: str, session: ClientSession, account: str, password: str) -> MideaCloud | None: def get_midea_cloud(cloud_name: str, session: ClientSession, account: str, password: str, proxy: str | None = None) -> MideaCloud | None:
cloud = None cloud = None
if cloud_name in clouds.keys(): if cloud_name in clouds.keys():
cloud = globals()[clouds[cloud_name]["class_name"]]( cloud = globals()[clouds[cloud_name]["class_name"]](
cloud_name=cloud_name, cloud_name=cloud_name,
session=session, session=session,
account=account, account=account,
password=password password=password,
proxy=proxy
) )
return cloud return cloud

View File

@@ -109,10 +109,14 @@ DEVICE_MAPPING = {
"aux_heat": { "aux_heat": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
}, },
"follow_body_sense_enable": { },
"device_class": SwitchDeviceClass.SWITCH, Platform.SELECT: {
"rationale": [0, 1] "follow_body_sense": {
}, "options": {
"on": {"follow_body_sense": "on", "follow_body_sense_enable": 1},
"off": {"follow_body_sense": "off", "follow_body_sense_enable": 1},
}
}
}, },
Platform.SENSOR: { Platform.SENSOR: {
"mode": { "mode": {
@@ -215,10 +219,6 @@ DEVICE_MAPPING = {
"aux_heat": { "aux_heat": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
}, },
"follow_body_sense_enable": {
"device_class": SwitchDeviceClass.SWITCH,
"rationale": [0, 1]
},
"manul_fresh_air": { "manul_fresh_air": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
}, },
@@ -338,10 +338,6 @@ DEVICE_MAPPING = {
"aux_heat": { "aux_heat": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
}, },
"follow_body_sense_enable": {
"device_class": SwitchDeviceClass.SWITCH,
"rationale": [0, 1]
},
}, },
Platform.SENSOR: { Platform.SENSOR: {
"mode": { "mode": {

View File

@@ -6,7 +6,7 @@ from homeassistant.components.switch import SwitchDeviceClass
DEVICE_MAPPING = { DEVICE_MAPPING = {
"default": { "default": {
"rationale": ["off", "on"], "rationale": ["off", "on"],
"queries": [{}], "queries": [{}, {""}],
"centralized": [], "centralized": [],
"entities": { "entities": {
Platform.CLIMATE: { Platform.CLIMATE: {
@@ -18,7 +18,7 @@ DEVICE_MAPPING = {
"heat": {"zone1_power_state": "on"}, "heat": {"zone1_power_state": "on"},
}, },
"target_temperature": "room_temp_set", "target_temperature": "room_temp_set",
"current_temperature": "T4", "current_temperature": "t4",
"min_temp": "room_min_set_temp", "min_temp": "room_min_set_temp",
"max_temp": "room_max_set_temp", "max_temp": "room_max_set_temp",
"temperature_unit": UnitOfTemperature.CELSIUS, "temperature_unit": UnitOfTemperature.CELSIUS,
@@ -32,7 +32,7 @@ DEVICE_MAPPING = {
"heat": {"dhw_power_state": "on"}, "heat": {"dhw_power_state": "on"},
}, },
"target_temperature": "dhw_temp_set", "target_temperature": "dhw_temp_set",
"current_temperature": "T4", "current_temperature": "t4",
"min_temp": "dhw_min_set_temp", "min_temp": "dhw_min_set_temp",
"max_temp": "dhw_max_set_temp", "max_temp": "dhw_max_set_temp",
"temperature_unit": UnitOfTemperature.CELSIUS, "temperature_unit": UnitOfTemperature.CELSIUS,

View File

@@ -15,6 +15,7 @@ DEVICE_MAPPING = {
}, },
"bubble": { "bubble": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,
"rationale": [0, 1],
}, },
"cold_water": { "cold_water": {
"device_class": SwitchDeviceClass.SWITCH, "device_class": SwitchDeviceClass.SWITCH,

View File

@@ -7,5 +7,5 @@
"iot_class": "cloud_push", "iot_class": "cloud_push",
"issue_tracker": "https://github.com/sususweet/midea-meiju-codec/issues", "issue_tracker": "https://github.com/sususweet/midea-meiju-codec/issues",
"requirements": ["lupa>=2.0"], "requirements": ["lupa>=2.0"],
"version": "v0.1.26" "version": "v0.2.0"
} }

View File

@@ -181,8 +181,13 @@ class MideaEntity(CoordinatorEntity[MideaDataUpdateCoordinator], Entity):
try: try:
result = bool(self._rationale.index(status)) result = bool(self._rationale.index(status))
except ValueError: except ValueError:
MideaLogger.error(f"The value of attribute {attribute_key} ('{status}') " if int(status) == 0:
result = False
else:
result = True
MideaLogger.info(f"The value of attribute {attribute_key} ('{status}') "
f"is not in rationale {self._rationale}") f"is not in rationale {self._rationale}")
return result
return result return result
def _set_nested_value(self, attribute_key: str, value: Any) -> None: def _set_nested_value(self, attribute_key: str, value: Any) -> None:

View File

@@ -56,6 +56,13 @@ class MideaSelectEntity(MideaEntity, SelectEntity):
@property @property
def options(self): def options(self):
"""Return a list of available options.
Note: To translate options, add translations in the translation file under:
entity.select.{translation_key}.state.{option_key}
Home Assistant will automatically use these translations when displaying options.
"""
return list(self._key_options.keys()) return list(self._key_options.keys())
@property @property

View File

@@ -124,10 +124,10 @@
"entity": { "entity": {
"binary_sensor": { "binary_sensor": {
"heating_work": { "heating_work": {
"name": "Heating Work" "name": "Heating Work Status"
}, },
"bathing_work": { "bathing_work": {
"name": "Bathing Work" "name": "Bathing Work Status"
}, },
"doorswitch": { "doorswitch": {
"name": "Door Switch" "name": "Door Switch"
@@ -336,7 +336,7 @@
} }
}, },
"zone1": { "zone1": {
"name": "区域1" "name": "zone 1"
}, },
"dhw": { "dhw": {
"name": "DHW" "name": "DHW"
@@ -346,10 +346,30 @@
"state_attributes": { "state_attributes": {
"fan_mode": { "fan_mode": {
"state": { "state": {
"silent": "Silent", "silent": "silent",
"full": "Full" "low": "low",
"medium": "medium",
"high": "high",
"full": "full",
"auto": "auto"
}
},
"preset_modes": {
"state": {
"none": "none",
"eco": "eco",
"comfort": "comfort",
"boost": "boost"
} }
} }
},
"state": {
"off": "off",
"heat": "heat",
"cool": "cool",
"auto": "auto",
"dry": "dry",
"fan_only": "fan only"
} }
}, },
"water_heater": { "water_heater": {
@@ -368,6 +388,9 @@
} }
}, },
"select": { "select": {
"follow_body_sense": {
"name": "Follow Body Sense"
},
"bright": { "bright": {
"name": "Brightness" "name": "Brightness"
}, },
@@ -441,7 +464,13 @@
"name": "DB Temperature" "name": "DB Temperature"
}, },
"water_level": { "water_level": {
"name": "Water Level" "name": "Water Level",
"state": {
"low": "low",
"medium": "medium",
"high": "high",
"auto": "auto"
}
}, },
"db_water_level": { "db_water_level": {
"name": "DB Water Level" "name": "DB Water Level"
@@ -501,7 +530,13 @@
"name": "Middle Stair Work Status" "name": "Middle Stair Work Status"
}, },
"mode": { "mode": {
"name": "Mode" "name": "Mode",
"state": {
"normal": "normal",
"factory_test": "factory test",
"service": "service",
"normal_continus": "normal continus"
}
}, },
"mode_state": { "mode_state": {
"name": "Mode State" "name": "Mode State"
@@ -516,7 +551,100 @@
"name": "Prevent Wrinkle" "name": "Prevent Wrinkle"
}, },
"program": { "program": {
"name": "Program" "name": "Program",
"state": {
"cotton": "cotton",
"eco": "eco",
"fast_wash": "fast wash 15min",
"mixed_wash": "mixed wash",
"wool": "wool",
"ssp": "self-cleaning mode",
"sport_clothes": "sport clothes",
"single_dehytration": "single dehytration",
"rinsing_dehydration": "rinsing and dehydration",
"big": "big clothes",
"baby_clothes": "baby clothes",
"down_jacket": "down jacket",
"color": "color clothes",
"intelligent": "intelligent",
"quick_wash": "quick wash",
"shirt": "shirt",
"fiber": "fiber",
"enzyme": "enzyme",
"underwear": "underwear",
"outdoor": "outdoor",
"air_wash": "air wash",
"single_drying": "single drying",
"steep": "steep",
"kids": "kids",
"water_cotton": "water cotton",
"fast_wash_30": "fast wash 30min",
"fast_wash_60": "fast wash 60min",
"water_mixed_wash": "water mixed wash",
"water_fiber": "water fiber",
"water_kids": "water kids",
"water_underwear": "water underwear",
"specialist": "specialist wash",
"love": "love wash",
"water_intelligent": "water intelligent",
"water_steep": "water steep",
"water_fast_wash_30": "water fast wash 30min",
"new_water_cotton": "new water cotton",
"water_eco": "water eco",
"wash_drying_60": "wash drying 60min",
"self_wash_5": "self wash 5min",
"fast_wash_min": "fast wash(min)",
"mixed_wash_min": "mixed washmin",
"dehydration_min": "dehydrationmin",
"self_wash_min": "self washmin",
"baby_clothes_min": "baby clothesmin",
"diy0": "diy0",
"diy1": "diy1",
"diy2": "diy2",
"silk_wash": "silk wash",
"prevent_allergy": "prevent allergy",
"cold_wash": "cold wash",
"soft_wash": "soft wash",
"remove_mite_wash": "remove mite wash",
"water_intense_wash": "water intense wash",
"fast_dry": "fast dry",
"water_outdoor": "water outdoor",
"spring_autumn_wash": "spring autumn wash",
"summer_wash": "summer wash",
"winter_wash": "winter wash",
"jean": "jean",
"new_clothes_wash": "new clothes wash",
"silk": "silk",
"insight_wash": "insight wash",
"fitness_clothes": "fitness clothes",
"mink": "mink",
"fresh_air": "fresh air",
"bucket_dry": "bucket dry",
"jacket": "jacket",
"bath_towel": "bath towel",
"night_fresh_wash": "night fresh wash",
"heart_wash": "heart wash",
"water_cold_wash": "water cold wash",
"water_prevent_allergy": "water prevent allergy",
"water_remove_mite_wash": "water remove mite wash",
"water_ssp": "water self-cleaning mode",
"standard": "standard",
"green_wool": "green wool",
"cook_wash": "cook wash",
"fresh_remove_wrinkle": "fresh remove wrinkle",
"steam_sterilize_wash": "steam sterilize wash",
"aromatherapy": "aromatherapy",
"sterilize_wash": "sterilize wash",
"white_clothes_clean": "white clothes clean",
"clean_stains": "clean stains",
"tube_clean_all": "tube clean all",
"no_channeling_color": "no channeling color",
"scald_wash": "scald wash",
"hanfu_spring_summer": "hanfu spring summer",
"hanfu_autumn_winter": "hanfu autumn winter",
"skin_care_wash": "skin care wash",
"hanfu_wash": "hanfu wash"
}
}, },
"query_type": { "query_type": {
"name": "Query Type" "name": "Query Type"
@@ -575,6 +703,44 @@
"work_mode": { "work_mode": {
"name": "Work Mode" "name": "Work Mode"
}, },
"wash_mode": {
"name": "wash mode",
"state": {
"neutral_gear": "neutral gear",
"auto_wash": "auto wash",
"strong_wash": "strong wash",
"standard_wash": "standard wash",
"eco_wash": "eco wash",
"glass_wash": "glass wash",
"hour_wash": "hour wash",
"fast_wash": "fast wash",
"soak_wash": "soak wash",
"90min_wash": "90min wash",
"self_clean": "self clean",
"fruit_wash": "fruit wash",
"self_define": "self define",
"germ": "germ",
"bowl_wash": "bowl wash",
"kill_germ": "kill germ",
"seafood_wash": "seafood wash",
"hotpot_wash": "hotpot wash",
"quietnight_wash": "quietnight wash",
"less_wash": "less wash",
"oilnet_wash": "oilnet wash",
"max_rapid_wash": "max rapid wash",
"hot_bowl_wash": "hot bowl wash",
"cloud_wash": "cloud wash",
"baby_wash": "baby wash",
"single_dry": "single dry",
"single_disinfect": "single disinfect",
"wahin_wash_dry": "wahin wash dry",
"high_temp_wash": "high temp wash",
"wash_dry": "wash dry",
"auto_dry": "auto dry",
"fire_disinfect": "fire disinfect",
"toy_wash": "toy wash"
}
},
"func_select": { "func_select": {
"name": "Func Select" "name": "Func Select"
}, },
@@ -585,10 +751,14 @@
"name": "Type Select" "name": "Type Select"
}, },
"work_status": { "work_status": {
"name": "Work Status" "name": "Work Status",
}, "state": {
"wash_mode": { "power_off": "power off",
"name": "Wash Mode" "power_on": "power on",
"cancel": "cancel",
"pause": "pause",
"resume": "resume"
}
}, },
"voice": { "voice": {
"name": "Voice" "name": "Voice"
@@ -1674,9 +1844,6 @@
"summer_mode": { "summer_mode": {
"name": "Summer Mode" "name": "Summer Mode"
}, },
"follow_body_sense_enable": {
"name": "Follow Body Sense"
},
"waterions": { "waterions": {
"name": "Disinfection" "name": "Disinfection"
}, },

View File

@@ -231,7 +231,7 @@
"softener_lack": { "softener_lack": {
"name": "柔顺剂不足" "name": "柔顺剂不足"
}, },
"detergent_lack": { "detergent_lack": {
"name": "洗涤剂不足" "name": "洗涤剂不足"
}, },
"door_opened": { "door_opened": {
@@ -347,13 +347,29 @@
"fan_mode": { "fan_mode": {
"state": { "state": {
"silent": "静音", "silent": "静音",
"full": "强劲" "low": "低速",
"medium": "中速",
"high": "高速",
"full": "强劲",
"auto": "自动风"
}
},
"preset_modes": {
"state": {
"none": "无预设",
"eco": "节能模式",
"comfort": "舒适模式",
"boost": "强劲模式"
} }
} }
}, },
"state": { "state": {
"off": "关闭",
"heat": "制热",
"cool": "制冷",
"auto": "温湿灵控", "auto": "温湿灵控",
"dry": "自动抽湿" "dry": "自动抽湿",
"fan_only": "仅送风"
} }
}, },
"water_heater": { "water_heater": {
@@ -372,6 +388,9 @@
} }
}, },
"select": { "select": {
"follow_body_sense": {
"name": "随身感"
},
"bright": { "bright": {
"name": "亮度" "name": "亮度"
}, },
@@ -433,10 +452,105 @@
"name": "位置" "name": "位置"
}, },
"db_program": { "db_program": {
"name": "洗涤程序" "name": "洗涤程序",
"state": {
"cotton": "棉麻",
"eco": "节能",
"fast_wash": "快洗",
"mixed_wash": "混合洗",
"wool": "羊毛",
"ssp": "SSP",
"sport_clothes": "运动服",
"single_dehytration": "单脱水",
"rinsing_dehydration": "漂洗脱水",
"big": "大件",
"baby_clothes": "婴儿服",
"down_jacket": "羽绒服",
"color": "彩色",
"intelligent": "智能",
"quick_wash": "快速洗",
"shirt": "衬衫",
"fiber": "化纤",
"enzyme": "酶洗",
"underwear": "内衣",
"outdoor": "户外",
"air_wash": "空气洗",
"single_drying": "单烘干",
"steep": "浸泡",
"kids": "童装",
"water_baby_clothes": "水洗婴儿服",
"fast_wash_30": "快洗30",
"water_shirt": "水洗衬衫",
"water_mixed_wash": "水洗混合",
"water_fiber": "水洗化纤",
"water_kids": "水洗童装",
"water_underwear": "水洗内衣",
"specialist": "专家",
"love": "爱心",
"water_intelligent": "水洗智能",
"water_steep": "水洗浸泡",
"water_fast_wash_30": "水洗快洗30",
"new_water_cotton": "新水洗棉",
"water_eco": "水洗节能",
"wash_drying_60": "洗烘60",
"self_wash_5": "自洁5",
"fast_wash_min": "快洗分钟",
"mixed_wash_min": "混合洗分钟",
"dehydration_min": "脱水分钟",
"self_wash_min": "自洁分钟",
"baby_clothes_min": "婴儿服分钟",
"silk_wash": "真丝洗",
"prevent_allergy": "防过敏",
"cold_wash": "冷水洗",
"soft_wash": "轻柔洗",
"remove_mite_wash": "除螨洗",
"water_intense_wash": "水洗强洗",
"fast_dry": "快干",
"water_outdoor": "水洗户外",
"spring_autumn_wash": "春秋洗",
"summer_wash": "夏季洗",
"winter_wash": "冬季洗",
"jean": "牛仔",
"new_clothes_wash": "新衣洗",
"silk": "真丝",
"insight_wash": "洞察洗",
"fitness_clothes": "健身服",
"mink": "貂皮",
"fresh_air": "新风",
"bucket_dry": "桶烘干",
"jacket": "夹克",
"bath_towel": "浴巾",
"night_fresh_wash": "夜间清新洗",
"degerm": "除菌",
"heart_wash": "爱心洗",
"water_cold_wash": "水洗冷水",
"water_prevent_allergy": "水洗防过敏",
"water_remove_mite_wash": "水洗除螨",
"water_ssp": "水洗SSP",
"standard": "标准",
"green_wool": "绿色羊毛",
"cook_wash": "烹饪洗",
"fresh_remove_wrinkle": "清新去皱",
"steam_sterilize_wash": "蒸汽杀菌洗",
"sterilize_wash": "杀菌洗",
"white_clothes_clean": "白衣清洁",
"clean_stains": "去渍",
"prevent_cross_color": "防串色",
"quick_dry_clothes": "快干衣物",
"yoga_clothes": "瑜伽服"
}
}, },
"db_running_status": { "db_running_status": {
"name": "运行状态" "name": "运行状态",
"state": {
"off": "关闭",
"standby": "待机",
"start": "启动",
"pause": "暂停",
"end": "结束",
"fault": "故障",
"delay": "延时"
}
}, },
"db_softener": { "db_softener": {
"name": "柔顺剂" "name": "柔顺剂"
@@ -445,7 +559,13 @@
"name": "温度" "name": "温度"
}, },
"water_level": { "water_level": {
"name": "水位" "name": "水位",
"state": {
"low": "低",
"medium": "中",
"high": "高",
"auto": "自动"
}
}, },
"db_water_level": { "db_water_level": {
"name": "水位" "name": "水位"
@@ -505,7 +625,13 @@
"name": "中层工作状态" "name": "中层工作状态"
}, },
"mode": { "mode": {
"name": "模式" "name": "运行模式",
"state": {
"normal": "正常",
"factory_test": "工厂测试",
"service": "服务",
"normal_continus": "正常连续"
}
}, },
"mode_state": { "mode_state": {
"name": "模式状态" "name": "模式状态"
@@ -520,7 +646,100 @@
"name": "防皱" "name": "防皱"
}, },
"program": { "program": {
"name": "程序" "name": "程序",
"state": {
"cotton": "棉麻",
"eco": "节能洗",
"fast_wash": "快速15",
"mixed_wash": "混合洗",
"wool": "羊毛",
"ssp": "筒自洁",
"sport_clothes": "运动服",
"single_dehytration": "单脱水",
"rinsing_dehydration": "漂洗+脱水",
"big": "大件",
"baby_clothes": "婴儿服",
"down_jacket": "羽绒服",
"color": "彩色衣物",
"intelligent": "智能洗",
"quick_wash": "快洗",
"shirt": "衬衫",
"fiber": "化纤",
"enzyme": "酵素洗",
"underwear": "内衣",
"outdoor": "户外服",
"air_wash": "空气洗",
"single_drying": "单烘干",
"steep": "浸泡洗",
"kids": "儿童衣物",
"water_cotton": "水韵棉织物",
"fast_wash_30": "速洗30",
"fast_wash_60": "60分钟快速洗",
"water_mixed_wash": "水韵混合洗",
"water_fiber": "水韵化纤",
"water_kids": "水韵儿童衣物",
"water_underwear": "水韵内衣",
"specialist": "专业洗",
"love": "爱心洗",
"water_intelligent": "水韵智能洗",
"water_steep": "水韵浸泡洗",
"water_fast_wash_30": "水韵30分钟快速洗",
"new_water_cotton": "新水韵棉织物",
"water_eco": "水韵节能",
"wash_drying_60": "洗烘60分钟",
"self_wash_5": "自清洁5分钟",
"fast_wash_min": "快速洗(分钟)",
"mixed_wash_min": "混合洗(分钟)",
"dehydration_min": "脱水(分钟)",
"self_wash_min": "自清洁(分钟)",
"baby_clothes_min": "婴儿服(分钟)",
"diy0": "自定义0",
"diy1": "自定义1",
"diy2": "自定义2",
"silk_wash": "丝绸洗",
"prevent_allergy": "防过敏",
"cold_wash": "冷水洗",
"soft_wash": "轻柔洗",
"remove_mite_wash": "除螨洗",
"water_intense_wash": "水韵强力洗",
"fast_dry": "快速烘干",
"water_outdoor": "水韵户外服",
"spring_autumn_wash": "春秋洗",
"summer_wash": "夏季洗",
"winter_wash": "冬季洗",
"jean": "牛仔服",
"new_clothes_wash": "新衣洗",
"silk": "丝绸",
"insight_wash": "洞察洗",
"fitness_clothes": "健身服",
"mink": "貂皮",
"fresh_air": "清新空气",
"bucket_dry": "桶烘干",
"jacket": "冲锋衣",
"bath_towel": "浴巾",
"night_fresh_wash": "夜间清新洗",
"heart_wash": "爱心洗",
"water_cold_wash": "水韵冷水洗",
"water_prevent_allergy": "水韵防过敏",
"water_remove_mite_wash": "水韵除螨洗",
"water_ssp": "水韵超净洗",
"standard": "标准洗",
"green_wool": "绿色羊毛",
"cook_wash": "厨师服洗",
"fresh_remove_wrinkle": "清新除皱",
"steam_sterilize_wash": "蒸汽消毒洗",
"aromatherapy": "香薰洗",
"sterilize_wash": "杀菌洗",
"white_clothes_clean": "白衣洁净",
"clean_stains": "污渍清洁",
"tube_clean_all": "筒自洁(全)",
"no_channeling_color": "防串色",
"scald_wash": "烫洗",
"hanfu_spring_summer": "汉服(春夏)",
"hanfu_autumn_winter": "汉服(秋冬)",
"skin_care_wash": "护肤洗",
"hanfu_wash": "汉服洗"
}
}, },
"query_type": { "query_type": {
"name": "查询类型" "name": "查询类型"
@@ -580,7 +799,42 @@
"name": "工作模式" "name": "工作模式"
}, },
"wash_mode": { "wash_mode": {
"name": "洗涤模式" "name": "洗涤模式",
"state": {
"neutral_gear": "待机",
"auto_wash": "智能洗",
"strong_wash": "超强洗",
"standard_wash": "标准洗",
"eco_wash": "节能洗",
"glass_wash": "玻璃洗",
"hour_wash": "小时洗",
"fast_wash": "快速洗",
"soak_wash": "预冲洗",
"90min_wash": "90分钟洗",
"self_clean": "自清洁",
"fruit_wash": "果蔬洗",
"self_define": "自定义洗",
"germ": "消毒洗",
"bowl_wash": "碗具洗",
"kill_germ": "杀菌洗",
"seafood_wash": "海鲜洗",
"hotpot_wash": "火锅洗",
"quietnight_wash": "夜间静音洗",
"less_wash": "轻量洗",
"oilnet_wash": "油网洗",
"max_rapid_wash": "超强快洗",
"hot_bowl_wash": "热碗洗",
"cloud_wash": "云感洗",
"baby_wash": "婴儿洗",
"single_dry": "单烘干",
"single_disinfect": "蒸汽消毒",
"wahin_wash_dry": "一键洗烘",
"high_temp_wash": "高温洗",
"wash_dry": "洗烘",
"auto_dry": "自动烘干",
"fire_disinfect": "火焰消毒",
"toy_wash": "玩具洗"
}
}, },
"func_select": { "func_select": {
"name": "功能选择" "name": "功能选择"
@@ -592,7 +846,14 @@
"name": "类型选择" "name": "类型选择"
}, },
"work_status": { "work_status": {
"name": "工作状态" "name": "工作状态",
"state": {
"power_off": "关机",
"power_on": "开机",
"cancel": "取消",
"pause": "暂停",
"resume": "继续"
}
}, },
"voice": { "voice": {
"name": "语音" "name": "语音"
@@ -1678,9 +1939,6 @@
"summer_mode": { "summer_mode": {
"name": "夏季模式" "name": "夏季模式"
}, },
"follow_body_sense_enable": {
"name": "随身感"
},
"waterions": { "waterions": {
"name": "消杀" "name": "消杀"
}, },
@@ -2589,4 +2847,4 @@
} }
} }
} }
} }