Suite du sujet Actualisation courbe d’aujourd’hui :
Bonjour à tous, je remets ici une demande d’aide lié à l’affichage du widget/template du plugin SolCast :
Le template du plugin merdouille :
Egalement quand on affiche les 2 autre graphique, ceux-ci restent vierges.
Je n’ai le plugin que depuis 2 jours, donc je ne sais pas si ces défauts sont habituels ni si ça vient de chez moi…
Les logs disent que tout va bien :
3126|[2024-01-05 10:45:11][DEBUG] : #####---------------------------------------------------------#####
3127|[2024-01-05 11:05:06][DEBUG] : SolCast ->
3128|[2024-01-05 11:05:06][DEBUG] : cfg_isGlobalEquipement : 0
3129|[2024-01-05 11:05:06][DEBUG] : cfg_GlobalEquipement : 0
3130|[2024-01-05 11:05:06][INFO] : // Début du traitement du site SolCast //
3131|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_resource_id : 3070-f433-7369-1748
3132|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_api_key (length) : 32
3133|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_bypassAPI : 0
3134|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_email (length) : 0
3135|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_password (length) : 0
3136|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_selectNBJourPrevision : 2
3137|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_selectStartPrevision : 6
3138|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_selectEndPrevision : 21
3139|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_CmdRefreshDataFrequency 2
3140|[2024-01-05 11:05:06][DEBUG] : getInformations cfg_isGlobalEquipement 0
3141|[2024-01-05 11:05:06][INFO] : Lecture des données de production uniquement
3142|[2024-01-05 11:05:06][DEBUG] : PROD Index Command Found - [Jardin][Passerelle Enphase][Prod Jour] = 136.72
3143|[2024-01-05 11:05:06][DEBUG] : DayStart : 0
3144|[2024-01-05 11:05:06][DEBUG] : DayEnd : 136.72
3145|[2024-01-05 11:05:06][DEBUG] : DiffDay : 136.72
3146|[2024-01-05 11:05:06][DEBUG] : PROD Value : 137
3147|[2024-01-05 11:05:06][DEBUG] : Prod Value Old : 29
3148|[2024-01-05 11:05:06][DEBUG] : Prod Value Hour : 108
3149|[2024-01-05 11:05:06][DEBUG] : --- Création ou mise à jour des commandes pour SolCast---
3150|[2024-01-05 11:05:06][DEBUG] : Tableau de production pour la journée -> {"lastvalue":137,"00":0,"01":1,"02":0,"03":0,"04":0,"05":0,"06":0,"07":0,"08":0,"09":0,"10":28,"11":108}
3151|[2024-01-05 11:05:06][DEBUG] : --- Création ou mise à jour des commandes pour SolCast---
3152|[2024-01-05 11:05:06][INFO] : // Fin du traitement du site SolCast //
3153|[2024-01-05 11:05:07][DEBUG] : #####---------------------------------------------------------#####
3154|[2024-01-05 11:05:07][INFO] : [template] Affichage du template pour SolCast [START]
3155|[2024-01-05 11:05:07][DEBUG] : [template] Heures ajustées : 9 17
3156|[2024-01-05 11:05:07][DEBUG] : [template] json_array_pv_reliability : [{"6":{"ecart":0,"percent":100},"7":{"ecart":0,"percent":100},"8":{"ecart":0,"percent":100},"9":{"ecart":1,"percent":100},"10":{"ecart":27,"percent":37},"11":{"ecart":207,"percent":41},"12":{"ecart":313,"percent":23},"13":{"ecart":217,"percent":24},"14":{"ecart":264,"percent":42},"15":{"ecart":224,"percent":41},"16":{"ecart":152,"percent":45},"17":{"ecart":36,"percent":42},"18":{"ecart":0,"percent":100},"19":{"ecart":0,"percent":100},"20":{"ecart":0,"percent":100},"21":{"ecart":0,"percent":100}},{"6":{"ecart":0,"percent":100},"7":{"ecart":0,"percent":100},"8":{"ecart":0,"percent":100},"9":{"ecart":33,"percent":18},"10":{"ecart":700,"percent":11},"11":{"ecart":1000,"percent":24},"12":{"ecart":1265,"percent":29},"13":{"ecart":1236,"percent":29},"14":{"ecart":1013,"percent":31},"15":{"ecart":682,"percent":37},"16":{"ecart":332,"percent":46},"17":{"ecart":38,"percent":92},"18":{"ecart":0,"percent":100},"19":{"ecart":0,"percent":100},"20":{"ecart":0,"percent":100},"21":{"ecart":0,"percent":100}}]
3157|[2024-01-05 11:05:07][DEBUG] : [template] Fiabilité de la prévision à J+0 : 35%
3158|[2024-01-05 11:05:07][DEBUG] : [template] Indice de fiabilité de la prévision à J+0 : 2/4
3159|[2024-01-05 11:05:07][DEBUG] : [template] d0_percent_number_prod_forecast : 0.11
3160|[2024-01-05 11:05:07][DEBUG] : [template] Fiabilité de la prévision à J+1 : 29%
3161|[2024-01-05 11:05:07][DEBUG] : [template] json_array_prod_watt_hours : {"lastvalue":137,"00":0,"01":1,"02":0,"03":0,"04":0,"05":0,"06":0,"07":0,"08":0,"09":0,"10":28,"11":108}
3162|[2024-01-05 11:05:07][DEBUG] : [template] json_array_forecast_6h : {"6":0,"7":0,"8":0,"9":10,"10":94,"11":217,"12":274,"13":302,"14":313,"15":254,"16":163,"17":42,"18":0,"19":0,"20":0,"21":0}
3163|[2024-01-05 11:05:07][DEBUG] : [template] dataForecast : 0, 6, 86, 152, 109, 94, 279, 278, 173, 42
3164|[2024-01-05 11:05:07][DEBUG] : [template] dataForecast6h : 0, 10, 94, 217, 274, 302, 313, 254, 163, 42
3165|[2024-01-05 11:05:07][DEBUG] : [template] json_array_watt_month : {"prev":{"03":168,"04":7229},"prev6h":{"03":null,"04":9381},"prod":{"03":"","04":5953}}
3166|[2024-01-05 11:05:07][DEBUG] : [template] json_array_watt_year : {"prev":{"01":7397},"prev6h":{"01":9381},"prod":{"01":5953}}
3167|[2024-01-05 11:05:07][INFO] : [template] Affichage du template pour SolCast [END]
3168|[2024-01-05 11:05:07][DEBUG] : #####---------------------------------------------------------#####
3169|[2024-01-05 11:05:07][DEBUG] : #####---------------------------------------------------------#####
3170|[2024-01-05 11:15:08][DEBUG] : #####---------------------------------------------------------#####
J’ai des erreurs qui apparaissent sur la console :
Uncaught TypeError: Cannot read properties of undefined (reading 'y')
at p.n (highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:601:318)
at highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:18:261
at Array.forEach (<anonymous>)
at z (highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:18:231)
at a.generatePoints (highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:441:418)
at p.u [as generatePoints] (highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:623:241)
at a.translate (highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:443:467)
at highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:393:509
at Array.forEach (<anonymous>)
at a.renderSeries (highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:393:487)
n @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:601
(anonyme) @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:18
z @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:18
a.generatePoints @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:441
u @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:623
a.translate @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:443
(anonyme) @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:393
a.renderSeries @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:393
a.render @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:396
a.firstRender @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:399
(anonyme) @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:368
z @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:18
a.init @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:366
a.getArgs @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:366
a @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:365
a.chart @ highstock.js?md5=96f51195c018aa52b1de1fc91d9326cc:366
(anonyme) @ VM973:142
domUtils.loadScript @ getResource.php?file=core/dom/dom.utils.js&md5=de6f1cdaed6b4acfbb3f8b94b812a5a5&lang=fr_FR:358
script.onload @ getResource.php?file=core/dom/dom.utils.js&md5=de6f1cdaed6b4acfbb3f8b94b812a5a5&lang=fr_FR:346
load (asynchrone)
domUtils.loadScript @ getResource.php?file=core/dom/dom.utils.js&md5=de6f1cdaed6b4acfbb3f8b94b812a5a5&lang=fr_FR:345
Element.html @ getResource.php?file=core/dom/dom.utils.js&md5=de6f1cdaed6b4acfbb3f8b94b812a5a5&lang=fr_FR:427
success @ getResource.php?file=desktop/js/dashboard.js&md5=c2ca61b3b5aafecdd97efe87e550e111&lang=fr_FR:332
success @ getResource.php?file=core/js/private.class.js&md5=7b733ae0373ba388cc1760c4b3287ff6&lang=fr_FR:115
(anonyme) @ getResource.php?file=core/dom/dom.utils.js&md5=de6f1cdaed6b4acfbb3f8b94b812a5a5&lang=fr_FR:593
Promise.then (asynchrone)
domUtils.ajax @ getResource.php?file=core/dom/dom.utils.js&md5=de6f1cdaed6b4acfbb3f8b94b812a5a5&lang=fr_FR:592
jeedom.object.toHtml @ getResource.php?file=core/js/object.class.js&md5=57c87378c212f8ee710e678472eff3c9&lang=fr_FR:128
getObjectHtml @ getResource.php?file=desktop/js/dashboard.js&md5=c2ca61b3b5aafecdd97efe87e550e111&lang=fr_FR:313
(anonyme) @ getResource.php?file=desktop/js/dashboard.js&md5=c2ca61b3b5aafecdd97efe87e550e111&lang=fr_FR:44
init @ getResource.php?file=desktop/js/dashboard.js&md5=c2ca61b3b5aafecdd97efe87e550e111&lang=fr_FR:42
(anonyme) @ getResource.php?file=desktop/js/dashboard.js&md5=c2ca61b3b5aafecdd97efe87e550e111&lang=fr_FR:388
Côté JS honnettement je ne sais pas dire s’il y a des erreurs…
On visualise une liste de scripts :
Merci pour ton aide.
Je peux aussi tenter de désinstaller le plugin et le réinstaller pour voir mais je vais perdre mes données du coup…
Sinon tenter une réinstallation…
Je joins comme suggéré un screenshot de la page de configuration du plugin:
Et de la page santé de jeedom :
Notez que les mises à jour dispo ne concernent pas SolCast :
Laissez moi savoir si vous rencontrez le même problème ou si vous l’avez déjà eu/résolu, ou encore si je suis un cas isolé…
Merci à tous