diff --git a/admin/i18n/de/translations.json b/admin/i18n/de/translations.json new file mode 100644 index 0000000..864707f --- /dev/null +++ b/admin/i18n/de/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Auto", + "Manual": "Manual", + "My select": "Mein Auswahl", + "on save adapter restarts with new config immediately": "Beim Speichern von Einstellungen der Adapter wird sofort neu gestartet.", + "template adapter settings": "Beispiel", + "ip": "IP-Adresse des LG WebOS TVs", + "mac": "MAC-Adresse des LG WebOS TVs", + "power": "Schalten Sie den Fernseher als Fernbedienungstaste aus", + "timeout": "Timeout in ms", + "reconnect": "Reconnect intervall in ms", + "healthInterval": "Abfrageintervall in ms", + "help_tip": "Bei der ersten Verbindung zwischen ioBroker und dem LG TV-Gerät ist es erforderlich,
dass Sie diese Verbindung am TV-Bildschirm erlauben." +} \ No newline at end of file diff --git a/admin/i18n/en/translations.json b/admin/i18n/en/translations.json new file mode 100644 index 0000000..82b97f3 --- /dev/null +++ b/admin/i18n/en/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Auto", + "Manual": "Manual", + "My select": "My select", + "on save adapter restarts with new config immediately": "on save adapter restarts with new config immediately", + "template adapter settings": "template adapter settings", + "ip": "IP adress of the LG WebOS TV", + "mac": "MAC adress of the LG WebOS TV", + "power": "Turn off the TV as a remote control button", + "timeout": "Timeout in ms", + "reconnect": "Reconnect interval in ms", + "healthInterval": "Poll interval in ms", + "help_tip": "At first connection from ioBroker to your TV you must allow this connection on your TV screen." +} \ No newline at end of file diff --git a/admin/i18n/es/translations.json b/admin/i18n/es/translations.json new file mode 100644 index 0000000..fe44cd8 --- /dev/null +++ b/admin/i18n/es/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Auto", + "Manual": "Manual", + "My select": "Mi seleccion", + "on save adapter restarts with new config immediately": "en el adaptador de guardar se reinicia con nueva configuración de inmediato", + "template adapter settings": "configuración del adaptador de plantilla", + "ip": "IP adress of the LG WebOS TV", + "mac": "MAC adress of the LG WebOS TV", + "power": "Turn off the TV as a remote control button", + "timeout": "Timeout in ms", + "reconnect": "Reconnect interval in ms", + "healthInterval": "Poll interval in ms", + "help_tip": "At first connection from ioBroker to your TV you must allow this connection on your TV screen." +} \ No newline at end of file diff --git a/admin/i18n/fr/translations.json b/admin/i18n/fr/translations.json new file mode 100644 index 0000000..f15c31a --- /dev/null +++ b/admin/i18n/fr/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Auto", + "Manual": "Manuel", + "My select": "Mon choix", + "on save adapter restarts with new config immediately": "sur l'adaptateur de sauvegarde redémarre avec la nouvelle config immédiatement", + "template adapter settings": "paramètres de l'adaptateur de modèle", + "ip": "IP adress of the LG WebOS TV", + "mac": "MAC adress of the LG WebOS TV", + "power": "Turn off the TV as a remote control button", + "timeout": "Timeout in ms", + "reconnect": "Reconnect interval in ms", + "healthInterval": "Poll interval in ms", + "help_tip": "At first connection from ioBroker to your TV you must allow this connection on your TV screen." +} \ No newline at end of file diff --git a/admin/i18n/it/translations.json b/admin/i18n/it/translations.json new file mode 100644 index 0000000..0b9b208 --- /dev/null +++ b/admin/i18n/it/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Auto", + "Manual": "Manuale", + "My select": "La mia selezione", + "on save adapter restarts with new config immediately": "su save adapter si riavvia immediatamente con la nuova configurazione", + "template adapter settings": "impostazioni dell'adattatore del modello", + "ip": "IP adress of the LG WebOS TV", + "mac": "MAC adress of the LG WebOS TV", + "power": "Turn off the TV as a remote control button", + "timeout": "Timeout in ms", + "reconnect": "Reconnect interval in ms", + "healthInterval": "Poll interval in ms", + "help_tip": "At first connection from ioBroker to your TV you must allow this connection on your TV screen." +} \ No newline at end of file diff --git a/admin/i18n/nl/translations.json b/admin/i18n/nl/translations.json new file mode 100644 index 0000000..6758e78 --- /dev/null +++ b/admin/i18n/nl/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Auto", + "Manual": "Met de hand", + "My select": "Mijn select", + "on save adapter restarts with new config immediately": "on save-adapter wordt onmiddellijk opnieuw opgestart met nieuwe config", + "template adapter settings": "sjabloon-adapterinstellingen", + "ip": "IP adress of the LG WebOS TV", + "mac": "MAC adress of the LG WebOS TV", + "power": "Turn off the TV as a remote control button", + "timeout": "Timeout in ms", + "reconnect": "Reconnect interval in ms", + "healthInterval": "Poll interval in ms", + "help_tip": "At first connection from ioBroker to your TV you must allow this connection on your TV screen." +} \ No newline at end of file diff --git a/admin/i18n/pl/translations.json b/admin/i18n/pl/translations.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/admin/i18n/pl/translations.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/admin/i18n/pt/translations.json b/admin/i18n/pt/translations.json new file mode 100644 index 0000000..9769c3b --- /dev/null +++ b/admin/i18n/pt/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Auto", + "Manual": "Manual", + "My select": "Meu selecionado", + "on save adapter restarts with new config immediately": "no adaptador de salvar reinicia com nova configuração imediatamente", + "template adapter settings": "configurações do adaptador de modelo", + "ip": "IP adress of the LG WebOS TV", + "mac": "MAC adress of the LG WebOS TV", + "power": "Turn off the TV as a remote control button", + "timeout": "Timeout in ms", + "reconnect": "Reconnect interval in ms", + "healthInterval": "Poll interval in ms", + "help_tip": "At first connection from ioBroker to your TV you must allow this connection on your TV screen." +} \ No newline at end of file diff --git a/admin/i18n/ru/translations.json b/admin/i18n/ru/translations.json new file mode 100644 index 0000000..71ec2a6 --- /dev/null +++ b/admin/i18n/ru/translations.json @@ -0,0 +1,14 @@ +{ + "Auto": "Автоматически", + "Manual": "Вручную", + "My select": "Выбор", + "on save adapter restarts with new config immediately": "При сохранении настроек адаптера он сразу же перезапускается", + "template adapter settings": "Пример", + "ip": "IP адрес LG WebOS TV", + "mac": "MAC адрес LG WebOS TV", + "power": "Выключение телевизора как кнопкой пульта", + "timeout": "Таймаут в мс", + "reconnect": "Переподключить интервал в мс", + "healthInterval": "Инетрвал обновления в мс", + "help_tip": "При первом подключении ioBroker к телевизору вы должны разрешить подключение на экране телевизора.." +} \ No newline at end of file diff --git a/admin/i18n/uk/translations.json b/admin/i18n/uk/translations.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/admin/i18n/uk/translations.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/admin/i18n/zh-cn/translations.json b/admin/i18n/zh-cn/translations.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/admin/i18n/zh-cn/translations.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/admin/index.html b/admin/index.html deleted file mode 100644 index 6b76219..0000000 --- a/admin/index.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - - - -
- - - - -

