- session.py: новый лог-памп не поднимается, пока предыдущий не завершился (stopping/is_alive), параллельное чтение кольца исключено - __init__: счётчик pending закрывает окно гонки setup/unload последней записи; warning при не-словарном fglair: в YAML - trial: properties_missing — отдельная ошибка формы/abort (en/ru/strings) - ConfigEntryNotReady: «порт 0» больше не показывается - тесты: контраст одинакового явного порта, неблокирующий unload (тикер loop) - план H5: публикация pyfglair именно на PyPI (manylinux x86_64/aarch64)
78 lines
2.6 KiB
JSON
78 lines
2.6 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "FGLair",
|
|
"menu_options": {
|
|
"cloud": "Cloud sign-in (FGLair account)",
|
|
"manual": "Manual setup",
|
|
"import_json": "Import config_*.json"
|
|
}
|
|
},
|
|
"cloud": {
|
|
"title": "FGLair cloud sign-in",
|
|
"description": "Used once for provisioning: fetches the static LAN key of the device.",
|
|
"data": {
|
|
"email": "Email",
|
|
"password": "Password",
|
|
"region": "Region"
|
|
},
|
|
"data_description": {
|
|
"region": "FGLair/Ayla account region"
|
|
}
|
|
},
|
|
"cloud_device": {
|
|
"title": "Select air conditioner",
|
|
"data": {
|
|
"dsn": "Device"
|
|
}
|
|
},
|
|
"manual": {
|
|
"title": "Device parameters",
|
|
"data": {
|
|
"host": "Host (IP or DNS name)",
|
|
"device_port": "Device port",
|
|
"dsn": "DSN",
|
|
"lanip_key": "LAN IP key",
|
|
"lanip_key_id": "LAN IP key ID",
|
|
"name": "Name (optional)",
|
|
"model": "Model / oem_model (optional)"
|
|
},
|
|
"data_description": {
|
|
"device_port": "Default 80; change only for port-forwarding setups",
|
|
"lanip_key": "From cloud discovery or ESPHome diagnostics"
|
|
}
|
|
},
|
|
"import_json": {
|
|
"title": "Import config_*.json",
|
|
"data": {
|
|
"config_json": "config JSON"
|
|
},
|
|
"data_description": {
|
|
"config_json": "Paste a JSON object produced by fglair-discover or fglctl"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Could not connect to the device",
|
|
"no_slots": "Both LAN slots are busy (FGLair app or ESPHome connected). Close one and retry",
|
|
"key_mismatch": "LAN key does not match the device; re-run discovery or re-import the config",
|
|
"timeout": "Timed out waiting for the device to come online",
|
|
"invalid_auth": "Invalid email or password",
|
|
"invalid_import": "Invalid config JSON",
|
|
"no_devices": "No devices found in the account",
|
|
"unknown": "Unexpected error",
|
|
"properties_missing": "The device connected but did not report its base properties"
|
|
},
|
|
"abort": {
|
|
"already_configured": "This device is already configured",
|
|
"invalid_import": "Invalid config JSON",
|
|
"cannot_connect": "Could not connect to the device",
|
|
"no_slots": "Both LAN slots are busy",
|
|
"key_mismatch": "LAN key does not match the device",
|
|
"timeout": "Timed out waiting for the device",
|
|
"properties_missing": "The device connected but did not report its base properties"
|
|
}
|
|
}
|
|
}
|