trocotronic / edistribucion

API para e-distribución (Endesa distribución)
GNU General Public License v3.0
26 stars 28 forks source link

How to get 'poured energy'? ("energía vertida") #20

Open nikuxic opened 1 year ago

nikuxic commented 1 year ago

Hi, Is it possible to get the energy poured ('vertida')? Thank you.

moralespetit commented 1 year ago

hi, yes, it is possible. You just need get the values from "mapHourlyPointsA2" from your get_meas_interval(... ) edis = Edistribucion() meas = edis.get_meas_interval(....) vertida = meas['mapHourlyPointsA2']

take in mind that first the company has to activate this feature in your account image