Introduction
Capabilities
Vehicles
- Connect vehicle
- Vehicle
- Vehicle for user
Tariffs
- Connect tariff
- Tariff
- Tariff for user
HVACs
- Connect HVAC
- HVAC
- HVAC for user
Chargers
- Connect Charger
- Charger
- Charger for User
Home Power Devices
- Connect Home Power Device
- PV-Inverter
- PV-Inverter for user
- Battery
- Battery for user
- Meter
- Meter for user
Charger
Charger data
Returns general data of a single charger.
GET
/
v1.0.0
/
chargers
/
{chargerId}
Copy
curl --request GET \
--url https://api.energy-hub.io/v1.0.0/chargers/{chargerId} \
--header 'X-API-KEY: <api-key>'
Copy
{
"lastUpdated": "2023-11-07T05:31:56Z",
"chargeState": {
"chargeRate": 6.512,
"lastUpdated": "2023-11-07T05:31:56Z",
"chargeCurrentMax": 12,
"isPlugged": true,
"activePhases": 1,
"chargingState": "UNPLUGGED"
},
"location": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isOnline": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "896f9d5a-b618-48a2-98ae-957059bf1bc9",
"staticData": {
"lastUpdated": "2023-11-07T05:31:56Z",
"vendor": "EASEE",
"name": "My charger",
"model": "Wallbox"
}
}
Authorizations
API key used for authorization and authentication.
Path Parameters
Charger ID
Response
200
application/json
Successful operation
Object of charger response.
Copy
curl --request GET \
--url https://api.energy-hub.io/v1.0.0/chargers/{chargerId} \
--header 'X-API-KEY: <api-key>'
Copy
{
"lastUpdated": "2023-11-07T05:31:56Z",
"chargeState": {
"chargeRate": 6.512,
"lastUpdated": "2023-11-07T05:31:56Z",
"chargeCurrentMax": 12,
"isPlugged": true,
"activePhases": 1,
"chargingState": "UNPLUGGED"
},
"location": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isOnline": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "896f9d5a-b618-48a2-98ae-957059bf1bc9",
"staticData": {
"lastUpdated": "2023-11-07T05:31:56Z",
"vendor": "EASEE",
"name": "My charger",
"model": "Wallbox"
}
}
Assistant
Responses are generated using AI and may contain mistakes.