Hi there,
i’m trying to create a kind of alerting rule and doing some calculation based on statitstics deltas of my total_increasing entities.
Specifically i want to set up a rule for water loss detection. Something like if during the night hours the value never goes down to 10L every 5 minutes or if it goes over a threshold. I already have a statistics graph like this for water consumption:
Then what i want to do is to create a fake entity measuring the returned energy from my PV plant. I already have a multimeter measuring the total (total_increasing) consumed energy (including the PV) and the PV production (another total_increasing) from my inverters.
What is the easiest way to subtract each delta to have the eventually returned energy?
Thanks!
1 post - 1 participant