Bonjour,
jeedom stable 4.3.17
plugin stable à jours
je me permet d’ouvrir ce sujet car je pense que j’ai trouvé d’ou vient mon probléme de remontée d’info des certains de mes écocompteurs.
Pour que les valeurs remontes, je suis obliger le lancer le cron manuellement
on peut voir que j’ai une valeur le 14/04 à 18h30 et aujourdhui à 21h05 quand j’aii lancé le cron.
Exemple de log toutes les minutes
[2023-04-17 20:50:05][DEBUG] : getInformations http://192.168.1.36/data.json
[2023-04-17 20:50:05][DEBUG] : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.49/inst.json
[2023-04-17 20:50:06][DEBUG] : Array ( [data1] => 0 [data2] => 0 [data3] => 13 [data4] => 116 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 50 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1681764605 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.49/data.json
[2023-04-17 20:50:06][DEBUG] : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => PrisesdeCourant [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.46/inst.json
[2023-04-17 20:50:06][DEBUG] : Array ( [data1] => 0 [data2] => 2 [data3] => 5 [data4] => 0 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 50 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1681764605 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.46/data.json
[2023-04-17 20:50:06][DEBUG] : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.45/inst.json
[2023-04-17 20:50:06][DEBUG] : Array ( [data1] => 0 [data2] => 0 [data3] => 1 [data4] => 44 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 44 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1681764297 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.45/data.json
[2023-04-17 20:50:06][DEBUG] : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.36/inst.json
[2023-04-17 20:50:06][DEBUG] : Array ( [data1] => 11 [data2] => 0 [data3] => 130 [data4] => 55 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 46 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1681764400 )
[2023-04-17 20:50:06][DEBUG] : getInformations http://192.168.1.36/data.json
[2023-04-17 20:50:06][DEBUG] : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-04-17 20:51:03][DEBUG] : getInformations http://192.168.1.36/inst.json
merci
personne n’a eu le meme probléme?
la derniere collecte date du 17/04.
en relancer le cron, les valeurs remontents.
Bison
Mai 8, 2023, 5:42
3
Hello,
Il n’y a vraiment que ça dans les logs ou tu en a mis qu’une partie ?
Ça tient combien de temps en fin de compte ?
Essai de :
désactiver l’ensemble des équipements du plugin
supprimer les lignes de logs
relancer le cron
Puis :
Active l’équipement 1 et attend 2mn pour voir 2 interrogation (inst.json)
Recommence en activant l’équipement 2
Etc…
Le but étant de voir s’il n’y en a pas un qui poserait problème et bloquerait le processus.
Bonjour,
Compteur 1 :
[2023-05-09 20:25:56]INFO : getConso http://192.168.1.49/LOG2.CSV
[2023-05-09 20:26:02]DEBUG : getInformations http://192.168.1.49/inst.json
[2023-05-09 20:26:02]DEBUG : Array ( [data1] => 0 [data2] => 0 [data3] => 252 [data4] => 167 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 26 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683663962 )
[2023-05-09 20:26:03]DEBUG : getInformations http://192.168.1.49/data.json
[2023-05-09 20:26:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => PrisesdeCourant [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-05-09 20:27:02]DEBUG : getInformations http://192.168.1.49/inst.json
[2023-05-09 20:27:02]DEBUG : Array ( [data1] => 0 [data2] => 2 [data3] => 253 [data4] => 175 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 27 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664022 )
[2023-05-09 20:27:03]DEBUG : getInformations http://192.168.1.49/data.json
[2023-05-09 20:27:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => PrisesdeCourant [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-05-09 20:28:03]DEBUG : getInformations http://192.168.1.49/inst.json
[2023-05-09 20:28:03]DEBUG : Array ( [data1] => 0 [data2] => 0 [data3] => 253 [data4] => 184 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 28 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664083 )
[2023-05-09 20:28:03]DEBUG : getInformations http://192.168.1.49/data.json
[2023-05-09 20:28:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => PrisesdeCourant [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
Compteur 2 :
[2023-05-09 20:29:07]INFO : getConso http://192.168.1.46/LOG2.CSV
[2023-05-09 20:30:06]DEBUG : getInformations http://192.168.1.46/inst.json
[2023-05-09 20:30:06]DEBUG : Array ( [data1] => 0 [data2] => 0 [data3] => 0 [data4] => 0 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 30 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664205 )
[2023-05-09 20:30:06]DEBUG : getInformations http://192.168.1.46/data.json
[2023-05-09 20:30:06]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-05-09 20:31:03]DEBUG : getInformations http://192.168.1.46/inst.json
[2023-05-09 20:31:03]DEBUG : Array ( [data1] => 0 [data2] => 0 [data3] => 0 [data4] => 0 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 31 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664263 )
[2023-05-09 20:31:03]DEBUG : getInformations http://192.168.1.46/data.json
[2023-05-09 20:31:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
Compteur 3 :
[2023-05-09 20:35:03]DEBUG : getInformations http://192.168.1.45/inst.json
[2023-05-09 20:35:03]DEBUG : Array ( [data1] => 0 [data2] => 3 [data3] => 2 [data4] => 45 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 28 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664130 )
[2023-05-09 20:35:04]DEBUG : getInformations http://192.168.1.45/data.json
[2023-05-09 20:35:04]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-05-09 20:36:03]DEBUG : getInformations http://192.168.1.45/inst.json
[2023-05-09 20:36:03]DEBUG : Array ( [data1] => 0 [data2] => 2 [data3] => 0 [data4] => 45 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 29 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664190 )
[2023-05-09 20:36:03]DEBUG : getInformations http://192.168.1.45/data.json
[2023-05-09 20:36:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-05-09 20:37:03]DEBUG : getInformations http://192.168.1.45/inst.json
[2023-05-09 20:37:03]DEBUG : Array ( [data1] => 0 [data2] => 0 [data3] => 0 [data4] => 44 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 30 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664249 )
[2023-05-09 20:37:03]DEBUG : getInformations http://192.168.1.45/data.json
[2023-05-09 20:37:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
Compteur 4 :
[2023-05-09 20:38:21]INFO : getConso http://192.168.1.36/LOG2.CSV
[2023-05-09 20:39:02]DEBUG : getInformations http://192.168.1.36/inst.json
[2023-05-09 20:39:02]DEBUG : Array ( [data1] => 18 [data2] => 0 [data3] => 14 [data4] => 54 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 34 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664490 )
[2023-05-09 20:39:03]DEBUG : getInformations http://192.168.1.36/data.json
[2023-05-09 20:39:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-05-09 20:40:05]DEBUG : getInformations http://192.168.1.36/inst.json
[2023-05-09 20:40:05]DEBUG : Array ( [data1] => 19 [data2] => 0 [data3] => 14 [data4] => 54 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 35 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664553 )
[2023-05-09 20:40:06]DEBUG : getInformations http://192.168.1.36/data.json
[2023-05-09 20:40:06]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
[2023-05-09 20:41:03]DEBUG : getInformations http://192.168.1.36/inst.json
[2023-05-09 20:41:03]DEBUG : Array ( [data1] => 16 [data2] => 1 [data3] => 14 [data4] => 54 [data5] => 0 [data6] => 0 [data6m3] => 0 [data7] => 0 [data7m3] => 0 [heure] => 20 [minute] => 36 [CIR1_Nrj] => 0 [CIR1_Vol] => 0 [CIR2_Nrj] => 0 [CIR2_Vol] => 0 [CIR3_Nrj] => 0 [CIR3_Vol] => 0 [CIR4_Nrj] => 0 [CIR4_Vol] => 0 [Date_Time] => 1683664610 )
[2023-05-09 20:41:03]DEBUG : getInformations http://192.168.1.36/data.json
[2023-05-09 20:41:03]DEBUG : Array ( [option_tarifaire] => 4 [tarif_courant] => 11 [isousc] => 0 [conso_base] => 0 [conso_hc] => 0 [conso_hp] => 0 [conso_hc_b] => 0 [conso_hp_b] => 0 [conso_hc_w] => 0 [conso_hp_w] => 0 [conso_hc_r] => 0 [conso_hp_r] => 0 [type_imp_0] => 0 [type_imp_1] => 1 [type_imp_2] => 1 [type_imp_3] => 1 [type_imp_4] => 1 [type_imp_5] => 1 [label_entree1] => Chauffage [label_entree2] => Refroidissement [label_entree3] => Eauchaude [label_entree4] => PrisesdeCourant [label_entree5] => PrisesdeCourant [label_entree_imp0] => Gaz [label_entree_imp1] => Eau [label_entree_imp2] => Eau [label_entree_imp3] => Eau [label_entree_imp4] => Eau [label_entree_imp5] => Eau [entree_imp0_disabled] => 0 [entree_imp1_disabled] => 0 [entree_imp2_disabled] => 1 [entree_imp3_disabled] => 1 [entree_imp4_disabled] => 1 [entree_imp5_disabled] => 1 )
j’ai l’impression que c’est cette foutu memoire du ecocompteur qui me fait chier sauf que j’ai mis un scenario tout les mois pour les reseter mais tant que je relance pas le cron il prend pas en compte la modif.
comment je pourrais rajouter le lancement du cron au code deja aprés le reset :
// Mise à jour de la formule de calcul de la commande [csv - energie_circuit1]
$index1 = cmd::byString('#[COMPTAGE][Compteur 4][Total Chauffage T-one]#')->execCmd();
$scenario->setLog('Valeur [Total Chauffage T-one] avant reset : '.$index1);
cmd::byString('#[COMPTAGE][Compteur 4][Total Chauffage T-one]#')->setConfiguration('calculValueOffset', "#value#+$index1")->save();
// Mise à jour de la formule de calcul de la commande [csv - energie_circuit2]
$index2 = cmd::byString('#[COMPTAGE][Compteur 4][Total Seche Serviette]#')->execCmd();
$scenario->setLog('Valeur [Total Seche Serviette] avant reset : '.$index2);
cmd::byString('#[COMPTAGE][Compteur 4][Total Seche Serviette]#')->setConfiguration('calculValueOffset', "#value#+$index2")->save();
// Mise à jour de la formule de calcul de la commande [csv - energie_circuit3]
$index3 = cmd::byString('#[COMPTAGE][Compteur 4][Total Chauffe Eau]#')->execCmd();
$scenario->setLog('Valeur [Total Chauffe Eau] avant reset : '.$index3);
cmd::byString('#[COMPTAGE][Compteur 4][Total Chauffe Eau]#')->setConfiguration('calculValueOffset', "#value#+$index3")->save();
// Mise à jour de la formule de calcul de la commande [csv - energie_circuit4]
$index4 = cmd::byString('#[COMPTAGE][Compteur 4][Totale Garage]#')->execCmd();
$scenario->setLog('Valeur [Totale Garage] avant reset : '.$index4);
cmd::byString('#[COMPTAGE][Compteur 4][Totale Garage]#')->setConfiguration('calculValueOffset', "#value#+$index4")->save();
// Mise à jour de la formule de calcul de la commande [csv - energie_circuit5]
$index5 = cmd::byString('#[COMPTAGE][Compteur 4][csv - energie_circuit5]#')->execCmd();
$scenario->setLog('Valeur [csv - energie_circuit5] avant reset : '.$index5);
cmd::byString('#[COMPTAGE][Compteur 4][csv - energie_circuit5]#')->setConfiguration('calculValueOffset', "#value#+$index5")->save();
// Requêtes pour réinitialiser les compteurs "csv - energie_circuit" 1 à 5 de l'ecocompteur
$req1 = 'curl "http://192.168.1.36/wp.cgi?wp=536+2+12724+-1+-1+4+0.0"';
$req2 = 'curl "http://192.168.1.36/wp.cgi?wp=536+4+12724+-1+-1+4+0.0"';
$req3 = 'curl "http://192.168.1.36/wp.cgi?wp=536+6+12724+-1+-1+4+0.0"';
$req4 = 'curl "http://192.168.1.36/wp.cgi?wp=536+8+12724+-1+-1+4+0.0"';
$req5 = 'curl "http://192.168.1.36/wp.cgi?wp=536+10+12724+-1+-1+4+0.0"';
$scenario->setLog('DEBUG REQUETE : '.$req1);
$output1 = shell_exec($req1);
$scenario->setLog('DEBUG RETOUR : '.$output1);
$scenario->setLog('DEBUG REQUETE : '.$req2);
$output2 = shell_exec($req2);
$scenario->setLog('DEBUG RETOUR : '.$output2);
$scenario->setLog('DEBUG REQUETE : '.$req3);
$output3 = shell_exec($req3);
$scenario->setLog('DEBUG RETOUR : '.$output3);
$scenario->setLog('DEBUG REQUETE : '.$req4);
$output4 = shell_exec($req4);
$scenario->setLog('DEBUG RETOUR : '.$output4);
$scenario->setLog('DEBUG REQUETE : '.$req5);
$output5 = shell_exec($req5);
$scenario->setLog('DEBUG RETOUR : '.$output5);