Bonjour @Charles
j'utilise Tasmota 13.1.0 compilé avec l'option Téléinfo.
Je suis en tarif de BASE monophasé 12KW sur compteur blanc et tout allait bien avec MQTT et HA.
Depuis que j'ai ajouté un kit solaire Plug&Play, je note des incohérences dans le champs "ENERGY Total" quand ma production solaire dépasse ma consommation.
J'ai regardé les logs Tasmota et je confirme le problème.
"Total" est incohérent et pourtant "BASE" est correct. Le champs "Today" semble aussi correct.
Pourquoi ne pas prendre Total=BASE/1000.0 ?
Voici les logs où Total passe de 77207.328 à 6517.575 sans explication :
13:23:30.457 MQT: tele/tasmota_C4DACB/SENSOR = {"Time":"2024-04-10T13:23:30","ENERGY":{"TotalStartTime":"2023-09-22T11:00:40","Total":77207.328,"Yesterday":13.539,"Today":9.992,"Period":0,"Power":430,"Current":2.000,"Load":3},"TIC":{"ADCO":"04XXXXXXXXX1","OPTARIF":"BASE","ISOUSC":60,"BASE":77207328,"PTEC":"TH..","IINST":2,"IMAX":51,"PAPP":430,"MOTDETAT":0}}
13:25:30.447 MQT: tele/tasmota_C4DACB/STATE = {"Time":"2024-04-10T13:25:30","Uptime":"164T15:10:05","UptimeSec":14224205,"Heap":22,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":45,"Wifi":{"AP":1,"SSId":"UBNT","BSSId":"78:8A:20:D1:50:6F","Channel":6,"Mode":"11n","RSSI":78,"Signal":-61,"LinkCount":17,"Downtime":"0T00:04:08"}}
13:25:30.458 MQT: tele/tasmota_C4DACB/SENSOR = {"Time":"2024-04-10T13:25:30","ENERGY":{"TotalStartTime":"2023-09-22T11:00:40","Total":77207.328,"Yesterday":13.539,"Today":9.992,"Period":0,"Power":410,"Current":2.000,"Load":3},"TIC":{"ADCO":"04XXXXXXXXX1","OPTARIF":"BASE","ISOUSC":60,"BASE":77207328,"PTEC":"TH..","IINST":2,"IMAX":51,"PAPP":410,"MOTDETAT":0}}
13:27:30.447 MQT: tele/tasmota_C4DACB/STATE = {"Time":"2024-04-10T13:27:30","Uptime":"164T15:12:05","UptimeSec":14224325,"Heap":22,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":45,"Wifi":{"AP":1,"SSId":"UBNT","BSSId":"78:8A:20:D1:50:6F","Channel":6,"Mode":"11n","RSSI":76,"Signal":-62,"LinkCount":17,"Downtime":"0T00:04:08"}}
13:27:30.458 MQT: tele/tasmota_C4DACB/SENSOR = {"Time":"2024-04-10T13:27:30","ENERGY":{"TotalStartTime":"2023-09-22T11:00:40","Total":77207.328,"Yesterday":13.539,"Today":9.992,"Period":0,"Power":390,"Current":2.000,"Load":3},"TIC":{"ADCO":"04XXXXXXXXX1","OPTARIF":"BASE","ISOUSC":60,"BASE":77207328,"PTEC":"TH..","IINST":2,"IMAX":51,"PAPP":390,"MOTDETAT":0}}
13:29:30.447 MQT: tele/tasmota_C4DACB/STATE = {"Time":"2024-04-10T13:29:30","Uptime":"164T15:14:05","UptimeSec":14224445,"Heap":22,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":45,"Wifi":{"AP":1,"SSId":"UBNT","BSSId":"78:8A:20:D1:50:6F","Channel":6,"Mode":"11n","RSSI":76,"Signal":-62,"LinkCount":17,"Downtime":"0T00:04:08"}}
13:29:30.457 MQT: tele/tasmota_C4DACB/SENSOR = {"Time":"2024-04-10T13:29:30","ENERGY":{"TotalStartTime":"2023-09-22T11:00:40","Total":77207.328,"Yesterday":13.539,"Today":9.992,"Period":0,"Power":370,"Current":2.000,"Load":3},"TIC":{"ADCO":"04XXXXXXXXX1","OPTARIF":"BASE","ISOUSC":60,"BASE":77207328,"PTEC":"TH..","IINST":2,"IMAX":51,"PAPP":370,"MOTDETAT":0}}
13:31:30.447 MQT: tele/tasmota_C4DACB/STATE = {"Time":"2024-04-10T13:31:30","Uptime":"164T15:16:05","UptimeSec":14224565,"Heap":22,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":45,"Wifi":{"AP":1,"SSId":"UBNT","BSSId":"78:8A:20:D1:50:6F","Channel":6,"Mode":"11n","RSSI":76,"Signal":-62,"LinkCount":17,"Downtime":"0T00:04:08"}}
13:31:30.457 MQT: tele/tasmota_C4DACB/SENSOR = {"Time":"2024-04-10T13:31:30","ENERGY":{"TotalStartTime":"2023-09-22T11:00:40","Total":6517.575,"Yesterday":13.539,"Today":10.008,"Period":16,"Power":480,"Current":2.000,"Load":3},"TIC":{"ADCO":"04XXXXXXXXX1","OPTARIF":"BASE","ISOUSC":60,"BASE":77207328,"PTEC":"TH..","IINST":2,"IMAX":51,"PAPP":480,"MOTDETAT":0}}
13:33:30.448 MQT: tele/tasmota_C4DACB/STATE = {"Time":"2024-04-10T13:33:30","Uptime":"164T15:18:05","UptimeSec":14224685,"Heap":22,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":45,"Wifi":{"AP":1,"SSId":"UBNT","BSSId":"78:8A:20:D1:50:6F","Channel":6,"Mode":"11n","RSSI":76,"Signal":-62,"LinkCount":17,"Downtime":"0T00:04:08"}}
13:33:30.458 MQT: tele/tasmota_C4DACB/SENSOR = {"Time":"2024-04-10T13:33:30","ENERGY":{"TotalStartTime":"2023-09-22T11:00:40","Total":6517.575,"Yesterday":13.539,"Today":10.008,"Period":0,"Power":410,"Current":2.000,"Load":3},"TIC":{"ADCO":"04XXXXXXXXX1","OPTARIF":"BASE","ISOUSC":60,"BASE":77207328,"PTEC":"TH..","IINST":2,"IMAX":51,"PAPP":410,"MOTDETAT":0}}
13:35:30.448 MQT: tele/tasmota_C4DACB/STATE = {"Time":"2024-04-10T13:35:30","Uptime":"164T15:20:05","UptimeSec":14224805,"Heap":21,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":45,"Wifi":{"AP":1,"SSId":"UBNT","BSSId":"78:8A:20:D1:50:6F","Channel":6,"Mode":"11n","RSSI":76,"Signal":-62,"LinkCount":17,"Downtime":"0T00:04:08"}}
13:35:30.457 MQT: tele/tasmota_C4DACB/SENSOR = {"Time":"2024-04-10T13:35:30","ENERGY":{"TotalStartTime":"2023-09-22T11:00:40","Total":6517.575,"Yesterday":13.539,"Today":10.008,"Period":0,"Power":460,"Current":2.000,"Load":3},"TIC":{"ADCO":"04XXXXXXXXX1","OPTARIF":"BASE","ISOUSC":60,"BASE":77207328,"PTEC":"TH..","IINST":2,"IMAX":51,"PAPP":460,"MOTDETAT":0}}
Cordialement,
Sébastien