Problème de fonctionnement offset si radiateur chaud

Bonjour à tous,

En surveillant le fonctionnement de mon chauffage, je me suis aperçu que l’ Offset à appliquer si le radiateur est considéré chaud (%) ne fonctionne pas chez moi.

En effet lors du premier cycle, le calcul détermine bien la chauffe à 100% mais le cycle ne se fait pas car dans les 30 secondes qui suivent il y a un nouveau calcul qui est fait.
Comme le cycle précédemment calculé est à 100%, le nouveau cycle calculé applique l’offset (voir la capture d’écran), ce qui fait que l’offset s’applique sur le premier cycle de chauffe alors que ça ne devrai pas.

Je vous joins également le log correspondant à la capture
thermostat.txt (7,4 Ko)

Je suis en Jeedom V3.3.53 et plugin thermostat à jour.

Je voulais savoir si j’étais le seul dans ce cas, @sylvouille avez vous constaté ce dysfonctionnement ?

Merci pour votre aide,

L’apprentissage est il terminé ?
As tu le log a donner pour qu’on puisse analyser ?

Vu le plugin, les personnes qui l’utilisent et lon poussé à fond et le travail de loic dessus je ne suis pas convaincu du souci surtout sans log pour confirmer tes dires

J’utilise le thermostat depuis 2 ans l’apprentissage est donc terminé.
La programmation est faite depuis le plugin Agenda afin de bénéficier du Smart start.
Le log est joint à mon premier message ( voir le fichier thermostat.txt)

Sinon contenu ci-dessous,

[2020-10-17 08:09:06][DEBUG] : [Chambre Maéline][Thermostat] : Thermostat::pull => mode smart : Array (     [thermostat_id] => 54     [smartThermostat] => 1     [next] => Array         (             [date] => 2020-10-17 09:00:00             [event] => Array                 (                 )              [consigne] => 20.5             [calendar_id] => 97             [cmd] => 593             [type] => mode             [schedule] => 2020-10-17 08:09:00         )  ) 
[2020-10-17 08:09:06][DEBUG] : [Chambre Maéline][Thermostat] : next info : Array (     [date] => 2020-10-17 09:00:00     [event] => Array         (         )      [consigne] => 20.5     [calendar_id] => 97     [cmd] => 593     [type] => mode     [schedule] => 2020-10-17 08:09:00 ) 
[2020-10-17 08:09:06][DEBUG] : [Chambre Maéline][Thermostat] : Type mode envoi de la commande : 593
[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
[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

[2020-10-17 08:39:06][DEBUG] : [Chambre Maéline][Thermostat] : Action stop

[2020-10-17 08:54:06][DEBUG] : [Chambre Maéline][Thermostat] : Debut calcul temporel
[2020-10-17 08:54:06][DEBUG] : [Chambre Maéline][Thermostat] : Reprogrammation automatique : 2020-10-17 09:39:00
[2020-10-17 08:54:06][DEBUG] : [Chambre Maéline][Thermostat] : Smart schedule
[2020-10-17 08:54:06][DEBUG] : [Chambre Maéline][Thermostat] : Plugin agenda detecté
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 19.6 - Temp out : 9 - Consigne : 20.5
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.9 * 130.7) + (11.5 * 0.8) + 0 = 126.83
[2020-10-17 08:54:13][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:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Smart start end
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Begin auto learning
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Last power ok, check what I have to learn, last state : heat
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Last state is heat
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Learn outdoor heat
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : New coeff outdoor heat: 1.0005626598465
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 19.6 - Temp out : 9 - Consigne : 20.5
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.9 * 130.7) + (11.5 * 1) + 0 = 129.13
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Previous cycle at 66.83%, apply offset : -60% + 33.17
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Cycle duration : 45
[2020-10-17 08:54:13][DEBUG] : [Chambre Maéline][Thermostat] : Action chauffage

[2020-10-17 09:00:11][DEBUG] : [Chambre Maéline][Thermostat] : Debut calcul temporel
[2020-10-17 09:00:11][DEBUG] : [Chambre Maéline][Thermostat] : Reprogrammation automatique : 2020-10-17 09:45:00
[2020-10-17 09:00:11][DEBUG] : [Chambre Maéline][Thermostat] : Smart schedule
[2020-10-17 09:00:11][DEBUG] : [Chambre Maéline][Thermostat] : Plugin agenda detecté
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 20.1 - Temp out : 9 - Consigne : 20.5
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.4 * 130.7) + (11.5 * 1) + 0 = 63.78
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Smartstart duration : 28.701 à 2020-10-17 15:45:00 programmation : 2020-10-17 15:16:00
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Next smart schedule date : 2020-10-17 15:16:00
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Smart start end
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Temp in : 20.1 - Temp out : 9 - Consigne : 20.5
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Direction : 1
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Power calcul : (0.4 * 130.7) + (11.5 * 1) + 0 = 63.78
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Previous cycle at 100%, apply offset : -60%
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Cycle duration : 1.7009999999999
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Durée du cycle trop courte, aucun lancement
[2020-10-17 09:00:17][DEBUG] : [Chambre Maéline][Thermostat] : Action stop

