Asoba Ona Documentation

Energy Forecasting Made Simple

See how Ona’s platform transforms solar asset management in just 2 minutes.


Watch the Demo


Choose Your Path

🏒

Business Users

Solar asset owners, O&M teams, and energy managers

  • Asset Performance Monitoring
  • Predictive Maintenance
  • Financial Impact Analysis
Explore Business Solutions
βš™οΈ

Technical Users

Developers, system integrators, and technical teams

  • API Integration
  • SDK Documentation
  • Deployment Guides
Go to Technical Docs
🎯

Use Cases

Industry-specific solutions and applications

  • EPC Post-Construction
  • O&M Optimization
  • Asset Performance
View Use Cases
❓

FAQ

Quick answers to common questions

  • General Questions
  • Technical Support
  • Business Inquiries
View FAQ

Products & Services

Ona Terminal

Ona Terminal

AI-powered CLI for energy asset management

CLI Automation OODA
Learn More
PolicyAnalyst

PolicyAnalyst

Regulatory compliance and policy analysis

Compliance Policy Regulations
Learn More

Industry Use Cases

O&M Optimization

Operations

AI-powered operations and maintenance optimization using the OODA loop methodology

πŸ”§ Predictive Maintenance
⚑ Performance Optimization
πŸ’° Cost Reduction
πŸ“Š Asset Analytics
Explore O&M Solutions

Insurance & Risk Management

Financial

AI-driven insurance platform with live monitoring and instant parametric payouts

πŸ›‘οΈ Risk Monitoring
⚑ Instant Payouts
πŸ“‹ Compliance Management
πŸ“Š Document Automation
Explore Insurance Solutions

Quick Start Options

🐍 Python Script

Upload data and get forecasts with a simple Python script

Start with Python

πŸ“¦ SDK

Use our official SDK for seamless integration

Use the SDK

🌐 REST API

Direct API calls for maximum flexibility

Use REST API

Python Quickstart

1. Install Dependencies

pip install requests python-dotenv

2. Set Up Your Environment

Create a .env file with your API credentials:

ONA_API_URL=https://yn058ezh38.execute-api.af-south-1.amazonaws.com/prod
ONA_API_KEY=your-api-key-here

3. Upload Historical Data & Train Model

import os
import requests
from dotenv import load_dotenv

load_dotenv()

def upload_and_train():
    # Upload historical data
    url = f"{os.getenv('ONA_API_URL')}/upload_historical"
    headers = {"x-api-key": os.getenv('ONA_API_KEY')}
    
    params = {
        "customer_id": "your-customer-id",
        "filename": "historical_data.csv",
        "manufacturer": "SolarEdge", 
        "location": "CapeTown",
        "region": "af-south-1"
    }
    
    with open('historical_data.csv', 'rb') as file:
        response = requests.post(url, params=params, headers=headers, data=file)
        print(f"Upload: {response.status_code}")
    
    # Train forecasting model
    train_url = f"{os.getenv('ONA_API_URL')}/train"
    train_params = {
        "customer_id": "your-customer-id",
        "location": "CapeTown",
        "manufacturer": "SolarEdge",
        "serial_number": "SE123456",
        "region": "af-south-1",
        "testing": "True"
    }
    
    train_response = requests.post(train_url, params=train_params, headers=headers)
    print(f"Training: {train_response.status_code}")
    return train_response.json()

# Run it
result = upload_and_train()
print("βœ… Model training started! Check your email for results.")

SDK Quickstart

1. Install the SDK

pip install ona-sdk  # Python
# or
npm install ona-sdk  # JavaScript

2. Quick Example

from ona_sdk import OnaClient

# Initialize client
client = OnaClient(api_key="your-api-key")

# Upload and train in one step
result = client.upload_and_train(
    file_path="energy_data.csv",
    customer_id="your-id",
    location="CapeTown",
    manufacturer="SolarEdge"
)

print("βœ… Training started! Results will be emailed to you.")

REST API Quickstart

1. Upload Historical Data

curl -X POST "https://yn058ezh38.execute-api.af-south-1.amazonaws.com/prod/upload_historical" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/octet-stream" \
  -F "customer_id=your-customer-id" \
  -F "filename=data.csv" \
  -F "manufacturer=SolarEdge" \
  -F "location=CapeTown" \
  -F "region=af-south-1" \
  --data-binary @your-data.csv

2. Start Model Training

curl -X POST "https://yn058ezh38.execute-api.af-south-1.amazonaws.com/prod/train" \
  -H "x-api-key: YOUR_API_KEY" \
  -G \
  -d "customer_id=your-customer-id" \
  -d "location=CapeTown" \
  -d "manufacturer=SolarEdge" \
  -d "serial_number=SE123456" \
  -d "region=af-south-1" \
  -d "testing=True"

Need Help?

Get Help & Stay Updated

Contact Support

For technical assistance, feature requests, or any other questions, please reach out to our dedicated support team.

Email Support Join Discord

Subscribe to Updates

* indicates required

Β© 2025 Asoba Corporation. All rights reserved.