apiEnedis icon indicating copy to clipboard operation
apiEnedis copied to clipboard

sensors energy per hour and cost per hour showing wrong values

Open Dominik-1980 opened this issue 2 years ago • 9 comments

This two sensors are showing wrong data. It is always more than in real.

Dominik-1980 avatar Jul 07 '22 17:07 Dominik-1980

Enedis is pushig half hours by half hours since a couple of weeks, so amount in HA is x2

inoxas78 avatar Jul 09 '22 17:07 inoxas78

The content-card-linky integration is showing correct daily values for me.

Where do you see doubled values.

I checked my data (/config/custom_components/myEnedis/myEnedis/CONTRACTID/update(DataYesterdayHCHP|updateLast7DaysDetails).json versus the test data that already shows data for half hours (example: https://github.com/saniho/apiEnedis/blob/main/tests/Json/Sequence1/data_8.txt ) which are just averages (so consumed = value * 0.5h ).

Either the test verifications need to be updated, or new test data is needed to set up a new test and identify the issue to fix it.

mdeweerd avatar Jul 09 '22 20:07 mdeweerd

The Linky Contact Card works just fine. If you add a sensor to the HA Energy Dashboard it is showing wrong values. And sadly it is not always the double. This would be easy by multiplying the consumption sensor by 0,5. For me it is day -2 and the consumption is sometimes x1 and sometimes x2. I could not find out when the sensor doubles the value and when not... Some hours are showing the real consumption, some hours the double...

Dominik-1980 avatar Jul 10 '22 10:07 Dominik-1980

I am surprised that you are getting the hourly detail in the Energy dashboard.

However if hours are days, then this could be explained if "double" is "more or less double" if the data can not be retrieved daily. The energy dashboard then shows the total for more than one day. The Energy dashboard does not allow updating data in the past - it just adds up every hour.

Check the numbers you get in "Developer > States". The numbers I find there in my case are correct.

image

(Do not mind the reported version, I am using a local developer's setup).

mdeweerd avatar Jul 11 '22 17:07 mdeweerd

For me data from sensor.myenedis_energy_hours_xxxPDLxxx is completely wrong.

From Enedis site I read for yesterday 30.9 kWh. From my discrete energy counter I read 30.61 kWh. From sensor.myenedis_energy_hours_xxxPDLxxx in Energy I read 192.29 kWh. !!!

6.2 time more. I'm powered in 3 phases network and 6.2 is not far from 3 x 2 = 6 :).

Hereafter I copy hourly data from Enedis website and sensor.myenedis_energy_hours_xxxPDLxxx : Conso1 Conso2

Cook23 avatar Oct 04 '22 09:10 Cook23

Same for me, the value doesn't make any sense: 2022-10-11 at 09 11 05@2x 2022-10-11 at 09 11 30@2x

I have a "standard" TIC and i'm 3 phases.

chrobiche avatar Oct 11 '22 07:10 chrobiche

attention les données sont décalées de 48, car HA ne sais pas "injecter"des données à postério, donc il faut comparer de la manière suivante par exemple Energy Usage en date du 28/11 avec enedis en date du 26/11 -- je sais 'est pas génial, mais c'est la seule solution à ce jour ;(

saniho avatar Nov 28 '22 20:11 saniho

Bonjour tout le monde, j'ai le même souci ici. Des valeurs positives et négatives qui sont très loin de la réalité. Sur la carte, les valeurs quotidiennes sont correctes. Avez-vous besoin de plus d'infos pour aider au debug ?

wpchannel avatar Jan 14 '23 14:01 wpchannel

des avancées ?

vlitkowski avatar May 19 '23 15:05 vlitkowski