Replies: 1 comment 11 replies
-
Hey @Steph-74 ! I can't test this right now, but I have some suspicions:
Let me know how it goes! If nothing works we can try creating a custom filter together, I'm on my phone so it will need a couple of tries. PS: I think I got a donation from you, thank you! I'll put it to good use in a mixture of beer and supporting other projects :) |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,

my use case is as foloows: I would like to compare my electricity consumption from today with data from the past in order to see, how certain changes (i.e. installation of photovoltaics, replacing the ICE with a BEV ... and next year the heat pump) affect the electricity consumption. To get the electricity consumption I add/substract a couple of entities. With the help of plotly and some discussions here I actually came petty far:
I will focus now on the self-consumption, as getting the overall electricity consumption is only on more entity to add. The above chart is generated with following coding:
As I dug into the source data (SQLite and Statisics Card), I discovered that I need to select the last record from the previous day in order to get the starting point for the sum correct. Therfore I need a function, but all my trials failed.
... apart from that, the vars data in the debuger also looks a bit wired - but compared to my intial post concerning this I can now recreate the number plotly is calculating and think, it might be related as I do not have the correct starting point:

I highly appreciate any help to get this correct ... thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions