@Charles J'ai utilisé le dépôt de Sylvain Remy https://github.com/sremy91/LibTeleinfo J'ai modifié la partie Webclient.cpp pour transmettre les index HC et HP au dispositif virtuel "P1 Smart meter" (il aurait mieux valu faire un if de test pour les tarifs BASE ou HCHP mais je suis un débutant en C++) : // /json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=USAGE1;USAGE2;RETURN1;RETURN2;CONS;PROD if(config.domoticz.idx_p1sm > 0) { /* // Programmation d'origine Sylvain Remy incomplète // fonctionnement standard "BASE" url = baseurl; url += "idx="; url += config.domoticz.idx_p1sm; url += "&nvalue=0"; url += "&svalue="; url += String(atoi(meMap["BASE"].c_str())).c_str(); url += ";0;0;0;"; url += String(atoi(meMap["PAPP"].c_str())).c_str(); url += ";0"; */ // Modification Ph. Marsault -> envoi heures pleines / heures creuses url = baseurl; url += "idx="; url += config.domoticz.idx_p1sm; url += "&nvalue=0"; url += "&svalue="; url += String(atoi(meMap["HCHP"].c_str())).c_str(); url += ";"; url += String(atoi(meMap["HCHC"].c_str())).c_str(); url += ";0;0;"; url += String(atoi(meMap["PAPP"].c_str())).c_str(); url += ";0"; if(!httpPost( config.domoticz.host, config.domoticz.port, (char *) url.c_str())) { ret = false; } /* Info(config.domoticz.host); InfoF(":"); Info(config.domoticz.port); Infoln((char *) url.c_str()); InfoF("ret="); Infoln(ret); Infoflush(); */ } Pour afficher seulement la puissance apparente (PAPP), j'utilise un dispositif virtuel "Custom sensor" Philippe