This commit is contained in:
unknown
2023-09-17 19:40:54 +08:00
parent df4d25f5d0
commit 7263e09692
16 changed files with 1595 additions and 509 deletions

View File

@@ -1,43 +1,104 @@
{
"config": {
"error": {
"account_invalid": "登录美居失败,是否已修改过密码",
"invalid_input": "无效的输入请输入有效IP地址或auto",
"login_failed": "无法登录到美居,请检查用户名或密码",
"offline_error": "只能配置在线设备",
"download_lua_failed": "下载设备协议脚本失败",
"discover_failed": "无法在本地搜索到该设备",
"no_new_devices": "没有可用的设备",
"cant_get_token": "无法连接美的云获取设备关键信息(Token和Key)",
"config_incorrect": "配置信息不正确, 请检查后重新输入",
"connect_error": "无法连接到指定设备"
"no_home": "No available home",
"account_invalid": "Failed to authenticate on Midea cloud, the password may be changed",
"invalid_input": "Illegal input, IP address or 'auto' needed",
"login_failed": "Failed to login, wrong account or password",
"offline_error": "Only the online appliance can be configured",
"download_lua_failed": "Failed to download lua script of appliance",
"discover_failed": "The appliance can't be found on the local network",
"no_new_devices": "No any new available can be found in your home",
"connect_error": "Can't connect to the appliance"
},
"step": {
"user": {
"data": {
"username": "用户名(手机号)",
"password": "密码"
"account": "Account",
"password": "Password"
},
"description": "登录并保存你的美居账号及密码",
"title": "登录"
"description": "Login and save storage your account",
"title": "Login"
},
"home": {
"title": "家庭",
"title": "Home",
"data": {
"home": "选择设备所在家庭"
"home": "Choose a location where your appliance in"
}
},
"device": {
"title": "设备",
"title": "Appliances",
"data": {
"device": "选择要添加的设备"
"device_id": "Choice a appliance to add"
}
},
"discover": {
"description": "获取设备信息,设备必须位于本地局域网内",
"title": "设备信息",
"description": "Discover the appliance, it must in the local area work",
"title": "Appliance info",
"data": {
"ip_address": "设备地址(输入auto自动搜索设备)"
"ip_address": "IP address('auto' for discovery automatic)"
}
}
}
},
"options": {
"step": {
"init": {
"data": {
"option": "Option"
},
"title": "Configure"
},
"reset":{
"title": "Reset the configuration of appliance",
"description": "Remove the old configuration and make a new configuration use template\nIf your configuration was modified, the changes will lost\nIf your appliance type or model not in template, then the new configuration won't be made",
"data":{
"check": "I know that, do it"
}
},
"configure": {
"data": {
"ip_address": "IP address",
"refresh_interval": "Refresh interval(0 means not refreshing actively)"
},
"title": "Option"
}
},
"abort":{
"reset_success": "Reset done",
"account_unsupport_config": "Doesn't support this operation"
}
},
"services": {
"set_attribute": {
"name": "set the attributes",
"description": "Set the attributes of appliance in a dict",
"fields" : {
"device_id": {
"name": "Appliance code",
"description": "Appliance code (Device ID)"
},
"attributes": {
"name": "Attributes",
"description": "Attributes to set"
}
}
},
"send_command": {
"name": "Custom command",
"description": "Send a custom command to appliance",
"fields" : {
"device_id": {
"name": "Appliance code",
"description": "Appliance code (Device ID)"
},
"cmd_type": {
"name": "Type of command",
"description": "It can be 2 (query) or 3 (control)"
},
"cmd_body": {
"name": "Body of command",
"description": "The body of command without the MSmart protocol head and the checksum at the end"
}
}
}