mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-09-27 18:22:41 +00:00
106 lines
3.9 KiB
JSON
106 lines
3.9 KiB
JSON
{
|
|
"config": {
|
|
"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": {
|
|
"account": "Account",
|
|
"password": "Password"
|
|
},
|
|
"description": "Login and save storage your account",
|
|
"title": "Login"
|
|
},
|
|
"home": {
|
|
"title": "Home",
|
|
"data": {
|
|
"home": "Choose a location where your appliance in"
|
|
}
|
|
},
|
|
"device": {
|
|
"title": "Appliances",
|
|
"data": {
|
|
"device_id": "Choice a appliance to add"
|
|
}
|
|
},
|
|
"discover": {
|
|
"description": "Discover the appliance, it must in the local area work",
|
|
"title": "Appliance info",
|
|
"data": {
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |