Bonjour,
J’utilise depuis pas mal de temps le plugin Diagral. Merci pour le travail.
Tout marchait bien mais aujourd’hui je viens de me rendre compte que dans la partie scénario, il n’y a plus aucun scénario.
J’ai tenté la commande Force Scenarios Refresh mais ca ne change rien. En haut de la page, j’ai le message :
array(2) { ["message"]=> string(16) "Access is denied" ["details"]=> NULL } {"state":"ok","result":"0"}
J’ai regardé les logs, on dirait que la liste des scénarios est bien récupérée :
[2021-03-03 20:55:34][DEBUG] : Contenu du fichier '/var/www/html/plugins/Diagral_eOne/data/scenarios_0.json' array ( 'lastModified' => '2021-03-03 20:55:34', 'scenarios' => array ( 'Alarme Incendie' => array ( 0 => array ( 'scenarioGroup' => 'manualOrEventScenarios', 'type' => 'MANUAL', 'isActive' => true, 'id' => 1, ), ), 'Alarme Silencieuse' => array ( 0 => array ( 'scenarioGroup' => 'manualOrEventScenarios', 'type' => 'MANUAL', 'isActive' => true, 'id' => 2, ), ), 'Alarme Parking' => array ( 0 => array ( 'scenarioGroup' => 'manualOrEventScenarios', 'type' => 'MANUAL', 'isActive' => true, 'id' => 3, ), ), ), )
[2021-03-03 20:55:34][DEBUG] : generateScenariosPossibilities::Possibilities array ( 0 => 'Alarme Incendie', 1 => 'Alarme Silencieuse', 2 => 'Alarme Parking', )
[2021-03-03 20:55:34][DEBUG] : generateSelect::Start
[2021-03-03 20:55:34][DEBUG] : generateSelect::Return array ( 0 => 'Alarme Incendie', 1 => 'Alarme Silencieuse', 2 => 'Alarme Parking', )
[2021-03-03 20:55:34][DEBUG] : postSave::UpdateContent::GetReturnFunction 0|Alarme Incendie;1|Alarme Silencieuse;2|Alarme Parking
[2021-03-03 20:55:34][DEBUG] : postSave::UpdateContent::NewCommand array ( 'name' => 'Lancement Scenario', 'type' => 'action'
Je suis sur Jeedom 4.1.20 et j’utlise la version beta 2021-02-14 17:11:18
Merci de votre aideDiagral_eOne.txt (334,5 Ko)