Savings Update for TOU 4pm to 9pm #68
Replies: 4 comments 10 replies
-
Thanks for opening this discussion @Flying-Ace . I updated the subject to what I think you are talking about. I agree with you. We need to update the query for savings data to accurately represent TOU pricing. Currently it uses just ONE rate. I welcome help from any Grafana + Influx expert to suggestion any edits or approach. I'll add it to my backlog to research as soon as I have some time. |
Beta Was this translation helpful? Give feedback.
-
I have the same kind of Issue. I do not get any Credits for the time between 9:00am and 4:00pm. I did some research but haven't found anyway to implement this kind of query. But I'm not really an Expert here so I hope there is somebody with more experience who can give me a hint hot to do it. |
Beta Was this translation helpful? Give feedback.
-
To expand on this, my electric rate with my co-op varies by year and usage. The first 600kWh is the same all year, but the rate after 600kWh is lower from the months of Nov-April. The credit is always the same. |
Beta Was this translation helpful? Give feedback.
-
I would like to say I'm following along, but despite the fact that I did pure and applied maths (and that's showing my age), I'm not following along. Perhaps it is still too early in the morning on a Public Holiday. I still haven't written up the MySQL approach because that also requires thinking, and I'm blocked on how to solve my current problem which is - while the MySQL approach first written up by @youzer-name was working brilliantly for me, now that I have a volume varying tariff (first 10kWh per day feed in at one rate, residual at another rate) it does not, and I'm yet to work out a clean solution for that problem either. I know I can, it is just how to work out how to do it cleanly that I haven't yet worked out. It's the sort of problem that I will wake up one morning, having solved overnight, it is only that my subconscious SQL brain is obviously on holiday mode. But, I only mention that because it sounds like this approach goes some way towards solving both. It still seems like you need a table of tariffs, but combine that table of tariffs and some InfluxQL and 🤷 |
Beta Was this translation helpful? Give feedback.
-
Hi, need help with a query statement for sum of a 4pm to 9pm blocks per timeFilter (ie: 2 separate time filters).
Current Stock Query is the timefilter for grafana.
SELECT integral("to_grid") / 1000 / 3600 FROM "autogen"."http" WHERE $timeFilter tz('America/Los_Angeles')
the current cost filter powerwall to home, or solar to grid doesnt capture exactly the periods of 4pm to 9pm.
Desired: similar query but for the 4pm to 9pm period block, WHERE $timeFilter.
ex: if time filter is 2days, i want the integral/sum of the todays 4pm-9pm & yesterday's total of from 4pm-9pm.
ex: i want to know how much net usage for during my tou peak period for the entire month.
Beta Was this translation helpful? Give feedback.
All reactions