canonical: https://jentic.com/apis/smart-me.com/smart-me-cloud

# smart-me

The smart-me API reads and controls the energy meters, switches, and charging stations connected to the smart-me Cloud. It returns a device's latest values or its values at a past date, lists devices by energy type such as electricity, water, gas, or heat, and organises meters into folders with virtual tariffs and consumption reports. It can also switch devices on or off, register custom and M-BUS meters, push data to your own endpoint through the realtime API, and manage pico charging stations, including setting the dynamic current of a load management group.

## For AI agents

Read smart-me meter values now or at a past date, list devices by energy type, switch devices, manage folders and virtual tariffs, and control pico EV charging stations.

## Scope

Does not handle energy supply contracts, payments, or grid market trading. Use for reading and controlling smart-me meters, switches, folders, and pico charging stations only.

## Capabilities

- Read the latest values of a meter or device, or the first value before a given date with ValuesInPast and MeterValues
- Pull a series of up to 1000 values between startDate and endDate at a chosen interval in minutes (needs a smart-me professional licence)
- List devices by meterEnergyType such as MeterTypeElectricity, MeterTypeWater, or MeterTypeGas, or by sub type such as charging station
- Switch a device on or off with switchState, or send a device action through the Actions endpoint
- Organise meters into folders, assign users to folders, and read consumption for a folder with virtual tariffs
- Register a realtime API endpoint so the smart-me Cloud pushes device data to your own URL
- Check active charging data and history for pico charging stations and set the dynamic current of a load management group in mA

## Use cases

### Energy questions answered by an agent

A homeowner asks their AI agent how much electricity they used this month. Through Jentic the agent finds the smart-me operations by intent, reads the meter value at the start of the month and the latest values, and reports the difference in the counter reading. The Basic credentials stay in the owner's own Jentic One instance.

Example prompt: Call GET `/api/MeterValues/{id}` with date '2026-11-01T00:00:00Z', then GET `/api/Values/{id}` for the same device, and report the consumption between the two readings

### Interval data for analysis

An energy analyst needs fifteen-minute data for a heat meter over a week. The multi-value operation returns up to 1000 values per call between startDate and endDate at the requested interval, so a week at fifteen minutes fits in one request. The spec notes this call requires a smart-me professional licence.

Example prompt: Call GET `/api/ValuesInPastMultiple/{id}` with startDate '2026-11-16T00:00:00Z', endDate '2026-11-23T00:00:00Z', and interval 15

### EV charging load management

A building with several pico charging stations needs to limit total draw at peak hours. The agent reads the load management groups, checks active charging data per station, and sets the dynamic current of the group by passing any pico serial in the group and the current in mA.

Example prompt: Call GET `/api/pico/loadmanagementgroup`, then POST `/api/pico/loadmanagementgroup/current/{serial}` with serial 700001 and current 16000

### Property billing with virtual tariffs

A property manager groups each flat's meters into a folder and bills tenants with virtual tariffs. The API lists the virtual tariffs for a property folder, reports their calculation status, and returns the consumption of a folder between startDate and endDate.