[2020-10-17 09:05:05][DEBUG] : [Chambre Maéline][Thermostat] : Action stop

Voilà,

1 « J'aime »

Bonjour,
J’avoue ne jamais avoir constaté ce problème … Je vais repasser mes logs en debug pour étudier les choses de plus prêt et je vous tiens au courant.
Bonne soirée,
Sylvain.

OK merci pour le retour, j’attends votre analyse.

Bonjour,
effectivement je constate aussi un fonctionnement anormal, mais qui n’est a priori pas directement lié à la fonction « offset si radiateur chaud ».
Voici le fonctionnement normal : si on a une durée de cycle de 60 minutes, et un temps de chauffe calculé de 20 minutes, le radiateur chauffe pendant 20 minutes, puis est éteint pendant 40 minutes. et c’est à l’issue de ce cycle de 60 minutes en tout que le calcul est relancé, pour le cycle suivant. Or je constate chez moi que dès la phase de chauffe terminée (c’est-à-dire dans mon exemple précédent, au bout de 20 minutes), c’est comme si le moteur de calcul considérait que le cycle complet était terminé, et il repart sur un nouveau calcul et donc un nouveau cycle. Et ce ne semble se produire que sur le premier cycle de chauffe.

Voilà ce que ça donne dans les logs :

[2020-10-18 05:53:05][DEBUG] : [pièce de vie][chauffage principal] : Thermostat::pull => mode smart : Array (     [thermostat_id] => 103     [smartThermostat] => 1     [next] => Array         (             [date] => 2020-10-18 06:15:00             [event] => Array                 (                 )              [consigne] => 19             [calendar_id] => 75             [cmd] => 871             [type] => mode             [schedule] => 2020-10-18 05:53:00         )  )
[2020-10-18 05:53:05][DEBUG] : [pièce de vie][chauffage principal] : next info : Array (     [date] => 2020-10-18 06:15:00     [event] => Array         (         )      [consigne] => 19     [calendar_id] => 75     [cmd] => 871     [type] => mode     [schedule] => 2020-10-18 05:53:00 )
[2020-10-18 05:53:05][DEBUG] : [pièce de vie][chauffage principal] : Type mode envoi de la commande : 871
[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
[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

[2020-10-18 06:15:07][DEBUG] : [pièce de vie][chauffage principal] : Debut calcul temporel
[2020-10-18 06:15:07][DEBUG] : [pièce de vie][chauffage principal] : Reprogrammation automatique : 2020-10-18 07:13:00
[2020-10-18 06:15:07][DEBUG] : [pièce de vie][chauffage principal] : Smart schedule
[2020-10-18 06:15:07][DEBUG] : [pièce de vie][chauffage principal] : Plugin agenda detecté

[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 18.2 - Temp out : 6.9 - Consigne : 15
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : La temperature est supérieure à la consigne de plus de 1.5°C je ne fais rien
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Smartstart non pris en compte car la durée 0
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Smart start end
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 18.2 - Temp out : 6.9 - Consigne : 19
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Power calcul : (0.8 * 30) + (12.1 * 1.2) + 0 = 38.52
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Cycle duration : 22.3416
[2020-10-18 06:15:10][DEBUG] : [pièce de vie][chauffage principal] : Action chauffage

[2020-10-18 06:37:06][DEBUG] : [pièce de vie][chauffage principal] : Action stop

[2020-10-18 07:13:05][DEBUG] : [pièce de vie][chauffage principal] : Debut calcul temporel
[2020-10-18 07:13:05][DEBUG] : [pièce de vie][chauffage principal] : Reprogrammation automatique : 2020-10-18 08:11:00
[2020-10-18 07:13:05][DEBUG] : [pièce de vie][chauffage principal] : Smart schedule
[2020-10-18 07:13:05][DEBUG] : [pièce de vie][chauffage principal] : Plugin agenda detecté
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 19.6 - Temp out : 6.3 - Consigne : 15
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : La temperature est supérieure à la consigne de plus de 1.5°C je ne fais rien
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Smartstart non pris en compte car la durée 0
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Smart start end
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Temp in : 19.6 - Temp out : 6.3 - Consigne : 19
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Direction : 1
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Power calcul : (-0.6 * 30) + (12.7 * 1.2) + 0 = -2.76
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Cycle duration : 0
[2020-10-18 07:13:07][DEBUG] : [pièce de vie][chauffage principal] : Durée du cycle trop courte, aucun lancement

@loic , vois-tu d’où pourrais venir ce problème ? Si tu as besoin d’autres données n’hésite pas. Merci d’avance !

Bonjour
Cette partie n’est pas de moi donc malheureusement je ne peux être d’aucune aide la dessus car je ne comprends pas le code… Désolé

Ok, merci pour ton retour hyper rapide !
Sais-tu qui nous devons solliciter ? Passer par un ticket ?

Ticket ça sera moi donc même réponse… Il faut juste espérer que l’utilisateur qui a fait cette partie passe par la

Ok, merci ! Au pire si j’ai un peu de temps la semaine prochaine, j’essaierai d’éplucher cette partie de code. Sans garantie, mais on ne sait jamais …

Si tu trouves je suis preneur mais n’ayant pas fait le code et n’utilisant pas le plugin c’est compliqué la et je sais que je trouverais pas

Bonjour merci pour le retour,
Ce qui me pose problème dans les log, c’est que le calcul temporel se fait 2 fois lors du premier cycle.
C’est ce qui génère mon problème.
Dans ton cas le résultat du calcul est le même donc pas de problème hormis que le cycle est « raccourci ».
Merci en tout cas de regarder le code. J’en suis incapable pour le moment.
J’espère que tu arriveras à solutionner le problème.
Je reste disponible pour plus d’info ou faire des essais.
Merci d’avance.

Je viens de lire la log et je vois pas de soucis par contre… Pourrais tu m’expliquer plus en détails car je vois bien un cycle de 20 min puis une pose de 40min avant reprise du calcul

Le problème se passe au début :

  • 5h53 lancement de la chauffe pour 22 minutes
  • 6h15 le chauffage devrait se couper pour 37 minutes (jusqu’à la fin du cycle qui doit faire 58 minutes en tout), avant un nouveau calcul. Sauf que le calcul se refait dès cette heure-ci (6h15 donc), et c’est reparti pour 22 minutes de chauffe jusqu’à 6h37.
  • ensuite le fonctionnement est normal : 37 minutes de pause, puis nouveau calcul. On aura donc eu un cycle de 44 minutes de chauffe + 37 minutes d’arrêt au lieu de 22 minutes de chauffe + 37 minutes d’arrêt.
    Je suppose que cela a été causé par une mise à jour depuis le printemps dernier, puisque l’hiver dernier a priori ça ne le faisait pas …

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.

Qu’il fasse plusieurs fois le calcul n’a rien de choquant de mémoire c’est la mise en place d’une fonction regroupant le calcul pour éviter la duplication du code ça n’a rien de choquant

Ben oui c’est le smartschehedule d’après ce que je vois rien d’anormal la dedans

Merci @Salvialf pour la mise à jour du plugin thermostat d’aujourd’hui. Qui résout ce problème que j’avais signalé il y a un mois.
Informations sur les améliorations
Je ne pensais pas que quelqu’un travaillait dessus vu la réponse de @Loic.
Problème résolu.

1 « J'aime »

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.