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

Dynamic text variables for filter #186

Closed
lordleicester opened this issue Jul 27, 2021 · 3 comments
Closed

Dynamic text variables for filter #186

lordleicester opened this issue Jul 27, 2021 · 3 comments
Assignees
Labels
enhancement Feature request
Milestone

Comments

@lordleicester
Copy link

I am using Analytics to track the energy output of my PV modules each minute (*).
Every morning i have to set my filter to the new date (today) and safe the view.
Else the overview can be quite overwelming and take some time to load.

I would consider it a big improvement, if i could set the filter to either:

  • Show last n datapoints
  • Show today (dynamic)
  • Show last week/month/year (dynamic)
  • Show last n minutes/hours/days (dynamic)

image


(*) Using JSON-Data-Load (Analytics), Shelly 2.5 (Energy Meter), Synology Planned Task to trigger occ analytics:load

@Rello
Copy link
Owner

Rello commented Jul 28, 2021

Hi,
that is defiantly a todo. perhaps I manage to include this in the next release.
there were preparations already for this in the database schema.
the current release also prepared the topic of text-variables
...

@Rello Rello added this to the 3.7.0 milestone Jul 28, 2021
@Rello Rello self-assigned this Jul 28, 2021
@Rello Rello added the enhancement Feature request label Jul 28, 2021
@lordleicester
Copy link
Author

Hey,
thank you! I really appreciate it!
And regardless of the outcome: Thank you for all the work you have put in this awsome plugin already!
I wish being capable of creating somthing as awsome as this =)
Keep it up!

@Rello Rello changed the title Enhanced Filter Dynamic filter (dates/ranges) Oct 13, 2021
@Rello Rello mentioned this issue Oct 13, 2021
31 tasks
@Rello Rello modified the milestones: 3.7.0, 4.0.0 Nov 10, 2021
@Rello Rello removed this from the 4.0.0 milestone Nov 11, 2021
@Rello Rello added the in progress development in progress label Feb 21, 2022
@Rello Rello added this to the 4.1.0 milestone Feb 21, 2022
@Rello Rello changed the title Dynamic filter (dates/ranges) Dynamic textvariables for filter Feb 21, 2022
@Rello Rello changed the title Dynamic textvariables for filter Dynamic text variables for filter Feb 21, 2022
Rello added a commit that referenced this issue Feb 21, 2022
@Rello
Copy link
Owner

Rello commented Feb 22, 2022

Text filters can be used in the filter dialog. An optional formatting can be added with () in case the time column does have a different format.
Bildschirmfoto 2022-02-22 um 23 15 32

The filter is indicated in the report as "clean" output
Bildschirmfoto 2022-02-22 um 23 05 25

All available filters can be found in the wiki

@Rello Rello added testing development finished; in testing and removed in progress development in progress labels Feb 22, 2022
Rello added a commit that referenced this issue Feb 22, 2022
@Rello Rello removed the testing development finished; in testing label Mar 6, 2022
@Rello Rello closed this as completed Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request
Projects
None yet
Development

No branches or pull requests

2 participants