The Data API

The Data API provides means to store data from your devices permanently in Lhings, and retrieve it when desired. The data you can store is of two kinds:

  • Status data: the status of your devices (completely or a subset of its components) can be stored and retrieved in Lhings. This is done using the services and Status.retrieve. Storage must be done on demand by the device, Lhings will not retrieve it automatically.
  • Event data: Lhings counts the number of times your devices send each event automatically. The hourly and daily counts of events can be retrieved using the service Events.retrieve.
Back to top