Questions fonctionnement et logs plugin Agenda

Bonjour à tous,

J’ai besoin de vos lumières sur une galère que j’ai depuis des semaines et que je n’arrive pas à régler…
Je vous explique le contexte :
-J’ai suivi un tuto pour gérer de façon automatique le chauffage ou climatisation de ma maison avec ma pompe à chaleur réversible.
-Cela cumule des agendas :


-Chaque agenda est activé en fonction du fait que je sois au travail, en vacances, en week-end ou absent. Chaque agenda activé positionnent les mode Confort, Nuit, Eco, Absent en fonction des jours et des heures, exemple :

-Les actions de ces agendas forcent l’état de deux thermostats Séjour et Salon :

Mais le souci est que mes thermostats ne passent pas tout le temps dans le bon mode automatiquement en fonction des agendas…
Par exemple, ce matin à 06h00 ils auraient du passer en CFT (confort) puis à 08h00 en ABS (Absent), mais seul celui du séjour a bien fait les switchs :
calendrier

J’ai regardé les logs du plugin Agenda à 06h et 08h, mais j’ai du mal à les analyser

[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation à : 2020-06-15 08:00:00 de  : calendar_event Object (     [id:calendar_event:private] => 100     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"CFT@6h - ABS@8h","icon":"<i class=\"icon jeedomapp-fire\"><\/i>","color":"#ff0000","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2583#"}],"in_progress":0}     [startDate:calendar_event:private] => 2020-04-13 06:00:00     [endDate:calendar_event:private] => 2020-04-13 08:00:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 1                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Lancement de l'evenement : calendar_event Object (     [id:calendar_event:private] => 100     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"CFT@6h - ABS@8h","icon":"<i class=\"icon jeedomapp-fire\"><\/i>","color":"#ff0000","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2583#"}],"in_progress":0}     [startDate:calendar_event:private] => 2020-04-13 06:00:00     [endDate:calendar_event:private] => 2020-04-13 08:00:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 1                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Recherche de l'action à faire (start ou end)
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Action de début
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation à : 2020-06-15 22:00:00 de  : calendar_event Object (     [id:calendar_event:private] => 105     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"NUIT@22h - CFT@06h","icon":"<i class=\"icon nature-night2\"><\/i>","color":"#80ff00","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2584#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"in_progress":1}     [startDate:calendar_event:private] => 2020-04-13 22:00:00     [endDate:calendar_event:private] => 2020-04-14 06:00:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 1                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Lancement de l'evenement : calendar_event Object (     [id:calendar_event:private] => 105     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"NUIT@22h - CFT@06h","icon":"<i class=\"icon nature-night2\"><\/i>","color":"#80ff00","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2584#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"in_progress":1}     [startDate:calendar_event:private] => 2020-04-13 22:00:00     [endDate:calendar_event:private] => 2020-04-14 06:00:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 1                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Recherche de l'action à faire (start ou end)
[2020-06-15 06:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Action de fin



[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation à : 2020-06-16 06:00:00 de  : calendar_event Object (     [id:calendar_event:private] => 100     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"CFT@6h - ABS@8h","icon":"<i class=\"icon jeedomapp-fire\"><\/i>","color":"#ff0000","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2583#"}],"in_progress":1}     [startDate:calendar_event:private] => 2020-04-13 06:00:00     [endDate:calendar_event:private] => 2020-04-13 08:00:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 1                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Lancement de l'evenement : calendar_event Object (     [id:calendar_event:private] => 100     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"CFT@6h - ABS@8h","icon":"<i class=\"icon jeedomapp-fire\"><\/i>","color":"#ff0000","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2583#"}],"in_progress":1}     [startDate:calendar_event:private] => 2020-04-13 06:00:00     [endDate:calendar_event:private] => 2020-04-13 08:00:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 1                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Recherche de l'action à faire (start ou end)
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Action de fin
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail] Reprogrammation à : 2020-06-15 16:30:00 de  : calendar_event Object (     [id:calendar_event:private] => 101     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"ABS@8h - CFT@16h30","icon":"<i class=\"icon jeedomapp-lock-home\"><\/i>","color":"#2980b9","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2583#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"in_progress":0}     [startDate:calendar_event:private] => 2020-04-13 08:00:00     [endDate:calendar_event:private] => 2020-04-13 16:30:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 0                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Lancement de l'evenement : calendar_event Object (     [id:calendar_event:private] => 101     [eqLogic_id:calendar_event:private] => 222     [cmd_param:calendar_event:private] => {"eventName":"ABS@8h - CFT@16h30","icon":"<i class=\"icon jeedomapp-lock-home\"><\/i>","color":"#2980b9","transparent":"0","text_color":"#ffffff","noDisplayOnDashboard":"0","start":[{"options":{"enable":"1","background":"0"},"cmd":"#2583#"}],"end":[{"options":{"enable":"1","background":"0"},"cmd":"#2581#"}],"in_progress":0}     [startDate:calendar_event:private] => 2020-04-13 08:00:00     [endDate:calendar_event:private] => 2020-04-13 16:30:00     [repeat:calendar_event:private] => Array         (             [includeDateFromCalendar] =>              [includeDate] =>              [excludeDate] =>              [enable] => 1             [mode] => simple             [positionAt] => first             [day] => monday             [freq] => 1             [unite] => days             [excludeDay] => Array                 (                     [1] => 1                     [2] => 1                     [3] => 0                     [4] => 1                     [5] => 1                     [6] => 1                     [7] => 1                 )              [nationalDay] => all             [excludeDateFromCalendar] =>          )      [until:calendar_event:private] =>      [_changed:calendar_event:private] =>  )
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Recherche de l'action à faire (start ou end)
[2020-06-15 08:00:11][DEBUG] : [Salon][(Chauffage) Salon @Travail]Action de début

Par exemple, dans la ligne 2, je vois une reprogrammation pour le 15/06 à 08h00 mais l’a commande indiquée dans la même ligne indique #2581# qui est CFT alors qu’à 08h je dois passer en ABS dans ce cas là. Est ce que la commande est bien liée à la reprogrammation de 08h ou alors la commande est celle faite à 06h00 (horodatage de la ligne n°3)?
Dans la ligne 7, je vois reprommation à 22h00 avec commande #2584# qui est bien la bonne puisque NUIT.

Du coup je suis paumé dans les logs, dans mon débug, et j’ai besoin de votre aide :slight_smile:

Bonjour,

Est-ce que le plugin modes ne t’aiderait pas à « simplifier » ta gestion de chauffage ?

Désolé je ne connais pas encore ce plugin mais je dois me renseigner et l’essayer…

Dans Agenda , tu peux faire ton planning jour par jour, heure par heure, c’ets super pratique.