• 0 Open
    0 Closed
    Updated 2022-12-04 10:21:49 +00:00
    No due date

    The main feature I want to get done before the v1 release is selectable time ranges in the dashboard, so that users can not only see the data for the last week, but for whichever time period they want.

    In order to get it done, we need to: (not ordered)
    [ ] Add a setting to the admin panel that allows the administrator to select which day logging started (more on this later)
    [ ] Rework the cache so that everything is stored from the first logged day to the current day
    [ ] Rewrite cache in a more optimized format that will scale better with much more logged data, like SQLite
    [ ] Add time selectors to the template
    [ ] Get the backend to return data only for the selected timeframe

    About the first task:
    Although it would be very easy to determine the day in which logging started using HomeAssistant's API, I think it's a better idea to leave the choice up to server admins. This way, they can choose to hide data before a certain day - let's say before a hardware upgrade that impacted energy consumption.