#Consumption always equal to Solar production in power sources graph
1 messages · Page 1 of 1 (latest)
No, is your grid power sensor actually going negative when you export PV?
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.
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
sure thing
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
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...
which i find odd, because its the helper that i connect that should be reflected as the grid right?
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'
You can just look that entity up and see it's current value
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
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
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!
Hehe, so you're 300mW is shown in the graph but you just can't make it out :p