FFFF Add REST API for `Home Consumption Analytics` (home_load) domain · Issue #10 · edge-mining/app · GitHub
[go: up one dir, main page]

Skip to content

Add REST API for Home Consumption Analytics (home_load) domain #10

Closed

Description

@GitGab19

Child-issue of #16 specific for the Home Consumption Analytics (home_load) domain.

Activity

  1. self-assigned this
    on Sep 15, 2025
  2. markoceri commented on Sep 26, 2025

    @markoceri
    Collaborator

    Implementing the REST API for home loads requires implementing the full home loads stack (repository port, database adapters, dedicated configuration service functions, etc.).

    The way edge mining produces (or retrieves) home load forecast data has been intentionally left incomplete in order to gain more insight into how home loads can be used.

    The idea is to implement something very similar to the implementation for the energy forecasting domain, where ForecastInterval objects track the start and end dates of the forecasted energy consumption, the kWh values ​​of the forecasted energy, and finally a list of ForecastPowerPoints that track the instantaneous power forecasted in the interval.

    Secondly, I plan to implement two specific adapters:

    • One that retrieves data from an external system and populates the consumption history for a given home load, saving it to a local database. I believe this operation can be performed on demand directly from the frontend/API or CLI, or performed regularly directly from the optimization service. This second option is worth considering.
    • The second uses historical data relating to the specific home load to estimate future consumption.

    Further details on the basic functionality of the home loads domain will be discussed in issue #15.

    In conclusion, the implementation of the features that solve this problem are subordinated to the definition of the elements of the home load domain.

  3. GitGab19 commented on Nov 12, 2025

    @GitGab19
    MemberAuthor

    Blocked by #15

  4. transferred this issue fromedge-mining/coreon May 6, 2026
  5. markoceri commented on Jun 28, 2026

    @markoceri
    Collaborator

    implemented in previous commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0