# SolarEdge

> Monitor solar sites, production, power flow and equipment in SolarEdge.

App · 11 actions. Web page: https://docs.lodol.com/docs/integrations/solaredge

## Actions

### Get current power flow

Read the current flows among the array, site, battery and grid.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "siteCurrentPowerFlow": {
      "connections": [
        {
          "from_": "PV",
          "to": "LOAD"
        }
      ],
      "unit": "kW"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get environmental benefits

Read the site’s estimated emissions savings.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "envBenefits": {
      "gasEmissionSaved": {
        "co2": 450,
        "units": "Kg"
      }
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get equipment inventory

List inverters, meters, batteries and other site equipment.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "Inventory": {
      "inverters": [
        {
          "name": "Inverter 1",
          "serialNumber": "example"
        }
      ]
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get site

Get a site’s status, location and equipment details.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "details": {
      "id": 12345,
      "location": {
        "timeZone": "America/Los_Angeles"
      },
      "name": "Home solar",
      "status": "Active"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get site data period

Find the earliest and latest dates with monitoring data.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "dataPeriod": {
      "endDate": "2025-12-30",
      "startDate": "2025-01-01"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get site energy

Read solar production for a date range.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.
- Start date (`start_date`, date, required): First day to include.
- End date (`end_date`, date, required): Last day to include.
- Time unit (`time_unit`, text): Choose how to group the readings. One of: `QUARTER_OF_AN_HOUR` (15 minutes), `HOUR`, `DAY`, `WEEK`, `MONTH`, `YEAR`.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "energy": {
      "unit": "Wh",
      "values": [
        {
          "date": "2025-06-01 00:00:00",
          "value": 4500
        }
      ]
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get site overview

Read current power and recent energy totals.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "overview": {
      "currentPower": {
        "power": 1100
      },
      "lastDayData": {
        "energy": 4500
      }
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get site power

Read recorded production power for a time range.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.
- Start time (`start_time`, date and time, required): Start of the measurement range.
- End time (`end_time`, date and time, required): End of the measurement range.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "power": {
      "unit": "W",
      "values": [
        {
          "date": "2025-06-01 12:00:00",
          "value": 1100
        }
      ]
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get total site energy

Read total solar energy produced across a date range.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.
- Start date (`start_date`, date, required): First day to include.
- End date (`end_date`, date, required): Last day to include.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "timeFrameEnergy": {
      "energy": 4500,
      "unit": "Wh"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List inverters

List the site’s inverters and their serial numbers.

**Inputs**

- Site (`site_id`, text, required): Select a monitoring site or enter its ID.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "reporters": {
      "count": 1,
      "list": [
        {
          "name": "Inverter 1",
          "serialNumber": "example"
        }
      ]
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List sites

Find monitoring sites available to your account.

**Inputs**

- Search (`search`, text): Filter sites by name or address text.
- Limit (`limit`, number): Maximum sites per page. From 1 to 100.
- Offset (`offset`, number): Number of matching sites to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "sites": {
      "count": 1,
      "site": [
        {
          "id": 12345,
          "name": "Home solar",
          "status": "Active"
        }
      ]
    }
  },
  "has_more": false,
  "next_cursor": null
}
```