Example prompt: Call GET `/api/VirtualTariffsForProperty/{id}` for the property folder, then GET `/api/VirtualTariffConsumption` with folderId, startDate '2026-10-01T00:00:00Z', and endDate '2026-11-01T00:00:00Z'

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/api/Devices` | List all devices |
| GET | `/api/Values/{id}` | Get the latest values of a device |
| GET | `/api/MeterValues/{id}` | Get a meter's values at a given date |
| GET | `/api/ValuesInPastMultiple/{id}` | Get a series of past values |
| GET | `/api/DevicesByEnergy` | List devices by energy type |
| POST | `/api/Actions` | Send an action to a device |
| GET | `/api/pico/charging/{id}` | Get active charging data for a pico station |
| GET | `/api/VirtualTariffConsumption` | Get folder consumption with virtual tariffs |

## Key resources

- **Devices** — Meters and switches: list all, look up by id or serial, filter by energy type or sub type, switch on and off
- **Values** — Latest values, values at a past date, and multi-value series for a device or meter
- **Folders** — Folder menu, folder settings, meter and user assignment, and folder values
- **Virtual tariffs and meters** — Virtual tariffs per property, tariff consumption, virtual billing meters, and formula-based virtual meters
- **Pico charging stations** — Charging data, history, settings, cable lock, and load management group current
- **Realtime API registrations** — Register, list, and delete endpoints that receive pushed device data

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 36 / 100
- **Maturity:** Non-Ready
- **Dimensions:**
  - Foundational Compliance: 99 / 100
  - Developer Experience & Jentic Compatibility: 55 / 100
  - AI-Readiness & Agent Experience: 31 / 100
  - Agent Usability: 92 / 100
  - Security: 10 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/smart-me.com/smart-me-cloud/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the smart-me API by hand means sending Basic credentials, handling text/xml request bodies on its write operations, and knowing which calls need a professional licence. Through Jentic you install once, import smart-me from the API Directory, store your credentials once, and your agent calls it.
- **Permission scoping:** smart-me puts the device id in the URL path for reads like `/api/Values/{id}` and `/api/MeterValues/{id}`, so a rule can pin those reads to one meter. Device actions go to `/api/Actions` with the DeviceID in the request body, so for actions rules bound the operation, not the device. You choose the operations it may call, so destructive ones like user deletion or folder deletion are not included unless you add them.
- **Credential handling:** Your smart-me username and password are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'read smart meter values' or 'set EV charger current', and Jentic returns the matching smart-me operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Enphase Monitoring API** — Solar production, consumption, and battery telemetry from Enphase systems
- **Particle API** — General IoT device cloud for custom connected hardware
- **Octopus Energy API** — UK smart-meter consumption and tariff prices

## FAQ

### What authentication does the smart-me API use?

The smart-me OpenAPI spec declares an HTTP Basic authentication scheme, a smart-me username and password, although it does not attach that scheme to individual operations. The spec also includes OAuth authorize endpoints that take a client_id, redirect_uri, and state. Through Jentic, your Basic credentials are stored encrypted by your own Jentic One instance and injected at call time.

### Can I get historical meter values with the smart-me API?

Yes. GET `/api/MeterValues/{id}` and GET `/api/ValuesInPast/{id}` take a date and return the first value found before it. For a series, GET `/api/ValuesInPastMultiple/{id}` takes startDate, endDate, and interval in minutes, returns at most 1000 values per call, and needs a smart-me professional licence.

### What are the rate limits for the smart-me API?

The OpenAPI spec does not specify rate limits. The one volume limit it states is 1000 values per call on the multi-value endpoint. Check https://smart-me.com for current limits.

### How do I read a meter through Jentic?

Install Jentic One with `curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh`, import the smart-me API from the directory, and store your smart-me username and password once. Your agent searches for 'read smart meter values' and calls GET `/api/Values/{id}` with the device id. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Is there a smart-me MCP server?

You don't need an MCP server to give your agent the smart-me API. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls it. Operations are discovered on demand, so no extra tool definitions are loaded into the agent's context.

### Can I limit what my agent is allowed to do with the smart-me API?

Yes. For example, write a rule that allows only GET `/api/Devices` and GET `/api/Values/{id}` for one device id, so the agent can list devices and read that meter but cannot switch devices, change folders, or delete the user account, and every call it makes is logged.

### Can the smart-me API push data to my own server?

Yes. POST `/api/RegisterForRealtimeApi` creates a registration with an ApiUrl and optional BasicAuthUsername and BasicAuthPassword for your endpoint, and the smart-me Cloud then sends device data there. GET `/api/RegisterForRealtimeApi` lists registrations and DELETE `/api/RegisterForRealtimeApi/{id}` removes one.
