Renovus-Tech / solarec-python

GNU Affero General Public License v3.0
0 stars 0 forks source link

Trigger alerts based on Anomaly Detection #33

Closed fcggamou closed 1 month ago

fcggamou commented 1 month ago

Description:
Implement an alert system that triggers when there are discrepancies between predicted values and actual power generation. This alert will be integrated into our existing alert system within the API and should allow for configuration based on a specified threshold.

Tasks:

  1. Alert Configuration:

    • Design the alert system to compare predicted values against actual outcomes.
    • Implement a configurable threshold parameter to define the tolerance for discrepancies that will trigger an alert.
  2. API Integration:

    • Integrate the new alert logic into the existing API using the /solar/alerts endpoint.
    • Ensure the alerts are compatible with our current alerts system.
  3. Documentation:

    • Document the configuration process for the alert threshold.