Add support for generating sankey diagram #307
Replies: 2 comments 2 replies
-
|
No. All available values are already available. Those can be estimated out from the available values. |
Beta Was this translation helpful? Give feedback.
-
|
Yes — you can build a Sankey using values that already exist in the integration (no new Modbus regs needed), by deriving the individual “flows” with template sensors. At plant level you already have (names may vary slightly):
From those you can create signed-split sensors:
Then a reasonable decomposition for the Sankey flows (power-balance based) is:
This won’t be perfect in every topology (e.g., if battery can charge from PV while grid also exports, or if the sign conventions differ), but it matches the typical on-grid energy balance and works well for Sankey visualization. If you confirm the sign conventions for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to expose the following values to Home Assistant?
Could be used with the sankey-chart to recreate the sankey diagram
Beta Was this translation helpful? Give feedback.
All reactions