REST API Documentation

The ecoControl server communicates through a REST-API only.

List of All API End Points

API End Point Description
General  
api/ Starting point
api/export/ CSV-Export function
api/login/ Login end point
api/logout/ Logout end point
api/notifications/ Get notifications list
api/sensors/ Get sensors list
api/settings/ Get settings list
api/status/ Get system status
Technician  
api/configure/ Set configurations
api/data/(monthly|yearly)/ Get sensor data
api/forecast/ Get forecast
api/forward/ forward
api/live/ Get live data
api/settings/tunable/ Get tunable settings
api/snippets/ Manage snippets
api/code/ Manage code
api/start/ Start system
api/statistics/(monthly/) Get statistics
api/thresholds/ Manage thresholds
api/automoptimize/ Manage auto optimization
Manager  
api/avgs/ Get sensor averages
api/balance/total/(latest/) Get balances
api/history/ Get history
api/loads/ Get loads
api/sensor/ Get sensor details
api/sums/ Get sensor sums

General

Bla

Starting point

/api

GET

Returns the current version number

GET /api HTTP/1.1
{

}

CSV-Export function

/api/export

POST

Reflects post data and starts a CSV file download.

Param Description
name Name of the service
description Description of service
POST /api/export
curl

Login end point

Logout end point

Get notifications list

Get sensors list

Get settings list

Get system status

Technician

Set configurations

Get sensor data

Get forecast

forward

Get live data

Get tunable settings

Manage snippets

Manage code

Start system

Get statistics

Manage thresholds

Manage auto optimization

Manager

Get sensor averages

Get balances

Get history

Get loads

Get sensor details

Get sensor sums