Skip to content

Configuration interface

Alexey Andreyev edited this page Oct 29, 2016 · 6 revisions

Configuration API

observationServer should be able to handle ACK post requests tp

Response to GET /config

{
  "@context": "http://external/doc#",
  "@id": "/config",
  "@type": "Configuration",
  "wifiName": "ISST",
  "wifiPassword": "ISSTpassword",
  "username": "superuser",
  "password": "strongpass",
  "deviceLabel": "Temperature Device",
  "locationLabel": "1010",
  "sleepIntervalMs": 1800000,
  "observationServer": {
    "observationHost": "172.1.172.2",
    "observationPort": 5683,
    "observationUri": "/temperatureObservation"
  }
}

PUT should support same values

Clone this wiki locally