diff --git a/core/ajax/mobile.ajax.php b/ajax/mobile.ajax.php old mode 100644 new mode 100755 similarity index 100% rename from core/ajax/mobile.ajax.php rename to ajax/mobile.ajax.php diff --git a/core/api/mobile.api.php b/api/mobile.api.php old mode 100644 new mode 100755 similarity index 96% rename from core/api/mobile.api.php rename to api/mobile.api.php index be787172..6bb23d34 --- a/core/api/mobile.api.php +++ b/api/mobile.api.php @@ -35,7 +35,7 @@ 'scenarios' => mobile::discovery_scenario(), 'config' => array('datetime' => getmicrotime()), ); - log::add('mobile', 'debug', 'Demande de Sync'); + log::add('mobile', 'debug', 'Demande de Sync : ' . json_encode($sync_array)); $jsonrpc->makeSuccess($sync_array); } diff --git a/core/class/mobile.class.php b/class/mobile.class.php old mode 100644 new mode 100755 similarity index 93% rename from core/class/mobile.class.php rename to class/mobile.class.php index 1b50a485..6a29d459 --- a/core/class/mobile.class.php +++ b/class/mobile.class.php @@ -28,7 +28,7 @@ class mobile extends eqLogic { public static function Pluginsuported() { - $Pluginsuported = ['openzwave','rfxcom','edisio','mpower', 'mySensors', 'Zibasedom', 'virtual', 'camera','weather','philipsHue','enocean','wifipower','alarm','mode','apcupsd', 'btsniffer','dsc','rflink','mysensors','relaynet','remora','unipi','eibd','thermostat','netatmoThermostat','espeasy','jeelink','teleinfo','tahoma','protexiom','lifx']; + $Pluginsuported = ['openzwave','rfxcom','edisio','mpower', 'mySensors', 'Zibasedom', 'virtual', 'camera','weather','philipsHue','enocean','wifipower','alarm','mode','apcupsd', 'btsniffer','dsc','rflink','mysensors','relaynet','remora','unipi','eibd','thermostat','netatmoThermostat','espeasy','jeelink','teleinfo','tahoma','protexiom']; return $Pluginsuported; @@ -299,52 +299,39 @@ public static function discovery_cmd($plugin = array()){ if ($icon != null) { $cmd_array['display']['icon'] = $icon; } - if(isset($invertBinary)){ - if ($invertBinary != null) { - $cmd_array['display']['invertBinary'] = $invertBinary; - } - } - if(isset($title_disable)){ - if ($title_disable != null) { - $cmd_array['display']['title_disable'] = $title_disable; - } + if ($invertBinary != null) { + $cmd_array['display']['invertBinary'] = $invertBinary; } - if(isset($title_placeholder)){ - if ($title_placeholder != null) { - $cmd_array['display']['title_placeholder'] = $title_placeholder; - } - } - if(isset($message_placeholder)){ - if ($message_placeholder != null) { - $cmd_array['display']['message_placeholder'] = $message_placeholder; - } + if ($title_disable != null) { + $cmd_array['display']['title_disable'] = $title_disable; } - if(isset($actionCodeAccess)){ - if($actionCodeAccess !== null ){ - if($actionCodeAccess !== ''){ - $cmd_array['configuration']['actionCodeAccess'] = true; - } - } + if ($title_placeholder != null) { + $cmd_array['display']['title_placeholder'] = $title_placeholder; } - if(isset($actionConfirm)){ - if($actionConfirm !== null){ - if($actionConfirm == 1){ - $cmd_array['configuration']['actionConfirm'] = true; - } - } + if ($message_placeholder != null) { + $cmd_array['display']['message_placeholder'] = $message_placeholder; } if ($cmd_array['type'] == 'action'){ unset($cmd_array['currentValue']); } if ($cmd_array['value'] == null || $cmd_array['value'] == ""){ - //unset($cmd_array['value']); - $cmd_array['value'] == "0"; + unset($cmd_array['value']); }else{ $cmd_array['value'] = str_replace("#","",$cmd_array['value']); } if ($cmd_array['unite'] == null || $cmd_array['unite'] == ""){ unset($cmd_array['unite']); } + if($actionCodeAccess !== null ){ + if($actionCodeAccess !== ''){ + $cmd_array['configuration']['actionCodeAccess'] = true; + } + } + if($actionConfirm !== null){ + if($actionConfirm == 1){ + $cmd_array['configuration']['actionConfirm'] = true; + } + } $cmds_array[] = $cmd_array; $i++; } diff --git a/core/i18n/de_DE.json b/core/i18n/de_DE.json deleted file mode 100644 index 46669b5c..00000000 --- a/core/i18n/de_DE.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "plugins/template/plugin_info/info.xml": { - "Plugin template pour la création de plugin": "Vorlage-Plugin für Plugin-Erstellung", - "Aucune": "Aucune" - } -} \ No newline at end of file diff --git a/core/i18n/en_US.json b/core/i18n/en_US.json deleted file mode 100644 index c2f524cb..00000000 --- a/core/i18n/en_US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "plugins/template/plugin_info/info.xml": { - "Plugin template pour la création de plugin": "Template plugin to create new plugin", - "Aucune": "Aucune" - } -} \ No newline at end of file diff --git a/core/i18n/es_ES.json b/core/i18n/es_ES.json deleted file mode 100644 index 925cc625..00000000 --- a/core/i18n/es_ES.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "plugins/template/plugin_info/info.xml": { - "Plugin template pour la création de plugin": "Plugin de plantilla para la creación de plugin", - "Aucune": "Aucune" - } -} \ No newline at end of file diff --git a/core/i18n/id_ID.json b/core/i18n/id_ID.json deleted file mode 100644 index e6633161..00000000 --- a/core/i18n/id_ID.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "plugins/template/plugin_info/info.xml": { - "Plugin template pour la création de plugin": "Plugin template untuk kreasi plugin", - "Aucune": "Aucune" - } -} \ No newline at end of file diff --git a/core/i18n/it_IT.json b/core/i18n/it_IT.json deleted file mode 100644 index 20aad6f4..00000000 --- a/core/i18n/it_IT.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "plugins/template/plugin_info/info.xml": { - "Plugin template pour la création de plugin": "Plugin template pour la création de plugin", - "Aucune": "Aucune" - } -} \ No newline at end of file diff --git a/core/i18n/ru_RU.json b/core/i18n/ru_RU.json deleted file mode 100644 index 817e4196..00000000 --- a/core/i18n/ru_RU.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "plugins/template/plugin_info/info.xml": { - "Plugin template pour la création de plugin": "Плагин-шаблон для создания плагинов", - "Aucune": "Aucune" - } -} \ No newline at end of file diff --git a/desktop/js/mobile.js b/desktop/js/mobile.js deleted file mode 100644 index 76497ab8..00000000 --- a/desktop/js/mobile.js +++ /dev/null @@ -1,77 +0,0 @@ - -/* This file is part of Jeedom. - * - * Jeedom is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Jeedom is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Jeedom. If not, see . - */ - $('#bt_healthmobile').on('click', function () { - $('#md_modal').dialog({title: "{{Santé Mobile}}"}); - $('#md_modal').load('index.php?v=d&plugin=mobile&modal=health').dialog('open'); -}) - $('#info_app').on('click', function(){ - $('#md_modal').dialog({title: "{{Informations envoyées à l'app}}"}); - $('#md_modal').load('index.php?v=d&plugin=mobile&modal=info_app.mobile').dialog('open'); -}) -function clickplugin(id_plugin,name_plugin){ - $('#md_modal').dialog({title: "{{Configuration Mobile du Plugin "+name_plugin+"}}"}); - $('#md_modal').load('index.php?v=d&plugin=mobile&modal=plugin.mobile&plugin_id=' +id_plugin).dialog('open'); -} - -function clickobject(id_object,name_object){ - $('#md_modal').dialog({title: "{{Configuration Mobile de la Pièce "+name_object+"}}"}); - $('#md_modal').load('index.php?v=d&plugin=mobile&modal=object.mobile&object_id=' +id_object).dialog('open'); -} - -function clickscenario(id_scenario,name_scenario){ - $('#md_modal').dialog({title: "{{Configuration Mobile du Scnéario "+name_scenario+"}}"}); - $('#md_modal').load('index.php?v=d&plugin=mobile&modal=scenario.mobile&scenario_id=' +id_scenario).dialog('open'); -} - -$('li').click(function(){ - setTimeout(function(){ - $('.eqLogicThumbnailContainer').packery(); - },50); - }); -var hash = document.location.hash; -if (hash) { - $('.nav-tabs a[href="'+hash+'"]').tab('show'); -} -$('.nav-tabs a').on('shown.bs.tab', function (e) { - window.location.hash = e.target.hash; -}); -/* - * Fonction pour l'ajout de commande, appellé automatiquement par plugin.template - */ - - function printEqLogic(_eqLogic){ - $.ajax({// fonction permettant de faire de l'ajax - type: "POST", // méthode de transmission des données au fichier php - url: "plugins/mobile/core/ajax/mobile.ajax.php", // url du fichier php - data: { - action: "getQrCode", - id: _eqLogic.id, - }, - dataType: 'json', - global: false, - error: function (request, status, error) { - handleAjaxError(request, status, error); - }, - success: function (data) { // si l'appel a bien fonctionné - if (data.state != 'ok') { - $('#div_alert').showAlert({message: data.result, level: 'danger'}); - return; - } - $('.qrCodeImg').empty().append(''); - } -}); -} \ No newline at end of file diff --git a/desktop/modal/health.php b/desktop/modal/health.php deleted file mode 100644 index 179fc0cc..00000000 --- a/desktop/modal/health.php +++ /dev/null @@ -1,54 +0,0 @@ -. - */ - -if (!isConnect('admin')) { - throw new Exception('401 Unauthorized'); -} -$eqLogics = mobile::byType('mobile'); -?> - - - - - - - - - - - - - getConfiguration('type_mobile') . '.png'; - if (file_exists($file)) { - $path = 'plugins/mobile/doc/images/' . $eqLogic->getConfiguration('type_mobile') . '.png'; - $img = ''; - } else { - $path = 'plugins/mobile/doc/images/mobile_icon.png'; - $img = ''; - } - $userId = $eqLogic->getConfiguration('affect_user'); - $username = user::byId($userId)->getLogin(); - echo ''; - echo ''; - echo ''; - echo ''; -} -?> - -
{{Plateforme}}{{Module}}{{ID}}{{User}}{{Date création}}
' . $img . '' . $eqLogic->getHumanName(true) . '' . $eqLogic->getId() . '' . $username . '' . $eqLogic->getConfiguration('createtime') . '
diff --git a/desktop/modal/info_app.mobile.php b/desktop/modal/info_app.mobile.php deleted file mode 100644 index c75e46be..00000000 --- a/desktop/modal/info_app.mobile.php +++ /dev/null @@ -1,52 +0,0 @@ -. - */ - -if (!isConnect('admin')) { - throw new Exception('401 Unauthorized'); -} - -$PluginToSend = mobile::PluginToSend(); - -$sync_array = array( - 'eqLogics' => mobile::discovery_eqLogic($PluginToSend), - 'cmds' => mobile::discovery_cmd($PluginToSend), - 'objects' => mobile::discovery_object(), - 'scenarios' => mobile::discovery_scenario(), - 'config' => array('datetime' => getmicrotime()), -); - -?> -

JSON valide :

-
-

{{Objets / Pièces :}}

-
-

{{Modules :}}

-
-

{{Commandes :}}

-
-

{{Scénarios :}}

-
-

{{Configurations :}}

-
- diff --git a/desktop/modal/object.mobile.php b/desktop/modal/object.mobile.php deleted file mode 100644 index 0f14318d..00000000 --- a/desktop/modal/object.mobile.php +++ /dev/null @@ -1,259 +0,0 @@ -. - */ - ini_set('display_errors', 0); -if (!isConnect('admin')) { - throw new Exception('{{401 - AccèÈs non autorisÈ}}'); -} - -$object = object::byId($_GET['object_id']); -sendVarToJS('object', $_GET['object_id']); -?> - -
-
"; - echo str_replace('>', ' style="font-size : 6em;color:#767676;">', $object->getDisplay('icon', '')); - echo '
' . $object->getName() . '
'; - echo "

"; - echo ''; - echo '
'; - echo ' {{Type Générique de l\'objet}} - '; - ?> - -
- - getEqLogic(); - $checkHomebridge = ''; - echo '
'; - foreach ($eqLogics as $eqLogic){ - if(mobile::check_ios() == 1){ - $check = 'checked'; - if ($eqLogic->getConfiguration('sendToHomebridge', 1) == 0) { - $check = 'unchecked'; - } - $checkHomebridge = '';; - } - echo '
'; - echo ' '; - echo '
'; - echo '
'; - $cmds = null; - $cmds = cmd::byEqLogicId($eqLogic->getId()); - echo ''; - echo ' - - - - '; - foreach ($cmds as $cmd){ - array_push($tableau_cmd, $cmd->getId()); - echo ''; - echo ''; - echo ''; - echo ''; - } - echo '
{{Id Cmd}}{{Nom de la Commande}}{{Type Générique}}
'; - echo ''.$cmd->getId().''; - echo ''; - echo $cmd->getName(); - $display_icon = 'none'; - $icon =''; - if (in_array($cmd->getDisplay('generic_type'), ['GENERIC_INFO','GENERIC_ACTION'])) { - $display_icon = 'block'; - $icon = $cmd->getDisplay('icon'); - } - echo '
-
- ' . $icon . ' - {{Icône}} -
-
'; - echo '
'; - ?> - '; - echo '
'; - echo '
'; - echo '
'; - - echo '
'; - - } - echo '
'; - ?> - - - '; - ?> -
- - \ No newline at end of file diff --git a/desktop/modal/plugin.mobile.php b/desktop/modal/plugin.mobile.php deleted file mode 100644 index c9f26527..00000000 --- a/desktop/modal/plugin.mobile.php +++ /dev/null @@ -1,314 +0,0 @@ -. - */ - ini_set('display_errors', 0); -if (!isConnect('admin')) { - throw new Exception('{{401 - AccèÈs non autorisÈ}}'); -} - -$plugin_compatible = mobile::Pluginsuported(); -$plugin_widget = mobile::PluginWidget(); -$plugin = plugin::byId($_GET['plugin_id']); -sendVarToJS('pluginId', $_GET['plugin_id']); -?> - -
-
- getPathImgIcon())) { - echo ''; - echo "
"; - } else { - echo ''; - echo ""; - echo '
' . $plugin->getName() . '
'; - } -?> - -
- {{Envoi auprès de l'app mobile}} - - getId(), $plugin_widget)){ - echo ''; - echo '
'; - $path = dirname(__FILE__) . '/../../core/template/images/' . $plugin->getId(); - $files = scandir($path); - foreach ($files as $imgname){ - if (!in_array($imgname, ['.','..'])){ - echo ''; - } - } - echo '
'; - $generique_ok = false; - }else if(in_array($plugin->getId(), $plugin_compatible)){ - echo ''; - $generique_ok = true; - }else{ - echo ''; - $generique_ok = true; - } - ?> -
- '; - echo ' {{Type Générique du Plugin}} - '; - ?> -
- - '; - foreach ($eqLogics as $eqLogic){ - if(mobile::check_ios() == 1){ - $check = 'checked'; - if ($eqLogic->getConfiguration('sendToHomebridge', 1) == 0) { - $check = 'unchecked'; - } - $checkHomebridge = '';; - } - echo '
'; - if ($eqLogic->getEqType_name() != $_GET['plugin_id']){ - $subClassName = ' (' . $eqLogic->getEqType_name() . ') '; - } else { - $subClassName = ''; - } - echo ' '; - echo '
'; - echo '
'; - $cmds = null; - $cmds = cmd::byEqLogicId($eqLogic->getId()); - echo ''; - echo ' - - - - '; - foreach ($cmds as $cmd){ - array_push($tableau_cmd, $cmd->getId()); - echo ''; - echo ''; - echo ''; - echo ''; - } - echo '
{{Id Cmd}}{{Nom de la Commande}}{{Type Générique}}
'; - echo ''.$cmd->getId().''; - echo ''; - echo $cmd->getName(); - $display_icon = 'none'; - $icon =''; - if (in_array($cmd->getDisplay('generic_type'), ['GENERIC_INFO','GENERIC_ACTION'])) { - $display_icon = 'block'; - $icon = $cmd->getDisplay('icon'); - } - echo '
-
- ' . $icon . ' - {{Icône}} -
-
'; - echo '
'; - ?> - '; - echo '
'; - echo '
'; - echo '
'; - - echo '
'; - - } - echo '
'; - ?> -
- {{Sauvegarder}} -
- - '; - } - ?> - - - diff --git a/desktop/modal/scenario.mobile.php b/desktop/modal/scenario.mobile.php deleted file mode 100644 index 303375b8..00000000 --- a/desktop/modal/scenario.mobile.php +++ /dev/null @@ -1,57 +0,0 @@ -. - */ - ini_set('display_errors', 0); -if (!isConnect('admin')) { - throw new Exception('{{401 - AccèÈs non autorisÈ}}'); -} - -$scenario = scenario::byId($_GET['scenario_id']); -sendVarToJS('scenario', $_GET['scenario_id']); -?> - -
-
"; - echo ''; - echo '
' . $scenario->getHumanName(true, true, true, true) . '
'; - echo "

"; - echo '
'; - echo ''; -?> -
- {{Sauvegarder}} -
- - - diff --git a/desktop/modal/update.mobile.php b/desktop/modal/update.mobile.php deleted file mode 100644 index d5e902a3..00000000 --- a/desktop/modal/update.mobile.php +++ /dev/null @@ -1,49 +0,0 @@ -. - */ -if (!isConnect('admin')) { - throw new Exception('{{401 - Accs non autoris}}'); -} -?> - - - {{Pause}} - -


-

-
-
\ No newline at end of file
diff --git a/desktop/php/mobile.php b/desktop/php/mobile.php
deleted file mode 100644
index 59357922..00000000
--- a/desktop/php/mobile.php
+++ /dev/null
@@ -1,271 +0,0 @@
-
-
-
-
- -
- -
- -
-
- {{Gestion}} -
-
-
- -
-
Ajouter
-
-
-
- -
-
{{Configuration}}
-
-
-
- -
-
{{Santé}}
-
-
- {{Mes Téléphones Mobiles}} - -
- getIsEnable()) ? '' : jeedom::getConfiguration('eqLogic:style:noactive'); - echo '
'; - echo "
"; - $file = 'plugins/mobile/doc/images/' . $eqLogic->getConfiguration('type_mobile') . '.png'; - if (file_exists($file)) { - $path = 'plugins/mobile/doc/images/' . $eqLogic->getConfiguration('type_mobile') . '.png'; - echo ''; - } else { - $path = 'plugins/mobile/doc/images/mobile_icon.png'; - echo ''; - } - echo "
"; - echo '
' . $eqLogic->getHumanName(true, true) . '
'; - echo '
'; - } - ?> -
-
-
- {{Le(s) Plugin(s) Compatible(s)}} - -
- getId() != 'mobile'){ - if(in_array($plugin->getId(), $plugin_compatible)){ - if(in_array($plugin->getId(), $plugin_widget)){ - $text = '
{{Plugin Spécial}}
'; - }else{ - if (config::byKey('sendToApp', $plugin->getId(), 1) == 1) { - $text = '
{{Via Type générique}}
'; - } else { - $text = '
{{Non transmis}}
'; - $opacity = 'opacity:0.3;'; - } - } - echo '
'; - echo '
'; - if (file_exists(dirname(__FILE__) . '/../../../../' . $plugin->getPathImgIcon())) { - echo ''; - echo "
"; - } else { - echo ''; - echo ""; - echo '
' . $plugin->getName() . '
'; - } - echo $text; - echo '
'; - } - } - } - ?> -
- {{Le(s) Plugin(s) Non Testé(s)}} - -
- getId() != 'mobile'){ - if(!in_array($plugin->getId(), $plugin_compatible)){ - if (config::byKey('sendToApp', $plugin->getId(), 0) == 1) { - $text = '
{{Transmis à l\'app}}
'; - } else { - $opacity = 'opacity:0.3;'; - $text = '
{{Non transmis}}
'; - } - echo '
'; - echo '
'; - if (file_exists(dirname(__FILE__) . '/../../../../' . $plugin->getPathImgIcon())) { - echo ''; - echo "
"; - } else { - echo ''; - echo ""; - echo '
' . $plugin->getName() . '
'; - } - echo $text; - echo '
'; - } - } - } - ?> -
-
-
- {{Les Pièces}} - -
- getDisplay('sendToApp', 1) == 0) { - $opacity = 'opacity:0.3;'; - } - echo '
'; - echo "
"; - echo str_replace('>', ' style="font-size : 6em;color:#767676;">', $object->getDisplay('icon', '')); - echo "
"; - echo '
' . $object->getName() . '
'; - echo '
'; -} -?> -
-
-
- {{Les Scénarios}} - -
- getDisplay('sendToApp', 1) == 0) { - $opacity = 'opacity:0.3;'; - } - echo '
'; - echo "
"; - echo ''; - echo "
"; - echo '
' . $scenario->getHumanName(true, true,true,true) . '
'; - echo '
'; -} -?> -
-
-
-
- -
- - diff --git a/doc/fr_FR/TroubleshootingMobile.asciidoc b/doc/fr_FR/TroubleshootingMobile.asciidoc deleted file mode 100644 index 55a2276e..00000000 --- a/doc/fr_FR/TroubleshootingMobile.asciidoc +++ /dev/null @@ -1,25 +0,0 @@ -== FAQ - --> Je suis sur Android version de l'app (1.0.1 ou 1.0.0) je n'arrive pas à accéder à mes pièces ni même à la configuration de l'app. - -CAUTION: Vous avez eu un popup vous avertissant d'un souci sur les paramètres d'accessibilité, il vous suffit donc de vous rendre dans les paramètres d'accessibilité de votre mobile et de décocher les applications utilisant cette option. (Un correctif sera apporté prochainement sur l'app) - --> J'ai un message dans une des lignes de mes modules me disant qu'il manque un Type Générique ! - -TIP: En lisant ce message, il vous dit quel type générique manque pour créer un template compatible. Il suffit juste de l'appliquer. Reportez-vous à la link:https://www.jeedom.com/doc/documentation/plugins/mobile/fr_FR/mobile#_configuration_des_plugins_et_commandes_que_reçoit_l_app[doc chapitre Type Générique]. - --> J'ai un souci sur un des plugins dit complètement intégré (météo, thermostat, alarme, caméra) ! - -TIP: N'hésitez pas à accéder à votre module et de bien cliquer sur sauvegarder à nouveau, cela permettra de ré-inclure les types génériques associés au module. - --> Impossible de mettre une info sur l'accueil de l'app ! - -TIP: Cela est normal, ça sera disponible sur la version 1.1. - --> J'ai l'application qui prend enormement de memoire dans mon telephone ! - -TIP: Il y avait un bug sur les versions 1.0.0 et 1.0.1 sur la partie Camera. Le souci ne ce reproduira plus avec la 1.0.2, pour supprimer le cache sans surprimer l'app, il suffit d'aller dans la configuration de votre App Mobile et de cliquer sur "supprimer le cache". - --> J'ai mon Homebridge qui n'execute pas les commandes ! - -TIP: il faut bien mettre a jour le plugin App Mobile, puis dans la configuration des dépendances, il suffit de renseigner un utilisateur avec des droits d'executions sur les commandes. diff --git a/doc/fr_FR/configurationHomebridge.asciidoc b/doc/fr_FR/configurationHomebridge.asciidoc deleted file mode 100644 index 5332c22c..00000000 --- a/doc/fr_FR/configurationHomebridge.asciidoc +++ /dev/null @@ -1,49 +0,0 @@ -Si vous disposez d'équipements mobiles iOS, vous pouvez activer Homebridge afin de contrôler votre Jeedom via Homekit. - -== Configuration de Homebridge - -Si vous avez déclaré au moins un équipement sous iOS, vous verrez dans la configuration du plugin une section Homebridge.(*Plugins* --> *Gestion des plugins* --> *App Mobile*) - -*Installation des dépendances* - -image::../images/mobile4.png[] - -Afin d'installer les dépendances nécessaires, il est nécessaire de cliquer sur le bouton *Relancer*. - -*Configuration* - -image::../images/mobile5.png[] - -Dans la configuration de Homebridge, vous pouvez : - -* *Utilisateur* : Permet à Homebridge d'utiliser l'ApiKey d'un utilisateur de votre Jeedom. -* *Nom Homebridge* : Permet de renommer votre pont Homebridge. *ATTENTION : le changement de nom Homebridge vous obligera à reconfigurer vos applications Homekit* -* *Mac Homebridge* : Permet d'avoir plusieurs ponts Homebridge. *ATTENTION : le changement de la Mac Homebridge vous obligera à reconfigurer vos applications Homekit* -* *Suppression du cache* : Permet de vider complètement les informations connues par Homebridge. Au prochain démarrage, Homebridge rescanera l'ensemble des éléments de Jeedom afin de les générer. *ATTENTION : la suppression du cache vous obligera à reconfigurer vos applications Homekit* -* *Regénérer le fichier de configuration* : Permet de recréer le fichier de configuration lorsque vous modifiez le code PIN Homebridge. -* *PIN Homebridge* : Permet de personnaliser le code PIN Homebridge. Après sauvegarde, il sera nécessaire de regénérer le fichier de configuration. - -*Utilisation* - -Pour intéragir avec Homebridge, vous disposez de 2 possibilités : - -* *iOS 10* : Si vous disposez d'un iDevice sous iOS 10 (actuellement en beta) vous pouvez simplement rajouter Jeedom via l'application *Domicile*. -quelques screens: - -image::../images/mobile6.jpg[] - -image::../images/mobile9.jpg[] - -* *Applications compatibles Homekit* : Vous trouverez sur l'App Store quelques applications compatibles Homekit. La plus complète à l'heure actuelle est celle d'Elgato : EVE. -quelques screens: - -image::../images/mobile7.jpg[] - -image::../images/mobile8.jpg[] - -*Quelques remarques* - -* Homebridge ne peut actuellement pas créer automatiquement dans les applications (Domicile ou Elgato Eve) les pièces définies sur Jeedom. -* Dans tous les cas, il est possible d'utiliser Siri pour intéragir avec vos équipements mais attention à la façon dont sont nommés vos équipements, Siri est plutôt strict. -* Si vous disposez d'une AppleTV (ou d'un iPad sous iOS 10) il est possible d'accéder à vos périphériques depuis n'importe où de façon transparente. -* Si vous disposez d'une AppleTV sous tvOS 10, vous pouvez commander vos équipements à l'aide de la touche Siri de la télécommande. Les scénarios définis sur l'interface Domicile sont également stockés sur celle-ci. diff --git a/doc/fr_FR/configurationMobile.asciidoc b/doc/fr_FR/configurationMobile.asciidoc deleted file mode 100644 index b352568f..00000000 --- a/doc/fr_FR/configurationMobile.asciidoc +++ /dev/null @@ -1,62 +0,0 @@ -== Configuration de l'application Mobile - -Vous trouverez les applications sur les stores mobiles : - -*Android Google Play* - -image:../images/Google_Play_FR.png[link="https://play.google.com/store/apps/details?id=fr.jeedom.jeedom"] - -*Apple App Store* - -image:../images/App_Store_FR.png[link="https://itunes.apple.com/fr/app/jeedom/id1010855094?mt=8"] - -=== Premier lancement de l'app - -Au 1er lancement de l'application Mobile, un tutorial vous sera proposé afin de vous accompagner dans la configuration de celle-ci. - -Après avoir téléchargée et installée votre application mobile Jeedom, lancez l’application sur votre smartphone. - -Vous arrivez alors dans un didacticiel de configuration que nous vous conseillons de suivre. Certaines étapes ont étés faites précédemment. - -Vous aurez ensuite le choix entre une configuration manuelle ou automatique par QRcode. -Si vous optez pour la configuration par QRcode, il suffit de flasher le QRcode présent sur le plugin App Mobile dans l’équipement smartphone créé précédemment. Dans ce cas, l’application va récupérer automatiquement toute la configuration de votre Jeedom et se connecter automatiquement. Lorsqu’il sera connecté chez vous en Wifi, l’application utilisera automatiquement l’adresse Jeedom ethernet interne à votre réseau. Lorsque vous serez connecté en 4G ou 3G, il utilisera votre adresse externe pour se connecter à votre Jeedom (par exemple via le service DNS Jeedom si vous l'utilisez). -Si vous optez pour la configuration manuelle, dans ce cas il vous faudra entrer à la main les adresses IP interne et externe de votre Jeedom. Cette option est réservée à un public averti. - -L’application va se synchroniser et vous arrivez sur sa page d’accueil (précédée par un mini guide de présentation). - -L’application mobile Jeedom est maintenant prête à fonctionner. - -=== Les Favoris - -Sur l'application vous pouvez avoir des Favoris (raccourcis de commandes, plugins, scénarios). - -Voici donc la marche à suivre pour en créer : - -Cliquez sur un des + sur l'écran d'accueil de l'application : - -image:../images/mobile_dashboard_1.PNG[align="center",width="200px"] - -Vous arriverez sur la page de sélection du type de raccourci : - -image:../images/mobile_dashboard_2.PNG[align="center",width="200px"] - -Par exemple, nous allons prendre Action, il nous propose donc des Pièces/Objets : - -image:../images/mobile_dashboard_3.PNG[align="center",width="200px"] - -Il vous suffit alors de sélectionner l'action que vous souhaitez en raccourci : - -image:../images/mobile_dashboard_4.PNG[align="center",width="200px"] - -Il est ensuite possible de personnaliser la couleur de celle-ci (pour le moment trois couleurs sont proposées) : - -image:../images/mobile_dashboard_5.PNG[align="center",width="200px"] - -Ainsi que les deux textes associés : - -image:../images/mobile_dashboard_6.PNG[align="center",width="200px"] -image:../images/mobile_dashboard_7.PNG[align="center",width="200px"] - -Voilà, vous avez maitenant un raccourci de votre commande (dans la version 1.1 il est prévu que les commandes On/Off apparaissent sur la même touche). - -image:../images/mobile_dashboard_8.PNG[align="center",width="200px"] diff --git a/doc/fr_FR/configurationPlugin.asciidoc b/doc/fr_FR/configurationPlugin.asciidoc deleted file mode 100644 index 444c5065..00000000 --- a/doc/fr_FR/configurationPlugin.asciidoc +++ /dev/null @@ -1,43 +0,0 @@ -L'application mobile Jeedom nécessite l'installation de ce plugin afin que la box puisse dialoguer avec l'application Mobile. - -== Configuration du plugin Mobile - -Après installation du plugin, il vous suffit de l'activer : - -image::../images/mobile1.png[] - -*Configuration* - -Pour configurer le plugin, vous devez ajouter les téléphones qui pourront accéder à Jeedom. - -Pour Ajouter un téléphone : *Plugins* --> *Communication* --> *App Mobile* --> *Ajouter* - -image::../images/mobile2.png[] - -Voici les paramètres à renseigner : - -* *Nom de l'équipement mobile* : Nom du téléphone -* *Activer* : Activation de l'accès pour ce mobile -* *Type de Mobile* : Sélection de l'OS du téléphone (iOS, Android) -* *Utilisateur* : Utilisateur associé à cet accès - -[TIP] -Le choix de l'utilisateur est important car il détermine les équipements auxquels celui-ci aura accès en fonction de ses droits. - -image::../images/mobile3.png[] - -Après avoir sauvegardé, vous obtiendrez un QRCode permettant à l'application de se configurer toute seule. - -== Configuration des plugins et commandes que reçoit l'app - -Après l'initialisation du Plugin Mobile vous avez la possibilité de remanier les types génériques des commandes, des plugins et des pièces. - -image::../images/mobile10.png[] - -En cliquant sur un plugin, vous pouvez l'autoriser ou non à dialoguer avec l'application mobile, et configurer chacun des types génériques associés à ses commandes. - -image::../images/mobile11.png[] - -En cliquant sur une pièce, vous pouvez l'autoriser ou non à être présente dans l'application mobile, et configurer chacun des types génériques associés à ses commandes. - -image::../images/mobile12.png[] diff --git a/doc/fr_FR/configurationTypeGenerique.asciidoc b/doc/fr_FR/configurationTypeGenerique.asciidoc deleted file mode 100644 index c88f7908..00000000 --- a/doc/fr_FR/configurationTypeGenerique.asciidoc +++ /dev/null @@ -1,278 +0,0 @@ -== Comment bien configurer ses types génériques - -=== Les Génériques Types dans le plugin Mobile - -Mieux que des mots, voici un exemple des génériques types pour une lumière avec toutes ses commandes (voir aussi le tableau Lumière plus bas) : - -image:../images/generic_type_in_plugin.jpg[align="center"] - - -=== Tableaux des templates de l'application - -.Les Lumières -[options="header"] -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/LIGHT_1.jpg[width=300,align="center"]|-Lumière Bouton On - --Lumière Bouton Off|-LIGHT_ON - --LIGHT_OFF|présence de deux boutons "On" et "Off", pas de retour d'état. -|image:../images/LIGHT_2.jpg[width=300,align="center"]|-Lumière Bouton On - --Lumière Bouton Off - --Lumière Etat|-LIGHT_ON - --LIGHT_OFF - --LIGHT_STATE|Retour d'état présent, le bouton de gauche permet de switcher entre on et off -|image:../images/LIGHT_2.jpg[width=300,align="center"]|-Lumière Bouton Toggle - --Lumière Etat|-LIGHT_TOGGLE - --LIGHT_STATE|Retour d'état présent, le bouton de gauche permet de switcher entre on et off via le Toggle -|image:../images/LIGHT_3.jpg[width=300,align="center"]|-Lumière Bouton On - --Lumière Bouton Off - --Lumière Etat - --Lumière Slider|-LIGHT_ON - --LIGHT_OFF - --LIGHT_STATE - --LIGHT_SLIDER|Retour d'état présent, le bouton de gauche permet de switcher entre on et off et le slider permet de contrôler l'intensité -|image:../images/LIGHT_4.jpg[width=300,align="center"]|-Lumière Bouton On - --Lumière Bouton Off - --Lumière Etat - --Lumière Slider - --Lumière Couleur (info) - --Lumière Couleur (action) - --Lumière Mode (optionnel, il sert à avoir des modes de lumière, par exemple arc-en-ciel sur les Philips Hue)|-LIGHT_ON - --LIGHT_OFF - --LIGHT_STATE - --LIGHT_SLIDER - --LIGHT_COLOR - --LIGHT_SET_COLOR - --LIGHT_MODE|Retour d'état présent, le bouton de gauche permet de switcher entre on et off et le slider permet de contrôler l'intensité. Dans le cercle la couleur de la lampe est présente et lors d'un clic dans celui-ci vous pouvez changer la couleur et activer un mode. -|======================= - -.Les Prises -[options="header"] -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/ENERGY_1.jpg[width=300,align="center"]|-Prise Bouton On - --Prise Bouton Off|-ENERGY_ON - --ENERGY_OFF|présence de deux boutons "On" et "Off", pas de retour d'état. -|image:../images/ENERGY_2.jpg[width=300,align="center"]|-Prise Bouton On - --Prise Bouton Off - --Prise Etat|-ENERGY_ON - --ENERGY_OFF - --ENERGY_STATE|Retour d'état présent, le bouton de gauche permet de switcher entre on et off -|image:../images/ENERGY_3.jpg[width=300,align="center"]|-Prise Bouton On - --Prise Bouton Off - --Prise Etat - --Prise Slider|-ENERGY_ON - --ENERGY_OFF - --ENERGY_STATE - --ENERGY_SLIDER|Retour d'état présent, le bouton de gauche permet de switcher entre on et off et le slider permet de contrôler l'intensité -|======================= - -.Les Volets -[options="header"] -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/FLAP_1.jpg[width=300,align="center"]|-Volet Bouton Monter - --Volet Bouton Descendre - --Volet Bouton Stop - --Volet Etat(optionnel)|-FLAP_UP - --FLAP_DOWN - --FLAP_STOP - --FLAP_STATE (optionnel)|présence de trois boutons "Monter", "Descendre" et "Stop", retour d'état optionnel. -|image:../images/FLAP_2.jpg[width=300,align="center"]|-Volet Bouton Monter - --Volet Bouton Descendre - --Volet Bouton Stop - --Volet Etat - --Volet Bouton Slider|-FLAP_UP - --FLAP_DOWN - --FLAP_STOP - --FLAP_STATE - --FLAP_SLIDER|Présence d'un slider, avec un bouton Monter/Descendre en switch (avec icône d'état) -|======================= - -.Inondation -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/FLOOD.jpg[width=300,align="center"]|-Inondation - --Température (optionnel) - --Humidité (optionnel) - --Sabotage (optionnel)|-FLOOD - --TEMPERATURE (optionnel) - --HUMIDITY (optionnel) - --SABOTAGE (optionnel)|Permet d'avoir son capteur d'inondation complet sur une seule ligne. -|======================= - -.Serrure -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/LOCK.jpg[width=300,align="center"]|-Serrure Etat - --Serrure Bouton Ouvrir - --Serrure Bouton Fermer|-LOCK_STATE - --LOCK_OPEN - --LOCK_CLOSE|Retour d'état présent, le bouton de gauche permet de switcher entre on et off -|======================= - -.Sirène -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/SIREN.jpg[width=300,align="center"]|-Sirène Etat - --Sirène Bouton On - --Sirène Bouton Off|-SIREN_STATE - --SIREN_ON - --SIREN_OFF|Retour d'état présent, le bouton de gauche permet de switcher entre on et off -|======================= - -.Fumée -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/SMOKE.jpg[width=300,align="center"]|-Fumée - --Température (optionnel)|-SMOKE - --TEMPERATURE (optionnel)|Permet d'avoir son capteur de fumées complet sur une seule ligne. -|======================= - -.Température -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/TEMPERATURE.jpg[width=300,align="center"]|-Température - --Humidité (optionnel)|-TEMPERATURE - --HUMIDITY (optionnel)|Voir image. -|======================= - -.Présence -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/PRESENCE.jpg[width=300,align="center"]|-Présence - --Température (optionnel) - --Luminosité (optionnel) - --Humidité (optionnel) - --UV (optionnel) - --Sabotage (optionnel)|-PRESENCE - --HUMIDITY (optionnel) - --TEMPERATURE (optionnel) - --UV (optionnel) - --BRIGHTNESS (optionnel) - --SABOTAGE (optionnel)|Voir image. -|======================= - -.Ouvrant -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/OPENING.jpg[width=300,align="center"]|-Porte / Fenêtre - --Température (optionnel) - -|-OPENING / OPENING_WINDOW - --TEMPERATURE (optionnel)|Voir image, (à savoir que vous pouvez choisir entre fenêtre et porte). -|======================= - -.Fil pilote -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/HEATING.jpg[width=300,align="center"]|-Chauffage fil pilote Bouton ON - --Chauffage fil pilote Bouton OFF - --Chauffage fil pilote Etat - --Chauffage fil pilote Bouton (optionnel)|-HEATING_ON - --HEATING_OFF - --HEATING_STATE - --HEATING_OTHER|Les boutons ON/OFF et Etat permettent de créer le bouton tout à gauche du template et les "Chauffage fil pilote Bouton" sont là pour rajouter des boutons (5 max) -|======================= - -=== LES JOKERS - -.Générique Action -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/ACTION.jpg[width=300,align="center"]|-Action générique|-GENERIC_ACTION|Le bouton prend la forme du type de l'action. Par défaut c'est un toggle, si c'est un message alors vous avez une enveloppe, si slider vous avez un slider etc. -|======================= - -.Générique Info -|======================= -|Image|type générique attendu|Partie Dev plugin tiers|Description -|image:../images/INFO.jpg[width=300,align="center"]|-Information générique|-GENERIC_INFO|Le bouton prend la forme du type de l'info. -|======================= diff --git a/doc/fr_FR/index.asciidoc b/doc/fr_FR/index.asciidoc deleted file mode 100644 index c0404185..00000000 --- a/doc/fr_FR/index.asciidoc +++ /dev/null @@ -1,15 +0,0 @@ -= Plugin Mobile - -Plugin permettant d'utiliser l'application Mobile Jeedom. - -include::configurationPlugin.asciidoc[] - -include::configurationMobile.asciidoc[] - -include::configurationTypeGenerique.asciidoc[] - -include::configurationHomebridge.asciidoc[] - -include::TroubleshootingMobile.asciidoc[] - -En savoir plus sur l'avancement de l'application Mobile cliquez-ici > https://github.com/jeedom/issues/projects/2?fullscreen=true diff --git a/doc/images/ACTION.jpg b/doc/images/ACTION.jpg deleted file mode 100644 index 6f619a12..00000000 Binary files a/doc/images/ACTION.jpg and /dev/null differ diff --git a/doc/images/App_Store_FR.png b/doc/images/App_Store_FR.png deleted file mode 100644 index 3da4cd9e..00000000 Binary files a/doc/images/App_Store_FR.png and /dev/null differ diff --git a/doc/images/ENERGY_1.jpg b/doc/images/ENERGY_1.jpg deleted file mode 100644 index 33e2b43e..00000000 Binary files a/doc/images/ENERGY_1.jpg and /dev/null differ diff --git a/doc/images/ENERGY_2.jpg b/doc/images/ENERGY_2.jpg deleted file mode 100644 index ba27c09b..00000000 Binary files a/doc/images/ENERGY_2.jpg and /dev/null differ diff --git a/doc/images/ENERGY_3.jpg b/doc/images/ENERGY_3.jpg deleted file mode 100644 index 1cc9fa79..00000000 Binary files a/doc/images/ENERGY_3.jpg and /dev/null differ diff --git a/doc/images/FLAP_1.jpg b/doc/images/FLAP_1.jpg deleted file mode 100644 index 920eee11..00000000 Binary files a/doc/images/FLAP_1.jpg and /dev/null differ diff --git a/doc/images/FLAP_2.jpg b/doc/images/FLAP_2.jpg deleted file mode 100644 index ea0a8164..00000000 Binary files a/doc/images/FLAP_2.jpg and /dev/null differ diff --git a/doc/images/FLOOD.jpg b/doc/images/FLOOD.jpg deleted file mode 100644 index e3781224..00000000 Binary files a/doc/images/FLOOD.jpg and /dev/null differ diff --git a/doc/images/Google_Play_FR.png b/doc/images/Google_Play_FR.png deleted file mode 100644 index 8d59d9c1..00000000 Binary files a/doc/images/Google_Play_FR.png and /dev/null differ diff --git a/doc/images/INFO.jpg b/doc/images/INFO.jpg deleted file mode 100644 index 67e8bfe5..00000000 Binary files a/doc/images/INFO.jpg and /dev/null differ diff --git a/doc/images/LIGHT_1.jpg b/doc/images/LIGHT_1.jpg deleted file mode 100644 index 972b1595..00000000 Binary files a/doc/images/LIGHT_1.jpg and /dev/null differ diff --git a/doc/images/LIGHT_2.jpg b/doc/images/LIGHT_2.jpg deleted file mode 100644 index e22fd26e..00000000 Binary files a/doc/images/LIGHT_2.jpg and /dev/null differ diff --git a/doc/images/LIGHT_3.jpg b/doc/images/LIGHT_3.jpg deleted file mode 100644 index 9110a48d..00000000 Binary files a/doc/images/LIGHT_3.jpg and /dev/null differ diff --git a/doc/images/LIGHT_4.jpg b/doc/images/LIGHT_4.jpg deleted file mode 100644 index 2fe520c3..00000000 Binary files a/doc/images/LIGHT_4.jpg and /dev/null differ diff --git a/doc/images/LOCK.jpg b/doc/images/LOCK.jpg deleted file mode 100644 index f68ab4c0..00000000 Binary files a/doc/images/LOCK.jpg and /dev/null differ diff --git a/doc/images/OPENING.jpg b/doc/images/OPENING.jpg deleted file mode 100644 index 434950b2..00000000 Binary files a/doc/images/OPENING.jpg and /dev/null differ diff --git a/doc/images/PRESENCE.jpg b/doc/images/PRESENCE.jpg deleted file mode 100644 index d1dd013d..00000000 Binary files a/doc/images/PRESENCE.jpg and /dev/null differ diff --git a/doc/images/SIREN.jpg b/doc/images/SIREN.jpg deleted file mode 100644 index 137411ed..00000000 Binary files a/doc/images/SIREN.jpg and /dev/null differ diff --git a/doc/images/SMOKE.jpg b/doc/images/SMOKE.jpg deleted file mode 100644 index 1b3fcf27..00000000 Binary files a/doc/images/SMOKE.jpg and /dev/null differ diff --git a/doc/images/TEMPERATURE.jpg b/doc/images/TEMPERATURE.jpg deleted file mode 100644 index 3850acce..00000000 Binary files a/doc/images/TEMPERATURE.jpg and /dev/null differ diff --git a/doc/images/android.png b/doc/images/android.png deleted file mode 100644 index e33724b6..00000000 Binary files a/doc/images/android.png and /dev/null differ diff --git a/doc/images/generic_type_in_plugin.jpg b/doc/images/generic_type_in_plugin.jpg deleted file mode 100644 index 1999dad5..00000000 Binary files a/doc/images/generic_type_in_plugin.jpg and /dev/null differ diff --git a/doc/images/ios.png b/doc/images/ios.png deleted file mode 100644 index 462de40f..00000000 Binary files a/doc/images/ios.png and /dev/null differ diff --git a/doc/images/mobile1.png b/doc/images/mobile1.png deleted file mode 100644 index 4aada83e..00000000 Binary files a/doc/images/mobile1.png and /dev/null differ diff --git a/doc/images/mobile10.png b/doc/images/mobile10.png deleted file mode 100644 index 6a29ae10..00000000 Binary files a/doc/images/mobile10.png and /dev/null differ diff --git a/doc/images/mobile11.png b/doc/images/mobile11.png deleted file mode 100644 index 6775c561..00000000 Binary files a/doc/images/mobile11.png and /dev/null differ diff --git a/doc/images/mobile12.png b/doc/images/mobile12.png deleted file mode 100644 index d2db8dbd..00000000 Binary files a/doc/images/mobile12.png and /dev/null differ diff --git a/doc/images/mobile2.png b/doc/images/mobile2.png deleted file mode 100644 index 6acc33e3..00000000 Binary files a/doc/images/mobile2.png and /dev/null differ diff --git a/doc/images/mobile3.png b/doc/images/mobile3.png deleted file mode 100644 index bc34e465..00000000 Binary files a/doc/images/mobile3.png and /dev/null differ diff --git a/doc/images/mobile4.png b/doc/images/mobile4.png deleted file mode 100644 index f7df5f5e..00000000 Binary files a/doc/images/mobile4.png and /dev/null differ diff --git a/doc/images/mobile5.png b/doc/images/mobile5.png deleted file mode 100644 index 1b0010f8..00000000 Binary files a/doc/images/mobile5.png and /dev/null differ diff --git a/doc/images/mobile6.jpg b/doc/images/mobile6.jpg deleted file mode 100644 index 3e6367cc..00000000 Binary files a/doc/images/mobile6.jpg and /dev/null differ diff --git a/doc/images/mobile7.jpg b/doc/images/mobile7.jpg deleted file mode 100644 index 5a7e52d5..00000000 Binary files a/doc/images/mobile7.jpg and /dev/null differ diff --git a/doc/images/mobile8.jpg b/doc/images/mobile8.jpg deleted file mode 100644 index 7e707ba8..00000000 Binary files a/doc/images/mobile8.jpg and /dev/null differ diff --git a/doc/images/mobile9.jpg b/doc/images/mobile9.jpg deleted file mode 100644 index 7d6ce203..00000000 Binary files a/doc/images/mobile9.jpg and /dev/null differ diff --git a/doc/images/mobile_dashboard_1.PNG b/doc/images/mobile_dashboard_1.PNG deleted file mode 100644 index 09e21aa5..00000000 Binary files a/doc/images/mobile_dashboard_1.PNG and /dev/null differ diff --git a/doc/images/mobile_dashboard_2.PNG b/doc/images/mobile_dashboard_2.PNG deleted file mode 100644 index ee9d54f5..00000000 Binary files a/doc/images/mobile_dashboard_2.PNG and /dev/null differ diff --git a/doc/images/mobile_dashboard_3.PNG b/doc/images/mobile_dashboard_3.PNG deleted file mode 100644 index c0ba38bb..00000000 Binary files a/doc/images/mobile_dashboard_3.PNG and /dev/null differ diff --git a/doc/images/mobile_dashboard_4.PNG b/doc/images/mobile_dashboard_4.PNG deleted file mode 100644 index 81911c63..00000000 Binary files a/doc/images/mobile_dashboard_4.PNG and /dev/null differ diff --git a/doc/images/mobile_dashboard_5.PNG b/doc/images/mobile_dashboard_5.PNG deleted file mode 100644 index a379e489..00000000 Binary files a/doc/images/mobile_dashboard_5.PNG and /dev/null differ diff --git a/doc/images/mobile_dashboard_6.PNG b/doc/images/mobile_dashboard_6.PNG deleted file mode 100644 index afac9488..00000000 Binary files a/doc/images/mobile_dashboard_6.PNG and /dev/null differ diff --git a/doc/images/mobile_dashboard_7.PNG b/doc/images/mobile_dashboard_7.PNG deleted file mode 100644 index 7c7eecd4..00000000 Binary files a/doc/images/mobile_dashboard_7.PNG and /dev/null differ diff --git a/doc/images/mobile_dashboard_8.PNG b/doc/images/mobile_dashboard_8.PNG deleted file mode 100644 index 85208077..00000000 Binary files a/doc/images/mobile_dashboard_8.PNG and /dev/null differ diff --git a/doc/images/mobile_icon.png b/doc/images/mobile_icon.png deleted file mode 100644 index 3621e19b..00000000 Binary files a/doc/images/mobile_icon.png and /dev/null differ diff --git a/doc/images/windows.png b/doc/images/windows.png deleted file mode 100644 index 8bec1b28..00000000 Binary files a/doc/images/windows.png and /dev/null differ diff --git a/i18n/de_DE.json b/i18n/de_DE.json new file mode 100755 index 00000000..59cfa5d0 --- /dev/null +++ b/i18n/de_DE.json @@ -0,0 +1,40 @@ +{ + "plugins\/mobile\/plugin_info\/info.xml": { + "Plugin pour l'application Mobile": "Plugin für den mobilen Einsatz", + "Aucune": "Ohne" + }, + "plugins\/mobile\/desktop\/php\/mobile.php": { + "Ajouter un mobile": "Mobil hinzufügen", + "Rechercher": "Suchen nach", + "Mes Téléphones Mobiles": "Meine Handys", + "Général": "Allgemein", + "Nom de l'équipement mobile": "Mobil Gerätename", + "Nom de l'équipement template": "Name der Vorlage ", + "Objet parent": "Eltern-Objekt", + "Aucun": "Ohne", + "Activer": "aktivieren", + "Visible": "Sichtbar", + "Type de Mobile": "Mobiltyp", + "Utilisateurs": "Benutzer", + "Mobile": "Mobil", + "Homebridge": "Homebridge", + "Informations": "Information", + "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.": "Homebridge ist eine Homekit Software von einem Drittanbieter, um verschiedenen Home-Automation-Systeme miteinander zu verbinden.", + "Dépendances": "Abhängigkeiten", + "Nom": "Name", + "Statut": "Status", + "Installation": "Installation", + "Dernière installation": "Letzte Installation", + "Démon": "Daemon", + "Configuration": "Konfiguration", + "(Re)Démarrer": "(Neu)Start", + "Arrêter": "Beenden", + "Gestion automatique": "Automatische Verwaltung", + "Dernier lancement": "Letzter Start", + "Commande": "Befehl", + "Option": "Option", + "Action": "Aktion", + "Supprimer": "Löschen", + "Sauvegarder": "Speichern" + } +} \ No newline at end of file diff --git a/i18n/en_US.json b/i18n/en_US.json new file mode 100755 index 00000000..c018d6d3 --- /dev/null +++ b/i18n/en_US.json @@ -0,0 +1,40 @@ +{ + "plugins\/mobile\/plugin_info\/info.xml": { + "Plugin pour l'application Mobile": "Plugin pour l'application Mobile", + "Aucune": "None" + }, + "plugins\/mobile\/desktop\/php\/mobile.php": { + "Ajouter un mobile": "Add mobile", + "Rechercher": "Search", + "Mes Téléphones Mobiles": "My owns phones", + "Général": "Main", + "Nom de l'équipement mobile": "Nom de l'équipement mobile", + "Nom de l'équipement template": "Template device name", + "Objet parent": "Parent object", + "Aucun": "None", + "Activer": "Activate", + "Visible": "Visible", + "Type de Mobile": "Type de Mobile", + "Utilisateurs": "Username : ", + "Mobile": "Mobile", + "Homebridge": "Homebridge", + "Informations": "Information", + "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.": "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.", + "Dépendances": "Dependencies", + "Nom": "Name", + "Statut": "Status", + "Installation": "Setup", + "Dernière installation": "Last setup", + "Démon": "Daemon", + "Configuration": "Setup", + "(Re)Démarrer": "(Re)Start", + "Arrêter": "Stop", + "Gestion automatique": "Automatic management", + "Dernier lancement": "Last run", + "Commande": "Command", + "Option": "Option", + "Action": "Action", + "Supprimer": "Delete", + "Sauvegarder": "Save" + } +} \ No newline at end of file diff --git a/i18n/es_ES.json b/i18n/es_ES.json new file mode 100755 index 00000000..565bac0a --- /dev/null +++ b/i18n/es_ES.json @@ -0,0 +1,40 @@ +{ + "plugins\/mobile\/plugin_info\/info.xml": { + "Plugin pour l'application Mobile": "Plugin para la app móvil", + "Aucune": "Ninguna" + }, + "plugins\/mobile\/desktop\/php\/mobile.php": { + "Ajouter un mobile": "Añadir un móvil", + "Rechercher": "Buscar", + "Mes Téléphones Mobiles": "Mis móviles", + "Général": "Principal", + "Nom de l'équipement mobile": "Nombre del dispositivo móvil", + "Nom de l'équipement template": "Nombre del dispositivo plantilla", + "Objet parent": "Objeto padre", + "Aucun": "Ningún", + "Activer": "Activar", + "Visible": "Visible", + "Type de Mobile": "Tipo de móvil", + "Utilisateurs": "Usuarios", + "Mobile": "Móvil", + "Homebridge": "Homebridge", + "Informations": "Informaciones", + "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.": "Homebridge es un software de terceros para interconectar el Homekit con varios sistemas de automatización del hogar.", + "Dépendances": "Dependencias:", + "Nom": "Nombre", + "Statut": "Estado", + "Installation": "Instalación", + "Dernière installation": "Última instalación", + "Démon": "Demonio", + "Configuration": "Configuración ", + "(Re)Démarrer": "(Re)Iniciar", + "Arrêter": "Parar", + "Gestion automatique": "Gestión automática", + "Dernier lancement": "Última ejecución", + "Commande": "Comando", + "Option": "Opción", + "Action": "Acción", + "Supprimer": "Borrar", + "Sauvegarder": "Guardar" + } +} \ No newline at end of file diff --git a/core/i18n/fr_FR.json b/i18n/fr_FR.json old mode 100644 new mode 100755 similarity index 100% rename from core/i18n/fr_FR.json rename to i18n/fr_FR.json diff --git a/i18n/id_ID.json b/i18n/id_ID.json new file mode 100755 index 00000000..13ba0daa --- /dev/null +++ b/i18n/id_ID.json @@ -0,0 +1,40 @@ +{ + "plugins\/mobile\/plugin_info\/info.xml": { + "Plugin pour l'application Mobile": "Plugin pour l'application Mobile", + "Aucune": "Tak ada" + }, + "plugins\/mobile\/desktop\/php\/mobile.php": { + "Ajouter un mobile": "Ajouter un mobile", + "Rechercher": "Mencari", + "Mes Téléphones Mobiles": "Mes Téléphones Mobiles", + "Général": "Umum", + "Nom de l'équipement mobile": "Nom de l'équipement mobile", + "Nom de l'équipement template": "Nama peralatan contoh", + "Objet parent": "Objek induk", + "Aucun": "Tak ada", + "Activer": "Mengaktifkan", + "Visible": "Terlihat", + "Type de Mobile": "Type de Mobile", + "Utilisateurs": "Pengguna", + "Mobile": "Mobile", + "Homebridge": "Homebridge", + "Informations": "Informasi", + "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.": "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.", + "Dépendances": "Dépendances", + "Nom": "Nama", + "Statut": "Status", + "Installation": "Installation", + "Dernière installation": "Dernière installation", + "Démon": "Démon", + "Configuration": "Konfigurasi", + "(Re)Démarrer": "(Re)Démarrer", + "Arrêter": "Berhenti", + "Gestion automatique": "Otomatis manajemen", + "Dernier lancement": "Dernier lancement", + "Commande": "Pesanan", + "Option": "Pilihan", + "Action": "Tindakan", + "Supprimer": "Menghapus", + "Sauvegarder": "Menyimpan" + } +} \ No newline at end of file diff --git a/i18n/it_IT.json b/i18n/it_IT.json new file mode 100755 index 00000000..af8c7373 --- /dev/null +++ b/i18n/it_IT.json @@ -0,0 +1,40 @@ +{ + "plugins\/mobile\/plugin_info\/info.xml": { + "Plugin pour l'application Mobile": "Plugin pour l'application Mobile", + "Aucune": "Nessuno" + }, + "plugins\/mobile\/desktop\/php\/mobile.php": { + "Ajouter un mobile": "Ajouter un mobile", + "Rechercher": "Cerca", + "Mes Téléphones Mobiles": "Mes Téléphones Mobiles", + "Général": "Principale", + "Nom de l'équipement mobile": "Nom de l'équipement mobile", + "Nom de l'équipement template": "Nom de l'équipement template", + "Objet parent": "Oggetto padre", + "Aucun": "Nessuno", + "Activer": "Attivare", + "Visible": "Visibile", + "Type de Mobile": "Type de Mobile", + "Utilisateurs": "Nome utente", + "Mobile": "Mobile", + "Homebridge": "Homebridge", + "Informations": "Informazioni", + "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.": "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.", + "Dépendances": "Dipendenze", + "Nom": "Nome", + "Statut": "Stato", + "Installation": "Installazione", + "Dernière installation": "Ultima installazione", + "Démon": "Demone", + "Configuration": "Configurazione", + "(Re)Démarrer": "(Re)Start", + "Arrêter": "Ferma", + "Gestion automatique": "Gestione automatica", + "Dernier lancement": "Ultima esecuzione", + "Commande": "Comando", + "Option": "Opzione", + "Action": "Azione", + "Supprimer": "Elimina", + "Sauvegarder": "Salva" + } +} \ No newline at end of file diff --git a/i18n/ru_RU.json b/i18n/ru_RU.json new file mode 100755 index 00000000..408518fc --- /dev/null +++ b/i18n/ru_RU.json @@ -0,0 +1,40 @@ +{ + "plugins\/mobile\/plugin_info\/info.xml": { + "Plugin pour l'application Mobile": "Plugin pour l'application Mobile", + "Aucune": "Нет" + }, + "plugins\/mobile\/desktop\/php\/mobile.php": { + "Ajouter un mobile": "Ajouter un mobile", + "Rechercher": "Искать", + "Mes Téléphones Mobiles": "Mes Téléphones Mobiles", + "Général": "Главная", + "Nom de l'équipement mobile": "Nom de l'équipement mobile", + "Nom de l'équipement template": "Название шаблона оборудования", + "Objet parent": "Родительский объект", + "Aucun": "Нет", + "Activer": "Активировать", + "Visible": "Видимый", + "Type de Mobile": "Type de Mobile", + "Utilisateurs": "Пользователи", + "Mobile": "Мобильный", + "Homebridge": "Homebridge", + "Informations": "Информация", + "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.": "Homebridge est un logiciel tiers permettant d'interconnecter Homekit avec différents systèmes domotiques.", + "Dépendances": "Dépendances", + "Nom": "Имя", + "Statut": "Статус", + "Installation": "Установка", + "Dernière installation": "Dernière installation", + "Démon": "Демон", + "Configuration": "Конфигурация", + "(Re)Démarrer": "(Re)Démarrer", + "Arrêter": "Стоп", + "Gestion automatique": "Gestion automatique", + "Dernier lancement": "Последний запуск", + "Commande": "Команда", + "Option": "Опция", + "Action": "Действие", + "Supprimer": "Удалить", + "Sauvegarder": "Сохранить" + } +} \ No newline at end of file diff --git a/plugin_info/configuration.php b/plugin_info/configuration.php deleted file mode 100644 index cf9b42ad..00000000 --- a/plugin_info/configuration.php +++ /dev/null @@ -1,144 +0,0 @@ -. - */ -require_once dirname(__FILE__) . '/../../../core/php/core.inc.php'; -include_file('core', 'authentification', 'php'); -if(!isConnect()) { - include_file('desktop', '404', 'php'); - die(); -} - -sendVarToJs('hasIos', mobile::check_ios()); -?> -
-
- - {{Homebridge}} - -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- - -
-
- - -
-
-
- \ No newline at end of file diff --git a/plugin_info/info.json b/plugin_info/info.json deleted file mode 100644 index a42603b7..00000000 --- a/plugin_info/info.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "id" : "mobile", - "name" : "App Mobile", - "description" : "Plugin pour l'application Mobile", - "icon" : "fa fa-mobile", - "licence" : "AGPL", - "author" : "Jeedom", - "require" : "2.3", - "installation" : "Aucune", - "hasDependency" : 1, - "hasOwnDeamon" : 1, - "category" : "communication", - "version" : "0.4" -} diff --git a/plugin_info/info.xml b/plugin_info/info.xml deleted file mode 100644 index 70f0466a..00000000 --- a/plugin_info/info.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - mobile - App Mobile - Plugin pour l'application Mobile - fa fa-mobile - AGPL - Jeedom - Aucune - 2.3 - 1 - 1 - communication - 0.4 - - diff --git a/resources/install_homebridge.sh b/resources/install_homebridge.sh deleted file mode 100644 index 05aff075..00000000 --- a/resources/install_homebridge.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -touch /tmp/homebridge_in_progress -echo 0 > /tmp/homebridge_in_progress -echo "Lancement de l'installation/mise à jour des dépendances homebridge" - -sudo apt-get install -y avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev -echo 10 > /tmp/homebridge_in_progress -actual=`nodejs -v`; -actual=`nodejs -v`; -echo "Version actuelle : ${actual}" -if [[ $actual == *"4."* || $actual == *"5."* ]] -then - echo "Ok, version suffisante"; -else - echo "KO, version obsolète à upgrader"; - echo "Suppression du Nodejs existant et installation du paquet recommandé" - sudo npm rm -g homebridge - sudo npm rebuild - sudo apt-get -y --purge autoremove nodejs npm - arch=`arch`; - echo 30 > /tmp/homebridge_in_progress - if [[ $arch == "armv6l" ]] - then - echo "Raspberry 1 détecté, utilisation du paquet pour armv6" - sudo rm /etc/apt/sources.list.d/nodesource.list - wget http://node-arm.herokuapp.com/node_latest_armhf.deb - sudo dpkg -i node_latest_armhf.deb - sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs - rm node_latest_armhf.deb - fi - if [[ $arch == "aarch64" ]] - then - wget http://dietpi.com/downloads/binaries/c2/nodejs_5-1_arm64.deb - sudo dpkg -i nodejs_5-1_arm64.deb - sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs - rm nodejs_5-1_arm64.deb - fi - if [[ $arch != "aarch64" && $arch != "armv6l" ]] - then - echo "Utilisation du dépot officiel" - curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - - sudo apt-get install -y nodejs - fi - - new=`nodejs -v`; - echo "Version actuelle : ${new}" -fi -echo 40 > /tmp/homebridge_in_progress -sudo npm install -g request -echo 50 > /tmp/homebridge_in_progress -sudo rm -Rf /usr/lib/node_modules/homebridge-jeedom/.git -echo 60 > /tmp/homebridge_in_progress -sudo npm install -g --unsafe-perm homebridge -echo 70 > /tmp/homebridge_in_progress -sudo npm install -g https://github.com/jeedom/homebridge-jeedom -echo 80 > /tmp/homebridge_in_progress -echo "Installation Homebridge OK" -echo 100 > /tmp/homebridge_in_progress -rm /tmp/homebridge_in_progress \ No newline at end of file diff --git a/core/template/dashboard/cmd.action.other.templeteTemplate.html b/template/dashboard/cmd.action.other.templeteTemplate.html old mode 100644 new mode 100755 similarity index 100% rename from core/template/dashboard/cmd.action.other.templeteTemplate.html rename to template/dashboard/cmd.action.other.templeteTemplate.html diff --git a/core/template/images/alarm/alarm1.jpg b/template/images/alarm/alarm1.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/alarm/alarm1.jpg rename to template/images/alarm/alarm1.jpg diff --git a/core/template/images/alarm/alarme.jpg b/template/images/alarm/alarme.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/alarm/alarme.jpg rename to template/images/alarm/alarme.jpg diff --git a/core/template/images/camera/camera.jpg b/template/images/camera/camera.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/camera/camera.jpg rename to template/images/camera/camera.jpg diff --git a/core/template/images/camera/camera1.jpg b/template/images/camera/camera1.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/camera/camera1.jpg rename to template/images/camera/camera1.jpg diff --git a/core/template/images/netatmothermostat/thermostat.jpg b/template/images/netatmothermostat/thermostat.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/netatmothermostat/thermostat.jpg rename to template/images/netatmothermostat/thermostat.jpg diff --git a/core/template/images/netatmothermostat/thermostat1.jpg b/template/images/netatmothermostat/thermostat1.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/netatmothermostat/thermostat1.jpg rename to template/images/netatmothermostat/thermostat1.jpg diff --git a/core/template/images/thermostat/thermostat.jpg b/template/images/thermostat/thermostat.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/thermostat/thermostat.jpg rename to template/images/thermostat/thermostat.jpg diff --git a/core/template/images/thermostat/thermostat1.jpg b/template/images/thermostat/thermostat1.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/thermostat/thermostat1.jpg rename to template/images/thermostat/thermostat1.jpg diff --git a/core/template/images/weather/weather.jpg b/template/images/weather/weather.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/weather/weather.jpg rename to template/images/weather/weather.jpg diff --git a/core/template/images/weather/weather1.jpg b/template/images/weather/weather1.jpg old mode 100644 new mode 100755 similarity index 100% rename from core/template/images/weather/weather1.jpg rename to template/images/weather/weather1.jpg diff --git a/core/template/mobile/cmd.action.other.templeteTemplate.html b/template/mobile/cmd.action.other.templeteTemplate.html old mode 100644 new mode 100755 similarity index 100% rename from core/template/mobile/cmd.action.other.templeteTemplate.html rename to template/mobile/cmd.action.other.templeteTemplate.html