@@ -2452,9 +2452,9 @@ private static function executeActionNewEvent($eqLogicId, $event)
24522452 }
24532453
24542454 if (!$ conditionIsActived ) {
2455- log::add ("frigateActions " , 'debug ' , "║ Commande(s) exécutée(s) " );
2455+ log::add ("frigateActions " , 'debug ' , "║ Commande en cour d'éxècution. " );
24562456 } elseif ($ conditionIsActived && $ actionForced ) {
2457- log::add ("frigateActions " , 'debug ' , "║ Commande(s) exécutée(s) car la condition est ignorée " );
2457+ log::add ("frigateActions " , 'debug ' , "║ Commande en cour d'éxècution car la condition est ignorée " );
24582458 } else {
24592459 log::add ("frigateActions " , 'info ' , "║ " . $ eqLogic ->getHumanName () . ' : actions non exécutées car ' . $ conditionIf . ' est vrai. ' );
24602460 log::add ("frigateActions " , 'debug ' , "╠════════════════════════════════════ " );
@@ -2488,6 +2488,7 @@ private static function executeActionNewEvent($eqLogicId, $event)
24882488 scenarioExpression::createAndExec ('action ' , $ cmd , $ options );
24892489 } else {
24902490 log::add ("frigateActions " , 'debug ' , "║ Le clip n'est pas disponible, actions non éxècutée. " );
2491+ log::add ("frigateActions " , 'debug ' , "╠════════════════════════════════════ " );
24912492 }
24922493 } elseif (strpos ($ optionsJson , '#snapshot# ' ) !== false || strpos ($ optionsJson , '#snapshot_path# ' ) !== false ) {
24932494 if ($ hasSnapshot == 1 ) {
@@ -2496,14 +2497,14 @@ private static function executeActionNewEvent($eqLogicId, $event)
24962497 scenarioExpression::createAndExec ('action ' , $ cmd , $ options );
24972498 } else {
24982499 log::add ("frigateActions " , 'debug ' , "║ Le snapshot n'est pas disponible, actions non éxècutée. " );
2500+ log::add ("frigateActions " , 'debug ' , "╠════════════════════════════════════ " );
24992501 }
25002502 } else {
25012503 log::add ("frigateActions " , 'debug ' , "║ ACTION OTHER: " . $ optionsJson );
25022504 // log::add("frigateActions", 'debug', "╠════════════════════════════════════");
25032505 scenarioExpression::createAndExec ('action ' , $ cmd , $ options );
25042506 }
25052507 }
2506- log::add ("frigateActions " , 'debug ' , "╠════════════════════════════════════ " );
25072508 log::add ("frigateActions " , 'debug ' , "╚═════════════════════════════ :b:END " . $ type . ":/b: ═══════════════════════════════════╝ " );
25082509 }
25092510 }
0 commit comments