MAM78 408 Signaler ce message Posté(e) 7 décembre 2020 option 2 Un Child par index avec la possibilité de les choisir Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 8 décembre 2020 Une nouvelle version (0.9) intégrant notamment les index a été mise en ligne dans le premier post. 1 1 Partager ce message Lien à poster Partager sur d’autres sites
MAM78 408 Signaler ce message Posté(e) 8 décembre 2020 (modifié) Topisime. Quelle rapidité Et en plus ça marche du premier coup Suggestion d'une petite icône à associer aux Childs correspondants, cadeau. Modifié 8 décembre 2020 par MAM78 Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 25 mars 2021 Salut Barelle et encore merci pour ton super QA ! pourrais-tu me donner la marche à suivre pour récupérer dans un autre QA, une variable globale comme "consoActuelleWh" par exemple ? J'ai bien essayé via un fibaro.getGlobalVaraible mais rien n'y fait... fibaro.getGlobalVariable("EcoDevice{teleinfo1{consoActuelleWh}}") la syntaxe ne doit pas être bonne mais là je sèche... merci Stef Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 25 mars 2021 Je suis bien d'accord, ce n'est pas la bonne syntaxe, essaie plutôt : local EcoDevice = fibaro.getGlobalVariable("EcoDevices"); self:trace("type(\"EcoDevice\")", type(EcoDevice)); -- string EcoDevice = json.decode(EcoDevice); self:trace("type(\"EcoDevice\")", type(EcoDevice)); -- table local consoActuelleWh = coDevice.teleinfo1.consoActuelleWh; self:trace(EcoDevice.teleinfo1.consoActuelleWh) avec quelques traces pour aider à la compréhension... 1 Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 25 mars 2021 Je m'en doutais pour le problème de syntaxe... merci, je vais tester ceci dans la foulée Stef Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 25 mars 2021 ça marche nickel !!! merci ! Stef Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 26 mars 2021 grâce à tes bons conseils, j'ai pu me faire un "zoli" QA récapitulatif ma moitié adore ! Stef 1 Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 (modifié) petite question qui n'a quasiment rien à voir avec le QA (quoique...) est-ce que je peux afficher des infos sous le titre d'une vignette ? (comme une temp de consigne par exemple) ou est-ce seulement réservé aux Childs et aux modules ? merci Stef Modifié 27 mars 2021 par couillerot Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 27 mars 2021 (modifié) self:updateProperty("log", "GOOD") devrait fonctionner. Modifié 27 mars 2021 par Barelle 1 Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 merci une fois de plus Barelle Stef Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 Barelle, j'ai voulu installer la dernière MAJ (0.92) mais j'ai un problème de remontée et je soupçonne un bug au niveau de la création auto de la VG EcoDevives puisque je n'ai que ceci : {"lastUpdate":1616865759,"firstUpdate":1616865759,"teleinfo2":{},"compteur1":{},"compteur2":{},"teleinfo1":{}} en valeur j'ai refait la manip 2 ou 3 fois mais le résultat est le même. Stef Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 Finalement, c'est ok ! J'ai supprimé la VG "EcoDevices" et la Variable globalVarName, puis ensuite j'ai recréer la Variable globalVarName Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 27 mars 2021 Je suis surpris... et tant mieux Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 j'a parlé un peu vite, finalement je n'ai pas de remontée... désolé Barelle Stef Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 27 mars 2021 Quels sont les messages de log lors du lancement ? Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 c'est comme s'il affectait les données de T1 à T2 ; T1 n'existe pas dans la VG EcoDevices Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 voici ce qu'il m'affiche : 27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: processData>>>compteurs={"teleinfo2":{"abonnement":"BASE","monthTotalIndex":0,"BASEIndex":0,"dayTotalIndex":0,"yearTotalIndex":0,"consoActuelleWh":0,"hourTotalIndex":0,"lastTotalIndex":0,"puissanceApparente":0,"periode":0},"compteur1":{"monthIndex":11463,"consoActuelle":0,"hourIndex":11463,"lastIndex":11463,"dayIndex":11463,"yearIndex":11463},"compteur2":{"monthIndex":0,"consoActuelle":0,"hourIndex":0,"lastIndex":0,"dayIndex":0,"yearIndex":0},"teleinfo1":{"abonnement":"BASE","monthTotalIndex":0,"BASEIndex":0,"dayTotalIndex":0,"lastTotalIndex":0,"BASEdayTotalIndex":0,"BASEhourTotalIndex":0,"periode":0,"consoActuelleWh":0,"hourTotalIndex":0,"BASEmonthTotalIndex":0,"BASEyearTotalIndex":0,"puissanceApparente":0,"yearTotalIndex":0},"firstUpdate":1616868761,"lastUpdate":1616874745} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: computeCosts>>>costs={"anneeBASE":0,"moisBASE":0,"jourBASE":0.42} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1WhActuel, json.encode(childsConfig[childKey])={"log":"0 VA","name":"Conso. actuelle","fibaroType":"com.fibaro.multilevelSensor","value":0,"unit":"Wmn","childId":244,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1kWhJour, json.encode(childsConfig[childKey])={"log":"0.42 €","name":"Conso. jour","fibaroType":"com.fibaro.multilevelSensor","value":0.0,"unit":"kWh","childId":242,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1WhActuel, log=0 VA, json.encode(childsConfig[childKey])={"log":"0 VA","name":"Conso. actuelle","fibaroType":"com.fibaro.multilevelSensor","value":0,"unit":"Wmn","childId":244,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1kWhJour, log=0 VA, json.encode(childsConfig[childKey])={"log":"0 VA","name":"Conso. jour","fibaroType":"com.fibaro.multilevelSensor","value":0.0,"unit":"kWh","childId":242,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1JourEuro, json.encode(childsConfig[childKey])={"log":"0.0 kWh","name":"Coût jour","fibaroType":"com.fibaro.multilevelSensor","value":0.42,"unit":"€","childId":238,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1MoisEuro, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Coût mois","fibaroType":"com.fibaro.multilevelSensor","value":0,"unit":"€","childId":236,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1AnneeEuro, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Coût année","fibaroType":"com.fibaro.multilevelSensor","value":0,"unit":"€","childId":245,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1JourEuro, log=0.0 kWh, json.encode(childsConfig[childKey])={"log":"0.0 kWh","name":"Coût jour","fibaroType":"com.fibaro.multilevelSensor","value":0.42,"unit":"€","childId":238,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1MoisEuro, log=0 kWh, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Coût mois","fibaroType":"com.fibaro.multilevelSensor","value":0,"unit":"€","childId":236,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1AnneeEuro, log=0 kWh, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Coût année","fibaroType":"com.fibaro.multilevelSensor","value":0,"unit":"€","childId":245,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1SimuBaseJour, json.encode(childsConfig[childKey])={"log":"0.0 kWh","name":"Simul. BASE jour","fibaroType":"com.fibaro.multilevelSensor","unit":"€","childId":240,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1SimuBaseMois, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Simul. BASE mois","fibaroType":"com.fibaro.multilevelSensor","unit":"€","childId":239,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1SimuBaseAnnee, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Simul. BASE année","fibaroType":"com.fibaro.multilevelSensor","unit":"€","childId":243,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1SimuBaseJour, log=0.0 kWh, json.encode(childsConfig[childKey])={"log":"0.0 kWh","name":"Simul. BASE jour","fibaroType":"com.fibaro.multilevelSensor","unit":"€","childId":240,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1SimuBaseMois, log=0 kWh, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Simul. BASE mois","fibaroType":"com.fibaro.multilevelSensor","unit":"€","childId":239,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1SimuBaseAnnee, log=0 kWh, json.encode(childsConfig[childKey])={"log":"0 kWh","name":"Simul. BASE année","fibaroType":"com.fibaro.multilevelSensor","unit":"€","childId":243,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: setValuesForChilds>>>CostJour=0.42, costMois=0, costAnnee=0 [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1kWhJour, log=0.42 €, json.encode(childsConfig[childKey])={"log":"0.42 €","name":"Conso. jour","fibaroType":"com.fibaro.multilevelSensor","value":0.0,"unit":"kWh","childId":242,"indexUnit":"Wh"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=C1Jour, json.encode(childsConfig[childKey])={"log":"11463 L","name":"C1 Conso. jour","fibaroType":"com.fibaro.multilevelSensor","value":0.0,"unit":"L\/j","childId":241,"indexUnit":"L"} [27.03.2021] [20:52:25] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=C1Jour, log=11463 L, json.encode(childsConfig[childKey])={"log":"11463 L","name":"C1 Conso. jour","fibaroType":"com.fibaro.multilevelSensor","value":0.0,"unit":"L\/j","childId":241,"indexUnit":"L"} Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 une inversion entre T1 et T2 j'imagine Stef Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 27 mars 2021 Tout est à zéro dans la variable compteur, j'ai l'impression que la télérelève de l'Ecodevices ne fonctionne pas. Essaie t'y connecter directement pour voir. Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 (modifié) Je reçois bien les infos en direct et sur le VD de la HC2. Stef Modifié 27 mars 2021 par couillerot Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 27 mars 2021 Regarde les premières lignes de log, juste après le démarrage du QA. Selon le log que tu as communiqué, toutes les variables sont présente dans la variable globale (cf. compteur), mais elles sont toutes à zéro sauf pour T1. Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 27.03.2021] [22:36:24] [TRACE] [QA_ECODEVICES_235]: mainLoop>>>Version 0.92 démarrée le 27/03/2021 à 22:35:24 (depuis 00:01:00), mise à jour dans 60 secondes à 22:37:24 [27.03.2021] [22:36:24] [TRACE] [QA_ECODEVICES_235]: mainLoop>>>Total memory in use by Lua 5.3: 1281.11 KB. Total CPU time=0.85 sec., last run CPU time=610.36 ms, mean CPU time=427.07 ms (for 2 loops.) [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: readEcodevices>>>OK, response.data={"product":"Eco-devices","T1_PTEC":"----","T1_PAPP":0,"T1_BASE":0,"T2_PTEC":"----","T2_PAPP":0,"T2_BASE":0,"INDEX_C1":11463,"INDEX_C2":0} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: processData>>>compteurs={"compteur2":{"yearIndex":0,"hourIndex":0,"lastIndex":0,"dayIndex":0,"monthIndex":0,"consoActuelle":0},"lastUpdate":1616880984,"firstUpdate":1616880447,"teleinfo2":{"BASEIndex":0,"lastTotalIndex":0,"hourTotalIndex":0,"yearTotalIndex":0,"abonnement":"BASE","consoActuelleWh":0,"HCIndex":64252699,"dayTotalIndex":0,"HPIndex":57674826,"puissanceApparente":0,"periode":0,"monthTotalIndex":0},"teleinfo1":{"hourTotalIndex":0,"HPdayTotalIndex":127486925,"HPmonthTotalIndex":127486925,"HPyearTotalIndex":127486925,"abonnement":"BASE","puissanceApparente":0,"BASEhourTotalIndex":0,"HCIndex":95288144,"monthTotalIndex":0,"BASEIndex":0,"lastTotalIndex":0,"HChourTotalIndex":95288144,"BASEyearTotalIndex":0,"yearTotalIndex":0,"BASEmonthTotalIndex":0,"HCyearTotalIndex":95288144,"HPhourTotalIndex":127486925,"HCdayTotalIndex":95288144,"HCmonthTotalIndex":95288144,"HPIndex":127486925,"consoActuelleWh":0,"BASEdayTotalIndex":0,"periode":0,"dayTotalIndex":0},"compteur1":{"yearIndex":11463,"hourIndex":11463,"lastIndex":11463,"dayIndex":11463,"monthIndex":11463,"consoActuelle":0}} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: computeCosts>>>costs={"jourBASE":0.42,"anneeBASE":0,"moisBASE":0} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1WhActuel, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":244,"unit":"Wmn","value":0,"log":"0 VA","fibaroType":"com.fibaro.multilevelSensor","name":"Conso. actuelle"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1kWhJour, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":242,"unit":"kWh","value":0.0,"log":"0.42 €","fibaroType":"com.fibaro.multilevelSensor","name":"Conso. jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1WhActuel, log=0 VA, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":244,"unit":"Wmn","value":0,"log":"0 VA","fibaroType":"com.fibaro.multilevelSensor","name":"Conso. actuelle"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1kWhJour, log=0 VA, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":242,"unit":"kWh","value":0.0,"log":"0 VA","fibaroType":"com.fibaro.multilevelSensor","name":"Conso. jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1JourEuro, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":238,"unit":"€","value":0.42,"log":"0.0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1MoisEuro, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":236,"unit":"€","value":0,"log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût mois"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1AnneeEuro, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":245,"unit":"€","value":0,"log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût année"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1JourEuro, log=0.0 kWh, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":238,"unit":"€","value":0.42,"log":"0.0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1MoisEuro, log=0 kWh, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":236,"unit":"€","value":0,"log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût mois"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1AnneeEuro, log=0 kWh, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":245,"unit":"€","value":0,"log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût année"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1SimuBaseJour, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":240,"unit":"€","log":"0.0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1SimuBaseMois, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":239,"unit":"€","log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE mois"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=T1SimuBaseAnnee, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":243,"unit":"€","log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE année"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1SimuBaseJour, log=0.0 kWh, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":240,"unit":"€","log":"0.0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1SimuBaseMois, log=0 kWh, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":239,"unit":"€","log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE mois"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1SimuBaseAnnee, log=0 kWh, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":243,"unit":"€","log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE année"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: setValuesForChilds>>>CostJour=0.42, costMois=0, costAnnee=0 [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=T1kWhJour, log=0.42 €, json.encode(childsConfig[childKey])={"indexUnit":"Wh","childId":242,"unit":"kWh","value":0.0,"log":"0.42 €","fibaroType":"com.fibaro.multilevelSensor","name":"Conso. jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigValue>>>childKey=C1Jour, json.encode(childsConfig[childKey])={"indexUnit":"L","childId":241,"unit":"L\/j","value":0.0,"log":"11463 L","fibaroType":"com.fibaro.multilevelSensor","name":"C1 Conso. jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: updateChildsConfigLog>>>childKey=C1Jour, log=11463 L, json.encode(childsConfig[childKey])={"indexUnit":"L","childId":241,"unit":"L\/j","value":0.0,"log":"11463 L","fibaroType":"com.fibaro.multilevelSensor","name":"C1 Conso. jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1SimuBaseJour])={"indexUnit":"Wh","childId":240,"unit":"€","log":"0.0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 240, now log value is: 0.0 kWh [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[C1Jour])={"indexUnit":"L","childId":241,"unit":"L\/j","value":0.0,"log":"11463 L","fibaroType":"com.fibaro.multilevelSensor","name":"C1 Conso. jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setValue>>>child 241, updated value: 0.0 [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 241, now log value is: 11463 L [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1kWhJour])={"indexUnit":"Wh","childId":242,"unit":"kWh","value":0.0,"log":"0.42 €","fibaroType":"com.fibaro.multilevelSensor","name":"Conso. jour"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setValue>>>child 242, updated value: 0.0 [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 242, now log value is: 0.42 € [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1SimuBaseAnnee])={"indexUnit":"Wh","childId":243,"unit":"€","log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE année"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 243, now log value is: 0 kWh [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1WhActuel])={"indexUnit":"Wh","childId":244,"unit":"Wmn","value":0,"log":"0 VA","fibaroType":"com.fibaro.multilevelSensor","name":"Conso. actuelle"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setValue>>>child 244, updated value: 0 [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 244, now log value is: 0 VA [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1AnneeEuro])={"indexUnit":"Wh","childId":245,"unit":"€","value":0,"log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût année"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setValue>>>child 245, updated value: 0 [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 245, now log value is: 0 kWh [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[HCIndex])={"indexUnit":"Wh","unit":"kWh","childId":246,"fibaroType":"com.fibaro.multilevelSensor","name":"Index HC"} [27.03.2021] [22:36:24] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1MoisEuro])={"indexUnit":"Wh","childId":236,"unit":"€","value":0,"log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût mois"} [27.03.2021] [22:36:25] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setValue>>>child 236, updated value: 0 [27.03.2021] [22:36:25] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 236, now log value is: 0 kWh [27.03.2021] [22:36:25] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[HPIndex])={"indexUnit":"Wh","unit":"kWh","childId":237,"fibaroType":"com.fibaro.multilevelSensor","name":"Index HP"} [27.03.2021] [22:36:25] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1JourEuro])={"indexUnit":"Wh","childId":238,"unit":"€","value":0.42,"log":"0.0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Coût jour"} [27.03.2021] [22:36:25] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setValue>>>child 238, updated value: 0.42 [27.03.2021] [22:36:25] [DEBUG] [QA_ECODEVICES_235]: ecodevicesClass:setLog>>>child 238, now log value is: 0.0 kWh [27.03.2021] [22:36:25] [DEBUG] [QA_ECODEVICES_235]: afficheChilds>>>json.encode(childsConfig[T1SimuBaseMois])={"indexUnit":"Wh","childId":239,"unit":"€","log":"0 kWh","fibaroType":"com.fibaro.multilevelSensor","name":"Simul. BASE mois"} Partager ce message Lien à poster Partager sur d’autres sites
Barelle 167 Signaler ce message Posté(e) 27 mars 2021 Ben, le diagnostic est aisé : readEcodevices>>>OK, response.data={"product":"Eco-devices","T1_PTEC":"----","T1_PAPP":0,"T1_BASE":0,"T2_PTEC":"----","T2_PAPP":0,"T2_BASE":0,"INDEX_C1":11463,"INDEX_C2":0} ton EcoDevices ne renvoie que des zéros, sauf pour C1... Si tu rentres "http://aaa.bbb.ccc.ddd/api/xdevices.json?cmd=10" avec aaa.bbb.ccc.ddd l'adresse IP de l'EcoDevices dans un navigateur, quelle est la réponse ? Partager ce message Lien à poster Partager sur d’autres sites
couillerot 749 Signaler ce message Posté(e) 27 mars 2021 ceci : {"product":"Eco-devices","T1_PTEC":"HP..","T1_PAPP":1240,"T1_HCHP":127487319,"T1_HCHC":95288144,"T2_PTEC":"HP..","T2_PAPP":140,"T2_HCHP":57674870,"T2_HCHC":64252699,"INDEX_C1":46678,"INDEX_C2":0} Partager ce message Lien à poster Partager sur d’autres sites