Bonjour,
J’ai un scénario qui me permet de vérifier que Jeedom est « toujours vivant » :
[
{
"id": 73,
"name": null,
"type": "if",
"options": [],
"order": 0,
"subElements": [
{
"id": 160,
"name": null,
"scenarioElement_id": 73,
"type": "if",
"subtype": "condition",
"options": {
"enable": "1",
"allowRepeatCondition": "0"
},
"order": 0,
"expressions": [
{
"id": 162,
"scenarioSubElement_id": 160,
"type": "condition",
"subtype": null,
"expression": "(variable(Absence,0) == 0)",
"options": [],
"order": 0
}
]
},
{
"id": 161,
"name": null,
"scenarioElement_id": 73,
"type": "then",
"subtype": "action",
"options": [],
"order": 1,
"expressions": [
{
"id": 163,
"scenarioSubElement_id": 161,
"type": "action",
"subtype": null,
"expression": "#[Syst\u00e8me][jeedom][alive]#",
"options": {
"enable": "1",
"background": "0"
},
"order": 0
}
]
},
{
"id": 162,
"name": null,
"scenarioElement_id": 73,
"type": "else",
"subtype": "action",
"options": [],
"order": 2,
"expressions": []
}
]
}
]
Ce scénario tourne normalement toutes les 5 minutes :
*/5 * * * *
De temps à autre, le Message Center me dit :
Le log scenario_execution est (curieusement) vide…
Quant au log du scénario en question, il contient (au voisinage du timestamp du message) :
[2025-12-24 00:50:06][SCENARIO] -- Start: . Tags : {"#trigger#":"schedule","#trigger_name#":"","#trigger_id#":"","#trigger_message#":"Scenario executed automatically on schedule","#trigger_value#":null}
[2025-12-24 00:50:07][SCENARIO] - Execution of [condition] sub-element: if (variable(Absence,0) == 0)
[2025-12-24 00:50:07][SCENARIO] Condition evaluation : [(0 == 0)] = True
[2025-12-24 00:50:07][SCENARIO] - Execution of [action] sub-element: then
[2025-12-24 00:50:08][SCENARIO] Command execution: [Système][jeedom][alive]
[2025-12-24 00:50:08][SCENARIO] Correct end of the scenario
------------------------------------
[2025-12-24 01:14:01][SCENARIO] The last execution of the scenario did not start. Check the scenario_execution log for execution at 2025-12-24 00:55:04.
------------------------------------
[2025-12-24 00:55:06][SCENARIO] -- Start: . Tags : {"#trigger#":"schedule","#trigger_name#":"","#trigger_id#":"","#trigger_message#":"Scenario executed automatically on schedule","#trigger_value#":null}
[2025-12-24 01:14:04][SCENARIO] - Execution of [condition] sub-element: if (variable(Absence,0) == 0)
[2025-12-24 01:14:07][SCENARIO] Condition evaluation : [(0 == 0)] = True
[2025-12-24 01:14:07][SCENARIO] - Execution of [action] sub-element: then
[2025-12-24 01:14:10][SCENARIO] Command execution: [Système][jeedom][alive]
[2025-12-24 01:14:15][SCENARIO] Correct end of the scenario
------------------------------------
[2025-12-24 01:14:08][SCENARIO] -- Start: . Tags : {"#trigger#":"schedule","#trigger_name#":"","#trigger_id#":"","#trigger_message#":"Scenario executed automatically on schedule","#trigger_value#":null}
[2025-12-24 01:14:14][SCENARIO] - Execution of [condition] sub-element: if (variable(Absence,0) == 0)
[2025-12-24 01:14:15][SCENARIO] Condition evaluation : [(0 == 0)] = True
[2025-12-24 01:14:15][SCENARIO] - Execution of [action] sub-element: then
[2025-12-24 01:14:15][SCENARIO] Command execution: [Système][jeedom][alive]
[2025-12-24 01:14:15][SCENARIO] Correct end of the scenario
------------------------------------
[2025-12-24 01:15:07][SCENARIO] -- Start: . Tags : {"#trigger#":"schedule","#trigger_name#":"","#trigger_id#":"","#trigger_message#":"Scenario executed automatically on schedule","#trigger_value#":null}
[2025-12-24 01:15:07][SCENARIO] - Execution of [condition] sub-element: if (variable(Absence,0) == 0)
[2025-12-24 01:15:08][SCENARIO] Condition evaluation : [(0 == 0)] = True
[2025-12-24 01:15:08][SCENARIO] - Execution of [action] sub-element: then
[2025-12-24 01:15:08][SCENARIO] Command execution: [Système][jeedom][alive]
[2025-12-24 01:15:08][SCENARIO] Correct end of the scenario
------------------------------------
[2025-12-24 01:20:08][SCENARIO] -- Start: . Tags : {"#trigger#":"schedule","#trigger_name#":"","#trigger_id#":"","#trigger_message#":"Scenario executed automatically on schedule","#trigger_value#":null}
[2025-12-24 01:20:09][SCENARIO] - Execution of [condition] sub-element: if (variable(Absence,0) == 0)
[2025-12-24 01:20:09][SCENARIO] Condition evaluation : [(0 == 0)] = True
[2025-12-24 01:20:09][SCENARIO] - Execution of [action] sub-element: then
[2025-12-24 01:20:09][SCENARIO] Command execution: [Système][jeedom][alive]
[2025-12-24 01:20:10][SCENARIO] Correct end of the scenario
Pourquoi l’exécution du scénario à 00:55 semble-t-elle s’être terminée à… 01:14 ?
Merci d’avance pour vos pistes…



