Api

# Get the most recent values

Url: api/read/now

Shows the most recent measurement values. Only one value per entity/device is returned.


# Get values for today

Url: api/read/today

Shows today's measurement values of all entities/devices.


# Get info on available entities

Url: api/info/series

Shows a list of all available series, their identifier, display names, units and extrema.


# Get values from custom entities for time range

Url: api/read/{seriesId}/{date_from}/{date_to}

Reads a custom list of entities for a provided time range. Examples:

  • api/read/egh_spl1/2016-12-09: Reads values for series egh_spl1 for December 09, 2016.
  • api/read/egh_spl1/2016-12-09/2016-12-11: Reads values for series egh_spl1 from December 09 to December 11, 2016.
  • api/read/egh_spl1,tamb_the1,phi_hyg1/2016-12-09/2016-12-11: Reads values for entities egh_spl1, tamb_the1 and phi_hyg1 from December 09 to December 11, 2016.



# Get monthly statistics for entity

Url: api/stats/{entityAndDevice}/{year}

Gets the stats (min, max, percentiles Q1, Q2 and Q3, average and sum) for a specific serie.