Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use static relative start / end dates instead of using energy-date-selector #151

Closed
widewing opened this issue Nov 24, 2023 · 2 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@widewing
Copy link

Is your feature request related to a problem? Please describe.
Currently this plugin cannot show multiple charts of different dates in one dashboard. For example it's impossible to show today/yesterday/this week/last week data in one dashboard.

Additionally it cannot show more precise data than a day. Some time it's useful to know the energy usage of last hour or last few minutes.

Describe the solution you'd like
Add parameters like "start_date" / "end_date" to the chart. it can use relative annotation. I really like the Grafana's implementation: e.g. "-1d", "-1w/w"
refer: https://grafana.com/docs/grafana/latest/dashboards/use-dashboards/?pg=blog&plcmt=body-txt#set-dashboard-time-range

Describe alternatives you've considered
Predefined list of date ranges

Additional context
N/A

@MindFreeze MindFreeze added the enhancement New feature or request label Dec 6, 2023
@MindFreeze MindFreeze self-assigned this Sep 19, 2024
MindFreeze added a commit that referenced this issue Sep 27, 2024
…-date-selector

By popular demand, we now have `time_period_from` & `time_period_to` options. Format is similar to Grafana. See the README
@MindFreeze
Copy link
Owner

v3.3.0

@blacknell
Copy link

Fantastic - thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants