Die Firmware antwortet im Auslieferungszustand und nach jedem Werksreset mit dem oeffentlichen Werks-Token aabbccddeeff0011223344 - genau wie ninlight. Wie ha-ninlight belegt die Integration es deshalb im Dialog vor, beim manuellen Einrichten, beim Fund per mDNS und in den Texten zur Token-Erneuerung.
89 lines
2.1 KiB
JSON
89 lines
2.1 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Add ninstrip",
|
|
"description": "Host and API token of the device. A factory-new or factory-reset device uses the default token, which is prefilled. If you set your own, enter it here.",
|
|
"data": {
|
|
"host": "Host",
|
|
"token": "API token"
|
|
}
|
|
},
|
|
"discovery_confirm": {
|
|
"title": "ninstrip found",
|
|
"description": "{name} at {host}. Please enter the API token.",
|
|
"data": {
|
|
"token": "API token"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "Renew token",
|
|
"description": "The device at {host} rejects the stored token. After a factory reset the default token applies again.",
|
|
"data": {
|
|
"token": "API token"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Device unreachable",
|
|
"invalid_auth": "Token rejected",
|
|
"not_ninstrip": "No ninstrip answering there",
|
|
"unknown": "Unexpected error"
|
|
},
|
|
"abort": {
|
|
"already_configured": "This device is already configured",
|
|
"reauth_successful": "Token renewed"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "Settings",
|
|
"data": {
|
|
"scan_interval": "Polling interval (seconds)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"select": {
|
|
"preset": {
|
|
"name": "Scene"
|
|
}
|
|
},
|
|
"button": {
|
|
"restart": {
|
|
"name": "Restart"
|
|
}
|
|
},
|
|
"sensor": {
|
|
"rssi": {
|
|
"name": "Wi-Fi signal"
|
|
},
|
|
"uptime": {
|
|
"name": "Uptime"
|
|
},
|
|
"free_heap": {
|
|
"name": "Free memory"
|
|
},
|
|
"power_scale": {
|
|
"name": "Power limiting"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"auth_failed": {
|
|
"message": "The device rejected the token."
|
|
},
|
|
"device_busy": {
|
|
"message": "The device is busy - an update is probably running."
|
|
},
|
|
"request_failed": {
|
|
"message": "The device rejected the request: {message}"
|
|
},
|
|
"cannot_connect": {
|
|
"message": "The device is unreachable."
|
|
}
|
|
}
|
|
}
|