Ce que je ne comprend pas c’est pourquoi au début du cycle de chauffe on fait 2 fois le calcul temporel.
Chez-moi au début à 8h09 et 6 secondes
[2020-10-17 08:09:06][DEBUG] : [Chambre Maéline][Thermostat] : Debut calcul temporel
[2020-10-17 08:09:06][DEBUG] : [Chambre Maéline][Thermostat] : Reprogrammation automatique : 2020-10-17 08:54:00
[2020-10-17 08:09:06][DEBUG] : [Chambre Maéline][Thermostat] : Smart schedule
[2020-10-17 08:09:06][DEBUG] : [Chambre Maéline][Thermostat] : Plugin agenda detecté
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 19.6 - Temp out : 9 - Consigne : 20.5
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.9 * 130.7) + (11.5 * 0.8) + 0 = 126.83
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Smartstart duration : 57.0735 à 2020-10-17 09:00:00 programmation : 2020-10-17 08:03:00
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Smart start end
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 19.6 - Temp out : 9 - Consigne : 20.5
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.9 * 130.7) + (11.5 * 0.8) + 0 = 126.83
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Cycle duration : 45
[2020-10-17 08:09:12][DEBUG] : [Chambre Maéline][Thermostat] : Action chauffage
Puis à 8h09 et 13 secondes
[2020-10-17 08:09:13][DEBUG] : [Chambre Maéline][Thermostat] : Debut calcul temporel
[2020-10-17 08:09:13][DEBUG] : [Chambre Maéline][Thermostat] : Reprogrammation automatique : 2020-10-17 08:54:00
[2020-10-17 08:09:13][DEBUG] : [Chambre Maéline][Thermostat] : Smart schedule
[2020-10-17 08:09:13][DEBUG] : [Chambre Maéline][Thermostat] : Plugin agenda detecté
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 19.6 - Temp out : 9 - Consigne : 20.5
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.9 * 130.7) + (11.5 * 0.8) + 0 = 126.83
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Smartstart duration : 57.0735 à 2020-10-17 09:00:00 programmation : 2020-10-17 08:03:00
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Smart start end
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 19.6 - Temp out : 9 - Consigne : 20.5
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.9 * 130.7) + (11.5 * 0.8) + 0 = 126.83
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Previous cycle at 100%, apply offset : -60%
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Cycle duration : 30.0735
[2020-10-17 08:09:19][DEBUG] : [Chambre Maéline][Thermostat] : Action chauffage
Pourquoi recalculer alors qu’on vient de le faire?
Même chose dans le log de @sylvouille
À 5h53 et 5 secondes
[2020-10-18 05:53:05][DEBUG] : [pièce de vie][chauffage principal] : Debut calcul temporel
[2020-10-18 05:53:05][DEBUG] : [pièce de vie][chauffage principal] : Reprogrammation automatique : 2020-10-18 06:51:00
[2020-10-18 05:53:05][DEBUG] : [pièce de vie][chauffage principal] : Smart schedule
[2020-10-18 05:53:05][DEBUG] : [pièce de vie][chauffage principal] : Plugin agenda detecté
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 18.2 - Temp out : 6.6 - Consigne : 19
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Power calcul : (0.8 * 30) + (12.4 * 1.2) + 0 = 38.88
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Smartstart duration : 22.5504 à 2020-10-18 06:15:00 programmation : 2020-10-18 05:52:00
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Smart start end
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 18.2 - Temp out : 6.6 - Consigne : 19
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Power calcul : (0.8 * 30) + (12.4 * 1.2) + 0 = 38.88
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Cycle duration : 22.5504
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Action chauffage
Puis à 5h53 et 7 secondes
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Debut calcul temporel
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Reprogrammation automatique : 2020-10-18 06:51:00
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Smart schedule
[2020-10-18 05:53:07][DEBUG] : [pièce de vie][chauffage principal] : Plugin agenda detecté
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 18.2 - Temp out : 6.6 - Consigne : 19
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Power calcul : (0.8 * 30) + (12.4 * 1.2) + 0 = 38.88
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Smartstart duration : 22.5504 à 2020-10-18 06:15:00 programmation : 2020-10-18 05:52:00
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Smart start end
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 18.2 - Temp out : 6.6 - Consigne : 19
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Power calcul : (0.8 * 30) + (12.4 * 1.2) + 0 = 38.88
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Cycle duration : 22.5504
[2020-10-18 05:53:10][DEBUG] : [pièce de vie][chauffage principal] : Action chauffage
L’année dernière lors de la mise en place de cette modification
Le log de @sylvouille ne contenait qu’une fois ce calcul.
Le sujet est ici
[2019-12-17 16:30:10][DEBUG] : [maison][chauffage principal] : Thermostat::pull => mode smart : Array ( [thermostat_id] => 103 [smartThermostat] => 1 [next] => Array ( [date] => 2019-12-17 17:15:00 [event] => Array ( ) [consigne] => 19 [calendar_id] => 75 [cmd] => 871 [type] => mode [schedule] => 2019-12-17 16:30:00 ) )
[2019-12-17 16:30:10][DEBUG] : [maison][chauffage principal] : next info : Array ( [date] => 2019-12-17 17:15:00 [event] => Array ( ) [consigne] => 19 [calendar_id] => 75 [cmd] => 871 [type] => mode [schedule] => 2019-12-17 16:30:00 )
[2019-12-17 16:30:10][DEBUG] : [maison][chauffage principal] : Type mode envoi de la commande : 871
[2019-12-17 16:30:10][DEBUG] : [maison][chauffage principal] : Debut calcul temporel
[2019-12-17 16:30:10][DEBUG] : [maison][chauffage principal] : Reprogrammation automatique : 2019-12-17 17:28:00
[2019-12-17 16:30:10][DEBUG] : [maison][chauffage principal] : Smart schedule
[2019-12-17 16:30:10][DEBUG] : [maison][chauffage principal] : Plugin agenda detecté
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Temp in : 17.5 - Temp out : 8 - Consigne : 19
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Direction : 1
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Power calcul : (1.5 * 44.41) + (11 * 2.29) + 0 = 91.805
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Smartstart duration : 53.2469 à 2019-12-17 17:15:00 programmation : 2019-12-17 16:22:00
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Smart start end
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Temp in : 17.5 - Temp out : 8 - Consigne : 19
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Direction : 1
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Power calcul : (1.5 * 44.41) + (11 * 2.29) + 0 = 91.805
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Cycle duration : 53.2469
[2019-12-17 16:30:11][DEBUG] : [maison][chauffage principal] : Action chauffage
[2019-12-17 17:23:05][DEBUG] : [maison][chauffage principal] : Action stop
[2019-12-17 17:28:05][DEBUG] : [maison][chauffage principal] : Debut calcul temporel
[2019-12-17 17:28:05][DEBUG] : [maison][chauffage principal] : Reprogrammation automatique : 2019-12-17 18:26:00
[2019-12-17 17:28:05][DEBUG] : [maison][chauffage principal] : Smart schedule
[2019-12-17 17:28:05][DEBUG] : [maison][chauffage principal] : Plugin agenda detecté
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Temp in : 18.3 - Temp out : 7.8 - Consigne : 15
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Direction : 1
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : La temperature est supérieure à la consigne de plus de 1.5°C je ne fais rien
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Smartstart non pris en compte car la durée 0
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Smart start end
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Begin auto learning
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Last power ok, check what I have to learn, last state : heat
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Last state is heat
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Last temps in < at current temp in
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : New coeff heat indoor : 45.17193627451
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Temp in : 18.3 - Temp out : 7.8 - Consigne : 19
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Direction : 1
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Power calcul : (0.7 * 45.17) + (11.2 * 2.29) + 0 = 57.267
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Previous cycle at 100%, apply offset : -40%
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Cycle duration : 10.01486
[2019-12-17 17:28:06][DEBUG] : [maison][chauffage principal] : Action chauffage
Il y a probablement eu une modification dans le code, depuis l’année dernière.