Open samuelolteanu opened 1 year ago
This would also be nice for the Solis solar inverters, which update every 3-4 minutes. The calculation is never right with slow interval entities.
Very nice work! I have been waiting for someone to do add more entities to the flow cards.
+1 for this, I'd love to have this also.
Hi all, my bad, somehow GitHub didn't have me auto subscribed to my own repo... open source facepalm Now just trying to understand the ask a bit better.
In my case, my batteries might show 100w into system from them, and my inverter shows 95w from system being sent to AC appliances. Thats due to the 95% efficiency of my inverter. So my "system" center entity would show -5w just to show theres an unaccounted for discrepancy in the flow.
Since its an overall "in" vs "out" equation, I'm not sure what else we'd want the system value to show, besides being a catch all for values unaccounted for.
@kongjudas for the Solis, I agree thats annoying. My AC power induction stove oscillates between 0-100% power draw, and the battery measurement is a second off, so the "system" entity usually bounces around alot while I'm cooking.
I suspect it's not intentional, but system in my case shows -(solar+grid ). I'm thinking there could be a boolean that disables all calculations, and leave us to measure or calculate, including moving bubble direction and speed by declaring on each element the moving formula, a simple linear regression (-100 to +100 %).
Based on your explanation, you have everything ignored in the calculation except solar and grid. So as far as the calculation is concerned, you have 1485w + 160w = 1695w going "into" the system. Since you aren't including any of the power "leaving" the system, the 1695w is unaccounted for in its flow and shows in the system as unaccounted for power that must be removed somewhere.
If you included all ins/outs (besides the 77*C): 1485w + 160w - 1662w - 3w - 1457w = -1477w Your system tile would show 1477w positive, because something must be producing 1477 additional watts to account for the system flow being accurate.
Sounds like you're asking for a feature to allow the system tile (-1645w) to be just your own variable that you've calculated somehow on your own? At that point it would just be a value showing there, it wouldn't affect anything else.. But let me know and I could look into adding that.
As for the dot speed, I do allow customizing the overall speed of all dots through the speed
line in the config. It measures the flow of that element against the average flow of all the elements, and applies the number you set to speed or slow the dot flows. I guess I could allow that to be its own passed in value as well, I wasn't envisioning people would want to constantly be calculating that on their own.
The "system" concept went over my head the first time I installed the card, so I exclued elements with consumption and treated system as total home consumption. For my case, it somewhat works as there is no battery to complicate things and yes, I would still want to calculate it in a template sensor. I suggest using an entity similar to "fill" if dot speed is not working properly when calculation is disabled. My intention is to use text (non-numeric) sensors for elements, just to squeeze another bit of information in this awesome graph. Active/inactive treshold could be used by a dot speed comparator.
Great work. As the title says, I'm unable to display an entity value in system object. I suspect this is intentional, it is calculated, but in my case, there are some loses (inverter has some power usage) and it's just more precise for me to display the measurement of its ouput. I also don't export energy and it would be more aestetically pleasing to show a positive value in system. Awesome job on the extra entities, I think i have a good replacement for tesla-style-solar-power-card by reptilex.