Skip to main content

Components

The IDs for accessible components within your tenant can be controlled within the aurorasolar.com database section.

Solar Panels: https://app.aurorasolar.com/database/solar-panels

Inverters / Micro Inverters: https://app.aurorasolar.com/database/solar-inverters

DC Optimizers: https://app.aurorasolar.com/database/dc-optimizers

getComponents

Retrieve a list of the components that have been starred/checked within the database page.

Usage

const library = await import('<script_url>');
const sdk = await library.load({ token: '<access_token>' });

const components = await sdk.cad.getComponents();

Signature

getComponents();

Returns

A promise that resolves to 3 arrays of available components which can be used to run AutoDesigner