sense-js-sdk
    Preparing search index...

    Interface Trends

    Trend data for device usage and energy statistics.

    interface Trends {
        battery_to_grid: null;
        battery_to_home: null;
        consumption: {
            devices: TrendsDevice[];
            total: number;
            total_cost: number;
            total_costs: number[];
            totals: number[];
        };
        consumption_cost_change_cents: null;
        consumption_kwh_change: null;
        consumption_percent_change: null;
        end: string;
        from_grid: null;
        from_grid_cost: null;
        grid_to_battery: null;
        net_production: number;
        production: { total: number; total_cost: number };
        production_pct: number;
        production_percent_change: null;
        scale: string;
        solar_powered: null;
        solar_to_battery: null;
        solar_to_home: null;
        start: string;
        steps: number;
        to_grid: null;
        to_grid_cost: null;
        top_movers: null;
        trend_consumption: null;
        trend_cost: null;
        trend_text: null;
        usage_text: null;
    }
    Index

    Properties

    battery_to_grid: null
    battery_to_home: null
    consumption: {
        devices: TrendsDevice[];
        total: number;
        total_cost: number;
        total_costs: number[];
        totals: number[];
    }
    consumption_cost_change_cents: null
    consumption_kwh_change: null
    consumption_percent_change: null
    end: string
    from_grid: null
    from_grid_cost: null
    grid_to_battery: null
    net_production: number
    production: { total: number; total_cost: number }
    production_pct: number
    production_percent_change: null
    scale: string
    solar_powered: null
    solar_to_battery: null
    solar_to_home: null
    start: string
    steps: number
    to_grid: null
    to_grid_cost: null
    top_movers: null
    trend_consumption: null
    trend_cost: null
    trend_text: null
    usage_text: null