#Consumption always equal to Solar production in power sources graph

1 messages · Page 1 of 1 (latest)

novel blaze
#

Hi all, is it expected that consumption is always equal to solar production in the power sources graph, even when exporting to the grid? Just checking if this is normal behavior or if something might be off in my setup.

muted latch
#

No, is your grid power sensor actually going negative when you export PV?

novel blaze
#

It wasnt at first (my import and export sensor are both reporting positive values), but I've fixed that by creating a helper that does (import - export). Im however still seeing the consumption tracking identically to my solar production, eventhough im exporting.

muted latch
#

Can you share an image?

And for the helper, be sure to have a default on the float-filter or, even better, add an availability template

novel blaze
#

i did just create the helper so its lacking some history

#

template for the helper that i created:

{% set positive = states('sensor.power_consumption') | float(0) %}
{% set negative = states('sensor.power_production') | float(0) %}
{{ positive - negative }}

#

And this is what im seeing when hovering the graph btw. Export at that time was ~400W

muted latch
#

Do note that template sensor will give weird values when import or export isn't available.

But the last screenshot shows it all. Your grid sensor isn't negative...

novel blaze
#

which i find odd, because its the helper that i connect that should be reflected as the grid right?

muted latch
#

Or you messed with the unit of measurment for the template. Be sure it is set to the same unit as 'sensor.power_consumption' and 'sensor.power_production'

muted latch
novel blaze
#

this is the helper itself

#

not sure if it helps but 'sensor.power_consumption' and 'sensor.power_production' are coming from the same integration (DSMR smart meter), both are reporting in the same unit and havent gone offline/unavailable

muted latch
#

I think you messed with the unit. As 0.3W = 300mW = barely anything. I think 'sensor.power_consumption' and 'sensor.power_production' are in kW and you used Watt as unit for the template

novel blaze
#

ah, good catch! hadnt noticed that

#

it should be 300W indeed

#

You're completely right, screwed up the unit and hadnt noticed it at all, thanks for pointing that out!

muted latch
#

Hehe, so you're 300mW is shown in the graph but you just can't make it out :p

novel blaze
#

Indeed 😄

#

Adjusted it and now seeing grid go negative 🙂

#

Thanks for your help!