-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Добавлена поддержка увлажнителя воздуха Mi Air Humidifier 2: * получение текущего статуса и параметров (power, humidity, temperature, mode, depth, speed, dry, use_time, led_b, buzzer, child_lock); * включение/выключение (power); * смена режима работы (auto, high, medium, silen); * включение сухого режима (dry); * управление led-индикатором (led_b); * управление звуковым сигналом (buzzer); * управление родительским контролем (child_lock). * Добавлена базовая поддержка лампочек Philips Rui Chi Candle Light Bulb: * получение текущего статуса и параметров (power, bright, cct); * включение/выключение (power); * управление яркостью (bright); * управление цветовой температурой (cct). * Добавлена поддержка цветовых flow-сценариев для устройств Yeelight. * Добавлен перевод на английский язык. * Заполнена справочная информация по устройствам Yeelight, Philips Light Bulb, Philips Rui Chi Candle Light Bulb, Mi Air Humidifier 2 и Mi Air Purifier 2S.
- Loading branch information
1 parent
2b2e54c
commit a88c654
Showing
21 changed files
with
1,075 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?php | ||
/** | ||
* English language file for Xiaomi miIO module | ||
* | ||
* @package Xiaomi miIO | ||
* @author <[email protected]> | ||
* @copyright 2017-2018 Agaphonov Dmitri aka skysilver <[email protected]> (c) | ||
* @version 1.6b | ||
* | ||
**/ | ||
|
||
$dictionary = array( | ||
|
||
'XIMI_APP_ABOUT' => 'About', | ||
'XIMI_APP_HELP' => 'Help', | ||
'XIMI_APP_CLOSE' => 'Close', | ||
'XIMI_APP_IN_DEVELOPMENT' => 'The section is under development.', | ||
'XIMI_APP_MODULE' => 'The integration of Wi-Fi devices from Xiaomi Mihome ecosystem by miIO-protocol.', | ||
'XIMI_APP_PROJ' => 'The project on the', | ||
'XIMI_APP_DISCUS' => 'Discussion of the module on the', | ||
'XIMI_APP_DISCUS2' => 'forume', | ||
'XIMI_APP_DONATE' => 'Support the development of the module:', | ||
'XIMI_APP_DONATE2' => 'Internal account in ', | ||
'XIMI_APP_Author' => 'Author', | ||
'XIMI_APP_THANKS' => 'Thanks', | ||
'XIMI_APP_NAME' => 'Xiaomi miIO', | ||
'XIMI_APP_CYCLE_START' => 'Cycle running', | ||
'XIMI_APP_CYCLE_STOP' => 'Cycle stopped', | ||
'XIMI_APP_IP' => 'MajorDoMo server IP ', | ||
'XIMI_APP_IP_TOOLTIP' => 'It is necessary to specify for correct operation on a server with two or more network interfaces.', | ||
'XIMI_APP_PERIOD' => 'Discovery timeout ', | ||
'XIMI_APP_PERIOD_TOOLTIP' => 'The period (in seconds) of searching for devices on the network using a broadcast request. The mechanism is designed to search for new devices, determine the availability (online / offline) of current and update their IP-addresses.', | ||
'XIMI_APP_DEBUG' => 'Debug ', | ||
'XIMI_APP_DEBUG_TOOLTIP' => 'Writing the exchange of messages between the server and devices in a separate log file YYYY-mm-dd_xiaomimiio.log. The changes require that you restart the cycle.', | ||
'XIMI_APP_DEBUG_TOOLTIP2' => 'Writing debug messages of the miIO-lib library to the log file of the log_YYYY-mm-dd-cycle_xiaomimiio.php.txt cycle. The changes require that you restart the cycle.', | ||
'XIMI_APP_DEBUG_TOOLTIP3' => 'Write the debug messages of the cycle to the log file log_YYYY-mm-dd-cycle_xiaomimiio.php.txt. The changes require that you restart the cycle.', | ||
'XIMI_APP_RADIO' => 'Radio', | ||
'XIMI_APP_TOKEN' => 'Token', | ||
'XIMI_APP_TEACH' => 'Start learning', | ||
'XIMI_APP_TEACH1' => 'Learning IR code', | ||
'XIMI_APP_TEACH2' => 'IR-code learning', | ||
'XIMI_APP_TEACH_TEXT' => 'To read the IR code from the remote control, press the <b>Start</b> button, point the remote control towards <b>Mi IR Remote 360</b> and press the button whose code you want to know several times. Upon successful completion of the procedure, the code read will be displayed in the log.', | ||
'XIMI_APP_START' => 'Start', | ||
'XIMI_APP_TRAINING' => 'Learning mode activated', | ||
'XIMI_APP_ERROR' => 'The problem with getting data from the device', | ||
'XIMI_APP_TRAINING_END' => 'Learning sessions completed', | ||
'XIMI_APP_SUCCESSFULLY' => 'IR-code is received successfully!', | ||
'XIMI_APP_SNAP' => 'Add child device', | ||
'XIMI_APP_ONLINE' => 'Device is available', | ||
'XIMI_APP_OFFLINE' => 'Device not available', | ||
'XIMI_APP_UNBIND' => 'Delete child device', | ||
'XIMI_APP_LINKING' => 'Switch gateway to pairing mode', | ||
'XIMI_APP_LINKING2' => 'Gateway in pairing mode', | ||
'XIMI_APP_UNLINKING' => 'Do you really want to delete the child device ', | ||
'XIMI_APP_UNLINKING2' => ' from the gateway?', | ||
'XIMI_APP_DELETE' => 'Child device deleted', | ||
'XIMI_APP_COMPLETE' => 'Pairing session completed', | ||
'XIMI_APP_TESTING' => 'Testing API-commands', | ||
'XIMI_APP_OPTIONS' => 'Parameters', | ||
'XIMI_APP_GET' => 'Get information miIO.info', | ||
'XIMI_APP_REQUIRED' => 'A device token is required', | ||
'XIMI_APP_CURRENT' => 'Get current status', | ||
'XIMI_APP_ZIGBEE_NOTICE' => 'This module allows you to only pairing, unpairing and view the list of zigbee-connected devices to the gateway. Full work with zigbee-devices is performed in the <b>Xiaomi Home</b> module. Install it from the MajorDoMo add-ons Market.', | ||
'XIMI_APP_ATTENTION' => 'Attention' | ||
|
||
); | ||
|
||
foreach ($dictionary as $k=>$v) | ||
{ | ||
if (!defined('LANG_' . $k)) | ||
{ | ||
define('LANG_' . $k, $v); | ||
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* @author <[email protected]> | ||
* @copyright 2017-2018 Agaphonov Dmitri aka skysilver <[email protected]> (c) | ||
* @localization Alex Sokolov aka Gelezako <[email protected]> http://blog.gelezako.com | ||
* @version 1.3b | ||
* @version 1.6b | ||
* | ||
**/ | ||
|
||
|
@@ -60,7 +60,9 @@ | |
'XIMI_APP_OPTIONS' => 'Параметры', | ||
'XIMI_APP_GET' => 'Получить сведения miIO.info', | ||
'XIMI_APP_REQUIRED' => 'Требуется токен устройства', | ||
'XIMI_APP_CURRENT' => 'Получить актуальное состояние' | ||
'XIMI_APP_CURRENT' => 'Получить актуальное состояние', | ||
'XIMI_APP_ZIGBEE_NOTICE' => 'Данный модуль позволяет только привязать, отвязать и просмотреть список привязанных к шлюзу zigbee-устройств. Работа с zigbee-устройствами в полном объеме осуществляется в модуле <b>Xiaomi Home</b>. Установите его из маркета дополнений MajorDoMo.', | ||
'XIMI_APP_ATTENTION' => 'Внимание' | ||
|
||
); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,16 @@ | |
* @author <[email protected]> | ||
* @copyright 2017-2018 Agaphonov Dmitri aka skysilver <[email protected]> (c) | ||
* @localization Alex Sokolov aka Gelezako <[email protected]> http://blog.gelezako.com | ||
* @version 1.3b | ||
* @version 1.6b | ||
* | ||
**/ | ||
|
||
$dictionary = array( | ||
|
||
'XIMI_APP_ABOUT' => 'Про модуль', | ||
'XIMI_APP_HELP' => 'Справка', | ||
'XIMI_APP_HELP' => 'Довідка', | ||
'XIMI_APP_CLOSE' => 'Закрити', | ||
'XIMI_APP_IN_DEVELOPMENT' => 'Раздел находится в разработке.', | ||
'XIMI_APP_IN_DEVELOPMENT' => 'Розділ знаходиться в розробці.', | ||
'XIMI_APP_MODULE' => 'Модуль підтримки Wi-Fi пристроїв з екосистеми Xiaomi Mihome, взаємодіючих по протоколу miIO.', | ||
'XIMI_APP_PROJ' => 'Проект у', | ||
'XIMI_APP_DISCUS' => 'Обговорення модуля на ', | ||
|
@@ -26,7 +26,7 @@ | |
'XIMI_APP_THANKS' => 'Подяки', | ||
'XIMI_APP_NAME' => 'Xiaomi miIO', | ||
'XIMI_APP_CYCLE_START' => 'Цикл увімкнено', | ||
'XIMI_APP_CYCLE_STOP' => 'Ццикл зупинений', | ||
'XIMI_APP_CYCLE_STOP' => 'Цикл зупинений', | ||
'XIMI_APP_IP' => 'IP сервера MajorDoMo ', | ||
'XIMI_APP_IP_TOOLTIP' => 'Необхідно вказати для коректної роботи на сервері з двома і більше мережевими інтерфейсами.', | ||
'XIMI_APP_PERIOD' => 'Період автопошуку ', | ||
|
@@ -60,7 +60,9 @@ | |
'XIMI_APP_OPTIONS' => 'Параметри', | ||
'XIMI_APP_GET' => 'Отримати відомості miIO.info', | ||
'XIMI_APP_REQUIRED' => 'Потрібен токен пристрою', | ||
'XIMI_APP_CURRENT' => 'Отримати актуальний стан' | ||
'XIMI_APP_CURRENT' => 'Отримати актуальний стан', | ||
'XIMI_APP_ZIGBEE_NOTICE' => 'Даний модуль дозволяє тільки прив'язати, відв'язати і переглянути список прив'язаних до шлюзу zigbee-пристроїв. Робота з zigbee-пристроями в повному обсязі здійснюється в модулі <b>Xiaomi Home</b>. Встановіть його з маркету доповнень MajorDoMo.', | ||
'XIMI_APP_ATTENTION' => 'Увага' | ||
|
||
); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.