Title

- -

Settings

- - - - - - - -
IP
mac
Timeout
Reconnect
healthInterval
- -
-

Info

- - - -
-

RestartMessage

- - \ No newline at end of file diff --git a/admin/index_m.html b/admin/index_m.html deleted file mode 100644 index a3ae90b..0000000 --- a/admin/index_m.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
- - -
-
-
-
- - -
-
-
- help_tip -
-
-
-
- - - \ No newline at end of file diff --git a/admin/jsonConfig.json b/admin/jsonConfig.json new file mode 100644 index 0000000..203c5c6 --- /dev/null +++ b/admin/jsonConfig.json @@ -0,0 +1,76 @@ +{ + "type": "panel", + "i18n": true, + "items": { + "ip": { + "type": "text", + "label": "ip", + "trim": true, + "xs": 12, + "sm": 6, + "md": 4, + "lg": 3, + "xl": 3 + }, + "mac": { + "type": "text", + "label": "mac", + "trim": true, + "xs": 12, + "sm": 6, + "md": 4, + "lg": 3, + "xl": 3 + }, + "timeout": { + "type": "number", + "label": "timeout", + "min": 15000, + "xs": 12, + "sm": 6, + "md": 4, + "lg": 2, + "xl": 2, + "newLine": true + }, + "healthInterval": { + "type": "number", + "label": "healthInterval", + "min": 5000, + "xs": 12, + "sm": 6, + "md": 4, + "lg": 2, + "xl": 2 + }, + "reconnect": { + "type": "number", + "label": "reconnect", + "min": 0, + "xs": 12, + "sm": 6, + "md": 4, + "lg": 2, + "xl": 2 + }, + "power": { + "type": "checkbox", + "label": "power", + "xs": 12, + "sm": 12, + "md": 12, + "lg": 5, + "xl": 5, + "newLine": true + }, + "help_tip": { + "type": "staticText", + "text": "help_tip", + "xs": 12, + "sm": 12, + "md": 12, + "lg": 12, + "xl": 12 + } + } +} diff --git a/admin/words.js b/admin/words.js deleted file mode 100644 index b7c58b0..0000000 --- a/admin/words.js +++ /dev/null @@ -1,118 +0,0 @@ -/* eslint no-unused-vars: off */ -/* eslint no-global-assign: off */ -/* global systemDictionary */ -'use strict'; - -systemDictionary = { - Auto: { en: 'Auto', de: 'Auto', ru: 'Автоматически', pt: 'Auto', nl: 'Auto', fr: 'Auto', it: 'Auto', es: 'Auto' }, - Manual: { - en: 'Manual', - de: 'Manual', - ru: 'Вручную', - pt: 'Manual', - nl: 'Met de hand', - fr: 'Manuel', - it: 'Manuale', - es: 'Manual', - }, - 'My select': { - en: 'My select', - de: 'Mein Auswahl', - ru: 'Выбор', - pt: 'Meu selecionado', - nl: 'Mijn select', - fr: 'Mon choix', - it: 'La mia selezione', - es: 'Mi seleccion', - }, - 'on save adapter restarts with new config immediately': { - en: 'on save adapter restarts with new config immediately', - de: 'Beim Speichern von Einstellungen der Adapter wird sofort neu gestartet.', - ru: 'При сохранении настроек адаптера он сразу же перезапускается', - pt: 'no adaptador de salvar reinicia com nova configuração imediatamente', - nl: 'on save-adapter wordt onmiddellijk opnieuw opgestart met nieuwe config', - fr: "sur l'adaptateur de sauvegarde redémarre avec la nouvelle config immédiatement", - it: 'su save adapter si riavvia immediatamente con la nuova configurazione', - es: 'en el adaptador de guardar se reinicia con nueva configuración de inmediato', - }, - 'template adapter settings': { - en: 'template adapter settings', - de: 'Beispiel', - ru: 'Пример', - pt: 'configurações do adaptador de modelo', - nl: 'sjabloon-adapterinstellingen', - fr: "paramètres de l'adaptateur de modèle", - it: "impostazioni dell'adattatore del modello", - es: 'configuración del adaptador de plantilla', - }, - ip: { - en: 'IP adress of the LG WebOS TV', - de: 'IP-Adresse des LG WebOS TVs', - ru: 'IP адрес LG WebOS TV', - pt: 'IP adress of the LG WebOS TV', - nl: 'IP adress of the LG WebOS TV', - fr: 'IP adress of the LG WebOS TV', - it: 'IP adress of the LG WebOS TV', - es: 'IP adress of the LG WebOS TV', - }, - mac: { - en: 'MAC adress of the LG WebOS TV', - de: 'MAC-Adresse des LG WebOS TVs', - ru: 'MAC адрес LG WebOS TV', - pt: 'MAC adress of the LG WebOS TV', - nl: 'MAC adress of the LG WebOS TV', - fr: 'MAC adress of the LG WebOS TV', - it: 'MAC adress of the LG WebOS TV', - es: 'MAC adress of the LG WebOS TV', - }, - power: { - en: 'Turn off the TV as a remote control button', - de: 'Schalten Sie den Fernseher als Fernbedienungstaste aus', - ru: 'Выключение телевизора как кнопкой пульта', - pt: 'Turn off the TV as a remote control button', - nl: 'Turn off the TV as a remote control button', - fr: 'Turn off the TV as a remote control button', - it: 'Turn off the TV as a remote control button', - es: 'Turn off the TV as a remote control button', - }, - timeout: { - en: 'Timeout in ms', - de: 'Timeout in ms', - ru: 'Таймаут в мс', - pt: 'Timeout in ms', - nl: 'Timeout in ms', - fr: 'Timeout in ms', - it: 'Timeout in ms', - es: 'Timeout in ms', - }, - reconnect: { - en: 'Reconnect interval in ms', - de: 'Reconnect intervall in ms', - ru: 'Переподключить интервал в мс', - pt: 'Reconnect interval in ms', - nl: 'Reconnect interval in ms', - fr: 'Reconnect interval in ms', - it: 'Reconnect interval in ms', - es: 'Reconnect interval in ms', - }, - healthInterval: { - en: 'Poll interval in ms', - de: 'Abfrageintervall in ms', - ru: 'Инетрвал обновления в мс', - pt: 'Poll interval in ms', - nl: 'Poll interval in ms', - fr: 'Poll interval in ms', - it: 'Poll interval in ms', - es: 'Poll interval in ms', - }, - help_tip: { - en: 'At first connection from ioBroker to your TV you must allow this connection on your TV screen.', - de: 'Bei der ersten Verbindung zwischen ioBroker und dem LG TV-Gerät ist es erforderlich,
dass Sie diese Verbindung am TV-Bildschirm erlauben.', - ru: 'При первом подключении ioBroker к телевизору вы должны разрешить подключение на экране телевизора..', - pt: 'At first connection from ioBroker to your TV you must allow this connection on your TV screen.', - nl: 'At first connection from ioBroker to your TV you must allow this connection on your TV screen.', - fr: 'At first connection from ioBroker to your TV you must allow this connection on your TV screen.', - it: 'At first connection from ioBroker to your TV you must allow this connection on your TV screen.', - es: 'At first connection from ioBroker to your TV you must allow this connection on your TV screen.', - }, -}; diff --git a/io-package.json b/io-package.json index b7de2e6..4d51947 100644 --- a/io-package.json +++ b/io-package.json @@ -148,7 +148,6 @@ "compact": true, "connectionType": "local", "dataSource": "poll", - "materialize": true, "dependencies": [ { "js-controller": ">=5.0.0" @@ -158,7 +157,10 @@ { "admin": ">=5.1.13" } - ] + ], + "adminUI": { + "config": "json" + } }, "native": { "ip": "", @@ -890,4 +892,4 @@ "native": {} } ] -} +} \ No newline at end of file