> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.kodelabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enersponse

> Connect Enersponse to KODE OS for other data

> Connect Enersponse to KODE OS for other data integration

## Overview

Use this integration to connect Enersponse demand response and energy data to KODE OS. Historical REST collection brings usage signals, events, and performance metrics into the platform for energy programs.

| Property            | Value      |
| ------------------- | ---------- |
| **System Type**     | Other      |
| **Communication**   | REST       |
| **Collection**      | Pull       |
| **Collection Mode** | HISTORICAL |

## Supported Capabilities

* Collect Sensor Data
* Collect Non-Sensor Data

## Prerequisites

* An active account with Enersponse and access to their API or developer portal
* Username and password credentials for the Enersponse system
* KODE OS environment with access to Data Sources

## Configure Connector in KODE OS

1. Navigate to **Data Sources** in your building
2. Click **API Catalog** and search for **Enersponse**
3. Click **+ Add Datasource**
4. Fill in the fields below and complete the three-page setup flow

| Field        | Required | Type     | Description                                              |
| ------------ | -------- | -------- | -------------------------------------------------------- |
| **URL**      | Yes      | text     | The base URL or IP address of the external system        |
| **Username** | Yes      | text     | The username for authenticating with the external system |
| **Password** | Yes      | password | The password for authenticating with the external system |
| **Site ID**  | Yes      | text     | The site identifier in the external system               |

## What Data You Get

### Event Logs

System and security event records with timestamps, event types, and associated devices

KODE OS maps Enersponse data to these standard fields:

| KODE Field       | Source Field               | Notes                |
| ---------------- | -------------------------- | -------------------- |
| **id**           | `eventId`                  | --                   |
| **status**       | `eventStatus`              | --                   |
| **location**     | `site.siteAddress`         | transformed          |
| **createdAt**    | `eventStartDateTimeMillis` | --                   |
| **customFields** | `(custom fields)`          | custom fields object |

### Polling Schedule

* **EventLog** -- Default polling: 5 minutes (min: 5 minutes, max: 1 days)

For more details on collection modes, see the [Data Collection guide](/products/integrations/capabilities/data-collection).

## Use Cases

Once connected, this integration enables you to:

* Centralize Enersponse data in your building operations dashboard
* Correlate data from this system with other building systems for comprehensive analytics

## Troubleshooting

<AccordionGroup>
  <Accordion title="Authentication or connection error">
    Verify that the credentials are correct and have not expired. Check that the URL is reachable from the KODE OS environment. Verify the username and password are correct and the account has not been locked in the Enersponse system.
  </Accordion>

  <Accordion title="Data collection stops or gaps appear">
    Check the connector status on the Data Sources page. If the status shows an error, review the error logs on the connector detail page. Common causes include expired credentials, network changes, or rate limiting by the Enersponse API.
  </Accordion>
</AccordionGroup>
