[2021-08-18 20:45:49][DEBUG] : generateScenariosJson::Start [2021-08-18 20:45:49][DEBUG] : setDiagralEnv::1::Start Diagral Environnement [2021-08-18 20:45:59][DEBUG] : setDiagralEnv::UpdateAvailable : 2 [2021-08-18 20:45:59][DEBUG] : setDiagralEnv::getVersions : array ( 'box' => '1.5.14', 'boxRadio' => '13', 'plugKnx' => '1.1.20', 'rawVersions' => 'V1.5.14_V13_V1.1.20', 'central' => '5.7.2', 'centralRadio' => '11', ) [2021-08-18 20:45:59][DEBUG] : generateScenariosJson::ListScenariosarray ( ) [2021-08-18 20:45:59][DEBUG] : generateScenariosJson::1::Success [2021-08-18 20:45:59][DEBUG] : writeConfigFile::/var/www/html/plugins/Diagral_eOne/data/scenarios_1.json [2021-08-18 20:45:59][INFO] : writeConfigFile::Success /var/www/html/plugins/Diagral_eOne/data/scenarios_1.json [2021-08-18 20:45:59][DEBUG] : loadConfigFile::/var/www/html/plugins/Diagral_eOne/core/config/cmdConfig/centrale.config.json [2021-08-18 20:45:59][DEBUG] : Contenu du fichier '/var/www/html/plugins/Diagral_eOne/core/config/cmdConfig/centrale.config.json' array ( 'eqLogic' => array ( 'description' => 'Defini les valeurs par defaut d\'un device', 'configuration' => array ( 'SetModePresent' => 'NOT', 'SetModeAbsent' => 'NOT', 'SetModeNuit' => 'NOT', ), ), 'commands' => array ( 0 => array ( 'name' => 'Rafraichir', 'description' => 'Lance un refresh de l\'alarme', 'logicalId' => 'refresh', 'type' => 'action', 'subtype' => 'other', 'isVisible' => 1, 'isDashboard' => 1, 'display' => array ( 'icon' => '', ), ), 1 => array ( 'name' => 'Statut', 'description' => 'Affiche 0 si alarme désactivée et 1 si alarme activée', 'logicalId' => 'status', 'type' => 'info', 'subtype' => 'binary', 'display' => array ( 'generic_type' => 'ALARM_ENABLE_STATE', ), 'isVisible' => 1, 'isHistorized' => 1, 'isDashboard' => 1, ), 2 => array ( 'name' => 'Mode', 'description' => 'Affiche le mode actuel de l\'alarme (ex. off / presence / group / tempogroup)', 'logicalId' => 'mode', 'type' => 'info', 'subtype' => 'string', 'display' => array ( 'generic_type' => 'ALARM_MODE', ), 'isVisible' => 1, 'isHistorized' => 1, 'isDashboard' => 1, ), 3 => array ( 'name' => 'Alarme déclenchée', 'description' => 'Affiche 0 si l\'alarme n\'est pas déclenchée et 1 si déclenchée', 'logicalId' => 'alarm', 'type' => 'info', 'subtype' => 'binary', 'display' => array ( 'generic_type' => 'ALARM_STATE', ), 'isVisible' => 1, 'isHistorized' => 1, 'isDashboard' => 1, ), 4 => array ( 'name' => 'Mises à jour disponibles', 'description' => 'Affiche le nombre de mises à jour disponibles', 'logicalId' => 'updates_available', 'type' => 'info', 'subtype' => 'numeric', 'template' => array ( 'dashboard' => 'core::badge', ), 'isVisible' => 1, 'isHistorized' => 0, 'isDashboard' => 1, ), 5 => array ( 'name' => 'Groupes Actifs', 'description' => 'Affiche le nom des groupes actifs', 'logicalId' => 'groups_enable', 'type' => 'info', 'subtype' => 'string', 'isVisible' => 1, 'isHistorized' => 0, 'isDashboard' => 1, ), 6 => array ( 'name' => 'Désactivation Total', 'description' => 'Désactive complètement l\'alarme', 'logicalId' => 'total_disarm', 'type' => 'action', 'subtype' => 'other', 'display' => array ( 'generic_type' => 'ALARM_RELEASED', ), 'isVisible' => 1, 'isDashboard' => 1, ), 7 => array ( 'name' => 'Désactivation Partielle', 'description' => 'Désactive seulement certains groupes actifs de l\'alarme', 'logicalId' => 'disarm_partial', 'type' => 'action', 'subtype' => 'select', 'isVisible' => 1, 'configuration' => array ( 'listValue' => '1|FAKE;2|FAKE;3|FAKE', 'function' => 'listValue::generateGroupsList', ), 'masterCodeNeed' => 1, 'isDashboard' => 0, ), 8 => array ( 'name' => 'Activation Totale', 'description' => 'Désactive totalement l\'alarme', 'logicalId' => 'total_arm', 'type' => 'action', 'subtype' => 'other', 'display' => array ( 'generic_type' => 'ALARM_ARMED', ), 'homebridge' => array ( 'homebridge_mode' => 'SetModeAbsent', 'mode_status' => 'group', ), 'isVisible' => 1, 'isDashboard' => 1, ), 9 => array ( 'name' => 'Activation Mode Presence', 'description' => 'Activation de l\'alarme en mode presence', 'logicalId' => 'arm_presence', 'type' => 'action', 'subtype' => 'other', 'display' => array ( 'generic_type' => 'ALARM_SET_MODE', ), 'homebridge' => array ( 'homebridge_mode' => 'SetModeNuit', 'mode_status' => 'presence', ), 'isVisible' => 1, 'isDashboard' => 1, ), 10 => array ( 'name' => 'Activation Partielle', 'description' => 'Active uniquement certains groupes de l\'alarme', 'logicalId' => 'arm_partial', 'type' => 'action', 'subtype' => 'select', 'configuration' => array ( 'listValue' => '1|FAKE;2|FAKE;3|FAKE', 'function' => 'listValue::generateGroupsPossibilities', ), 'masterCodeNeed' => 1, 'isVisible' => 1, 'isDashboard' => 0, ), 11 => array ( 'name' => 'Lancement Scenario', 'type' => 'action', 'subtype' => 'select', 'isVisible' => 1, 'configuration' => array ( 'listValue' => '1|FAKE;2|FAKE;3|FAKE', 'function' => 'listValue::generateScenariosPossibilities', ), 'logicalId' => 'launch_scenario', 'masterCodeNeed' => 1, 'isDashboard' => 0, ), 12 => array ( 'name' => 'Importer Message', 'type' => 'action', 'subtype' => 'message', 'isVisible' => 0, 'display' => array ( 'title_placeholder' => 'Options', 'message_placeholder' => 'Message', ), 'logicalId' => 'import_message', 'isDashboard' => 0, ), 13 => array ( 'name' => 'IMPORT - Dernier Message', 'type' => 'info', 'subtype' => 'string', 'isVisible' => 0, 'isHistorized' => 0, 'logicalId' => 'imported_last_message', 'isDashboard' => 0, ), 14 => array ( 'name' => 'IMPORT - Derniere action', 'type' => 'info', 'subtype' => 'string', 'isVisible' => 0, 'isHistorized' => 0, 'logicalId' => 'imported_last_action', 'isDashboard' => 0, ), 15 => array ( 'name' => 'IMPORT - Derniere methode', 'type' => 'info', 'subtype' => 'string', 'isVisible' => 0, 'isHistorized' => 0, 'logicalId' => 'imported_last_method', 'isDashboard' => 0, ), 16 => array ( 'name' => 'IMPORT - Dernier utilisateur', 'type' => 'info', 'subtype' => 'string', 'isVisible' => 0, 'isHistorized' => 0, 'logicalId' => 'imported_last_user', 'isDashboard' => 0, ), 17 => array ( 'name' => 'Force Groups Refresh', 'type' => 'action', 'subtype' => 'other', 'isVisible' => 0, 'logicalId' => 'force_groups_refresh_json', 'isDashboard' => 0, ), 18 => array ( 'name' => 'Force Scenarios Refresh', 'type' => 'action', 'subtype' => 'other', 'isVisible' => 0, 'logicalId' => 'force_scenarios_refresh_json', 'isDashboard' => 0, ), ), ) [2021-08-18 20:45:59][DEBUG] : createCmd::EqTemplate array ( 'description' => 'Defini les valeurs par defaut d\'un device', 'configuration' => array ( 'SetModePresent' => 'NOT', 'SetModeAbsent' => 'NOT', 'SetModeNuit' => 'NOT', ), ) [2021-08-18 20:45:59][INFO] : postSave::updateCmd refresh (Rafraichir) with order 0 [2021-08-18 20:45:59][INFO] : postSave::updateCmd status (Statut) with order 1 [2021-08-18 20:45:59][INFO] : postSave::updateCmd mode (Mode) with order 2 [2021-08-18 20:45:59][INFO] : postSave::updateCmd alarm (Alarme déclenchée) with order 3 [2021-08-18 20:45:59][INFO] : postSave::updateCmd updates_available (Mises à jour disponibles) with order 4 [2021-08-18 20:45:59][INFO] : postSave::updateCmd groups_enable (Groupes Actifs) with order 5 [2021-08-18 20:45:59][INFO] : postSave::updateCmd total_disarm (Désactivation Total) with order 6 [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::disarm_partial listValue with function generateGroupsList [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::disarm_partialVerifyFunctionCallable generateGroupsList TRUE [2021-08-18 20:45:59][DEBUG] : generateGroupsList::Start [2021-08-18 20:45:59][DEBUG] : loadConfigFile::/var/www/html/plugins/Diagral_eOne/data/groups_1.json [2021-08-18 20:45:59][DEBUG] : Contenu du fichier '/var/www/html/plugins/Diagral_eOne/data/groups_1.json' array ( 'lastModified' => '2021-08-18 19:49:36', 'groups' => array ( 0 => array ( 'groupID' => 1, 'groupName' => 'Périmetrique', ), 1 => array ( 'groupID' => 2, 'groupName' => 'Volumétrique', ), 2 => array ( 'groupID' => 3, 'groupName' => 'Parking', ), ), ) [2021-08-18 20:45:59][DEBUG] : generateGroupsList::Content array ( 1 => 'Périmetrique', 2 => 'Volumétrique', 3 => 'Parking', ) [2021-08-18 20:45:59][DEBUG] : generateSelect::Start [2021-08-18 20:45:59][DEBUG] : generateSelect::Return array ( 1 => 'Périmetrique', 2 => 'Volumétrique', 3 => 'Parking', ) [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::GetReturnFunction 1|Périmetrique;2|Volumétrique;3|Parking [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::NewCommand array ( 'name' => 'Désactivation Partielle', 'description' => 'Désactive seulement certains groupes actifs de l\'alarme', 'logicalId' => 'disarm_partial', 'type' => 'action', 'subtype' => 'select', 'isVisible' => 1, 'configuration' => array ( 'listValue' => '1|Périmetrique;2|Volumétrique;3|Parking', ), 'masterCodeNeed' => 1, 'isDashboard' => 0, ) [2021-08-18 20:45:59][INFO] : postSave::updateCmd disarm_partial (Désactivation Partielle) with order 7 [2021-08-18 20:45:59][INFO] : postSave::updateCmd total_arm (Activation Totale) with order 8 [2021-08-18 20:45:59][DEBUG] : HomeBridge::applyCommand SetModeAbsent / group / 41886 [2021-08-18 20:45:59][DEBUG] : HomeBridge::EqConfiguration array ( 'systemid' => '1', 'type' => 'centrale', 'templateDiagral' => '1', 'createtime' => '2021-08-18 19:48:54', 'SetModePresent' => 'NOT', 'SetModeAbsent' => '41886|group', 'SetModeNuit' => 'NOT', 'updatetime' => '2021-08-18 20:44:40', 'mastercode' => '659328', 'secureDisarm' => '0', 'autoDlVideo' => '0', 'notificationPlugin' => '', 'notificationEqLogic' => '', 'badge1-alias' => '', 'badge2-alias' => '', 'badge3-alias' => '', 'badge4-alias' => '', 'badge5-alias' => '', 'badge6-alias' => '', 'badge7-alias' => '', 'badge8-alias' => '', ) [2021-08-18 20:45:59][INFO] : postSave::updateCmd arm_presence (Activation Mode Presence) with order 9 [2021-08-18 20:45:59][DEBUG] : HomeBridge::applyCommand SetModeNuit / presence / 41887 [2021-08-18 20:45:59][DEBUG] : HomeBridge::EqConfiguration array ( 'systemid' => '1', 'type' => 'centrale', 'templateDiagral' => '1', 'createtime' => '2021-08-18 19:48:54', 'SetModePresent' => 'NOT', 'SetModeAbsent' => '41886|group', 'SetModeNuit' => '41887|presence', 'updatetime' => '2021-08-18 20:44:40', 'mastercode' => '659328', 'secureDisarm' => '0', 'autoDlVideo' => '0', 'notificationPlugin' => '', 'notificationEqLogic' => '', 'badge1-alias' => '', 'badge2-alias' => '', 'badge3-alias' => '', 'badge4-alias' => '', 'badge5-alias' => '', 'badge6-alias' => '', 'badge7-alias' => '', 'badge8-alias' => '', ) [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::arm_partial listValue with function generateGroupsPossibilities [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::arm_partialVerifyFunctionCallable generateGroupsPossibilities TRUE [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Start [2021-08-18 20:45:59][DEBUG] : loadConfigFile::/var/www/html/plugins/Diagral_eOne/data/groups_1.json [2021-08-18 20:45:59][DEBUG] : Contenu du fichier '/var/www/html/plugins/Diagral_eOne/data/groups_1.json' array ( 'lastModified' => '2021-08-18 19:49:36', 'groups' => array ( 0 => array ( 'groupID' => 1, 'groupName' => 'Périmetrique', ), 1 => array ( 'groupID' => 2, 'groupName' => 'Volumétrique', ), 2 => array ( 'groupID' => 3, 'groupName' => 'Parking', ), ), ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::GroupList array ( 0 => 'Périmetrique', 1 => 'Volumétrique', 2 => 'Parking', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Possibility array ( 0 => 'Périmetrique', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Possibility array ( 0 => 'Volumétrique', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Possibility array ( 0 => 'Volumétrique', 1 => 'Périmetrique', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Possibility array ( 0 => 'Parking', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Possibility array ( 0 => 'Parking', 1 => 'Périmetrique', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Possibility array ( 0 => 'Parking', 1 => 'Volumétrique', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::Possibility array ( 0 => 'Parking', 1 => 'Volumétrique', 2 => 'Périmetrique', ) [2021-08-18 20:45:59][DEBUG] : generateGroupsPossibilities::GroupedPossibilities array ( 0 => 'Parking', 1 => 'Périmetrique', 2 => 'Volumétrique', 3 => 'Parking + Périmetrique', 4 => 'Parking + Volumétrique', 5 => 'Volumétrique + Périmetrique', 6 => 'Parking + Volumétrique + Périmetrique', ) [2021-08-18 20:45:59][DEBUG] : generateSelect::Start [2021-08-18 20:45:59][DEBUG] : generateSelect::Return array ( 0 => 'Parking', 1 => 'Périmetrique', 2 => 'Volumétrique', 3 => 'Parking + Périmetrique', 4 => 'Parking + Volumétrique', 5 => 'Volumétrique + Périmetrique', 6 => 'Parking + Volumétrique + Périmetrique', ) [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::GetReturnFunction 0|Parking;1|Périmetrique;2|Volumétrique;3|Parking + Périmetrique;4|Parking + Volumétrique;5|Volumétrique + Périmetrique;6|Parking + Volumétrique + Périmetrique [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::NewCommand array ( 'name' => 'Activation Partielle', 'description' => 'Active uniquement certains groupes de l\'alarme', 'logicalId' => 'arm_partial', 'type' => 'action', 'subtype' => 'select', 'configuration' => array ( 'listValue' => '0|Parking;1|Périmetrique;2|Volumétrique;3|Parking + Périmetrique;4|Parking + Volumétrique;5|Volumétrique + Périmetrique;6|Parking + Volumétrique + Périmetrique', ), 'masterCodeNeed' => 1, 'isVisible' => 1, 'isDashboard' => 0, ) [2021-08-18 20:45:59][INFO] : postSave::updateCmd arm_partial (Activation Partielle) with order 10 [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::launch_scenario listValue with function generateScenariosPossibilities [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::launch_scenarioVerifyFunctionCallable generateScenariosPossibilities TRUE [2021-08-18 20:45:59][DEBUG] : generateScenariosPossibilities::Start [2021-08-18 20:45:59][DEBUG] : loadConfigFile::/var/www/html/plugins/Diagral_eOne/data/scenarios_1.json [2021-08-18 20:45:59][DEBUG] : Contenu du fichier '/var/www/html/plugins/Diagral_eOne/data/scenarios_1.json' array ( 'lastModified' => '2021-08-18 20:45:59', 'scenarios' => array ( ), ) [2021-08-18 20:45:59][DEBUG] : generateScenariosPossibilities::Possibilities array ( ) [2021-08-18 20:45:59][DEBUG] : generateSelect::Start [2021-08-18 20:45:59][DEBUG] : generateSelect::Return array ( ) [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::GetReturnFunction [2021-08-18 20:45:59][DEBUG] : postSave::UpdateContent::NewCommand array ( 'name' => 'Lancement Scenario', 'type' => 'action', 'subtype' => 'select', 'isVisible' => 1, 'configuration' => array ( 'listValue' => '', ), 'logicalId' => 'launch_scenario', 'masterCodeNeed' => 1, 'isDashboard' => 0, ) [2021-08-18 20:45:59][INFO] : postSave::updateCmd launch_scenario (Lancement Scenario) with order 11 [2021-08-18 20:45:59][INFO] : postSave::updateCmd import_message (Importer Message) with order 12 [2021-08-18 20:45:59][INFO] : postSave::updateCmd imported_last_message (IMPORT - Dernier Message) with order 13 [2021-08-18 20:45:59][INFO] : postSave::updateCmd imported_last_action (IMPORT - Derniere action) with order 14 [2021-08-18 20:45:59][INFO] : postSave::updateCmd imported_last_method (IMPORT - Derniere methode) with order 15 [2021-08-18 20:45:59][INFO] : postSave::updateCmd imported_last_user (IMPORT - Dernier utilisateur) with order 16 [2021-08-18 20:45:59][INFO] : postSave::updateCmd force_groups_refresh_json (Force Groups Refresh) with order 17 [2021-08-18 20:45:59][INFO] : postSave::updateCmd force_scenarios_refresh_json (Force Scenarios Refresh) with order 18